Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 774c2037947f109106e5ac1f44e7b15f17fcf2b1 rather than 625f29720569d2b29cfb0bb03b03e9ba312a8048 Obtained Jenkinsfile from 774c2037947f109106e5ac1f44e7b15f17fcf2b1 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-ssh6266664006137907521.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-ssh6220833145908176749.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1360/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10532566572005323749.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 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-ssh15597012789104241937.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1360/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1360/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13672007263787514334.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8606 in /w/workspace/gexfoundry_device-sdk-go_PR-1360 [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-1360 # 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/1360/head:refs/remotes/origin/PR-1360 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 774c2037947f109106e5ac1f44e7b15f17fcf2b1 into PR head commit 625f29720569d2b29cfb0bb03b03e9ba312a8048 Merge succeeded, producing 53a86832025b86e5c9e337a58175341860b9a645 Checking out Revision 53a86832025b86e5c9e337a58175341860b9a645 (PR-1360) > git config core.sparsecheckout # timeout=10 > git checkout -f 625f29720569d2b29cfb0bb03b03e9ba312a8048 # 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 774c2037947f109106e5ac1f44e7b15f17fcf2b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53a86832025b86e5c9e337a58175341860b9a645 # timeout=10 Commit message: "Merge commit '774c2037947f109106e5ac1f44e7b15f17fcf2b1' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 884f8d81aa4d55c1147f178f8ed4bbafe2e42516 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:41:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:57 ========================================================= 18:41:57 EdgeX Global Pipelines Version Info 18:41:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:41:58 ------------------- 18:41:58 stable info: 18:41:58 ------------------- 18:41:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:41:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:41:58 Message: update stable to v1.0.244 18:41:59 ------------------- 18:41:59 experimental info: 18:41:59 ------------------- 18:41:59 Commited By: **** collab-it+edgex@linuxfoundation.org 18:41:59 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:41:59 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1360 [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1360 [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1360 [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53a86832025b86e5c9e337a58175341860b9a645 [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53a8683 [Pipeline] echo 18:41:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:59 provisioning config files... 18:41:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/config17013852348329832742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:00 ---> docker-login.sh 18:42:00 nexus3.edgexfoundry.org:10001 18:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:00 Configure a credential helper to remove this warning. See 18:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:00 18:42:00 Login Succeeded 18:42:00 nexus3.edgexfoundry.org:10002 18:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:00 Configure a credential helper to remove this warning. See 18:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:00 18:42:00 Login Succeeded 18:42:00 nexus3.edgexfoundry.org:10003 18:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:00 Configure a credential helper to remove this warning. See 18:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:00 18:42:00 Login Succeeded 18:42:00 nexus3.edgexfoundry.org:10004 18:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:00 Configure a credential helper to remove this warning. See 18:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:00 18:42:00 Login Succeeded 18:42:00 docker.io 18:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:00 Configure a credential helper to remove this warning. See 18:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:00 18:42:00 Login Succeeded 18:42:00 ---> docker-login.sh ends [Pipeline] } 18:42:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:42:01 + git rev-list -1 --merges 53a86832025b86e5c9e337a58175341860b9a645~1..53a86832025b86e5c9e337a58175341860b9a645 [Pipeline] echo 18:42:01 -----------> git rev-list -1 --merges 53a86832025b86e5c9e337a58175341860b9a645~1..53a86832025b86e5c9e337a58175341860b9a645 53a86832025b86e5c9e337a58175341860b9a645 18:42:01 53a86832025b86e5c9e337a58175341860b9a645 [false] [Pipeline] sh 18:42:01 + git log --format=format:%s -1 53a86832025b86e5c9e337a58175341860b9a645 [Pipeline] echo 18:42:01 ========================================================= 18:42:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:42:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:01 + git log --format=format:%s -1 53a86832025b86e5c9e337a58175341860b9a645 [Pipeline] echo 18:42:01 [semverPrep] GIT_COMMIT: 53a86832025b86e5c9e337a58175341860b9a645, Commit Message: Merge commit '774c2037947f109106e5ac1f44e7b15f17fcf2b1' into HEAD [Pipeline] echo 18:42:01 [semverPrep] This is not a build commit. [Pipeline] sh 18:42:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:42:02 + grep -v github /etc/ssh/ssh_known_hosts 18:42:02 + [ -e /tmp/ssh_known_hosts ] 18:42:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:42:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:42:02 + sudo tee -a /etc/ssh/ssh_known_hosts 18:42:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:02 18:42:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:02 0.1.4: Pulling from edgex-devops/py-git-semver 18:42:02 b85a868b505f: Pulling fs layer 18:42:02 e2be974225ed: Pulling fs layer 18:42:02 339a4e72a1f5: Pulling fs layer 18:42:02 988bab9f4d93: Pulling fs layer 18:42:02 1469e6f7b9e6: Pulling fs layer 18:42:02 eaf3925da568: Pulling fs layer 18:42:02 bab4dde63d76: Pulling fs layer 18:42:02 bde34c3a00c8: Pulling fs layer 18:42:02 b352a97aabf1: Pulling fs layer 18:42:02 4872d77fe225: Pulling fs layer 18:42:02 5851b861e8e6: Pulling fs layer 18:42:02 1469e6f7b9e6: Waiting 18:42:02 eaf3925da568: Waiting 18:42:02 bab4dde63d76: Waiting 18:42:02 bde34c3a00c8: Waiting 18:42:02 b352a97aabf1: Waiting 18:42:02 4872d77fe225: Waiting 18:42:02 5851b861e8e6: Waiting 18:42:02 988bab9f4d93: Waiting 18:42:02 e2be974225ed: Download complete 18:42:02 988bab9f4d93: Verifying Checksum 18:42:02 988bab9f4d93: Download complete 18:42:03 1469e6f7b9e6: Verifying Checksum 18:42:03 1469e6f7b9e6: Download complete 18:42:03 eaf3925da568: Verifying Checksum 18:42:03 eaf3925da568: Download complete 18:42:03 339a4e72a1f5: Verifying Checksum 18:42:03 339a4e72a1f5: Download complete 18:42:03 bde34c3a00c8: Download complete 18:42:03 b352a97aabf1: Download complete 18:42:03 4872d77fe225: Verifying Checksum 18:42:03 4872d77fe225: Download complete 18:42:03 5851b861e8e6: Download complete 18:42:03 b85a868b505f: Verifying Checksum 18:42:03 b85a868b505f: Download complete 18:42:03 bab4dde63d76: Verifying Checksum 18:42:03 bab4dde63d76: Download complete 18:42:04 b85a868b505f: Pull complete 18:42:04 e2be974225ed: Pull complete 18:42:05 339a4e72a1f5: Pull complete 18:42:05 988bab9f4d93: Pull complete 18:42:05 1469e6f7b9e6: Pull complete 18:42:05 eaf3925da568: Pull complete 18:42:07 bab4dde63d76: Pull complete 18:42:07 bde34c3a00c8: Pull complete 18:42:07 b352a97aabf1: Pull complete 18:42:07 4872d77fe225: Pull complete 18:42:07 5851b861e8e6: Pull complete 18:42:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:42:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:07 prd-ubuntu20.04-docker-8c-8g-8606 does not seem to be running inside a container 18:42:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1360 -v /w/workspace/gexfoundry_device-sdk-go_PR-1360:/w/workspace/gexfoundry_device-sdk-go_PR-1360:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:42:09 $ docker top ed66d02529e2cb9132ff0b6ee31db2f940640a6287a10a7b4dd5a18b2c02d626 -eo pid,comm 18:42:09 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). 18:42:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:09 [ssh-agent] Looking for ssh-agent implementation... 18:42:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:09 $ docker exec ed66d02529e2cb9132ff0b6ee31db2f940640a6287a10a7b4dd5a18b2c02d626 ssh-agent 18:42:09 SSH_AUTH_SOCK=/tmp/ssh-Ni4Fma6gHrWX/agent.32 18:42:09 SSH_AGENT_PID=38 18:42:09 Running ssh-add (command line suppressed) 18:42:09 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/private_key_12222532358930846870.key (/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/private_key_12222532358930846870.key) 18:42:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:10 + git tag --points-at HEAD [Pipeline] } 18:42:10 $ docker exec --env ******** --env ******** ed66d02529e2cb9132ff0b6ee31db2f940640a6287a10a7b4dd5a18b2c02d626 ssh-agent -k 18:42:10 unset SSH_AUTH_SOCK; 18:42:10 unset SSH_AGENT_PID; 18:42:10 echo Agent pid 38 killed; 18:42:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:10 [ssh-agent] Looking for ssh-agent implementation... 18:42:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:10 $ docker exec ed66d02529e2cb9132ff0b6ee31db2f940640a6287a10a7b4dd5a18b2c02d626 ssh-agent 18:42:10 SSH_AUTH_SOCK=/tmp/ssh-rxHvNZNHVfjV/agent.70 18:42:10 SSH_AGENT_PID=76 18:42:10 Running ssh-add (command line suppressed) 18:42:10 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/private_key_579860479120404197.key (/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/private_key_579860479120404197.key) 18:42:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:10 + git semver init 18:42:11 2023-03-07 18:42:11,139 [run_init] DEBUG init version:0.0.0 force:False 18:42:11 2023-03-07 18:42:11,140 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver 18:42:11 2023-03-07 18:42:11,140 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver 18:42:11 2023-03-07 18:42:11,140 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1360, universal_newlines=False, shell=None, istream=None) 18:42:12 2023-03-07 18:42:12,017 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1360/.git/info/exclude 18:42:12 2023-03-07 18:42:12,017 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver/PR-1360 with force:False 18:42:12 2023-03-07 18:42:12,017 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver/PR-1360 18:42:12 2023-03-07 18:42:12,022 [execute] INFO git cat-file --batch-check 18:42:12 2023-03-07 18:42:12,022 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver, universal_newlines=False, shell=None, istream=) 18:42:12 2023-03-07 18:42:12,029 [execute] INFO git cat-file --batch 18:42:12 2023-03-07 18:42:12,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver, universal_newlines=False, shell=None, istream=) 18:42:12 2023-03-07 18:42:12,035 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1360/.semver/PR-1360 18:42:12 0.0.0 [Pipeline] } 18:42:12 $ docker exec --env ******** --env ******** ed66d02529e2cb9132ff0b6ee31db2f940640a6287a10a7b4dd5a18b2c02d626 ssh-agent -k 18:42:12 unset SSH_AUTH_SOCK; 18:42:12 unset SSH_AGENT_PID; 18:42:12 echo Agent pid 76 killed; 18:42:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:12 + git semver [Pipeline] } 18:42:12 $ docker stop --time=1 ed66d02529e2cb9132ff0b6ee31db2f940640a6287a10a7b4dd5a18b2c02d626 18:42:14 $ docker rm -f --volumes ed66d02529e2cb9132ff0b6ee31db2f940640a6287a10a7b4dd5a18b2c02d626 [Pipeline] // withDockerContainer [Pipeline] sh 18:42:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:14 Stashed 1 file(s) [Pipeline] echo 18:42:14 [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 18:42:14 provisioning config files... 18:42:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/config2638285069141550464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:15 ---> docker-login.sh 18:42:15 nexus3.edgexfoundry.org:10001 18:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:15 Configure a credential helper to remove this warning. See 18:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:15 18:42:15 Login Succeeded 18:42:15 nexus3.edgexfoundry.org:10002 18:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:15 Configure a credential helper to remove this warning. See 18:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:15 18:42:15 Login Succeeded 18:42:15 nexus3.edgexfoundry.org:10003 18:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:15 Configure a credential helper to remove this warning. See 18:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:15 18:42:15 Login Succeeded 18:42:15 nexus3.edgexfoundry.org:10004 18:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:15 Configure a credential helper to remove this warning. See 18:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:15 18:42:15 Login Succeeded 18:42:15 docker.io 18:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:15 Configure a credential helper to remove this warning. See 18:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:15 18:42:15 Login Succeeded 18:42:15 ---> docker-login.sh ends [Pipeline] } 18:42:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:15 ========================================================= 18:42:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:42:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:16 + 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 . 18:42:16 Sending build context to Docker daemon 10.64MB 18:42:16 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:42:16 Step 2/10 : FROM ${BASE} AS builder 18:42:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:42:16 213ec9aee27d: Pulling fs layer 18:42:16 4583459ba037: Pulling fs layer 18:42:16 93c1e223e6f2: Pulling fs layer 18:42:16 53926ce57604: Pulling fs layer 18:42:16 21b2b0c7a3f4: Pulling fs layer 18:42:16 22ff95d597cd: Pulling fs layer 18:42:16 12d6caf4c0d1: Pulling fs layer 18:42:16 96b7cbca73a9: Pulling fs layer 18:42:16 a7acece74701: Pulling fs layer 18:42:16 22ff95d597cd: Waiting 18:42:16 53926ce57604: Waiting 18:42:16 21b2b0c7a3f4: Waiting 18:42:16 12d6caf4c0d1: Waiting 18:42:16 96b7cbca73a9: Waiting 18:42:16 a7acece74701: Waiting 18:42:16 93c1e223e6f2: Verifying Checksum 18:42:16 93c1e223e6f2: Download complete 18:42:16 4583459ba037: Verifying Checksum 18:42:16 4583459ba037: Download complete 18:42:16 21b2b0c7a3f4: Verifying Checksum 18:42:16 21b2b0c7a3f4: Download complete 18:42:16 22ff95d597cd: Verifying Checksum 18:42:16 22ff95d597cd: Download complete 18:42:16 213ec9aee27d: Verifying Checksum 18:42:16 213ec9aee27d: Download complete 18:42:16 12d6caf4c0d1: Verifying Checksum 18:42:16 12d6caf4c0d1: Download complete 18:42:16 213ec9aee27d: Pull complete 18:42:16 4583459ba037: Pull complete 18:42:16 93c1e223e6f2: Pull complete 18:42:16 a7acece74701: Verifying Checksum 18:42:16 a7acece74701: Download complete 18:42:17 96b7cbca73a9: Verifying Checksum 18:42:17 96b7cbca73a9: Download complete 18:42:17 53926ce57604: Verifying Checksum 18:42:17 53926ce57604: Download complete 18:42:21 53926ce57604: Pull complete 18:42:21 21b2b0c7a3f4: Pull complete 18:42:21 22ff95d597cd: Pull complete 18:42:21 12d6caf4c0d1: Pull complete 18:42:23 96b7cbca73a9: Pull complete 18:42:24 a7acece74701: Pull complete 18:42:24 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:42:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:42:24 ---> db6d94c90886 18:42:24 Step 3/10 : ARG MAKE=make build 18:42:25 ---> Running in c3839e5d91d6 18:42:25 Removing intermediate container c3839e5d91d6 18:42:25 ---> d344d4346ef6 18:42:25 Step 4/10 : WORKDIR /device-sdk-go 18:42:25 ---> Running in 8015088a0474 18:42:25 Removing intermediate container 8015088a0474 18:42:25 ---> 8e57d654a861 18:42:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:42:25 ---> Running in 3751544ef46a 18:42:26 Removing intermediate container 3751544ef46a 18:42:26 ---> b69c5d6118ba 18:42:26 Step 6/10 : RUN apk add --update --no-cache make git 18:42:26 ---> Running in de1c7945d2aa 18:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:42:26 OK: 211 MiB in 51 packages 18:42:27 Removing intermediate container de1c7945d2aa 18:42:27 ---> eaf1d23b5e8b 18:42:27 Step 7/10 : COPY go.mod vendor* ./ 18:42:27 ---> 5a8d4b6af945 18:42:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:27 ---> Running in ba0fa2db9253 18:42:29 Still waiting to schedule task 18:42:29 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8604’ 18:42:49 Removing intermediate container ba0fa2db9253 18:42:49 ---> 4a39a2924182 18:42:49 Step 9/10 : COPY . . 18:42:49 ---> 39c477fc7169 18:42:49 Step 10/10 : RUN ${MAKE} 18:42:49 ---> Running in ff40dccc5ab8 18:42:49 noop 18:42:49 Removing intermediate container ff40dccc5ab8 18:42:49 ---> e5bf4a8c9835 18:42:49 Successfully built e5bf4a8c9835 18:42:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:49 + docker inspect -f . ci-base-image-x86_64 18:42:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:49 prd-ubuntu20.04-docker-8c-8g-8606 does not seem to be running inside a container 18:42:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1360 -v /w/workspace/gexfoundry_device-sdk-go_PR-1360:/w/workspace/gexfoundry_device-sdk-go_PR-1360:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:42:50 $ docker top 2bc3ac62f0803eb999cb18c262eb49b8db8227667ffb81874890d072c8bc3cdd -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:50 + go version 18:42:50 go version go1.18.7 linux/amd64 [Pipeline] } 18:42:50 $ docker stop --time=1 2bc3ac62f0803eb999cb18c262eb49b8db8227667ffb81874890d072c8bc3cdd 18:42:51 $ docker rm -f --volumes 2bc3ac62f0803eb999cb18c262eb49b8db8227667ffb81874890d072c8bc3cdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:52 + docker inspect -f . ci-base-image-x86_64 18:42:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:52 prd-ubuntu20.04-docker-8c-8g-8606 does not seem to be running inside a container 18:42:52 $ 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-1360 -v /w/workspace/gexfoundry_device-sdk-go_PR-1360:/w/workspace/gexfoundry_device-sdk-go_PR-1360:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:42:52 $ docker top 507053e2cc48f2eaf1e4f5db49a8230cf3ecf52b2fb585a4c34e9bf2464e2323 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:52 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1360 [Pipeline] fileExists [Pipeline] sh 18:42:53 + make test 18:42:53 go test -race -coverprofile=coverage.out ./... 18:42:59 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:43:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:43:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:43:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:43:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:43:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:43:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.050s coverage: 27.6% of statements 18:43:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.068s coverage: 78.9% of statements 18:43:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 18:43:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.093s coverage: 86.0% of statements 18:43:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:43:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:43:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 75.4% of statements 18:43:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:43:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.072s coverage: 15.3% of statements 18:43:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:43:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.116s coverage: 65.2% of statements 18:43:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:43:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:43:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.812s coverage: 89.2% of statements 18:43:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 18:43:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.6% of statements 18:43:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:43:31 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." 18:43:31 GO111MODULE=on go vet ./... 18:43:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:43:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:43:33 ./bin/test-attribution-txt.sh [Pipeline] echo 18:43:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:43:33 $ docker stop --time=1 507053e2cc48f2eaf1e4f5db49a8230cf3ecf52b2fb585a4c34e9bf2464e2323 18:43:35 $ docker rm -f --volumes 507053e2cc48f2eaf1e4f5db49a8230cf3ecf52b2fb585a4c34e9bf2464e2323 [Pipeline] // withDockerContainer [Pipeline] sh 18:43:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:43:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:43:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:43:36 + ls -al . 18:43:36 total 280 18:43:36 drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 18:42 . 18:43:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:41 .. 18:43:36 -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 18:41 .dockerignore 18:43:36 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:43 .git 18:43:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:41 .github 18:43:36 -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 18:41 .gitignore 18:43:36 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 18:41 .golangci.yml 18:43:36 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:42 .semver 18:43:36 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 18:41 CHANGELOG.md 18:43:36 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 18:41 GOVERNANCE.md 18:43:36 -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 18:41 Jenkinsfile 18:43:36 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 18:41 LICENSE 18:43:36 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 18:41 Makefile 18:43:36 -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 18:41 OWNERS.md 18:43:36 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 18:41 README.md 18:43:36 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 18:42 VERSION 18:43:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:41 bin 18:43:36 -rw-r--r-- 1 jenkins jenkins 111325 Mar 7 18:43 coverage.out 18:43:36 drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 18:41 example 18:43:36 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 18:41 go.mod 18:43:36 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 18:41 go.sum 18:43:36 drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 18:41 internal 18:43:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:41 openapi 18:43:36 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 18:41 pkg 18:43:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:41 snap 18:43:36 -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:37 + 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=53a86832025b86e5c9e337a58175341860b9a645 --label arch=amd64 --label version=0.0.0 . 18:43:37 Sending build context to Docker daemon 10.75MB 18:43:37 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 18:43:37 Step 2/23 : FROM ${BASE} AS builder 18:43:37 ---> e5bf4a8c9835 18:43:37 Step 3/23 : ARG MAKE=make build 18:43:37 ---> Running in c71bcbecb827 18:43:37 Removing intermediate container c71bcbecb827 18:43:37 ---> fe8bd38058e1 18:43:37 Step 4/23 : WORKDIR /device-sdk-go 18:43:37 ---> Running in 264a44bdf90e 18:43:37 Removing intermediate container 264a44bdf90e 18:43:37 ---> 5976e67a1d47 18:43:37 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:43:37 ---> Running in c01f90df62fb 18:43:37 Removing intermediate container c01f90df62fb 18:43:37 ---> ef5842a55344 18:43:37 Step 6/23 : RUN apk add --update --no-cache make git 18:43:37 ---> Running in 4ff1c33603fb 18:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:43:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:43:38 OK: 211 MiB in 51 packages 18:43:38 Removing intermediate container 4ff1c33603fb 18:43:38 ---> e411849c1af3 18:43:38 Step 7/23 : COPY go.mod vendor* ./ 18:43:38 ---> 56430006f089 18:43:38 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:38 ---> Running in 2bb89666496b 18:43:39 Removing intermediate container 2bb89666496b 18:43:39 ---> a866ff8f94ae 18:43:39 Step 9/23 : COPY . . 18:43:40 ---> 99f59a8cc5be 18:43:40 Step 10/23 : RUN ${MAKE} 18:43:40 ---> Running in bf4c03efbfdd 18:43:40 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:43:58 Removing intermediate container bf4c03efbfdd 18:43:58 ---> 04cb6c351226 18:43:58 Step 11/23 : FROM alpine:3.16 18:43:58 3.16: Pulling from library/alpine 18:43:58 ef5531b6e74e: Pulling fs layer 18:43:58 ef5531b6e74e: Verifying Checksum 18:43:58 ef5531b6e74e: Download complete 18:43:59 ef5531b6e74e: Pull complete 18:43:59 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:43:59 Status: Downloaded newer image for alpine:3.16 18:43:59 ---> dfd21b5a31f5 18:43:59 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:43:59 ---> Running in 0f118d40caca 18:43:59 Removing intermediate container 0f118d40caca 18:43:59 ---> c25e28020e7a 18:43:59 Step 13/23 : RUN apk add --update --no-cache 18:43:59 ---> Running in c000c4f33b05 18:43:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:43:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:43:59 OK: 6 MiB in 14 packages 18:44:00 Removing intermediate container c000c4f33b05 18:44:00 ---> 7017cd2135db 18:44:00 Step 14/23 : WORKDIR / 18:44:00 ---> Running in 748e5b7a8c4c 18:44:00 Removing intermediate container 748e5b7a8c4c 18:44:00 ---> ed756d3b46ab 18:44:00 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:44:00 ---> c8c499c79019 18:44:00 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:44:00 ---> 1d397619fae6 18:44:00 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:44:01 ---> 167c1a97bbd1 18:44:01 Step 18/23 : EXPOSE 59999 18:44:01 ---> Running in de047d6a604d 18:44:01 Removing intermediate container de047d6a604d 18:44:01 ---> dd8988e54b7b 18:44:01 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:44:01 ---> Running in 4bf578f4570f 18:44:01 Removing intermediate container 4bf578f4570f 18:44:01 ---> 881bf0066878 18:44:01 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:44:01 ---> Running in 1d6a07cdf35b 18:44:01 Removing intermediate container 1d6a07cdf35b 18:44:01 ---> 0818ecd4dee0 18:44:01 Step 21/23 : LABEL arch=amd64 18:44:01 ---> Running in 13c94588a698 18:44:01 Removing intermediate container 13c94588a698 18:44:01 ---> d91798ecc674 18:44:01 Step 22/23 : LABEL git_sha=53a86832025b86e5c9e337a58175341860b9a645 18:44:01 ---> Running in 0847222b948c 18:44:01 Removing intermediate container 0847222b948c 18:44:01 ---> d230dcb7253d 18:44:01 Step 23/23 : LABEL version=0.0.0 18:44:01 ---> Running in 1fa35f2e1bd8 18:44:01 Removing intermediate container 1fa35f2e1bd8 18:44:01 ---> 4f70155377dc 18:44:01 [Warning] One or more build-args [ARCH] were not consumed 18:44:01 Successfully built 4f70155377dc 18:44:01 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 18:44:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:02 18:44:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:02 latest: Pulling from edgex-lftools-log-publisher 18:44:02 5eb5b503b376: Pulling fs layer 18:44:02 5c69ac0246d0: Pulling fs layer 18:44:02 ec43610c2a17: Pulling fs layer 18:44:02 3a2ae6a8a46f: Pulling fs layer 18:44:02 33b1e0a273af: Pulling fs layer 18:44:02 5d3b04190fa2: Pulling fs layer 18:44:02 2f39f015ded8: Pulling fs layer 18:44:02 33b1e0a273af: Waiting 18:44:02 5d3b04190fa2: Waiting 18:44:02 3a2ae6a8a46f: Waiting 18:44:02 2f39f015ded8: Waiting 18:44:02 5c69ac0246d0: Verifying Checksum 18:44:02 5c69ac0246d0: Download complete 18:44:02 3a2ae6a8a46f: Verifying Checksum 18:44:02 3a2ae6a8a46f: Download complete 18:44:02 33b1e0a273af: Verifying Checksum 18:44:02 33b1e0a273af: Download complete 18:44:02 5d3b04190fa2: Download complete 18:44:02 ec43610c2a17: Verifying Checksum 18:44:02 ec43610c2a17: Download complete 18:44:02 5eb5b503b376: Verifying Checksum 18:44:02 5eb5b503b376: Download complete 18:44:03 2f39f015ded8: Download complete 18:44:03 5eb5b503b376: Pull complete 18:44:04 5c69ac0246d0: Pull complete 18:44:04 ec43610c2a17: Pull complete 18:44:04 3a2ae6a8a46f: Pull complete 18:44:04 33b1e0a273af: Pull complete 18:44:04 5d3b04190fa2: Pull complete 18:44:10 2f39f015ded8: Pull complete 18:44:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:44:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:10 prd-ubuntu20.04-docker-8c-8g-8606 does not seem to be running inside a container 18:44:10 $ 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-1360 -v /w/workspace/gexfoundry_device-sdk-go_PR-1360:/w/workspace/gexfoundry_device-sdk-go_PR-1360:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:44:11 $ docker top af848617e99bda542d4de07e6143e2f328f400e9a39e6e001823e1d1184adda6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:12 ---> job-cost.sh 18:44:12 lf-activate-venv: SKIPPING 18:44:12 INFO: No Stack... 18:44:12 INFO: Retrieving Pricing Info for: v3-standard-8 18:44:12 INFO: Archiving Costs [Pipeline] sh 18:44:13 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives/cost.csv 18:44:13 + cut -d, -f6 [Pipeline] lock 18:44:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1360-2-stack-cost] 18:44:13 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1360-2-stack-cost] did not exist. Created. 18:44:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1360-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:44:13 + echo total: 0.2199999988079071 [Pipeline] stash 18:44:13 Stashed 1 file(s) [Pipeline] } 18:44:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1360-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:44:13 $ docker stop --time=1 af848617e99bda542d4de07e6143e2f328f400e9a39e6e001823e1d1184adda6 18:44:14 $ docker rm -f --volumes af848617e99bda542d4de07e6143e2f328f400e9a39e6e001823e1d1184adda6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:44:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8610 in /w/workspace/gexfoundry_device-sdk-go_PR-1360 [Pipeline] { [Pipeline] ws 18:44:29 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:44:29 The recommended git tool is: git 18:44:36 using credential edgex-jenkins-ssh 18:44:36 Cloning the remote Git repository 18:44:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:36 > git init /w/workspace/device-sdk-go/2 # timeout=10 18:44:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:37 > git --version # timeout=10 18:44:37 > git --version # 'git version 2.25.1' 18:44:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:40 Merging remotes/origin/main commit 774c2037947f109106e5ac1f44e7b15f17fcf2b1 into PR head commit 625f29720569d2b29cfb0bb03b03e9ba312a8048 18:44:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:40 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1360/head:refs/remotes/origin/PR-1360 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:44:40 > git config core.sparsecheckout # timeout=10 18:44:41 Merge succeeded, producing 38f5cb822c56b8f81eeb6a7b59a1f3e683fb4231 18:44:41 Checking out Revision 38f5cb822c56b8f81eeb6a7b59a1f3e683fb4231 (PR-1360) 18:44:40 > git checkout -f 625f29720569d2b29cfb0bb03b03e9ba312a8048 # timeout=10 18:44:41 > git remote # timeout=10 18:44:41 > git config --get remote.origin.url # timeout=10 18:44:41 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:41 > git merge 774c2037947f109106e5ac1f44e7b15f17fcf2b1 # timeout=10 18:44:41 > git rev-parse HEAD^{commit} # timeout=10 18:44:41 > git config core.sparsecheckout # timeout=10 18:44:41 > git checkout -f 38f5cb822c56b8f81eeb6a7b59a1f3e683fb4231 # timeout=10 18:44:44 Commit message: "Merge commit '774c2037947f109106e5ac1f44e7b15f17fcf2b1' into HEAD" 18:44:44 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:44 > git rev-list --no-walk 884f8d81aa4d55c1147f178f8ed4bbafe2e42516 # timeout=10 18:44:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:44:45 % Total % Received % Xferd Average Speed Time Time Time Current 18:44:45 Dload Upload Total Spent Left Speed 18:44:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 18:44:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:44:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:44:47 + sudo tee /etc/docker/daemon.new 18:44:47 { 18:44:47 "registry-mirrors": [ 18:44:47 "https://nexus3.edgexfoundry.org:10001" 18:44:47 ], 18:44:47 "bip": "10.250.0.254/24", 18:44:47 "hosts": [ 18:44:47 "tcp://0.0.0.0:5555", 18:44:47 "unix:///var/run/docker.sock" 18:44:47 ], 18:44:47 "mtu": 1458, 18:44:47 "selinux-enabled": true, 18:44:47 "seccomp-profile": "/etc/docker/seccomp.json" 18:44:47 } [Pipeline] sh 18:44:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:44:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:45:06 provisioning config files... 18:45:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config9538815473420592533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:06 ---> docker-login.sh 18:45:06 nexus3.edgexfoundry.org:10001 18:45:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:07 Configure a credential helper to remove this warning. See 18:45:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:07 18:45:07 Login Succeeded 18:45:07 nexus3.edgexfoundry.org:10002 18:45:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:07 Configure a credential helper to remove this warning. See 18:45:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:07 18:45:07 Login Succeeded 18:45:07 nexus3.edgexfoundry.org:10003 18:45:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:07 Configure a credential helper to remove this warning. See 18:45:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:07 18:45:07 Login Succeeded 18:45:07 nexus3.edgexfoundry.org:10004 18:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:08 Configure a credential helper to remove this warning. See 18:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:08 18:45:08 Login Succeeded 18:45:08 docker.io 18:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:09 Configure a credential helper to remove this warning. See 18:45:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:09 18:45:09 Login Succeeded 18:45:09 ---> docker-login.sh ends [Pipeline] } 18:45:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:45:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:45:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:45:09 ========================================================= 18:45:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:45:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:09 + 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 . 18:45:10 Sending build context to Docker daemon 5.722MB 18:45:10 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:45:10 Step 2/10 : FROM ${BASE} AS builder 18:45:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:45:10 9b18e9b68314: Pulling fs layer 18:45:10 35d82f9e3411: Pulling fs layer 18:45:10 e16973657156: Pulling fs layer 18:45:10 fc693d55d65f: Pulling fs layer 18:45:10 7e9fc2657dce: Pulling fs layer 18:45:10 dda99020689f: Pulling fs layer 18:45:10 db1c61fa0a46: Pulling fs layer 18:45:10 891c053d2c06: Pulling fs layer 18:45:10 dda99020689f: Waiting 18:45:10 db1c61fa0a46: Waiting 18:45:10 891c053d2c06: Waiting 18:45:10 fc693d55d65f: Waiting 18:45:10 7e9fc2657dce: Waiting 18:45:10 e16973657156: Verifying Checksum 18:45:10 e16973657156: Download complete 18:45:10 35d82f9e3411: Download complete 18:45:10 7e9fc2657dce: Verifying Checksum 18:45:10 7e9fc2657dce: Download complete 18:45:10 dda99020689f: Verifying Checksum 18:45:10 dda99020689f: Download complete 18:45:10 9b18e9b68314: Verifying Checksum 18:45:10 9b18e9b68314: Download complete 18:45:11 9b18e9b68314: Pull complete 18:45:11 891c053d2c06: Verifying Checksum 18:45:11 891c053d2c06: Download complete 18:45:12 35d82f9e3411: Pull complete 18:45:12 e16973657156: Pull complete 18:45:13 db1c61fa0a46: Verifying Checksum 18:45:13 db1c61fa0a46: Download complete 18:45:13 fc693d55d65f: Verifying Checksum 18:45:13 fc693d55d65f: Download complete 18:45:28 fc693d55d65f: Pull complete 18:45:28 7e9fc2657dce: Pull complete 18:45:28 dda99020689f: Pull complete 18:45:33 db1c61fa0a46: Pull complete 18:45:34 891c053d2c06: Pull complete 18:45:34 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:45:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:45:34 ---> f96f9c87975a 18:45:34 Step 3/10 : ARG MAKE=make build 18:45:35 ---> Running in 4c45cdd3d0cf 18:45:35 Removing intermediate container 4c45cdd3d0cf 18:45:35 ---> ea1dd101b52e 18:45:35 Step 4/10 : WORKDIR /device-sdk-go 18:45:36 ---> Running in b1980de5eb86 18:45:36 Removing intermediate container b1980de5eb86 18:45:36 ---> 3f8e4242ab72 18:45:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:45:36 ---> Running in 72e38258b07a 18:45:36 Removing intermediate container 72e38258b07a 18:45:36 ---> 7e29ca5bd11b 18:45:36 Step 6/10 : RUN apk add --update --no-cache make git 18:45:36 ---> Running in ed7ddbf2fcac 18:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:45:39 OK: 221 MiB in 51 packages 18:45:40 Removing intermediate container ed7ddbf2fcac 18:45:40 ---> f7e5145470d3 18:45:40 Step 7/10 : COPY go.mod vendor* ./ 18:45:41 ---> 67ead52f8cc4 18:45:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:41 ---> Running in 28adb5ff84c2 18:46:48 Removing intermediate container 28adb5ff84c2 18:46:48 ---> 82536e5e5bf9 18:46:48 Step 9/10 : COPY . . 18:46:48 ---> 5578ebb3cc01 18:46:48 Step 10/10 : RUN ${MAKE} 18:46:48 ---> Running in 6f4e2bdb2f93 18:46:48 noop 18:46:48 Removing intermediate container 6f4e2bdb2f93 18:46:48 ---> c160c6d15be5 18:46:48 Successfully built c160c6d15be5 18:46:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:49 + docker inspect -f . ci-base-image-arm64 18:46:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:49 prd-ubuntu20.04-docker-arm64-4c-16g-8610 does not seem to be running inside a container 18:46:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:46:51 $ docker top 12172034bb56f64f78d4dfb7614ff2b04ea78cbc9fb342c025f49f64bdb9fb96 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:51 + go version 18:46:51 go version go1.18.7 linux/arm64 [Pipeline] } 18:46:51 $ docker stop --time=1 12172034bb56f64f78d4dfb7614ff2b04ea78cbc9fb342c025f49f64bdb9fb96 18:46:53 $ docker rm -f --volumes 12172034bb56f64f78d4dfb7614ff2b04ea78cbc9fb342c025f49f64bdb9fb96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:54 + docker inspect -f . ci-base-image-arm64 18:46:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:54 prd-ubuntu20.04-docker-arm64-4c-16g-8610 does not seem to be running inside a container 18:46:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:46:55 $ docker top c3c4be9252d09c2b684cb6fcb809c346261225e93b53c183e2cf4ed0d29350b3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:56 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 18:46:57 + make test 18:46:57 go test -race -coverprofile=coverage.out ./... 18:47:36 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:50:13 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:50:13 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:50:13 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:50:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:50:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:50:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.322s coverage: 27.6% of statements 18:50:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.322s coverage: 78.9% of statements 18:50:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 18:50:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.455s coverage: 86.0% of statements 18:50:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:50:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:50:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.679s coverage: 75.4% of statements 18:50:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:50:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.364s coverage: 15.3% of statements 18:50:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:50:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.530s coverage: 65.2% of statements 18:50:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:50:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:50:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.371s coverage: 89.2% of statements 18:50:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 18:50:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.288s coverage: 4.6% of statements 18:50:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:50:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:50:26 GO111MODULE=on go vet ./... 18:52:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:52:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:52:18 ./bin/test-attribution-txt.sh [Pipeline] echo 18:52:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:52:18 $ docker stop --time=1 c3c4be9252d09c2b684cb6fcb809c346261225e93b53c183e2cf4ed0d29350b3 18:52:20 $ docker rm -f --volumes c3c4be9252d09c2b684cb6fcb809c346261225e93b53c183e2cf4ed0d29350b3 [Pipeline] // withDockerContainer [Pipeline] sh 18:52:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:52:22 Warning: overwriting stash ‘coverage-report’ 18:52:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:23 + ls -al . 18:52:23 total 276 18:52:23 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 18:46 . 18:52:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:44 .. 18:52:23 -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 18:44 .dockerignore 18:52:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:44 .git 18:52:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:44 .github 18:52:23 -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 18:44 .gitignore 18:52:23 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 18:44 .golangci.yml 18:52:23 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 18:44 CHANGELOG.md 18:52:23 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 18:44 GOVERNANCE.md 18:52:23 -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 18:44 Jenkinsfile 18:52:23 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 18:44 LICENSE 18:52:23 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 18:44 Makefile 18:52:23 -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 18:44 OWNERS.md 18:52:23 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 18:44 README.md 18:52:23 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 18:42 VERSION 18:52:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:44 bin 18:52:23 -rw-r--r-- 1 jenkins jenkins 111325 Mar 7 18:50 coverage.out 18:52:23 drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 18:44 example 18:52:23 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 18:44 go.mod 18:52:23 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 18:44 go.sum 18:52:23 drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 18:44 internal 18:52:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:44 openapi 18:52:23 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 18:44 pkg 18:52:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:44 snap 18:52:23 -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:24 + 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=38f5cb822c56b8f81eeb6a7b59a1f3e683fb4231 --label arch=arm64 --label version=0.0.0 . 18:52:24 Sending build context to Docker daemon 5.834MB 18:52:24 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 18:52:24 Step 2/23 : FROM ${BASE} AS builder 18:52:24 ---> c160c6d15be5 18:52:24 Step 3/23 : ARG MAKE=make build 18:52:25 ---> Running in 9280d1e98eb2 18:52:25 Removing intermediate container 9280d1e98eb2 18:52:25 ---> 4bc49b4bb8bb 18:52:25 Step 4/23 : WORKDIR /device-sdk-go 18:52:26 ---> Running in 52093eee2420 18:52:26 Removing intermediate container 52093eee2420 18:52:26 ---> b1603315888c 18:52:26 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:52:26 ---> Running in 00a9da835219 18:52:26 Removing intermediate container 00a9da835219 18:52:26 ---> ca7001580b19 18:52:26 Step 6/23 : RUN apk add --update --no-cache make git 18:52:26 ---> Running in dff3393170f2 18:52:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:52:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:52:30 OK: 221 MiB in 51 packages 18:52:30 Removing intermediate container dff3393170f2 18:52:30 ---> ebc90646b677 18:52:30 Step 7/23 : COPY go.mod vendor* ./ 18:52:31 ---> 19c2fa49d632 18:52:31 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:52:31 ---> Running in 971aaa6d0aa3 18:52:34 Removing intermediate container 971aaa6d0aa3 18:52:34 ---> 23a8a9ff15df 18:52:34 Step 9/23 : COPY . . 18:52:35 ---> 32e03864a837 18:52:35 Step 10/23 : RUN ${MAKE} 18:52:35 ---> Running in 54bbec7f4534 18:52:36 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:54:58 Removing intermediate container 54bbec7f4534 18:54:58 ---> 48cf0ec1855d 18:54:58 Step 11/23 : FROM alpine:3.16 18:54:58 3.16: Pulling from library/alpine 18:54:58 3760b48202b3: Pulling fs layer 18:54:58 3760b48202b3: Verifying Checksum 18:54:58 3760b48202b3: Download complete 18:54:58 3760b48202b3: Pull complete 18:54:58 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:54:58 Status: Downloaded newer image for alpine:3.16 18:54:58 ---> 4c81e5bf8899 18:54:58 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:54:58 ---> Running in 766b262c2ded 18:54:58 Removing intermediate container 766b262c2ded 18:54:58 ---> d55e7c58b335 18:54:58 Step 13/23 : RUN apk add --update --no-cache 18:54:58 ---> Running in fba0d27e152b 18:54:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:54:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:54:59 OK: 5 MiB in 14 packages 18:55:00 Removing intermediate container fba0d27e152b 18:55:00 ---> c394bf0b2413 18:55:00 Step 14/23 : WORKDIR / 18:55:01 ---> Running in db38bfab38d8 18:55:01 Removing intermediate container db38bfab38d8 18:55:01 ---> 25b025d713d7 18:55:01 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:55:01 ---> 1640bee5ed06 18:55:01 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:55:03 ---> a574ebfda81b 18:55:03 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:55:03 ---> 375e5efceb4d 18:55:03 Step 18/23 : EXPOSE 59999 18:55:03 ---> Running in 8dbd7dce5f9b 18:55:04 Removing intermediate container 8dbd7dce5f9b 18:55:04 ---> dcae45de188c 18:55:04 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:55:04 ---> Running in 2a99cab87528 18:55:04 Removing intermediate container 2a99cab87528 18:55:04 ---> d6987f84a33a 18:55:04 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:55:04 ---> Running in c497e3d75f8c 18:55:05 Removing intermediate container c497e3d75f8c 18:55:05 ---> fdda556f2f9c 18:55:05 Step 21/23 : LABEL arch=arm64 18:55:05 ---> Running in 8629210e2bf1 18:55:05 Removing intermediate container 8629210e2bf1 18:55:05 ---> 3b9094108727 18:55:05 Step 22/23 : LABEL git_sha=38f5cb822c56b8f81eeb6a7b59a1f3e683fb4231 18:55:05 ---> Running in cbc8a19f7831 18:55:05 Removing intermediate container cbc8a19f7831 18:55:05 ---> e32f5613a2eb 18:55:05 Step 23/23 : LABEL version=0.0.0 18:55:05 ---> Running in 08ad682ab977 18:55:06 Removing intermediate container 08ad682ab977 18:55:06 ---> 8efb0250a6ca 18:55:06 [Warning] One or more build-args [ARCH] were not consumed 18:55:06 Successfully built 8efb0250a6ca 18:55:06 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 18:55:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:06 18:55:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:06 arm64: Pulling from edgex-lftools-log-publisher 18:55:06 8998bd30e6a1: Pulling fs layer 18:55:06 04944245beec: Pulling fs layer 18:55:06 699f458cf7ca: Pulling fs layer 18:55:06 765212b225bb: Pulling fs layer 18:55:06 f23df028b6ca: Pulling fs layer 18:55:06 d65c8cfc05b1: Pulling fs layer 18:55:06 2437ff75d9bd: Pulling fs layer 18:55:06 f23df028b6ca: Waiting 18:55:06 d65c8cfc05b1: Waiting 18:55:06 765212b225bb: Waiting 18:55:06 2437ff75d9bd: Waiting 18:55:07 04944245beec: Verifying Checksum 18:55:07 04944245beec: Download complete 18:55:07 765212b225bb: Verifying Checksum 18:55:07 765212b225bb: Download complete 18:55:07 f23df028b6ca: Verifying Checksum 18:55:07 f23df028b6ca: Download complete 18:55:07 d65c8cfc05b1: Verifying Checksum 18:55:07 d65c8cfc05b1: Download complete 18:55:07 699f458cf7ca: Verifying Checksum 18:55:07 699f458cf7ca: Download complete 18:55:07 8998bd30e6a1: Verifying Checksum 18:55:07 8998bd30e6a1: Download complete 18:55:10 2437ff75d9bd: Verifying Checksum 18:55:10 2437ff75d9bd: Download complete 18:55:12 8998bd30e6a1: Pull complete 18:55:12 04944245beec: Pull complete 18:55:14 699f458cf7ca: Pull complete 18:55:14 765212b225bb: Pull complete 18:55:14 f23df028b6ca: Pull complete 18:55:15 d65c8cfc05b1: Pull complete 18:55:30 2437ff75d9bd: Pull complete 18:55:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:55:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:30 prd-ubuntu20.04-docker-arm64-4c-16g-8610 does not seem to be running inside a container 18:55:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:55:33 $ docker top f6b3a638da145edafcc4be762aa9880cde0dbb37e92dc926b4b8c60dbea32778 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:33 ---> job-cost.sh 18:55:33 lf-activate-venv: SKIPPING 18:55:33 INFO: No Stack... 18:55:34 INFO: Retrieving Pricing Info for: v3-standard-4 18:55:35 INFO: Archiving Costs [Pipeline] sh 18:55:35 + + cat /w/workspace/device-sdk-go/2/archives/cost.csv 18:55:35 cut -d, -f6 [Pipeline] lock 18:55:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1360-2-stack-cost] 18:55:35 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1360-2-stack-cost] did not exist. Created. 18:55:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1360-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:55:36 /w/workspace/device-sdk-go/2@tmp/durable-2573b84b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:55:37 + echo total: 0.10999999940395355 [Pipeline] stash 18:55:37 Warning: overwriting stash ‘stack-cost’ 18:55:37 Stashed 1 file(s) [Pipeline] } 18:55:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1360-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:55:37 $ docker stop --time=1 f6b3a638da145edafcc4be762aa9880cde0dbb37e92dc926b4b8c60dbea32778 18:55:38 $ docker rm -f --volumes f6b3a638da145edafcc4be762aa9880cde0dbb37e92dc926b4b8c60dbea32778 [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 18:55:39 provisioning config files... 18:55:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/config13445801224629567169tmp [Pipeline] { [Pipeline] sh 18:55:39 + set +x 18:55:39 + curl -s https://codecov.io/bash 18:55:39 + bash -s -- 18:55:39 18:55:39 _____ _ 18:55:39 / ____| | | 18:55:39 | | ___ __| | ___ ___ _____ __ 18:55:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:55:39 | |___| (_) | (_| | __/ (_| (_) \ V / 18:55:39 \_____\___/ \__,_|\___|\___\___/ \_/ 18:55:39 Bash-1.0.6 18:55:39 18:55:39 18:55:39 ==> git version 2.25.1 found 18:55:39 ==> 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 18:55:39 Release-Date: 2020-01-08 18:55:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:55:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:55:39 ==> Jenkins CI detected. 18:55:39 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1360 18:55:39 project root: . 18:55:39 --> token set from env 18:55:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:55:39 ==> Running gcov in . (disable via -X gcov) 18:55:39 ==> Python coveragepy not found 18:55:39 ==> Searching for coverage reports in: 18:55:39 + . 18:55:39 -> Found 1 reports 18:55:39 ==> Detecting git/mercurial file structure 18:55:39 ==> Reading reports 18:55:39 + ./coverage.out bytes=111325 18:55:39 ==> Appending adjustments 18:55:39 https://docs.codecov.io/docs/fixing-reports 18:55:40 + Found adjustments 18:55:40 ==> Gzipping contents 18:55:40 16K /tmp/codecov.RmXgh3.gz 18:55:40 ==> Uploading reports 18:55:40 url: https://codecov.io 18:55:40 query: branch=PR-1360&commit=53a86832025b86e5c9e337a58175341860b9a645&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1360%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1360&job=&cmd_args= 18:55:40 -> Pinging Codecov 18:55:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1360&commit=53a86832025b86e5c9e337a58175341860b9a645&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1360%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1360&job=&cmd_args= 18:55:40 -> Uploading to 18:55:40 https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7E55EF52A471D76F132DFD9A03CDDE97/53a86832025b86e5c9e337a58175341860b9a645/d9b37538-e845-4a0d-8dfd-e87d41d6122b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T185540Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=375b9d25a5c47fc1df9dfdc08b75de8a96fa3e684b9558cd3b5a2bba70337693 18:55:40 % Total % Received % Xferd Average Speed Time Time Time Current 18:55:40 Dload Upload Total Spent Left Speed 18:55:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15424 0 0 100 15424 0 64806 --:--:-- --:--:-- --:--:-- 64806 18:55:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/53a86832025b86e5c9e337a58175341860b9a645 [Pipeline] } 18:55:40 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 18:55:41 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives ] 18:55:41 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives 18:55:41 total 16 18:55:41 drwxr-xr-x 3 root root 4096 Mar 7 18:44 . 18:55:41 drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 18:44 .. 18:55:41 drwxr-xr-x 2 root root 4096 Mar 7 18:44 cost 18:55:41 -rw-r--r-- 1 root root 86 Mar 7 18:44 cost.csv 18:55:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives 18:55:41 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives 18:55:41 total 16 18:55:41 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:44 . 18:55:41 drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 18:44 .. 18:55:41 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 18:44 cost 18:55:41 -rw-r--r-- 1 jenkins jenkins 86 Mar 7 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:55:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:55:42 ---> package-listing.sh 18:55:42 ++ facter osfamily 18:55:42 ++ tr '[:upper:]' '[:lower:]' 18:55:42 + OS_FAMILY=debian 18:55:42 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1360 18:55:42 + START_PACKAGES=/tmp/packages_start.txt 18:55:42 + END_PACKAGES=/tmp/packages_end.txt 18:55:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:55:42 + PACKAGES=/tmp/packages_start.txt 18:55:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1360 ']' 18:55:42 + PACKAGES=/tmp/packages_end.txt 18:55:42 + case "${OS_FAMILY}" in 18:55:42 + dpkg -l 18:55:42 + grep '^ii' 18:55:42 + '[' -f /tmp/packages_start.txt ']' 18:55:42 + '[' -f /tmp/packages_end.txt ']' 18:55:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:55:42 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1360 ']' 18:55:42 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives/ 18:55:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1360/archives/ [Pipeline] echo 18:55:42 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-1360/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:55:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:43 prd-ubuntu20.04-docker-8c-8g-8606 does not seem to be running inside a container 18:55:43 $ 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-1360/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-1360 -v /w/workspace/gexfoundry_device-sdk-go_PR-1360:/w/workspace/gexfoundry_device-sdk-go_PR-1360:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:55:43 $ docker top f7de93d57acffca3fcd3e8284810988c5dec253b2be278b409d258d0b64e4171 -eo pid,comm [Pipeline] { [Pipeline] sh 18:55:44 + touch /tmp/pre-build-complete [Pipeline] sh 18:55:44 + mkdir -p /var/log/sysstat [Pipeline] sh 18:55:44 + ls /var/log/sa-host 18:55:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:44 provisioning config files... 18:55:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1360@tmp/config6506085201134011144tmp [Pipeline] { [Pipeline] echo 18:55:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:55:45 ---> create-netrc.sh [Pipeline] } 18:55:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:55:45 ---> python-tools-install.sh [Pipeline] echo 18:55:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:55:45 ---> sudo-logs.sh 18:55:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:55:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:55:46 ---> job-cost.sh 18:55:46 lf-activate-venv: SKIPPING 18:55:46 DEBUG: total: 0.2199999988079071 18:55:46 INFO: Retrieving Stack Cost... 18:55:46 INFO: Retrieving Pricing Info for: v3-standard-8 18:55:46 INFO: Archiving Costs [Pipeline] echo 18:55:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:55:47 ---> logs-deploy.sh 18:55:47 lf-activate-venv: SKIPPING 18:55:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1360/2 18:55:47 INFO: archiving workspace using pattern(s): 18:55:48 Archives upload complete. 18:55:48 INFO: archiving logs to Nexus