Pull request #1267 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0527474e17203f9e61d9e194c6b68b30972d11a0+75403564eeb8af1d0f1f8ff2eb4e718373552573 (6c3d62a7c09c4f28f53aea637edafa692c3ed16a) 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-ssh18240400598928657915.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6629913567541483441.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1267/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-1267/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2615916691666414676.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1267/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13894853216779450840.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5730127156098939617.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1267/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-1267/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15273955447957023642.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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-511 in /w/workspace/gexfoundry_device-sdk-go_PR-1267 [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-1267 # 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 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1267/head:refs/remotes/origin/PR-1267 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 75403564eeb8af1d0f1f8ff2eb4e718373552573 into PR head commit 0527474e17203f9e61d9e194c6b68b30972d11a0 Merge succeeded, producing 0527474e17203f9e61d9e194c6b68b30972d11a0 Checking out Revision 0527474e17203f9e61d9e194c6b68b30972d11a0 (PR-1267) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:05:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 0527474e17203f9e61d9e194c6b68b30972d11a0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 75403564eeb8af1d0f1f8ff2eb4e718373552573 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0527474e17203f9e61d9e194c6b68b30972d11a0 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:05:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:05:01 ========================================================= 04:05:01 EdgeX Global Pipelines Version Info 04:05:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:05:02 ------------------- 04:05:02 stable info: 04:05:02 ------------------- 04:05:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:05:02 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:05:02 Message: update stable to v1.0.244 04:05:03 ------------------- 04:05:03 experimental info: 04:05:03 ------------------- 04:05:03 Commited By: **** collab-it+edgex@linuxfoundation.org 04:05:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:05:03 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:05:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:05:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:05:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:05:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:05:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:05:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:05:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:05:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:05:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:05:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:05:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1267 [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1267 [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1267 [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0527474e17203f9e61d9e194c6b68b30972d11a0 [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0527474 [Pipeline] echo 04:05:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:04 provisioning config files... 04:05:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/config4556404677258539680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:05 ---> docker-login.sh 04:05:05 nexus3.edgexfoundry.org:10001 04:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:05 Configure a credential helper to remove this warning. See 04:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:05 04:05:05 Login Succeeded 04:05:05 nexus3.edgexfoundry.org:10002 04:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:05 Configure a credential helper to remove this warning. See 04:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:05 04:05:05 Login Succeeded 04:05:05 nexus3.edgexfoundry.org:10003 04:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:05 Configure a credential helper to remove this warning. See 04:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:05 04:05:05 Login Succeeded 04:05:05 nexus3.edgexfoundry.org:10004 04:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:05 Configure a credential helper to remove this warning. See 04:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:05 04:05:05 Login Succeeded 04:05:05 docker.io 04:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:06 Configure a credential helper to remove this warning. See 04:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:06 04:05:06 Login Succeeded 04:05:06 ---> docker-login.sh ends [Pipeline] } 04:05:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:05:07 + git rev-list -1 --merges 0527474e17203f9e61d9e194c6b68b30972d11a0~1..0527474e17203f9e61d9e194c6b68b30972d11a0 [Pipeline] echo 04:05:07 -----------> git rev-list -1 --merges 0527474e17203f9e61d9e194c6b68b30972d11a0~1..0527474e17203f9e61d9e194c6b68b30972d11a0 0527474e17203f9e61d9e194c6b68b30972d11a0 [false] [Pipeline] sh 04:05:07 + git log --format=format:%s -1 0527474e17203f9e61d9e194c6b68b30972d11a0 [Pipeline] echo 04:05:07 ========================================================= 04:05:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:05:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:07 + git log --format=format:%s -1 0527474e17203f9e61d9e194c6b68b30972d11a0 [Pipeline] echo 04:05:07 [semverPrep] GIT_COMMIT: 0527474e17203f9e61d9e194c6b68b30972d11a0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:05:07 [semverPrep] This is not a build commit. [Pipeline] sh 04:05:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:05:08 + grep -v github /etc/ssh/ssh_known_hosts 04:05:08 + [ -e /tmp/ssh_known_hosts ] 04:05:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:05:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:05:08 + sudo tee -a /etc/ssh/ssh_known_hosts 04:05:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:08 04:05:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:09 0.1.4: Pulling from edgex-devops/py-git-semver 04:05:09 b85a868b505f: Pulling fs layer 04:05:09 e2be974225ed: Pulling fs layer 04:05:09 339a4e72a1f5: Pulling fs layer 04:05:09 988bab9f4d93: Pulling fs layer 04:05:09 1469e6f7b9e6: Pulling fs layer 04:05:09 eaf3925da568: Pulling fs layer 04:05:09 bab4dde63d76: Pulling fs layer 04:05:09 bde34c3a00c8: Pulling fs layer 04:05:09 b352a97aabf1: Pulling fs layer 04:05:09 4872d77fe225: Pulling fs layer 04:05:09 5851b861e8e6: Pulling fs layer 04:05:09 bab4dde63d76: Waiting 04:05:09 bde34c3a00c8: Waiting 04:05:09 988bab9f4d93: Waiting 04:05:09 1469e6f7b9e6: Waiting 04:05:09 5851b861e8e6: Waiting 04:05:09 4872d77fe225: Waiting 04:05:09 b352a97aabf1: Waiting 04:05:09 e2be974225ed: Download complete 04:05:09 988bab9f4d93: Verifying Checksum 04:05:09 988bab9f4d93: Download complete 04:05:09 1469e6f7b9e6: Verifying Checksum 04:05:09 1469e6f7b9e6: Download complete 04:05:09 eaf3925da568: Verifying Checksum 04:05:09 eaf3925da568: Download complete 04:05:09 339a4e72a1f5: Verifying Checksum 04:05:09 339a4e72a1f5: Download complete 04:05:09 bde34c3a00c8: Download complete 04:05:09 b352a97aabf1: Download complete 04:05:09 4872d77fe225: Verifying Checksum 04:05:09 4872d77fe225: Download complete 04:05:09 5851b861e8e6: Download complete 04:05:09 b85a868b505f: Verifying Checksum 04:05:09 b85a868b505f: Download complete 04:05:09 bab4dde63d76: Verifying Checksum 04:05:10 b85a868b505f: Pull complete 04:05:10 e2be974225ed: Pull complete 04:05:11 339a4e72a1f5: Pull complete 04:05:11 988bab9f4d93: Pull complete 04:05:11 1469e6f7b9e6: Pull complete 04:05:11 eaf3925da568: Pull complete 04:05:13 bab4dde63d76: Pull complete 04:05:13 bde34c3a00c8: Pull complete 04:05:13 b352a97aabf1: Pull complete 04:05:13 4872d77fe225: Pull complete 04:05:13 5851b861e8e6: Pull complete 04:05:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:05:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:14 prd-ubuntu20.04-docker-8c-8g-511 does not seem to be running inside a container 04:05:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1267 -v /w/workspace/gexfoundry_device-sdk-go_PR-1267:/w/workspace/gexfoundry_device-sdk-go_PR-1267:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:05:16 $ docker top 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 -eo pid,comm 04:05:16 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). 04:05:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:05:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:16 [ssh-agent] Looking for ssh-agent implementation... 04:05:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:16 $ docker exec 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 ssh-agent 04:05:16 SSH_AUTH_SOCK=/tmp/ssh-o7iG5vn96KPY/agent.32 04:05:16 SSH_AGENT_PID=38 04:05:16 Running ssh-add (command line suppressed) 04:05:16 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/private_key_2786827723604950547.key (/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/private_key_2786827723604950547.key) 04:05:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:17 + git tag --points-at HEAD [Pipeline] } 04:05:17 $ docker exec --env ******** --env ******** 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 ssh-agent -k 04:05:17 unset SSH_AUTH_SOCK; 04:05:17 unset SSH_AGENT_PID; 04:05:17 echo Agent pid 38 killed; 04:05:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:05:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:17 [ssh-agent] Looking for ssh-agent implementation... 04:05:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:17 $ docker exec 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 ssh-agent 04:05:17 SSH_AUTH_SOCK=/tmp/ssh-hRqvNtUO1VbO/agent.70 04:05:17 SSH_AGENT_PID=76 04:05:17 Running ssh-add (command line suppressed) 04:05:17 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/private_key_5720561225687863218.key (/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/private_key_5720561225687863218.key) 04:05:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:18 + git semver init 04:05:18 2022-12-26 04:05:18,357 [run_init] DEBUG init version:0.0.0 force:False 04:05:18 2022-12-26 04:05:18,358 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver 04:05:18 2022-12-26 04:05:18,358 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver 04:05:18 2022-12-26 04:05:18,359 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1267, universal_newlines=False, shell=None, istream=None) 04:05:19 2022-12-26 04:05:19,403 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1267/.git/info/exclude 04:05:19 2022-12-26 04:05:19,404 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver/PR-1267 with force:False 04:05:19 2022-12-26 04:05:19,404 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver/PR-1267 04:05:19 2022-12-26 04:05:19,409 [execute] INFO git cat-file --batch-check 04:05:19 2022-12-26 04:05:19,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver, universal_newlines=False, shell=None, istream=) 04:05:19 2022-12-26 04:05:19,417 [execute] INFO git cat-file --batch 04:05:19 2022-12-26 04:05:19,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver, universal_newlines=False, shell=None, istream=) 04:05:19 2022-12-26 04:05:19,423 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1267/.semver/PR-1267 04:05:19 0.0.0 [Pipeline] } 04:05:19 $ docker exec --env ******** --env ******** 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 ssh-agent -k 04:05:19 unset SSH_AUTH_SOCK; 04:05:19 unset SSH_AGENT_PID; 04:05:19 echo Agent pid 76 killed; 04:05:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:05:20 + git semver [Pipeline] } 04:05:20 $ docker stop --time=1 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 04:05:21 $ docker rm -f --volumes 7f4ebdba048fea2da039d830eba8840fe3a050e560acb778bd3af698bb501762 [Pipeline] // withDockerContainer [Pipeline] sh 04:05:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:05:22 Stashed 1 file(s) [Pipeline] echo 04:05:22 [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 04:05:23 provisioning config files... 04:05:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/config1703637878388992280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:23 ---> docker-login.sh 04:05:23 nexus3.edgexfoundry.org:10001 04:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:23 Configure a credential helper to remove this warning. See 04:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:23 04:05:23 Login Succeeded 04:05:23 nexus3.edgexfoundry.org:10002 04:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:23 Configure a credential helper to remove this warning. See 04:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:23 04:05:23 Login Succeeded 04:05:23 nexus3.edgexfoundry.org:10003 04:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:23 Configure a credential helper to remove this warning. See 04:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:23 04:05:23 Login Succeeded 04:05:23 nexus3.edgexfoundry.org:10004 04:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:23 Configure a credential helper to remove this warning. See 04:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:23 04:05:23 Login Succeeded 04:05:23 docker.io 04:05:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:24 Configure a credential helper to remove this warning. See 04:05:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:24 04:05:24 Login Succeeded 04:05:24 ---> docker-login.sh ends [Pipeline] } 04:05:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:05:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:05:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:05:24 ========================================================= 04:05:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:05:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:24 + 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 . 04:05:24 Sending build context to Docker daemon 10.36MB 04:05:24 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:05:24 Step 2/10 : FROM ${BASE} AS builder 04:05:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:05:24 213ec9aee27d: Pulling fs layer 04:05:24 4583459ba037: Pulling fs layer 04:05:24 93c1e223e6f2: Pulling fs layer 04:05:24 53926ce57604: Pulling fs layer 04:05:24 21b2b0c7a3f4: Pulling fs layer 04:05:24 22ff95d597cd: Pulling fs layer 04:05:24 12d6caf4c0d1: Pulling fs layer 04:05:24 96b7cbca73a9: Pulling fs layer 04:05:24 a7acece74701: Pulling fs layer 04:05:24 21b2b0c7a3f4: Waiting 04:05:24 22ff95d597cd: Waiting 04:05:24 12d6caf4c0d1: Waiting 04:05:24 96b7cbca73a9: Waiting 04:05:24 a7acece74701: Waiting 04:05:24 53926ce57604: Waiting 04:05:25 93c1e223e6f2: Verifying Checksum 04:05:25 93c1e223e6f2: Download complete 04:05:25 4583459ba037: Download complete 04:05:25 21b2b0c7a3f4: Verifying Checksum 04:05:25 21b2b0c7a3f4: Download complete 04:05:25 22ff95d597cd: Verifying Checksum 04:05:25 22ff95d597cd: Download complete 04:05:25 213ec9aee27d: Verifying Checksum 04:05:25 213ec9aee27d: Download complete 04:05:25 12d6caf4c0d1: Download complete 04:05:25 213ec9aee27d: Pull complete 04:05:25 4583459ba037: Pull complete 04:05:25 93c1e223e6f2: Pull complete 04:05:25 a7acece74701: Verifying Checksum 04:05:25 a7acece74701: Download complete 04:05:26 53926ce57604: Verifying Checksum 04:05:26 53926ce57604: Download complete 04:05:26 96b7cbca73a9: Verifying Checksum 04:05:30 53926ce57604: Pull complete 04:05:30 21b2b0c7a3f4: Pull complete 04:05:30 22ff95d597cd: Pull complete 04:05:30 12d6caf4c0d1: Pull complete 04:05:32 96b7cbca73a9: Pull complete 04:05:33 a7acece74701: Pull complete 04:05:33 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:05:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:05:33 ---> db6d94c90886 04:05:33 Step 3/10 : ARG MAKE=make build 04:05:36 ---> Running in ba4ef01966eb 04:05:36 Removing intermediate container ba4ef01966eb 04:05:36 ---> 9af805f5f89a 04:05:36 Step 4/10 : WORKDIR /device-sdk-go 04:05:36 ---> Running in 665d78786793 04:05:36 Removing intermediate container 665d78786793 04:05:36 ---> cde4b05fc7a3 04:05:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:05:36 ---> Running in 29919922716d 04:05:36 Removing intermediate container 29919922716d 04:05:36 ---> 22071325b95b 04:05:36 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:05:36 ---> Running in 761fcd5e05c2 04:05:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:05:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:05:37 OK: 211 MiB in 51 packages 04:05:37 Removing intermediate container 761fcd5e05c2 04:05:37 ---> 477185855ee5 04:05:37 Step 7/10 : COPY go.mod vendor* ./ 04:05:37 ---> a5f274e95f78 04:05:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:37 ---> Running in 8cd5d02adb02 04:05:38 Still waiting to schedule task 04:05:38 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-512’ 04:05:59 Removing intermediate container 8cd5d02adb02 04:05:59 ---> c67057f24dd2 04:05:59 Step 9/10 : COPY . . 04:05:59 ---> 4147f049ac5c 04:05:59 Step 10/10 : RUN ${MAKE} 04:05:59 ---> Running in e5d1bcdf0e4d 04:05:59 noop 04:05:59 Removing intermediate container e5d1bcdf0e4d 04:05:59 ---> a2e73cc7ad0e 04:05:59 Successfully built a2e73cc7ad0e 04:05:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:00 + docker inspect -f . ci-base-image-x86_64 04:06:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:00 prd-ubuntu20.04-docker-8c-8g-511 does not seem to be running inside a container 04:06:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1267 -v /w/workspace/gexfoundry_device-sdk-go_PR-1267:/w/workspace/gexfoundry_device-sdk-go_PR-1267:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:06:00 $ docker top 569035642ec1a3d529a9bee9dfbf6e8cd5556a5414d79353c9ae0c927cf26375 -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:01 + go version 04:06:01 go version go1.18.7 linux/amd64 [Pipeline] } 04:06:01 $ docker stop --time=1 569035642ec1a3d529a9bee9dfbf6e8cd5556a5414d79353c9ae0c927cf26375 04:06:02 $ docker rm -f --volumes 569035642ec1a3d529a9bee9dfbf6e8cd5556a5414d79353c9ae0c927cf26375 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:03 + docker inspect -f . ci-base-image-x86_64 04:06:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:03 prd-ubuntu20.04-docker-8c-8g-511 does not seem to be running inside a container 04:06:03 $ 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-1267 -v /w/workspace/gexfoundry_device-sdk-go_PR-1267:/w/workspace/gexfoundry_device-sdk-go_PR-1267:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:06:03 $ docker top 7939a3a75b3f2e5c032efd968d489f33ab584e5ab488fff648bdb056b347057d -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:04 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1267 [Pipeline] fileExists [Pipeline] sh 04:06:04 + make test 04:06:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:06:11 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:06:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements 04:06:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.076s coverage: 78.9% of statements 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:06:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.105s coverage: 73.1% of statements 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:06:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.111s coverage: 54.4% of statements 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 04:06:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.098s coverage: 65.1% of statements 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:06:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.747s coverage: 89.2% of statements 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:06:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.7% of statements 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:06:44 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." 04:06:44 GO111MODULE=on go vet ./... 04:06:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:06:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:06:47 ./bin/test-attribution-txt.sh 04:06:47 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:06:47 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 04:06:47 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 04:06:47 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:06:47 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:06:47 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:06:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:06:47 $ docker stop --time=1 7939a3a75b3f2e5c032efd968d489f33ab584e5ab488fff648bdb056b347057d 04:06:50 $ docker rm -f --volumes 7939a3a75b3f2e5c032efd968d489f33ab584e5ab488fff648bdb056b347057d [Pipeline] // withDockerContainer [Pipeline] sh 04:06:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:06:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:06:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:06:52 + ls -al . 04:06:52 total 280 04:06:52 drwxrwxr-x 11 jenkins jenkins 4096 Dec 26 04:06 . 04:06:52 drwxrwxr-x 4 jenkins jenkins 4096 Dec 26 04:04 .. 04:06:52 -rw-rw-r-- 1 jenkins jenkins 140 Dec 26 04:05 .dockerignore 04:06:52 drwxrwxr-x 8 jenkins jenkins 4096 Dec 26 04:06 .git 04:06:52 drwxrwxr-x 2 jenkins jenkins 4096 Dec 26 04:05 .github 04:06:52 -rw-rw-r-- 1 jenkins jenkins 131 Dec 26 04:05 .gitignore 04:06:52 -rw-rw-r-- 1 jenkins jenkins 42 Dec 26 04:05 .golangci.yml 04:06:52 drwxr-xr-x 3 jenkins jenkins 4096 Dec 26 04:05 .semver 04:06:52 -rw-rw-r-- 1 jenkins jenkins 31677 Dec 26 04:05 CHANGELOG.md 04:06:52 -rw-rw-r-- 1 jenkins jenkins 677 Dec 26 04:05 GOVERNANCE.md 04:06:52 -rw-rw-r-- 1 jenkins jenkins 880 Dec 26 04:05 Jenkinsfile 04:06:52 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 26 04:05 LICENSE 04:06:52 -rw-rw-r-- 1 jenkins jenkins 2003 Dec 26 04:05 Makefile 04:06:52 -rw-rw-r-- 1 jenkins jenkins 619 Dec 26 04:05 OWNERS.md 04:06:52 -rw-rw-r-- 1 jenkins jenkins 4881 Dec 26 04:05 README.md 04:06:52 -rw-rw-r-- 1 jenkins jenkins 5 Dec 26 04:05 VERSION 04:06:52 drwxrwxr-x 2 jenkins jenkins 4096 Dec 26 04:05 bin 04:06:52 -rw-r--r-- 1 jenkins jenkins 101760 Dec 26 04:06 coverage.out 04:06:52 drwxrwxr-x 5 jenkins jenkins 4096 Dec 26 04:05 example 04:06:52 -rw-rw-r-- 1 jenkins jenkins 3342 Dec 26 04:05 go.mod 04:06:52 -rw-rw-r-- 1 jenkins jenkins 44555 Dec 26 04:05 go.sum 04:06:52 drwxrwxr-x 14 jenkins jenkins 4096 Dec 26 04:05 internal 04:06:52 drwxrwxr-x 3 jenkins jenkins 4096 Dec 26 04:05 openapi 04:06:52 drwxrwxr-x 6 jenkins jenkins 4096 Dec 26 04:05 pkg 04:06:52 drwxrwxr-x 4 jenkins jenkins 4096 Dec 26 04:05 snap 04:06:52 -rw-rw-r-- 1 jenkins jenkins 222 Dec 26 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:52 + 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=0527474e17203f9e61d9e194c6b68b30972d11a0 --label arch=amd64 --label version=0.0.0 . 04:06:52 Sending build context to Docker daemon 10.47MB 04:06:52 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:06:52 Step 2/23 : FROM ${BASE} AS builder 04:06:52 ---> a2e73cc7ad0e 04:06:52 Step 3/23 : ARG MAKE=make build 04:06:52 ---> Running in 9cb0b48ab99f 04:06:52 Removing intermediate container 9cb0b48ab99f 04:06:52 ---> cd251aa02b1c 04:06:52 Step 4/23 : WORKDIR /device-sdk-go 04:06:52 ---> Running in 8c9c504ab009 04:06:52 Removing intermediate container 8c9c504ab009 04:06:52 ---> 54001d24efe8 04:06:52 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:06:52 ---> Running in 541125a04804 04:06:53 Removing intermediate container 541125a04804 04:06:53 ---> ac030d036d46 04:06:53 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:06:53 ---> Running in 6cae1db8f1bf 04:06:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:06:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:06:53 OK: 211 MiB in 51 packages 04:06:53 Removing intermediate container 6cae1db8f1bf 04:06:53 ---> 2968480e525f 04:06:53 Step 7/23 : COPY go.mod vendor* ./ 04:06:54 ---> 99d519899255 04:06:54 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:54 ---> Running in 983c56c4d792 04:06:54 Removing intermediate container 983c56c4d792 04:06:54 ---> 21b8a996fbc3 04:06:54 Step 9/23 : COPY . . 04:06:55 ---> e06b03f43605 04:06:55 Step 10/23 : RUN ${MAKE} 04:06:55 ---> Running in 92c3c6a733af 04:06:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:07:13 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:07:17 Removing intermediate container 92c3c6a733af 04:07:17 ---> 46786eab7fec 04:07:17 Step 11/23 : FROM alpine:3.16 04:07:17 3.16: Pulling from library/alpine 04:07:17 ca7dd9ec2225: Pulling fs layer 04:07:17 ca7dd9ec2225: Verifying Checksum 04:07:17 ca7dd9ec2225: Download complete 04:07:17 ca7dd9ec2225: Pull complete 04:07:17 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:07:17 Status: Downloaded newer image for alpine:3.16 04:07:17 ---> bfe296a52501 04:07:17 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:07:17 ---> Running in 74af80289488 04:07:17 Removing intermediate container 74af80289488 04:07:17 ---> 3396d9c07b1e 04:07:17 Step 13/23 : RUN apk add --update --no-cache zeromq 04:07:17 ---> Running in 4c85273bcf1a 04:07:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:07:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:07:18 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:07:18 (2/5) Installing libsodium (1.0.18-r0) 04:07:18 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:07:18 (4/5) Installing libzmq (4.3.4-r0) 04:07:18 (5/5) Installing zeromq (4.3.4-r0) 04:07:18 Executing busybox-1.35.0-r17.trigger 04:07:18 OK: 8 MiB in 19 packages 04:07:18 Removing intermediate container 4c85273bcf1a 04:07:18 ---> efa9e4047bb5 04:07:18 Step 14/23 : WORKDIR / 04:07:18 ---> Running in 5147315cc553 04:07:18 Removing intermediate container 5147315cc553 04:07:18 ---> d33dd314df6b 04:07:18 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:07:18 ---> a65242356408 04:07:18 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:07:19 ---> d0f0c0e48b77 04:07:19 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:07:19 ---> f61c864c9e3f 04:07:19 Step 18/23 : EXPOSE 59999 04:07:19 ---> Running in 33e62126b596 04:07:19 Removing intermediate container 33e62126b596 04:07:19 ---> 1ec767fbdfd9 04:07:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:07:19 ---> Running in e85d470ef6a4 04:07:19 Removing intermediate container e85d470ef6a4 04:07:19 ---> 37ea8e0cb30c 04:07:19 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:07:19 ---> Running in f4d7d7601a2b 04:07:20 Removing intermediate container f4d7d7601a2b 04:07:20 ---> 02e33572127e 04:07:20 Step 21/23 : LABEL arch=amd64 04:07:20 ---> Running in 99a5635e9963 04:07:20 Removing intermediate container 99a5635e9963 04:07:20 ---> e02ed57a2c94 04:07:20 Step 22/23 : LABEL git_sha=0527474e17203f9e61d9e194c6b68b30972d11a0 04:07:20 ---> Running in 7d4248ba58bd 04:07:20 Removing intermediate container 7d4248ba58bd 04:07:20 ---> de6855b274ba 04:07:20 Step 23/23 : LABEL version=0.0.0 04:07:20 ---> Running in 97386f33fcb8 04:07:20 Removing intermediate container 97386f33fcb8 04:07:20 ---> 90ea819e03dd 04:07:20 [Warning] One or more build-args [ARCH] were not consumed 04:07:20 Successfully built 90ea819e03dd 04:07:20 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:21 04:07:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:21 latest: Pulling from edgex-lftools-log-publisher 04:07:21 5eb5b503b376: Pulling fs layer 04:07:21 5c69ac0246d0: Pulling fs layer 04:07:21 ec43610c2a17: Pulling fs layer 04:07:21 3a2ae6a8a46f: Pulling fs layer 04:07:21 33b1e0a273af: Pulling fs layer 04:07:21 5d3b04190fa2: Pulling fs layer 04:07:21 2f39f015ded8: Pulling fs layer 04:07:21 5d3b04190fa2: Waiting 04:07:21 3a2ae6a8a46f: Waiting 04:07:21 33b1e0a273af: Waiting 04:07:21 2f39f015ded8: Waiting 04:07:21 5c69ac0246d0: Verifying Checksum 04:07:21 5c69ac0246d0: Download complete 04:07:21 3a2ae6a8a46f: Download complete 04:07:21 ec43610c2a17: Verifying Checksum 04:07:21 ec43610c2a17: Download complete 04:07:21 33b1e0a273af: Verifying Checksum 04:07:21 33b1e0a273af: Download complete 04:07:21 5d3b04190fa2: Download complete 04:07:21 5eb5b503b376: Verifying Checksum 04:07:21 5eb5b503b376: Download complete 04:07:22 2f39f015ded8: Download complete 04:07:23 5eb5b503b376: Pull complete 04:07:23 5c69ac0246d0: Pull complete 04:07:23 ec43610c2a17: Pull complete 04:07:23 3a2ae6a8a46f: Pull complete 04:07:23 33b1e0a273af: Pull complete 04:07:24 5d3b04190fa2: Pull complete 04:07:29 2f39f015ded8: Pull complete 04:07:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:07:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:29 prd-ubuntu20.04-docker-8c-8g-511 does not seem to be running inside a container 04:07:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1267 -v /w/workspace/gexfoundry_device-sdk-go_PR-1267:/w/workspace/gexfoundry_device-sdk-go_PR-1267:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:07:32 $ docker top c0a5b05cb510898584d2425b230fbb1153779010ced52d9d8a95b74db2ea43f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:33 ---> job-cost.sh 04:07:33 lf-activate-venv: SKIPPING 04:07:33 INFO: No Stack... 04:07:33 INFO: Retrieving Pricing Info for: v3-standard-8 04:07:33 INFO: Archiving Costs [Pipeline] sh 04:07:34 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives/cost.csv 04:07:34 + cut -d, -f6 [Pipeline] lock 04:07:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] 04:07:34 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] did not exist. Created. 04:07:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:34 + echo total: 0.2199999988079071 [Pipeline] stash 04:07:34 Stashed 1 file(s) [Pipeline] } 04:07:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:07:34 $ docker stop --time=1 c0a5b05cb510898584d2425b230fbb1153779010ced52d9d8a95b74db2ea43f5 04:07:35 $ docker rm -f --volumes c0a5b05cb510898584d2425b230fbb1153779010ced52d9d8a95b74db2ea43f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:07:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-513 in /w/workspace/gexfoundry_device-sdk-go_PR-1267 [Pipeline] { [Pipeline] ws 04:07:56 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:07:56 The recommended git tool is: git 04:08:03 using credential edgex-jenkins-ssh 04:08:03 Cloning the remote Git repository 04:08:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:08:03 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:08:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:08:04 > git --version # timeout=10 04:08:04 > git --version # 'git version 2.25.1' 04:08:04 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:08:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:07 Merging remotes/origin/main commit 75403564eeb8af1d0f1f8ff2eb4e718373552573 into PR head commit 0527474e17203f9e61d9e194c6b68b30972d11a0 04:08:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:08:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:08:06 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1267/head:refs/remotes/origin/PR-1267 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:08:07 > git config core.sparsecheckout # timeout=10 04:08:07 > git checkout -f 0527474e17203f9e61d9e194c6b68b30972d11a0 # timeout=10 04:08:07 Merge succeeded, producing 0527474e17203f9e61d9e194c6b68b30972d11a0 04:08:07 Checking out Revision 0527474e17203f9e61d9e194c6b68b30972d11a0 (PR-1267) 04:08:07 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:08:08 > git --version # timeout=10 04:08:08 > git --version # 'git version 2.25.1' 04:08:08 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:08:07 > git remote # timeout=10 04:08:07 > git config --get remote.origin.url # timeout=10 04:08:07 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:07 > git merge 75403564eeb8af1d0f1f8ff2eb4e718373552573 # timeout=10 04:08:07 > git rev-parse HEAD^{commit} # timeout=10 04:08:07 > git config core.sparsecheckout # timeout=10 04:08:07 > git checkout -f 0527474e17203f9e61d9e194c6b68b30972d11a0 # timeout=10 04:08:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:08:09 % Total % Received % Xferd Average Speed Time Time Time Current 04:08:09 Dload Upload Total Spent Left Speed 04:08:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 04:08:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:08:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:08:10 + sudo tee /etc/docker/daemon.new 04:08:10 { 04:08:10 "registry-mirrors": [ 04:08:10 "https://nexus3.edgexfoundry.org:10001" 04:08:10 ], 04:08:10 "bip": "10.250.0.254/24", 04:08:10 "hosts": [ 04:08:10 "tcp://0.0.0.0:5555", 04:08:10 "unix:///var/run/docker.sock" 04:08:10 ], 04:08:10 "mtu": 1458, 04:08:10 "selinux-enabled": true, 04:08:10 "seccomp-profile": "/etc/docker/seccomp.json" 04:08:10 } [Pipeline] sh 04:08:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:08:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:29 provisioning config files... 04:08:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11108748957715740040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:29 ---> docker-login.sh 04:08:29 nexus3.edgexfoundry.org:10001 04:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:30 Configure a credential helper to remove this warning. See 04:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:30 04:08:30 Login Succeeded 04:08:30 nexus3.edgexfoundry.org:10002 04:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:30 Configure a credential helper to remove this warning. See 04:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:30 04:08:30 Login Succeeded 04:08:30 nexus3.edgexfoundry.org:10003 04:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:31 Configure a credential helper to remove this warning. See 04:08:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:31 04:08:31 Login Succeeded 04:08:31 nexus3.edgexfoundry.org:10004 04:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:31 Configure a credential helper to remove this warning. See 04:08:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:31 04:08:31 Login Succeeded 04:08:31 docker.io 04:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:31 Configure a credential helper to remove this warning. See 04:08:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:31 04:08:31 Login Succeeded 04:08:31 ---> docker-login.sh ends [Pipeline] } 04:08:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:32 ========================================================= 04:08:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:08:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:32 + 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 . 04:08:33 Sending build context to Docker daemon 5.57MB 04:08:33 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:08:33 Step 2/10 : FROM ${BASE} AS builder 04:08:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:08:33 9b18e9b68314: Pulling fs layer 04:08:33 35d82f9e3411: Pulling fs layer 04:08:33 e16973657156: Pulling fs layer 04:08:33 fc693d55d65f: Pulling fs layer 04:08:33 7e9fc2657dce: Pulling fs layer 04:08:33 dda99020689f: Pulling fs layer 04:08:33 db1c61fa0a46: Pulling fs layer 04:08:33 891c053d2c06: Pulling fs layer 04:08:33 fc693d55d65f: Waiting 04:08:33 7e9fc2657dce: Waiting 04:08:33 dda99020689f: Waiting 04:08:33 db1c61fa0a46: Waiting 04:08:33 891c053d2c06: Waiting 04:08:33 e16973657156: Verifying Checksum 04:08:33 e16973657156: Download complete 04:08:33 35d82f9e3411: Verifying Checksum 04:08:33 35d82f9e3411: Download complete 04:08:33 7e9fc2657dce: Verifying Checksum 04:08:33 7e9fc2657dce: Download complete 04:08:33 dda99020689f: Verifying Checksum 04:08:33 dda99020689f: Download complete 04:08:33 9b18e9b68314: Verifying Checksum 04:08:33 9b18e9b68314: Download complete 04:08:34 9b18e9b68314: Pull complete 04:08:34 891c053d2c06: Verifying Checksum 04:08:34 891c053d2c06: Download complete 04:08:35 35d82f9e3411: Pull complete 04:08:35 e16973657156: Pull complete 04:08:35 db1c61fa0a46: Verifying Checksum 04:08:35 db1c61fa0a46: Download complete 04:08:36 fc693d55d65f: Verifying Checksum 04:08:36 fc693d55d65f: Download complete 04:08:48 fc693d55d65f: Pull complete 04:08:48 7e9fc2657dce: Pull complete 04:08:48 dda99020689f: Pull complete 04:08:54 db1c61fa0a46: Pull complete 04:08:56 891c053d2c06: Pull complete 04:08:56 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:08:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:08:56 ---> f96f9c87975a 04:08:56 Step 3/10 : ARG MAKE=make build 04:08:58 ---> Running in 837557a598b7 04:08:58 Removing intermediate container 837557a598b7 04:08:58 ---> bc58450fad42 04:08:58 Step 4/10 : WORKDIR /device-sdk-go 04:08:58 ---> Running in cad2ceeffdd2 04:08:59 Removing intermediate container cad2ceeffdd2 04:08:59 ---> 319ad3cb306d 04:08:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:08:59 ---> Running in 8a74461fdac1 04:08:59 Removing intermediate container 8a74461fdac1 04:08:59 ---> a9056b77dbe0 04:08:59 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:59 ---> Running in 5de12e18f109 04:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:09:02 OK: 221 MiB in 51 packages 04:09:03 Removing intermediate container 5de12e18f109 04:09:03 ---> 864eea87b978 04:09:03 Step 7/10 : COPY go.mod vendor* ./ 04:09:04 ---> 9f0e137132c3 04:09:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:05 ---> Running in b62e4df4bad7 04:10:01 Removing intermediate container b62e4df4bad7 04:10:01 ---> ebe281059e24 04:10:01 Step 9/10 : COPY . . 04:10:01 ---> 9fbd578d1ed0 04:10:01 Step 10/10 : RUN ${MAKE} 04:10:01 ---> Running in 47f27264a82b 04:10:01 noop 04:10:01 Removing intermediate container 47f27264a82b 04:10:01 ---> 99118559bcf2 04:10:01 Successfully built 99118559bcf2 04:10:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:02 + docker inspect -f . ci-base-image-arm64 04:10:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:02 prd-ubuntu20.04-docker-arm64-4c-16g-513 does not seem to be running inside a container 04:10:02 $ 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 ******** ci-base-image-arm64 cat 04:10:03 $ docker top ffa7455ba6ddfa08b2229fada9534b3bef61c3f399ded23ebfb188798f3ca024 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:04 + go version 04:10:04 go version go1.18.7 linux/arm64 [Pipeline] } 04:10:04 $ docker stop --time=1 ffa7455ba6ddfa08b2229fada9534b3bef61c3f399ded23ebfb188798f3ca024 04:10:08 $ docker rm -f --volumes ffa7455ba6ddfa08b2229fada9534b3bef61c3f399ded23ebfb188798f3ca024 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:09 + docker inspect -f . ci-base-image-arm64 04:10:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:09 prd-ubuntu20.04-docker-arm64-4c-16g-513 does not seem to be running inside a container 04:10:09 $ 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 ******** ci-base-image-arm64 cat 04:10:10 $ docker top 7bc3ff066dc1d6c4c9f304e35cdbf3b9f5515d948c36c8afb05905c0d0fd4748 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:11 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:10:12 + make test 04:10:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:10:51 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:12:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:12:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:12:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:12:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:12:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:12:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.319s coverage: 27.6% of statements 04:12:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.339s coverage: 78.9% of statements 04:12:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:13:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.761s coverage: 73.1% of statements 04:13:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:13:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:13:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.616s coverage: 54.4% of statements 04:13:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:13:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:13:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:13:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 04:13:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.508s coverage: 65.1% of statements 04:13:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:13:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:13:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.888s coverage: 89.2% of statements 04:13:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:13:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.329s coverage: 4.7% of statements 04:13:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:13:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:13:05 GO111MODULE=on go vet ./... 04:14:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:14:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:14:43 ./bin/test-attribution-txt.sh 04:14:43 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:14:43 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 04:14:43 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 04:14:43 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:14:43 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:14:43 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:14:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:14:43 $ docker stop --time=1 7bc3ff066dc1d6c4c9f304e35cdbf3b9f5515d948c36c8afb05905c0d0fd4748 04:14:45 $ docker rm -f --volumes 7bc3ff066dc1d6c4c9f304e35cdbf3b9f5515d948c36c8afb05905c0d0fd4748 [Pipeline] // withDockerContainer [Pipeline] sh 04:14:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:14:47 Warning: overwriting stash ‘coverage-report’ 04:14:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:14:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:14:48 + ls -al . 04:14:48 total 276 04:14:48 drwxrwxr-x 10 jenkins jenkins 4096 Dec 26 04:10 . 04:14:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 26 04:08 .. 04:14:48 -rw-rw-r-- 1 jenkins jenkins 140 Dec 26 04:08 .dockerignore 04:14:48 drwxrwxr-x 8 jenkins jenkins 4096 Dec 26 04:08 .git 04:14:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 26 04:08 .github 04:14:48 -rw-rw-r-- 1 jenkins jenkins 131 Dec 26 04:08 .gitignore 04:14:48 -rw-rw-r-- 1 jenkins jenkins 42 Dec 26 04:08 .golangci.yml 04:14:48 -rw-rw-r-- 1 jenkins jenkins 31677 Dec 26 04:08 CHANGELOG.md 04:14:48 -rw-rw-r-- 1 jenkins jenkins 677 Dec 26 04:08 GOVERNANCE.md 04:14:48 -rw-rw-r-- 1 jenkins jenkins 880 Dec 26 04:08 Jenkinsfile 04:14:48 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 26 04:08 LICENSE 04:14:48 -rw-rw-r-- 1 jenkins jenkins 2003 Dec 26 04:08 Makefile 04:14:48 -rw-rw-r-- 1 jenkins jenkins 619 Dec 26 04:08 OWNERS.md 04:14:48 -rw-rw-r-- 1 jenkins jenkins 4881 Dec 26 04:08 README.md 04:14:48 -rw-rw-r-- 1 jenkins jenkins 5 Dec 26 04:05 VERSION 04:14:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 26 04:08 bin 04:14:48 -rw-r--r-- 1 jenkins jenkins 101759 Dec 26 04:13 coverage.out 04:14:48 drwxrwxr-x 5 jenkins jenkins 4096 Dec 26 04:08 example 04:14:48 -rw-rw-r-- 1 jenkins jenkins 3342 Dec 26 04:08 go.mod 04:14:48 -rw-rw-r-- 1 jenkins jenkins 44555 Dec 26 04:08 go.sum 04:14:48 drwxrwxr-x 14 jenkins jenkins 4096 Dec 26 04:08 internal 04:14:48 drwxrwxr-x 3 jenkins jenkins 4096 Dec 26 04:08 openapi 04:14:48 drwxrwxr-x 6 jenkins jenkins 4096 Dec 26 04:08 pkg 04:14:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 26 04:08 snap 04:14:48 -rw-rw-r-- 1 jenkins jenkins 222 Dec 26 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:48 + 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=0527474e17203f9e61d9e194c6b68b30972d11a0 --label arch=arm64 --label version=0.0.0 . 04:14:49 Sending build context to Docker daemon 5.672MB 04:14:49 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:14:49 Step 2/23 : FROM ${BASE} AS builder 04:14:49 ---> 99118559bcf2 04:14:49 Step 3/23 : ARG MAKE=make build 04:14:49 ---> Running in 15bb33c221bf 04:14:49 Removing intermediate container 15bb33c221bf 04:14:49 ---> 0b8b01b3c789 04:14:49 Step 4/23 : WORKDIR /device-sdk-go 04:14:50 ---> Running in 72c8257b1bea 04:14:50 Removing intermediate container 72c8257b1bea 04:14:50 ---> 9bc01b44961b 04:14:50 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:14:50 ---> Running in 921ac28dd86a 04:14:50 Removing intermediate container 921ac28dd86a 04:14:50 ---> 4bfd5359be3b 04:14:50 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:14:50 ---> Running in 9dd737ee3097 04:14:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:14:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:14:53 OK: 221 MiB in 51 packages 04:14:54 Removing intermediate container 9dd737ee3097 04:14:54 ---> ebeda80cd5e7 04:14:54 Step 7/23 : COPY go.mod vendor* ./ 04:14:54 ---> 5c0bbb9c9e76 04:14:54 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:14:54 ---> Running in d186edcd633c 04:14:57 Removing intermediate container d186edcd633c 04:14:57 ---> 7481ae569d5a 04:14:57 Step 9/23 : COPY . . 04:14:58 ---> e3cf43f3123d 04:14:58 Step 10/23 : RUN ${MAKE} 04:14:58 ---> Running in 5d6556e6cb83 04:14:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:17:06 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:17:06 Removing intermediate container 5d6556e6cb83 04:17:06 ---> 5d7e1ac77fd7 04:17:06 Step 11/23 : FROM alpine:3.16 04:17:06 3.16: Pulling from library/alpine 04:17:06 6875df1f5354: Pulling fs layer 04:17:06 6875df1f5354: Verifying Checksum 04:17:06 6875df1f5354: Download complete 04:17:06 6875df1f5354: Pull complete 04:17:06 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:17:06 Status: Downloaded newer image for alpine:3.16 04:17:06 ---> 2b4661558fb8 04:17:06 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:17:06 ---> Running in a35e440933ad 04:17:06 Removing intermediate container a35e440933ad 04:17:06 ---> de62460b7834 04:17:06 Step 13/23 : RUN apk add --update --no-cache zeromq 04:17:06 ---> Running in 9e6874fe6708 04:17:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:17:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:17:07 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:17:07 (2/5) Installing libsodium (1.0.18-r0) 04:17:07 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:17:07 (4/5) Installing libzmq (4.3.4-r0) 04:17:07 (5/5) Installing zeromq (4.3.4-r0) 04:17:07 Executing busybox-1.35.0-r17.trigger 04:17:07 OK: 8 MiB in 19 packages 04:17:08 Removing intermediate container 9e6874fe6708 04:17:08 ---> 6be6de0f04bf 04:17:08 Step 14/23 : WORKDIR / 04:17:08 ---> Running in 0c30894a2f64 04:17:08 Removing intermediate container 0c30894a2f64 04:17:08 ---> 6dfa13ce827b 04:17:08 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:17:09 ---> 0e62b3dd2297 04:17:09 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:17:10 ---> ad17b8d09879 04:17:10 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:17:11 ---> 432dd2faba62 04:17:11 Step 18/23 : EXPOSE 59999 04:17:11 ---> Running in c221bbefd326 04:17:11 Removing intermediate container c221bbefd326 04:17:11 ---> f530a4d6dfaa 04:17:11 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:17:11 ---> Running in cc24f7e02924 04:17:12 Removing intermediate container cc24f7e02924 04:17:12 ---> 56332232a056 04:17:12 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:17:12 ---> Running in 10e4a37c5d01 04:17:12 Removing intermediate container 10e4a37c5d01 04:17:12 ---> 81db0f1f24ca 04:17:12 Step 21/23 : LABEL arch=arm64 04:17:12 ---> Running in 25debe237c9c 04:17:12 Removing intermediate container 25debe237c9c 04:17:12 ---> 0e992a3c93d1 04:17:12 Step 22/23 : LABEL git_sha=0527474e17203f9e61d9e194c6b68b30972d11a0 04:17:12 ---> Running in 2d271aa97d34 04:17:12 Removing intermediate container 2d271aa97d34 04:17:12 ---> 4998a4196012 04:17:12 Step 23/23 : LABEL version=0.0.0 04:17:13 ---> Running in 2c6de7c50846 04:17:13 Removing intermediate container 2c6de7c50846 04:17:13 ---> af891310d393 04:17:13 [Warning] One or more build-args [ARCH] were not consumed 04:17:13 Successfully built af891310d393 04:17:13 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 04:17:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:14 04:17:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:15 arm64: Pulling from edgex-lftools-log-publisher 04:17:15 8998bd30e6a1: Pulling fs layer 04:17:15 04944245beec: Pulling fs layer 04:17:15 699f458cf7ca: Pulling fs layer 04:17:15 765212b225bb: Pulling fs layer 04:17:15 f23df028b6ca: Pulling fs layer 04:17:15 d65c8cfc05b1: Pulling fs layer 04:17:15 2437ff75d9bd: Pulling fs layer 04:17:15 f23df028b6ca: Waiting 04:17:15 d65c8cfc05b1: Waiting 04:17:15 765212b225bb: Waiting 04:17:15 2437ff75d9bd: Waiting 04:17:15 04944245beec: Verifying Checksum 04:17:15 04944245beec: Download complete 04:17:15 765212b225bb: Verifying Checksum 04:17:15 765212b225bb: Download complete 04:17:15 f23df028b6ca: Verifying Checksum 04:17:15 f23df028b6ca: Download complete 04:17:15 d65c8cfc05b1: Verifying Checksum 04:17:15 d65c8cfc05b1: Download complete 04:17:15 699f458cf7ca: Verifying Checksum 04:17:15 699f458cf7ca: Download complete 04:17:15 8998bd30e6a1: Verifying Checksum 04:17:15 8998bd30e6a1: Download complete 04:17:18 2437ff75d9bd: Verifying Checksum 04:17:18 2437ff75d9bd: Download complete 04:17:19 8998bd30e6a1: Pull complete 04:17:20 04944245beec: Pull complete 04:17:21 699f458cf7ca: Pull complete 04:17:21 765212b225bb: Pull complete 04:17:22 f23df028b6ca: Pull complete 04:17:22 d65c8cfc05b1: Pull complete 04:17:36 2437ff75d9bd: Pull complete 04:17:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:17:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:36 prd-ubuntu20.04-docker-arm64-4c-16g-513 does not seem to be running inside a container 04:17:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:17:39 $ docker top 72a16be84681003b054ad68c1fa90916bc084614ffaa8e2619c9602e24fb74d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:39 ---> job-cost.sh 04:17:40 lf-activate-venv: SKIPPING 04:17:40 INFO: No Stack... 04:17:40 INFO: Retrieving Pricing Info for: v3-standard-4 04:17:41 INFO: Archiving Costs [Pipeline] sh 04:17:42 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:17:42 + cut -d, -f6 [Pipeline] lock 04:17:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] 04:17:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] did not exist. Created. 04:17:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:17:43 /w/workspace/device-sdk-go/1@tmp/durable-3991b2ed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:17:43 + echo total: 0.10999999940395355 [Pipeline] stash 04:17:43 Warning: overwriting stash ‘stack-cost’ 04:17:43 Stashed 1 file(s) [Pipeline] } 04:17:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1267-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:17:43 $ docker stop --time=1 72a16be84681003b054ad68c1fa90916bc084614ffaa8e2619c9602e24fb74d7 04:17:45 $ docker rm -f --volumes 72a16be84681003b054ad68c1fa90916bc084614ffaa8e2619c9602e24fb74d7 [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 04:17:46 provisioning config files... 04:17:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/config18112680954278678583tmp [Pipeline] { [Pipeline] sh 04:17:46 + set +x 04:17:46 + curl -s https://codecov.io/bash 04:17:46 + bash -s -- 04:17:46 04:17:46 _____ _ 04:17:46 / ____| | | 04:17:46 | | ___ __| | ___ ___ _____ __ 04:17:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:17:46 | |___| (_) | (_| | __/ (_| (_) \ V / 04:17:46 \_____\___/ \__,_|\___|\___\___/ \_/ 04:17:46 Bash-1.0.6 04:17:46 04:17:46 04:17:46 ==> git version 2.25.1 found 04:17:46 ==> 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 04:17:46 Release-Date: 2020-01-08 04:17:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:17:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:17:46 ==> Jenkins CI detected. 04:17:46 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1267 04:17:46 project root: . 04:17:46 --> token set from env 04:17:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:17:46 ==> Running gcov in . (disable via -X gcov) 04:17:46 ==> Python coveragepy not found 04:17:46 ==> Searching for coverage reports in: 04:17:46 + . 04:17:46 -> Found 1 reports 04:17:46 ==> Detecting git/mercurial file structure 04:17:46 ==> Reading reports 04:17:46 + ./coverage.out bytes=101759 04:17:46 ==> Appending adjustments 04:17:46 https://docs.codecov.io/docs/fixing-reports 04:17:47 + Found adjustments 04:17:47 ==> Gzipping contents 04:17:47 16K /tmp/codecov.fvGtoc.gz 04:17:47 ==> Uploading reports 04:17:47 url: https://codecov.io 04:17:47 query: branch=PR-1267&commit=0527474e17203f9e61d9e194c6b68b30972d11a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1267%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1267&job=&cmd_args= 04:17:47 -> Pinging Codecov 04:17:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1267&commit=0527474e17203f9e61d9e194c6b68b30972d11a0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1267%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1267&job=&cmd_args= 04:17:47 -> Uploading to 04:17:47 https://storage.googleapis.com/codecov/v4/raw/2022-12-26/7E55EF52A471D76F132DFD9A03CDDE97/0527474e17203f9e61d9e194c6b68b30972d11a0/023a95df-4dc2-4e11-8852-7fb90893f166.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221226%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221226T041747Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d00a4bda94e3c49d6786032f8a1cceced76885768b5cb15fdf73999cb164dcc 04:17:47 % Total % Received % Xferd Average Speed Time Time Time Current 04:17:47 Dload Upload Total Spent Left Speed 04:17:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14755 0 0 100 14755 0 59495 --:--:-- --:--:-- --:--:-- 59495 04:17:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0527474e17203f9e61d9e194c6b68b30972d11a0 [Pipeline] } 04:17:47 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 04:17:49 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives ] 04:17:49 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives 04:17:49 total 16 04:17:49 drwxr-xr-x 3 root root 4096 Dec 26 04:07 . 04:17:49 drwxrwxr-x 12 jenkins jenkins 4096 Dec 26 04:07 .. 04:17:49 drwxr-xr-x 2 root root 4096 Dec 26 04:07 cost 04:17:49 -rw-r--r-- 1 root root 86 Dec 26 04:07 cost.csv 04:17:49 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives 04:17:49 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives 04:17:49 total 16 04:17:49 drwxr-xr-x 3 jenkins jenkins 4096 Dec 26 04:07 . 04:17:49 drwxrwxr-x 12 jenkins jenkins 4096 Dec 26 04:07 .. 04:17:49 drwxr-xr-x 2 jenkins jenkins 4096 Dec 26 04:07 cost 04:17:49 -rw-r--r-- 1 jenkins jenkins 86 Dec 26 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:17:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:17:50 ---> package-listing.sh 04:17:50 ++ facter osfamily 04:17:50 ++ tr '[:upper:]' '[:lower:]' 04:17:51 + OS_FAMILY=debian 04:17:51 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1267 04:17:51 + START_PACKAGES=/tmp/packages_start.txt 04:17:51 + END_PACKAGES=/tmp/packages_end.txt 04:17:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:17:51 + PACKAGES=/tmp/packages_start.txt 04:17:51 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1267 ']' 04:17:51 + PACKAGES=/tmp/packages_end.txt 04:17:51 + case "${OS_FAMILY}" in 04:17:51 + dpkg -l 04:17:51 + grep '^ii' 04:17:51 + '[' -f /tmp/packages_start.txt ']' 04:17:51 + '[' -f /tmp/packages_end.txt ']' 04:17:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:17:51 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1267 ']' 04:17:51 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives/ 04:17:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1267/archives/ [Pipeline] echo 04:17:51 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-1267/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:17:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:52 prd-ubuntu20.04-docker-8c-8g-511 does not seem to be running inside a container 04:17:52 $ 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-1267/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-1267 -v /w/workspace/gexfoundry_device-sdk-go_PR-1267:/w/workspace/gexfoundry_device-sdk-go_PR-1267:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:17:52 $ docker top d5e4c0e93e3fe8ddc618c47972aab0c26d3a172aea2d71c0d563ddf6d12a4bf7 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:52 + touch /tmp/pre-build-complete [Pipeline] sh 04:17:53 + mkdir -p /var/log/sysstat [Pipeline] sh 04:17:53 + ls /var/log/sa-host 04:17:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:53 provisioning config files... 04:17:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1267@tmp/config2527161729281809542tmp [Pipeline] { [Pipeline] echo 04:17:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:17:54 ---> create-netrc.sh [Pipeline] } 04:17:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:17:54 ---> python-tools-install.sh [Pipeline] echo 04:17:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:17:54 ---> sudo-logs.sh 04:17:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:17:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:17:55 ---> job-cost.sh 04:17:55 lf-activate-venv: SKIPPING 04:17:55 DEBUG: total: 0.2199999988079071 04:17:55 INFO: Retrieving Stack Cost... 04:17:55 INFO: Retrieving Pricing Info for: v3-standard-8 04:17:55 INFO: Archiving Costs [Pipeline] echo 04:17:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:17:56 ---> logs-deploy.sh 04:17:56 lf-activate-venv: SKIPPING 04:17:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1267/1 04:17:56 INFO: archiving workspace using pattern(s): 04:17:57 Archives upload complete. 04:17:57 INFO: archiving logs to Nexus