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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 76656c39d531b52c6d80b1a3df667d0ca3583f50+84b3eaa6b9d9b6bc9df706aeb119f986429132ec (daa0518568d1d643e53bc4c0fda490c63b9831db) 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-ssh8091360187610244115.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-ssh13926950934877954575.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-1356/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-1356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5869985577508131422.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-ssh5350361733942748691.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-1356/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-1356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1046087637750848002.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9760 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [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-1356 # 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/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 84b3eaa6b9d9b6bc9df706aeb119f986429132ec into PR head commit 76656c39d531b52c6d80b1a3df667d0ca3583f50 Merge succeeded, producing 9176b1779dfa546b6697d1d7608a03be0a950bb8 Checking out Revision 9176b1779dfa546b6697d1d7608a03be0a950bb8 (PR-1356) > git config core.sparsecheckout # timeout=10 > git checkout -f 76656c39d531b52c6d80b1a3df667d0ca3583f50 # 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 84b3eaa6b9d9b6bc9df706aeb119f986429132ec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9176b1779dfa546b6697d1d7608a03be0a950bb8 # timeout=10 Commit message: "Merge commit '84b3eaa6b9d9b6bc9df706aeb119f986429132ec' into HEAD" > git rev-list --no-walk 76656c39d531b52c6d80b1a3df667d0ca3583f50 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-11T18:41:35.127Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-11T18:41:35.184Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-11T18:41:35.205Z] ========================================================= [2023-03-11T18:41:35.205Z] EdgeX Global Pipelines Version Info [2023-03-11T18:41:35.205Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-11T18:41:35.930Z] ------------------- [2023-03-11T18:41:35.930Z] stable info: [2023-03-11T18:41:35.930Z] ------------------- [2023-03-11T18:41:35.930Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-11T18:41:35.930Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-11T18:41:35.930Z] Message: update stable to v1.0.244 [2023-03-11T18:41:48.169Z] ------------------- [2023-03-11T18:41:48.169Z] experimental info: [2023-03-11T18:41:48.169Z] ------------------- [2023-03-11T18:41:48.169Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-11T18:41:48.169Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-11T18:41:48.169Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-11T18:41:48.324Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-11T18:41:48.333Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-11T18:41:48.341Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-11T18:41:48.350Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-11T18:41:48.358Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-11T18:41:48.366Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-11T18:41:48.375Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-11T18:41:48.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-11T18:41:48.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-11T18:41:48.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-11T18:41:48.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-11T18:41:48.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-11T18:41:48.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-11T18:41:48.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-11T18:41:48.474Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-11T18:41:48.486Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-11T18:41:48.498Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-11T18:41:48.510Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-11T18:41:48.521Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-11T18:41:48.532Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-11T18:41:48.546Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-11T18:41:48.560Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-11T18:41:48.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-11T18:41:48.589Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-11T18:41:48.604Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-11T18:41:48.615Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-11T18:41:48.629Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-11T18:41:48.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1356 [Pipeline] echo [2023-03-11T18:41:48.656Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1356 [Pipeline] echo [2023-03-11T18:41:48.670Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1356 [Pipeline] echo [2023-03-11T18:41:48.685Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9176b1779dfa546b6697d1d7608a03be0a950bb8 [Pipeline] echo [2023-03-11T18:41:48.699Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9176b17 [Pipeline] echo [2023-03-11T18:41:48.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-11T18:41:48.748Z] provisioning config files... [2023-03-11T18:41:48.762Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config10633500357238190001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-11T18:41:49.062Z] ---> docker-login.sh [2023-03-11T18:41:49.062Z] nexus3.edgexfoundry.org:10001 [2023-03-11T18:41:49.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:41:49.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:41:49.583Z] Configure a credential helper to remove this warning. See [2023-03-11T18:41:49.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:41:49.583Z] [2023-03-11T18:41:49.583Z] Login Succeeded [2023-03-11T18:41:49.583Z] nexus3.edgexfoundry.org:10002 [2023-03-11T18:41:49.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:41:49.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:41:49.583Z] Configure a credential helper to remove this warning. See [2023-03-11T18:41:49.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:41:49.583Z] [2023-03-11T18:41:49.583Z] Login Succeeded [2023-03-11T18:41:49.583Z] nexus3.edgexfoundry.org:10003 [2023-03-11T18:41:49.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:41:49.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:41:49.844Z] Configure a credential helper to remove this warning. See [2023-03-11T18:41:49.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:41:49.844Z] [2023-03-11T18:41:49.844Z] Login Succeeded [2023-03-11T18:41:49.844Z] nexus3.edgexfoundry.org:10004 [2023-03-11T18:41:49.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:41:49.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:41:49.844Z] Configure a credential helper to remove this warning. See [2023-03-11T18:41:49.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:41:49.844Z] [2023-03-11T18:41:49.844Z] Login Succeeded [2023-03-11T18:41:49.844Z] docker.io [2023-03-11T18:41:49.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:41:50.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:41:50.104Z] Configure a credential helper to remove this warning. See [2023-03-11T18:41:50.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:41:50.104Z] [2023-03-11T18:41:50.104Z] Login Succeeded [2023-03-11T18:41:50.104Z] ---> docker-login.sh ends [Pipeline] } [2023-03-11T18:41:50.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-11T18:41:50.508Z] + git rev-list -1 --merges 9176b1779dfa546b6697d1d7608a03be0a950bb8~1..9176b1779dfa546b6697d1d7608a03be0a950bb8 [Pipeline] echo [2023-03-11T18:41:50.551Z] -----------> git rev-list -1 --merges 9176b1779dfa546b6697d1d7608a03be0a950bb8~1..9176b1779dfa546b6697d1d7608a03be0a950bb8 9176b1779dfa546b6697d1d7608a03be0a950bb8 [2023-03-11T18:41:50.551Z] 9176b1779dfa546b6697d1d7608a03be0a950bb8 [false] [Pipeline] sh [2023-03-11T18:41:50.834Z] + git log --format=format:%s -1 9176b1779dfa546b6697d1d7608a03be0a950bb8 [Pipeline] echo [2023-03-11T18:41:50.852Z] ========================================================= [2023-03-11T18:41:50.852Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-11T18:41:50.852Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-11T18:41:51.190Z] + git log --format=format:%s -1 9176b1779dfa546b6697d1d7608a03be0a950bb8 [Pipeline] echo [2023-03-11T18:41:51.202Z] [semverPrep] GIT_COMMIT: 9176b1779dfa546b6697d1d7608a03be0a950bb8, Commit Message: Merge commit '84b3eaa6b9d9b6bc9df706aeb119f986429132ec' into HEAD [Pipeline] echo [2023-03-11T18:41:51.211Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-11T18:41:51.603Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-11T18:41:51.603Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-11T18:41:51.603Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-11T18:41:51.603Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-11T18:41:51.603Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-11T18:41:51.603Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-11T18:41:51.603Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T18:41:52.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-11T18:41:52.040Z] [2023-03-11T18:41:52.040Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T18:41:52.340Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-11T18:41:52.340Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-11T18:41:52.340Z] b85a868b505f: Pulling fs layer [2023-03-11T18:41:52.340Z] e2be974225ed: Pulling fs layer [2023-03-11T18:41:52.340Z] 339a4e72a1f5: Pulling fs layer [2023-03-11T18:41:52.340Z] 988bab9f4d93: Pulling fs layer [2023-03-11T18:41:52.340Z] 1469e6f7b9e6: Pulling fs layer [2023-03-11T18:41:52.340Z] eaf3925da568: Pulling fs layer [2023-03-11T18:41:52.340Z] bab4dde63d76: Pulling fs layer [2023-03-11T18:41:52.340Z] bde34c3a00c8: Pulling fs layer [2023-03-11T18:41:52.340Z] b352a97aabf1: Pulling fs layer [2023-03-11T18:41:52.340Z] 4872d77fe225: Pulling fs layer [2023-03-11T18:41:52.340Z] 5851b861e8e6: Pulling fs layer [2023-03-11T18:41:52.340Z] eaf3925da568: Waiting [2023-03-11T18:41:52.340Z] b352a97aabf1: Waiting [2023-03-11T18:41:52.340Z] bab4dde63d76: Waiting [2023-03-11T18:41:52.340Z] bde34c3a00c8: Waiting [2023-03-11T18:41:52.340Z] 988bab9f4d93: Waiting [2023-03-11T18:41:52.340Z] 4872d77fe225: Waiting [2023-03-11T18:41:52.340Z] 5851b861e8e6: Waiting [2023-03-11T18:41:52.340Z] 1469e6f7b9e6: Waiting [2023-03-11T18:41:52.340Z] e2be974225ed: Download complete [2023-03-11T18:41:52.340Z] 988bab9f4d93: Verifying Checksum [2023-03-11T18:41:52.340Z] 988bab9f4d93: Download complete [2023-03-11T18:41:52.600Z] 1469e6f7b9e6: Verifying Checksum [2023-03-11T18:41:52.600Z] 1469e6f7b9e6: Download complete [2023-03-11T18:41:52.600Z] eaf3925da568: Verifying Checksum [2023-03-11T18:41:52.600Z] eaf3925da568: Download complete [2023-03-11T18:41:52.600Z] 339a4e72a1f5: Verifying Checksum [2023-03-11T18:41:52.600Z] 339a4e72a1f5: Download complete [2023-03-11T18:41:52.600Z] bde34c3a00c8: Verifying Checksum [2023-03-11T18:41:52.600Z] bde34c3a00c8: Download complete [2023-03-11T18:41:52.600Z] b352a97aabf1: Download complete [2023-03-11T18:41:52.600Z] 4872d77fe225: Download complete [2023-03-11T18:41:52.600Z] b85a868b505f: Download complete [2023-03-11T18:41:52.600Z] 5851b861e8e6: Download complete [2023-03-11T18:41:53.166Z] bab4dde63d76: Verifying Checksum [2023-03-11T18:41:54.103Z] b85a868b505f: Pull complete [2023-03-11T18:41:54.103Z] e2be974225ed: Pull complete [2023-03-11T18:41:54.718Z] 339a4e72a1f5: Pull complete [2023-03-11T18:41:54.718Z] 988bab9f4d93: Pull complete [2023-03-11T18:41:54.975Z] 1469e6f7b9e6: Pull complete [2023-03-11T18:41:54.975Z] eaf3925da568: Pull complete [2023-03-11T18:41:56.874Z] bab4dde63d76: Pull complete [2023-03-11T18:41:56.875Z] bde34c3a00c8: Pull complete [2023-03-11T18:41:56.875Z] b352a97aabf1: Pull complete [2023-03-11T18:41:56.875Z] 4872d77fe225: Pull complete [2023-03-11T18:41:56.875Z] 5851b861e8e6: Pull complete [2023-03-11T18:41:56.875Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-11T18:41:56.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-11T18:41:56.875Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T18:41:56.957Z] prd-ubuntu20.04-docker-8c-8g-9760 does not seem to be running inside a container [2023-03-11T18:41:56.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-11T18:41:59.523Z] $ docker top a2579876b27500e90b556df0a47126a7357495d6e4e4f17426f0d5e4e6f101f1 -eo pid,comm [2023-03-11T18:41:59.571Z] 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). [2023-03-11T18:41:59.571Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-11T18:41:59.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-11T18:41:59.618Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-11T18:41:59.733Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-11T18:41:59.740Z] $ docker exec a2579876b27500e90b556df0a47126a7357495d6e4e4f17426f0d5e4e6f101f1 ssh-agent [2023-03-11T18:41:59.857Z] SSH_AUTH_SOCK=/tmp/ssh-4XLqeBiDKgzG/agent.32 [2023-03-11T18:41:59.857Z] SSH_AGENT_PID=38 [2023-03-11T18:41:59.862Z] Running ssh-add (command line suppressed) [2023-03-11T18:41:59.983Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_871521696556830426.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_871521696556830426.key) [2023-03-11T18:41:59.994Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-11T18:42:00.291Z] + git tag --points-at HEAD [Pipeline] } [2023-03-11T18:42:00.317Z] $ docker exec --env ******** --env ******** a2579876b27500e90b556df0a47126a7357495d6e4e4f17426f0d5e4e6f101f1 ssh-agent -k [2023-03-11T18:42:00.424Z] unset SSH_AUTH_SOCK; [2023-03-11T18:42:00.425Z] unset SSH_AGENT_PID; [2023-03-11T18:42:00.425Z] echo Agent pid 38 killed; [2023-03-11T18:42:00.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-11T18:42:00.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-11T18:42:00.463Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-11T18:42:00.588Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-11T18:42:00.595Z] $ docker exec a2579876b27500e90b556df0a47126a7357495d6e4e4f17426f0d5e4e6f101f1 ssh-agent [2023-03-11T18:42:00.707Z] SSH_AUTH_SOCK=/tmp/ssh-uZxAG5Cn9tjq/agent.71 [2023-03-11T18:42:00.707Z] SSH_AGENT_PID=77 [2023-03-11T18:42:00.712Z] Running ssh-add (command line suppressed) [2023-03-11T18:42:00.816Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_8602364966144687328.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_8602364966144687328.key) [2023-03-11T18:42:00.827Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-11T18:42:01.116Z] + git semver init [2023-03-11T18:42:01.378Z] 2023-03-11 18:42:01,291 [run_init] DEBUG init version:0.0.0 force:False [2023-03-11T18:42:01.378Z] 2023-03-11 18:42:01,292 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver [2023-03-11T18:42:01.378Z] 2023-03-11 18:42:01,293 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver [2023-03-11T18:42:01.378Z] 2023-03-11 18:42:01,293 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356, universal_newlines=False, shell=None, istream=None) [2023-03-11T18:42:02.318Z] 2023-03-11 18:42:02,317 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.git/info/exclude [2023-03-11T18:42:02.318Z] 2023-03-11 18:42:02,317 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 with force:False [2023-03-11T18:42:02.318Z] 2023-03-11 18:42:02,317 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 [2023-03-11T18:42:02.579Z] 2023-03-11 18:42:02,322 [execute] INFO git cat-file --batch-check [2023-03-11T18:42:02.579Z] 2023-03-11 18:42:02,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) [2023-03-11T18:42:02.579Z] 2023-03-11 18:42:02,329 [execute] INFO git cat-file --batch [2023-03-11T18:42:02.579Z] 2023-03-11 18:42:02,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) [2023-03-11T18:42:02.579Z] 2023-03-11 18:42:02,336 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 [2023-03-11T18:42:02.579Z] 0.0.0 [Pipeline] } [2023-03-11T18:42:02.593Z] $ docker exec --env ******** --env ******** a2579876b27500e90b556df0a47126a7357495d6e4e4f17426f0d5e4e6f101f1 ssh-agent -k [2023-03-11T18:42:02.686Z] unset SSH_AUTH_SOCK; [2023-03-11T18:42:02.686Z] unset SSH_AGENT_PID; [2023-03-11T18:42:02.686Z] echo Agent pid 77 killed; [2023-03-11T18:42:02.695Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-11T18:42:02.994Z] + git semver [Pipeline] } [2023-03-11T18:42:03.277Z] $ docker stop --time=1 a2579876b27500e90b556df0a47126a7357495d6e4e4f17426f0d5e4e6f101f1 [2023-03-11T18:42:04.587Z] $ docker rm -f --volumes a2579876b27500e90b556df0a47126a7357495d6e4e4f17426f0d5e4e6f101f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-11T18:42:04.922Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-11T18:42:05.166Z] Stashed 1 file(s) [Pipeline] echo [2023-03-11T18:42:05.169Z] [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 [2023-03-11T18:42:05.331Z] provisioning config files... [2023-03-11T18:42:05.340Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config6851191107638114459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-11T18:42:05.637Z] ---> docker-login.sh [2023-03-11T18:42:05.638Z] nexus3.edgexfoundry.org:10001 [2023-03-11T18:42:05.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:42:05.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:42:05.638Z] Configure a credential helper to remove this warning. See [2023-03-11T18:42:05.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:42:05.638Z] [2023-03-11T18:42:05.638Z] Login Succeeded [2023-03-11T18:42:05.638Z] nexus3.edgexfoundry.org:10002 [2023-03-11T18:42:05.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:42:05.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:42:05.897Z] Configure a credential helper to remove this warning. See [2023-03-11T18:42:05.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:42:05.897Z] [2023-03-11T18:42:05.897Z] Login Succeeded [2023-03-11T18:42:05.897Z] nexus3.edgexfoundry.org:10003 [2023-03-11T18:42:05.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:42:05.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:42:05.897Z] Configure a credential helper to remove this warning. See [2023-03-11T18:42:05.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:42:05.897Z] [2023-03-11T18:42:05.897Z] Login Succeeded [2023-03-11T18:42:05.897Z] nexus3.edgexfoundry.org:10004 [2023-03-11T18:42:05.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:42:05.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:42:05.897Z] Configure a credential helper to remove this warning. See [2023-03-11T18:42:05.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:42:05.897Z] [2023-03-11T18:42:05.897Z] Login Succeeded [2023-03-11T18:42:05.897Z] docker.io [2023-03-11T18:42:06.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:42:06.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:42:06.157Z] Configure a credential helper to remove this warning. See [2023-03-11T18:42:06.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:42:06.157Z] [2023-03-11T18:42:06.157Z] Login Succeeded [2023-03-11T18:42:06.157Z] ---> docker-login.sh ends [Pipeline] } [2023-03-11T18:42:06.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-11T18:42:06.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-11T18:42:06.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-11T18:42:06.256Z] ========================================================= [2023-03-11T18:42:06.256Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-11T18:42:06.256Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T18:42:06.575Z] + 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 . [2023-03-11T18:42:06.575Z] Sending build context to Docker daemon 10.79MB [2023-03-11T18:42:06.575Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-11T18:42:06.575Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-11T18:42:06.836Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-11T18:42:06.836Z] 213ec9aee27d: Pulling fs layer [2023-03-11T18:42:06.836Z] 4583459ba037: Pulling fs layer [2023-03-11T18:42:06.836Z] 93c1e223e6f2: Pulling fs layer [2023-03-11T18:42:06.836Z] 53926ce57604: Pulling fs layer [2023-03-11T18:42:06.836Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-11T18:42:06.836Z] 22ff95d597cd: Pulling fs layer [2023-03-11T18:42:06.836Z] 12d6caf4c0d1: Pulling fs layer [2023-03-11T18:42:06.836Z] 96b7cbca73a9: Pulling fs layer [2023-03-11T18:42:06.836Z] a7acece74701: Pulling fs layer [2023-03-11T18:42:06.836Z] 53926ce57604: Waiting [2023-03-11T18:42:06.836Z] 22ff95d597cd: Waiting [2023-03-11T18:42:06.836Z] 12d6caf4c0d1: Waiting [2023-03-11T18:42:06.836Z] 96b7cbca73a9: Waiting [2023-03-11T18:42:06.836Z] 21b2b0c7a3f4: Waiting [2023-03-11T18:42:06.836Z] a7acece74701: Waiting [2023-03-11T18:42:06.836Z] 93c1e223e6f2: Verifying Checksum [2023-03-11T18:42:06.836Z] 93c1e223e6f2: Download complete [2023-03-11T18:42:06.836Z] 4583459ba037: Download complete [2023-03-11T18:42:06.836Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-11T18:42:06.836Z] 21b2b0c7a3f4: Download complete [2023-03-11T18:42:06.836Z] 22ff95d597cd: Verifying Checksum [2023-03-11T18:42:06.836Z] 22ff95d597cd: Download complete [2023-03-11T18:42:06.836Z] 213ec9aee27d: Verifying Checksum [2023-03-11T18:42:06.836Z] 213ec9aee27d: Download complete [2023-03-11T18:42:06.836Z] 12d6caf4c0d1: Verifying Checksum [2023-03-11T18:42:06.836Z] 12d6caf4c0d1: Download complete [2023-03-11T18:42:06.836Z] 213ec9aee27d: Pull complete [2023-03-11T18:42:07.108Z] 4583459ba037: Pull complete [2023-03-11T18:42:07.108Z] 93c1e223e6f2: Pull complete [2023-03-11T18:42:07.704Z] a7acece74701: Verifying Checksum [2023-03-11T18:42:07.704Z] a7acece74701: Download complete [2023-03-11T18:42:07.964Z] 53926ce57604: Verifying Checksum [2023-03-11T18:42:07.964Z] 53926ce57604: Download complete [2023-03-11T18:42:07.964Z] 96b7cbca73a9: Verifying Checksum [2023-03-11T18:42:07.964Z] 96b7cbca73a9: Download complete [2023-03-11T18:42:12.152Z] 53926ce57604: Pull complete [2023-03-11T18:42:12.152Z] 21b2b0c7a3f4: Pull complete [2023-03-11T18:42:12.152Z] 22ff95d597cd: Pull complete [2023-03-11T18:42:12.152Z] 12d6caf4c0d1: Pull complete [2023-03-11T18:42:14.049Z] 96b7cbca73a9: Pull complete [2023-03-11T18:42:14.615Z] a7acece74701: Pull complete [2023-03-11T18:42:14.615Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-11T18:42:14.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-11T18:42:14.615Z] ---> db6d94c90886 [2023-03-11T18:42:14.615Z] Step 3/10 : ARG MAKE=make build [2023-03-11T18:42:18.827Z] ---> Running in 9e5b0c7686ba [2023-03-11T18:42:19.089Z] Removing intermediate container 9e5b0c7686ba [2023-03-11T18:42:19.089Z] ---> 905d02c632a0 [2023-03-11T18:42:19.089Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-11T18:42:19.089Z] ---> Running in 3948985fdd27 [2023-03-11T18:42:19.089Z] Removing intermediate container 3948985fdd27 [2023-03-11T18:42:19.089Z] ---> 1243e470252e [2023-03-11T18:42:19.089Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-11T18:42:19.089Z] ---> Running in 57f2075d56fa [2023-03-11T18:42:19.348Z] Removing intermediate container 57f2075d56fa [2023-03-11T18:42:19.348Z] ---> 1d7e548440be [2023-03-11T18:42:19.348Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-11T18:42:19.348Z] ---> Running in 624db8d3ae3f [2023-03-11T18:42:19.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-11T18:42:19.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-11T18:42:20.124Z] OK: 211 MiB in 51 packages [2023-03-11T18:42:20.276Z] Still waiting to schedule task [2023-03-11T18:42:20.276Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-11T18:42:20.383Z] Removing intermediate container 624db8d3ae3f [2023-03-11T18:42:20.383Z] ---> cf38201c5177 [2023-03-11T18:42:20.383Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-11T18:42:20.383Z] ---> 8bba975f9eca [2023-03-11T18:42:20.383Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-11T18:42:20.642Z] ---> Running in 688c6552220c [2023-03-11T18:43:07.338Z] Removing intermediate container 688c6552220c [2023-03-11T18:43:07.338Z] ---> 4886793aa98c [2023-03-11T18:43:07.338Z] Step 9/10 : COPY . . [2023-03-11T18:43:08.274Z] ---> 76b3485d9c0a [2023-03-11T18:43:08.274Z] Step 10/10 : RUN ${MAKE} [2023-03-11T18:43:08.274Z] ---> Running in 4547120c446f [2023-03-11T18:43:08.533Z] noop [2023-03-11T18:43:08.792Z] Removing intermediate container 4547120c446f [2023-03-11T18:43:08.792Z] ---> b194fa37d26a [2023-03-11T18:43:08.792Z] Successfully built b194fa37d26a [2023-03-11T18:43:08.792Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T18:43:09.101Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-11T18:43:09.101Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T18:43:09.177Z] prd-ubuntu20.04-docker-8c-8g-9760 does not seem to be running inside a container [2023-03-11T18:43:09.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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-x86_64 cat [2023-03-11T18:43:09.559Z] $ docker top c3f51b2de03fe9028870065cec525b072a2a2110d82dee3ab7dfdf7e9e825804 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-11T18:43:09.903Z] + go version [2023-03-11T18:43:09.903Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-11T18:43:09.916Z] $ docker stop --time=1 c3f51b2de03fe9028870065cec525b072a2a2110d82dee3ab7dfdf7e9e825804 [2023-03-11T18:43:11.171Z] $ docker rm -f --volumes c3f51b2de03fe9028870065cec525b072a2a2110d82dee3ab7dfdf7e9e825804 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T18:43:11.570Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-11T18:43:11.570Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T18:43:11.643Z] prd-ubuntu20.04-docker-8c-8g-9760 does not seem to be running inside a container [2023-03-11T18:43:11.678Z] $ 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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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-x86_64 cat [2023-03-11T18:43:12.010Z] $ docker top 47f844e1e974484d35c147eef76ff9d1d7442427c7ec6129f77b47df1646bedf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-11T18:43:12.353Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] fileExists [Pipeline] sh [2023-03-11T18:43:12.644Z] + make test [2023-03-11T18:43:12.644Z] go test -race -coverprofile=coverage.out ./... [2023-03-11T18:43:19.206Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-11T18:43:31.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-11T18:43:31.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-11T18:43:31.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-11T18:43:31.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-11T18:43:31.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-11T18:43:31.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.078s coverage: 27.6% of statements [2023-03-11T18:43:31.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 78.9% of statements [2023-03-11T18:43:31.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.121s coverage: 86.0% of statements [2023-03-11T18:43:31.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-11T18:43:31.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-11T18:43:31.406Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 75.9% of statements [2023-03-11T18:43:31.406Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-11T18:43:33.939Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.067s coverage: 15.2% of statements [2023-03-11T18:43:33.939Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-11T18:43:33.939Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.077s coverage: 65.2% of statements [2023-03-11T18:43:33.939Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-11T18:43:33.939Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-11T18:43:33.939Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.743s coverage: 89.2% of statements [2023-03-11T18:43:33.939Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 5.5% of statements [2023-03-11T18:43:33.939Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-11T18:43:48.835Z] 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." [2023-03-11T18:43:48.835Z] GO111MODULE=on go vet ./... [2023-03-11T18:43:52.112Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-11T18:43:52.112Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-11T18:43:52.112Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-11T18:43:52.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-11T18:43:52.140Z] $ docker stop --time=1 47f844e1e974484d35c147eef76ff9d1d7442427c7ec6129f77b47df1646bedf [2023-03-11T18:43:55.496Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9761 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [2023-03-11T18:43:56.782Z] $ docker rm -f --volumes 47f844e1e974484d35c147eef76ff9d1d7442427c7ec6129f77b47df1646bedf [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-03-11T18:43:57.007Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2023-03-11T18:43:57.049Z] The recommended git tool is: git [2023-03-11T18:43:57.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-11T18:43:57.301Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-11T18:43:57.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-11T18:43:58.142Z] + ls -al . [2023-03-11T18:43:58.142Z] total 280 [2023-03-11T18:43:58.142Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 11 18:43 . [2023-03-11T18:43:58.142Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 18:41 .. [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 18:41 .dockerignore [2023-03-11T18:43:58.142Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 18:43 .git [2023-03-11T18:43:58.142Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 18:41 .github [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 11 18:41 .gitignore [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 11 18:41 .golangci.yml [2023-03-11T18:43:58.142Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 18:42 .semver [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 11 18:41 CHANGELOG.md [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 18:41 GOVERNANCE.md [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 11 18:41 Jenkinsfile [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 11 18:41 LICENSE [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 11 18:41 Makefile [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 11 18:41 OWNERS.md [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 11 18:41 README.md [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 18:42 VERSION [2023-03-11T18:43:58.142Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 18:41 bin [2023-03-11T18:43:58.142Z] -rw-r--r-- 1 jenkins jenkins 111701 Mar 11 18:43 coverage.out [2023-03-11T18:43:58.142Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 11 18:41 example [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 11 18:41 go.mod [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 11 18:41 go.sum [2023-03-11T18:43:58.142Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 11 18:41 internal [2023-03-11T18:43:58.142Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 18:41 openapi [2023-03-11T18:43:58.142Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 11 18:41 pkg [2023-03-11T18:43:58.142Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 18:41 snap [2023-03-11T18:43:58.142Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 11 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T18:43:58.453Z] + 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=9176b1779dfa546b6697d1d7608a03be0a950bb8 --label arch=amd64 --label version=0.0.0 . [2023-03-11T18:43:58.454Z] Sending build context to Docker daemon 10.91MB [2023-03-11T18:43:58.454Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-11T18:43:58.454Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-11T18:43:58.454Z] ---> b194fa37d26a [2023-03-11T18:43:58.454Z] Step 3/23 : ARG MAKE=make build [2023-03-11T18:43:58.711Z] ---> Running in 7160615b0dd9 [2023-03-11T18:43:58.711Z] Removing intermediate container 7160615b0dd9 [2023-03-11T18:43:58.711Z] ---> fe438980dc6b [2023-03-11T18:43:58.711Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-11T18:43:58.711Z] ---> Running in 86106f5543b0 [2023-03-11T18:43:58.970Z] Removing intermediate container 86106f5543b0 [2023-03-11T18:43:58.971Z] ---> 6846f28128d4 [2023-03-11T18:43:58.971Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-11T18:43:58.971Z] ---> Running in 2958609b6d6c [2023-03-11T18:43:58.971Z] Removing intermediate container 2958609b6d6c [2023-03-11T18:43:58.971Z] ---> 27f92d5151bf [2023-03-11T18:43:58.971Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-11T18:43:58.971Z] ---> Running in e039874c5123 [2023-03-11T18:43:59.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-11T18:43:59.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-11T18:43:59.745Z] OK: 211 MiB in 51 packages [2023-03-11T18:44:00.004Z] Removing intermediate container e039874c5123 [2023-03-11T18:44:00.004Z] ---> 900de216ff75 [2023-03-11T18:44:00.004Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-11T18:44:00.004Z] ---> 0cb5aa6c4fde [2023-03-11T18:44:00.005Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-11T18:44:00.262Z] ---> Running in c63a7924006b [2023-03-11T18:44:00.829Z] Removing intermediate container c63a7924006b [2023-03-11T18:44:00.829Z] ---> aec3490eb5fe [2023-03-11T18:44:00.829Z] Step 9/23 : COPY . . [2023-03-11T18:44:01.395Z] ---> fdbbeb990e57 [2023-03-11T18:44:01.395Z] Step 10/23 : RUN ${MAKE} [2023-03-11T18:44:01.654Z] ---> Running in 9d0a071224c7 [2023-03-11T18:44:01.654Z] 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 [2023-03-11T18:44:02.330Z] using credential edgex-jenkins-ssh [2023-03-11T18:44:02.350Z] Cloning the remote Git repository [2023-03-11T18:44:02.396Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-11T18:44:02.479Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2023-03-11T18:44:02.634Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-11T18:44:02.635Z] > git --version # timeout=10 [2023-03-11T18:44:02.655Z] > git --version # 'git version 2.25.1' [2023-03-11T18:44:02.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-11T18:44:02.710Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-11T18:44:04.234Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-11T18:44:04.258Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-11T18:44:05.838Z] Merging remotes/origin/main commit 84b3eaa6b9d9b6bc9df706aeb119f986429132ec into PR head commit 76656c39d531b52c6d80b1a3df667d0ca3583f50 [2023-03-11T18:44:05.129Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-11T18:44:05.171Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-11T18:44:05.171Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-11T18:44:05.188Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-11T18:44:06.143Z] Merge succeeded, producing 606f4bbdbbbb987c50f50992d04f589f32d5a18a [2023-03-11T18:44:06.144Z] Checking out Revision 606f4bbdbbbb987c50f50992d04f589f32d5a18a (PR-1356) [2023-03-11T18:44:05.863Z] > git config core.sparsecheckout # timeout=10 [2023-03-11T18:44:05.888Z] > git checkout -f 76656c39d531b52c6d80b1a3df667d0ca3583f50 # timeout=10 [2023-03-11T18:44:05.994Z] > git remote # timeout=10 [2023-03-11T18:44:06.017Z] > git config --get remote.origin.url # timeout=10 [2023-03-11T18:44:06.037Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-11T18:44:06.050Z] > git merge 84b3eaa6b9d9b6bc9df706aeb119f986429132ec # timeout=10 [2023-03-11T18:44:06.129Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-11T18:44:06.156Z] > git config core.sparsecheckout # timeout=10 [2023-03-11T18:44:06.170Z] > git checkout -f 606f4bbdbbbb987c50f50992d04f589f32d5a18a # timeout=10 [2023-03-11T18:44:09.637Z] Commit message: "Merge commit '84b3eaa6b9d9b6bc9df706aeb119f986429132ec' into HEAD" [2023-03-11T18:44:09.649Z] > git rev-list --no-walk 76656c39d531b52c6d80b1a3df667d0ca3583f50 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-11T18:44:10.627Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-11T18:44:10.627Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-11T18:44:10.627Z] Dload Upload Total Spent Left Speed [2023-03-11T18:44:10.627Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-03-11T18:44:11.303Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-11T18:44:11.627Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-11T18:44:11.627Z] + sudo tee /etc/docker/daemon.new [2023-03-11T18:44:11.627Z] { [2023-03-11T18:44:11.627Z] "registry-mirrors": [ [2023-03-11T18:44:11.627Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-11T18:44:11.627Z] ], [2023-03-11T18:44:11.627Z] "bip": "10.250.0.254/24", [2023-03-11T18:44:11.627Z] "hosts": [ [2023-03-11T18:44:11.627Z] "tcp://0.0.0.0:5555", [2023-03-11T18:44:11.627Z] "unix:///var/run/docker.sock" [2023-03-11T18:44:11.627Z] ], [2023-03-11T18:44:11.627Z] "mtu": 1458, [2023-03-11T18:44:11.627Z] "selinux-enabled": true, [2023-03-11T18:44:11.627Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-11T18:44:11.627Z] } [Pipeline] sh [2023-03-11T18:44:11.961Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-11T18:44:12.299Z] + sudo service docker restart [2023-03-11T18:44:23.589Z] Removing intermediate container 9d0a071224c7 [2023-03-11T18:44:23.589Z] ---> c4403edb382b [2023-03-11T18:44:23.589Z] Step 11/23 : FROM alpine:3.16 [2023-03-11T18:44:23.589Z] 3.16: Pulling from library/alpine [2023-03-11T18:44:23.589Z] ef5531b6e74e: Pulling fs layer [2023-03-11T18:44:23.589Z] ef5531b6e74e: Verifying Checksum [2023-03-11T18:44:23.589Z] ef5531b6e74e: Download complete [2023-03-11T18:44:23.589Z] ef5531b6e74e: Pull complete [2023-03-11T18:44:23.589Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-11T18:44:23.589Z] Status: Downloaded newer image for alpine:3.16 [2023-03-11T18:44:23.589Z] ---> dfd21b5a31f5 [2023-03-11T18:44:23.589Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-11T18:44:23.589Z] ---> Running in df6c0460b3d8 [2023-03-11T18:44:23.589Z] Removing intermediate container df6c0460b3d8 [2023-03-11T18:44:23.589Z] ---> 03c3cffe8b37 [2023-03-11T18:44:23.589Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-11T18:44:23.589Z] ---> Running in bd93df623543 [2023-03-11T18:44:23.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-11T18:44:23.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-11T18:44:23.589Z] OK: 6 MiB in 14 packages [2023-03-11T18:44:23.589Z] Removing intermediate container bd93df623543 [2023-03-11T18:44:23.589Z] ---> 82cf3ea34b14 [2023-03-11T18:44:23.589Z] Step 14/23 : WORKDIR / [2023-03-11T18:44:23.589Z] ---> Running in 6bb287729aa6 [2023-03-11T18:44:23.589Z] Removing intermediate container 6bb287729aa6 [2023-03-11T18:44:23.589Z] ---> e9ef304dcdbb [2023-03-11T18:44:23.589Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-11T18:44:23.589Z] ---> 06bd2df3acfe [2023-03-11T18:44:23.589Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-11T18:44:23.589Z] ---> eda6b291513d [2023-03-11T18:44:23.589Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-11T18:44:23.589Z] ---> 8603590b20f4 [2023-03-11T18:44:23.589Z] Step 18/23 : EXPOSE 59999 [2023-03-11T18:44:23.589Z] ---> Running in 59fd9210ba5c [2023-03-11T18:44:23.589Z] Removing intermediate container 59fd9210ba5c [2023-03-11T18:44:23.589Z] ---> 7974f00a5121 [2023-03-11T18:44:23.589Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-11T18:44:23.589Z] ---> Running in 52448b8a0b50 [2023-03-11T18:44:23.589Z] Removing intermediate container 52448b8a0b50 [2023-03-11T18:44:23.589Z] ---> d4ea394ae76f [2023-03-11T18:44:23.589Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-11T18:44:23.589Z] ---> Running in 6abfd269d1db [2023-03-11T18:44:23.589Z] Removing intermediate container 6abfd269d1db [2023-03-11T18:44:23.589Z] ---> 75a2ee11e305 [2023-03-11T18:44:23.589Z] Step 21/23 : LABEL arch=amd64 [2023-03-11T18:44:23.589Z] ---> Running in cd1bb11a0bd3 [2023-03-11T18:44:23.589Z] Removing intermediate container cd1bb11a0bd3 [2023-03-11T18:44:23.589Z] ---> 9d530a1239f7 [2023-03-11T18:44:23.589Z] Step 22/23 : LABEL git_sha=9176b1779dfa546b6697d1d7608a03be0a950bb8 [2023-03-11T18:44:23.589Z] ---> Running in 0c381a80c5bf [2023-03-11T18:44:23.589Z] Removing intermediate container 0c381a80c5bf [2023-03-11T18:44:23.589Z] ---> 03ae05dd31aa [2023-03-11T18:44:23.589Z] Step 23/23 : LABEL version=0.0.0 [2023-03-11T18:44:23.589Z] ---> Running in cd5594a8b6ce [2023-03-11T18:44:23.589Z] Removing intermediate container cd5594a8b6ce [2023-03-11T18:44:23.589Z] ---> 3153781c0f2c [2023-03-11T18:44:23.589Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-11T18:44:23.589Z] Successfully built 3153781c0f2c [2023-03-11T18:44:23.589Z] 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 [2023-03-11T18:44:24.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-11T18:44:24.006Z] [2023-03-11T18:44:24.006Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T18:44:24.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-11T18:44:24.307Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-11T18:44:24.307Z] 5eb5b503b376: Pulling fs layer [2023-03-11T18:44:24.307Z] 5c69ac0246d0: Pulling fs layer [2023-03-11T18:44:24.307Z] ec43610c2a17: Pulling fs layer [2023-03-11T18:44:24.307Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-11T18:44:24.307Z] 33b1e0a273af: Pulling fs layer [2023-03-11T18:44:24.307Z] 5d3b04190fa2: Pulling fs layer [2023-03-11T18:44:24.307Z] 2f39f015ded8: Pulling fs layer [2023-03-11T18:44:24.307Z] 3a2ae6a8a46f: Waiting [2023-03-11T18:44:24.307Z] 33b1e0a273af: Waiting [2023-03-11T18:44:24.307Z] 2f39f015ded8: Waiting [2023-03-11T18:44:24.307Z] 5d3b04190fa2: Waiting [2023-03-11T18:44:24.307Z] 5c69ac0246d0: Download complete [2023-03-11T18:44:24.307Z] 3a2ae6a8a46f: Download complete [2023-03-11T18:44:24.568Z] ec43610c2a17: Verifying Checksum [2023-03-11T18:44:24.568Z] ec43610c2a17: Download complete [2023-03-11T18:44:24.568Z] 33b1e0a273af: Verifying Checksum [2023-03-11T18:44:24.568Z] 33b1e0a273af: Download complete [2023-03-11T18:44:24.568Z] 5d3b04190fa2: Verifying Checksum [2023-03-11T18:44:24.568Z] 5d3b04190fa2: Download complete [2023-03-11T18:44:24.568Z] 5eb5b503b376: Verifying Checksum [2023-03-11T18:44:24.568Z] 5eb5b503b376: Download complete [2023-03-11T18:44:25.134Z] 2f39f015ded8: Download complete [2023-03-11T18:44:25.699Z] 5eb5b503b376: Pull complete [2023-03-11T18:44:25.699Z] 5c69ac0246d0: Pull complete [2023-03-11T18:44:26.262Z] ec43610c2a17: Pull complete [2023-03-11T18:44:26.262Z] 3a2ae6a8a46f: Pull complete [2023-03-11T18:44:26.520Z] 33b1e0a273af: Pull complete [2023-03-11T18:44:26.520Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-11T18:44:30.557Z] provisioning config files... [2023-03-11T18:44:30.581Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config12393509322485914409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-11T18:44:30.700Z] 2f39f015ded8: Pull complete [2023-03-11T18:44:30.700Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-11T18:44:30.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-11T18:44:30.700Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T18:44:30.770Z] prd-ubuntu20.04-docker-8c-8g-9760 does not seem to be running inside a container [2023-03-11T18:44:30.797Z] $ 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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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 [2023-03-11T18:44:30.919Z] ---> docker-login.sh [2023-03-11T18:44:30.919Z] nexus3.edgexfoundry.org:10001 [2023-03-11T18:44:31.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:44:31.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:44:31.456Z] Configure a credential helper to remove this warning. See [2023-03-11T18:44:31.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:44:31.456Z] [2023-03-11T18:44:31.456Z] Login Succeeded [2023-03-11T18:44:31.456Z] nexus3.edgexfoundry.org:10002 [2023-03-11T18:44:31.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:44:31.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:44:31.725Z] Configure a credential helper to remove this warning. See [2023-03-11T18:44:31.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:44:31.725Z] [2023-03-11T18:44:31.725Z] Login Succeeded [2023-03-11T18:44:31.725Z] nexus3.edgexfoundry.org:10003 [2023-03-11T18:44:31.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:44:31.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:44:31.994Z] Configure a credential helper to remove this warning. See [2023-03-11T18:44:31.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:44:31.994Z] [2023-03-11T18:44:31.994Z] Login Succeeded [2023-03-11T18:44:31.994Z] nexus3.edgexfoundry.org:10004 [2023-03-11T18:44:32.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:44:32.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:44:32.533Z] Configure a credential helper to remove this warning. See [2023-03-11T18:44:32.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:44:32.533Z] [2023-03-11T18:44:32.533Z] Login Succeeded [2023-03-11T18:44:32.533Z] docker.io [2023-03-11T18:44:32.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-11T18:44:32.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-11T18:44:32.805Z] Configure a credential helper to remove this warning. See [2023-03-11T18:44:32.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-11T18:44:32.805Z] [2023-03-11T18:44:32.805Z] Login Succeeded [2023-03-11T18:44:33.075Z] ---> docker-login.sh ends [2023-03-11T18:44:34.806Z] $ docker top cc3e545fbf8f329b07af375e8544d6039ccc32ea604175628af4e1d2c3e6fb6d -eo pid,comm [Pipeline] { [Pipeline] } [2023-03-11T18:44:34.867Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-11T18:44:35.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-11T18:44:35.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-11T18:44:35.198Z] ========================================================= [2023-03-11T18:44:35.198Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-11T18:44:35.198Z] ========================================================= [Pipeline] fileExists [2023-03-11T18:44:35.204Z] ---> job-cost.sh [2023-03-11T18:44:35.204Z] lf-activate-venv: SKIPPING [2023-03-11T18:44:35.204Z] INFO: No Stack... [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T18:44:35.462Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-11T18:44:35.538Z] + 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 . [2023-03-11T18:44:35.721Z] INFO: Archiving Costs [Pipeline] sh [2023-03-11T18:44:35.806Z] Sending build context to Docker daemon 5.814MB [2023-03-11T18:44:36.007Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/cost.csv [2023-03-11T18:44:36.007Z] + cut -d, -f6 [Pipeline] lock [2023-03-11T18:44:36.021Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1356-7-stack-cost] [2023-03-11T18:44:36.027Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-7-stack-cost] did not exist. Created. [2023-03-11T18:44:36.027Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1356-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-11T18:44:36.076Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-11T18:44:36.076Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-11T18:44:36.076Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-11T18:44:36.076Z] 9b18e9b68314: Pulling fs layer [2023-03-11T18:44:36.076Z] 35d82f9e3411: Pulling fs layer [2023-03-11T18:44:36.076Z] e16973657156: Pulling fs layer [2023-03-11T18:44:36.076Z] fc693d55d65f: Pulling fs layer [2023-03-11T18:44:36.076Z] 7e9fc2657dce: Pulling fs layer [2023-03-11T18:44:36.076Z] dda99020689f: Pulling fs layer [2023-03-11T18:44:36.076Z] db1c61fa0a46: Pulling fs layer [2023-03-11T18:44:36.076Z] 891c053d2c06: Pulling fs layer [2023-03-11T18:44:36.076Z] dda99020689f: Waiting [2023-03-11T18:44:36.076Z] fc693d55d65f: Waiting [2023-03-11T18:44:36.076Z] 7e9fc2657dce: Waiting [2023-03-11T18:44:36.076Z] db1c61fa0a46: Waiting [2023-03-11T18:44:36.076Z] 891c053d2c06: Waiting [2023-03-11T18:44:36.076Z] e16973657156: Verifying Checksum [2023-03-11T18:44:36.076Z] e16973657156: Download complete [2023-03-11T18:44:36.076Z] 35d82f9e3411: Download complete [2023-03-11T18:44:36.076Z] 7e9fc2657dce: Verifying Checksum [2023-03-11T18:44:36.076Z] 7e9fc2657dce: Download complete [2023-03-11T18:44:36.076Z] dda99020689f: Verifying Checksum [2023-03-11T18:44:36.076Z] dda99020689f: Download complete [2023-03-11T18:44:36.076Z] 9b18e9b68314: Verifying Checksum [2023-03-11T18:44:36.076Z] 9b18e9b68314: Download complete [2023-03-11T18:44:36.320Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-11T18:44:36.352Z] Stashed 1 file(s) [Pipeline] } [2023-03-11T18:44:36.358Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-11T18:44:36.374Z] $ docker stop --time=1 cc3e545fbf8f329b07af375e8544d6039ccc32ea604175628af4e1d2c3e6fb6d [2023-03-11T18:44:37.063Z] 9b18e9b68314: Pull complete [2023-03-11T18:44:37.063Z] 891c053d2c06: Verifying Checksum [2023-03-11T18:44:37.063Z] 891c053d2c06: Download complete [2023-03-11T18:44:37.525Z] $ docker rm -f --volumes cc3e545fbf8f329b07af375e8544d6039ccc32ea604175628af4e1d2c3e6fb6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-11T18:44:37.653Z] 35d82f9e3411: Pull complete [2023-03-11T18:44:37.922Z] e16973657156: Pull complete [2023-03-11T18:44:38.189Z] db1c61fa0a46: Verifying Checksum [2023-03-11T18:44:38.189Z] db1c61fa0a46: Download complete [2023-03-11T18:44:38.775Z] fc693d55d65f: Verifying Checksum [2023-03-11T18:44:38.775Z] fc693d55d65f: Download complete [2023-03-11T18:44:48.851Z] fc693d55d65f: Pull complete [2023-03-11T18:44:49.117Z] 7e9fc2657dce: Pull complete [2023-03-11T18:44:49.386Z] dda99020689f: Pull complete [2023-03-11T18:44:54.723Z] db1c61fa0a46: Pull complete [2023-03-11T18:44:56.676Z] 891c053d2c06: Pull complete [2023-03-11T18:44:56.676Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-11T18:44:56.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-11T18:44:56.676Z] ---> f96f9c87975a [2023-03-11T18:44:56.676Z] Step 3/10 : ARG MAKE=make build [2023-03-11T18:44:58.622Z] ---> Running in dfc7c44b171d [2023-03-11T18:44:58.622Z] Removing intermediate container dfc7c44b171d [2023-03-11T18:44:58.623Z] ---> e66b62ea691c [2023-03-11T18:44:58.623Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-11T18:44:58.623Z] ---> Running in 54db06caae41 [2023-03-11T18:44:58.889Z] Removing intermediate container 54db06caae41 [2023-03-11T18:44:58.889Z] ---> 135c3ed07cdf [2023-03-11T18:44:58.889Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-11T18:44:58.889Z] ---> Running in b255c643bdf4 [2023-03-11T18:44:59.156Z] Removing intermediate container b255c643bdf4 [2023-03-11T18:44:59.156Z] ---> 852e87e2bf75 [2023-03-11T18:44:59.156Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-11T18:44:59.429Z] ---> Running in 7fa5f1e9b64e [2023-03-11T18:45:00.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-11T18:45:00.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-11T18:45:01.615Z] OK: 221 MiB in 51 packages [2023-03-11T18:45:02.197Z] Removing intermediate container 7fa5f1e9b64e [2023-03-11T18:45:02.197Z] ---> 78526ed27c10 [2023-03-11T18:45:02.197Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-11T18:45:02.778Z] ---> 89e4ca9daccd [2023-03-11T18:45:02.778Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-11T18:45:02.778Z] ---> Running in 97b25f81cb12 [2023-03-11T18:46:10.649Z] Removing intermediate container 97b25f81cb12 [2023-03-11T18:46:10.649Z] ---> ad39acc51672 [2023-03-11T18:46:10.649Z] Step 9/10 : COPY . . [2023-03-11T18:46:10.649Z] ---> 373e7ffa2052 [2023-03-11T18:46:10.649Z] Step 10/10 : RUN ${MAKE} [2023-03-11T18:46:10.649Z] ---> Running in 33a00dd0c5be [2023-03-11T18:46:10.649Z] noop [2023-03-11T18:46:10.649Z] Removing intermediate container 33a00dd0c5be [2023-03-11T18:46:10.649Z] ---> 6dc056a799f9 [2023-03-11T18:46:10.649Z] Successfully built 6dc056a799f9 [2023-03-11T18:46:10.649Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T18:46:10.997Z] + docker inspect -f . ci-base-image-arm64 [2023-03-11T18:46:10.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T18:46:11.182Z] prd-ubuntu20.04-docker-arm64-4c-16g-9761 does not seem to be running inside a container [2023-03-11T18:46:11.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-arm64 cat [2023-03-11T18:46:12.342Z] $ docker top 4dbe736c0fb338af1fc430bc02b7148504e65dfae44561dbe15dc98f11931a3a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-11T18:46:13.146Z] + go version [2023-03-11T18:46:13.146Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-11T18:46:13.165Z] $ docker stop --time=1 4dbe736c0fb338af1fc430bc02b7148504e65dfae44561dbe15dc98f11931a3a [2023-03-11T18:46:14.694Z] $ docker rm -f --volumes 4dbe736c0fb338af1fc430bc02b7148504e65dfae44561dbe15dc98f11931a3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T18:46:15.225Z] + docker inspect -f . ci-base-image-arm64 [2023-03-11T18:46:15.225Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T18:46:15.389Z] prd-ubuntu20.04-docker-arm64-4c-16g-9761 does not seem to be running inside a container [2023-03-11T18:46:15.447Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-arm64 cat [2023-03-11T18:46:16.481Z] $ docker top 89dc5194c7dbc80409e032f5bf8c282d1446a49e7068fb84b1abc0aca130dbe7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-11T18:46:16.959Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/7 [Pipeline] fileExists [Pipeline] sh [2023-03-11T18:46:17.285Z] + make test [2023-03-11T18:46:17.285Z] go test -race -coverprofile=coverage.out ./... [2023-03-11T18:46:49.489Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-11T18:48:41.221Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-11T18:48:41.221Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-11T18:48:41.221Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-11T18:48:41.221Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-11T18:48:41.221Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-11T18:48:41.221Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.355s coverage: 27.6% of statements [2023-03-11T18:48:41.804Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.547s coverage: 78.9% of statements [2023-03-11T18:48:47.146Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.592s coverage: 86.0% of statements [2023-03-11T18:48:47.146Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-11T18:48:47.146Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-11T18:48:47.728Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.515s coverage: 75.9% of statements [2023-03-11T18:48:47.728Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-11T18:48:50.305Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.325s coverage: 15.2% of statements [2023-03-11T18:48:50.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-11T18:48:50.305Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.427s coverage: 65.2% of statements [2023-03-11T18:48:50.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-11T18:48:50.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-11T18:48:52.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.255s coverage: 89.2% of statements [2023-03-11T18:48:52.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.344s coverage: 5.5% of statements [2023-03-11T18:48:52.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-11T18:48:52.868Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-11T18:48:52.868Z] GO111MODULE=on go vet ./... [2023-03-11T18:50:29.549Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-11T18:50:29.549Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-11T18:50:29.549Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-11T18:50:29.565Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-11T18:50:29.577Z] $ docker stop --time=1 89dc5194c7dbc80409e032f5bf8c282d1446a49e7068fb84b1abc0aca130dbe7 [2023-03-11T18:50:31.387Z] $ docker rm -f --volumes 89dc5194c7dbc80409e032f5bf8c282d1446a49e7068fb84b1abc0aca130dbe7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-11T18:50:32.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-11T18:50:32.852Z] Warning: overwriting stash ‘coverage-report’ [2023-03-11T18:50:33.723Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-11T18:50:34.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-11T18:50:34.439Z] + ls -al . [2023-03-11T18:50:34.439Z] total 276 [2023-03-11T18:50:34.439Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 18:46 . [2023-03-11T18:50:34.439Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 18:44 .. [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 18:44 .dockerignore [2023-03-11T18:50:34.439Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 18:44 .git [2023-03-11T18:50:34.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 18:44 .github [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 11 18:44 .gitignore [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 11 18:44 .golangci.yml [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 11 18:44 CHANGELOG.md [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 18:44 GOVERNANCE.md [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 11 18:44 Jenkinsfile [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 11 18:44 LICENSE [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 11 18:44 Makefile [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 11 18:44 OWNERS.md [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 11 18:44 README.md [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 18:42 VERSION [2023-03-11T18:50:34.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 18:44 bin [2023-03-11T18:50:34.439Z] -rw-r--r-- 1 jenkins jenkins 111701 Mar 11 18:48 coverage.out [2023-03-11T18:50:34.439Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 11 18:44 example [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 11 18:44 go.mod [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 11 18:44 go.sum [2023-03-11T18:50:34.439Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 11 18:44 internal [2023-03-11T18:50:34.439Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 18:44 openapi [2023-03-11T18:50:34.439Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 11 18:44 pkg [2023-03-11T18:50:34.439Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 18:44 snap [2023-03-11T18:50:34.439Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 11 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T18:50:34.798Z] + 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=606f4bbdbbbb987c50f50992d04f589f32d5a18a --label arch=arm64 --label version=0.0.0 . [2023-03-11T18:50:35.066Z] Sending build context to Docker daemon 5.927MB [2023-03-11T18:50:35.335Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-11T18:50:35.335Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-11T18:50:35.335Z] ---> 6dc056a799f9 [2023-03-11T18:50:35.335Z] Step 3/23 : ARG MAKE=make build [2023-03-11T18:50:35.335Z] ---> Running in d354b99b3ae4 [2023-03-11T18:50:35.611Z] Removing intermediate container d354b99b3ae4 [2023-03-11T18:50:35.611Z] ---> f03b37392266 [2023-03-11T18:50:35.611Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-11T18:50:35.611Z] ---> Running in ac341a06e037 [2023-03-11T18:50:36.194Z] Removing intermediate container ac341a06e037 [2023-03-11T18:50:36.194Z] ---> a02f4c2e1a6a [2023-03-11T18:50:36.194Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-11T18:50:36.194Z] ---> Running in 0319669c5195 [2023-03-11T18:50:36.462Z] Removing intermediate container 0319669c5195 [2023-03-11T18:50:36.462Z] ---> 0731259149cd [2023-03-11T18:50:36.462Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-11T18:50:36.462Z] ---> Running in d3736f30b1ac [2023-03-11T18:50:37.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-11T18:50:37.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-11T18:50:38.651Z] OK: 221 MiB in 51 packages [2023-03-11T18:50:39.613Z] Removing intermediate container d3736f30b1ac [2023-03-11T18:50:39.613Z] ---> 37d50e32bf81 [2023-03-11T18:50:39.613Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-11T18:50:39.887Z] ---> 0f6bac059154 [2023-03-11T18:50:39.887Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-11T18:50:39.887Z] ---> Running in c1570d3a6e15 [2023-03-11T18:50:42.474Z] Removing intermediate container c1570d3a6e15 [2023-03-11T18:50:42.474Z] ---> 6ddfe8efa4bf [2023-03-11T18:50:42.474Z] Step 9/23 : COPY . . [2023-03-11T18:50:43.886Z] ---> 16767af98878 [2023-03-11T18:50:43.886Z] Step 10/23 : RUN ${MAKE} [2023-03-11T18:50:43.886Z] ---> Running in fafed567bf38 [2023-03-11T18:50:44.849Z] 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 [2023-03-11T18:52:51.537Z] Removing intermediate container fafed567bf38 [2023-03-11T18:52:51.537Z] ---> 2dd9fcb0fb23 [2023-03-11T18:52:51.537Z] Step 11/23 : FROM alpine:3.16 [2023-03-11T18:52:51.537Z] 3.16: Pulling from library/alpine [2023-03-11T18:52:51.537Z] 3760b48202b3: Pulling fs layer [2023-03-11T18:52:51.537Z] 3760b48202b3: Download complete [2023-03-11T18:52:51.537Z] 3760b48202b3: Pull complete [2023-03-11T18:52:51.537Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-11T18:52:51.537Z] Status: Downloaded newer image for alpine:3.16 [2023-03-11T18:52:51.537Z] ---> 4c81e5bf8899 [2023-03-11T18:52:51.537Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-11T18:52:51.537Z] ---> Running in 99a6cd2f36f7 [2023-03-11T18:52:51.537Z] Removing intermediate container 99a6cd2f36f7 [2023-03-11T18:52:51.537Z] ---> 86fecd6054cc [2023-03-11T18:52:51.537Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-11T18:52:51.537Z] ---> Running in fc19a81b57e9 [2023-03-11T18:52:51.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-11T18:52:51.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-11T18:52:51.537Z] OK: 5 MiB in 14 packages [2023-03-11T18:52:51.537Z] Removing intermediate container fc19a81b57e9 [2023-03-11T18:52:51.537Z] ---> b7cd6d4c341c [2023-03-11T18:52:51.537Z] Step 14/23 : WORKDIR / [2023-03-11T18:52:51.537Z] ---> Running in ea2c5c31c32d [2023-03-11T18:52:51.537Z] Removing intermediate container ea2c5c31c32d [2023-03-11T18:52:51.537Z] ---> 32a778fd8e98 [2023-03-11T18:52:51.537Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-11T18:52:51.537Z] ---> 74dbdddf92bb [2023-03-11T18:52:51.537Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-11T18:52:51.537Z] ---> e7e3fa3aa9f7 [2023-03-11T18:52:51.537Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-11T18:52:52.123Z] ---> ae7cb7f092b2 [2023-03-11T18:52:52.123Z] Step 18/23 : EXPOSE 59999 [2023-03-11T18:52:52.123Z] ---> Running in bf6522aa07dd [2023-03-11T18:52:52.391Z] Removing intermediate container bf6522aa07dd [2023-03-11T18:52:52.391Z] ---> a02055a4da0a [2023-03-11T18:52:52.391Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-11T18:52:52.391Z] ---> Running in 179560b3ea16 [2023-03-11T18:52:52.659Z] Removing intermediate container 179560b3ea16 [2023-03-11T18:52:52.659Z] ---> eed0b2dfc417 [2023-03-11T18:52:52.659Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-11T18:52:52.659Z] ---> Running in 3e66e85e4084 [2023-03-11T18:52:52.927Z] Removing intermediate container 3e66e85e4084 [2023-03-11T18:52:52.927Z] ---> 936b658fcfc3 [2023-03-11T18:52:52.927Z] Step 21/23 : LABEL arch=arm64 [2023-03-11T18:52:53.197Z] ---> Running in ef82ce466d5f [2023-03-11T18:52:53.465Z] Removing intermediate container ef82ce466d5f [2023-03-11T18:52:53.465Z] ---> 2d03940adb95 [2023-03-11T18:52:53.465Z] Step 22/23 : LABEL git_sha=606f4bbdbbbb987c50f50992d04f589f32d5a18a [2023-03-11T18:52:53.465Z] ---> Running in 0dd60f9bb34e [2023-03-11T18:52:53.733Z] Removing intermediate container 0dd60f9bb34e [2023-03-11T18:52:53.733Z] ---> 77bc1d8aa581 [2023-03-11T18:52:53.733Z] Step 23/23 : LABEL version=0.0.0 [2023-03-11T18:52:53.733Z] ---> Running in 15e7113c838d [2023-03-11T18:52:53.999Z] Removing intermediate container 15e7113c838d [2023-03-11T18:52:53.999Z] ---> ddb6fb5f5122 [2023-03-11T18:52:53.999Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-11T18:52:53.999Z] Successfully built ddb6fb5f5122 [2023-03-11T18:52:53.999Z] 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 [2023-03-11T18:52:54.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-11T18:52:54.439Z] [2023-03-11T18:52:54.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T18:52:54.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-11T18:52:54.776Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-11T18:52:54.776Z] 8998bd30e6a1: Pulling fs layer [2023-03-11T18:52:54.776Z] 04944245beec: Pulling fs layer [2023-03-11T18:52:54.776Z] 699f458cf7ca: Pulling fs layer [2023-03-11T18:52:54.776Z] 765212b225bb: Pulling fs layer [2023-03-11T18:52:54.776Z] f23df028b6ca: Pulling fs layer [2023-03-11T18:52:54.776Z] d65c8cfc05b1: Pulling fs layer [2023-03-11T18:52:54.776Z] 2437ff75d9bd: Pulling fs layer [2023-03-11T18:52:54.776Z] 765212b225bb: Waiting [2023-03-11T18:52:54.776Z] d65c8cfc05b1: Waiting [2023-03-11T18:52:54.777Z] 2437ff75d9bd: Waiting [2023-03-11T18:52:54.777Z] f23df028b6ca: Waiting [2023-03-11T18:52:55.051Z] 04944245beec: Verifying Checksum [2023-03-11T18:52:55.051Z] 04944245beec: Download complete [2023-03-11T18:52:55.051Z] 765212b225bb: Verifying Checksum [2023-03-11T18:52:55.051Z] 765212b225bb: Download complete [2023-03-11T18:52:55.051Z] f23df028b6ca: Verifying Checksum [2023-03-11T18:52:55.051Z] f23df028b6ca: Download complete [2023-03-11T18:52:55.051Z] d65c8cfc05b1: Verifying Checksum [2023-03-11T18:52:55.051Z] d65c8cfc05b1: Download complete [2023-03-11T18:52:55.322Z] 699f458cf7ca: Verifying Checksum [2023-03-11T18:52:55.322Z] 699f458cf7ca: Download complete [2023-03-11T18:52:55.595Z] 8998bd30e6a1: Verifying Checksum [2023-03-11T18:52:55.595Z] 8998bd30e6a1: Download complete [2023-03-11T18:52:58.179Z] 2437ff75d9bd: Verifying Checksum [2023-03-11T18:52:58.179Z] 2437ff75d9bd: Download complete [2023-03-11T18:52:59.600Z] 8998bd30e6a1: Pull complete [2023-03-11T18:53:00.183Z] 04944245beec: Pull complete [2023-03-11T18:53:01.590Z] 699f458cf7ca: Pull complete [2023-03-11T18:53:01.590Z] 765212b225bb: Pull complete [2023-03-11T18:53:02.550Z] f23df028b6ca: Pull complete [2023-03-11T18:53:02.550Z] d65c8cfc05b1: Pull complete [2023-03-11T18:53:17.546Z] 2437ff75d9bd: Pull complete [2023-03-11T18:53:17.546Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-11T18:53:17.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-11T18:53:17.546Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T18:53:17.732Z] prd-ubuntu20.04-docker-arm64-4c-16g-9761 does not seem to be running inside a container [2023-03-11T18:53:17.797Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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:arm64 cat [2023-03-11T18:53:20.367Z] $ docker top 2c6dd66111036e5023b1046ef21440b71bb78f73f33e010dd53b993973a74a4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-11T18:53:21.189Z] ---> job-cost.sh [2023-03-11T18:53:21.189Z] lf-activate-venv: SKIPPING [2023-03-11T18:53:21.189Z] INFO: No Stack... [2023-03-11T18:53:21.768Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-11T18:53:22.350Z] INFO: Archiving Costs [Pipeline] sh [2023-03-11T18:53:22.985Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2023-03-11T18:53:22.985Z] + cut -d, -f6 [Pipeline] lock [2023-03-11T18:53:23.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1356-7-stack-cost] [2023-03-11T18:53:23.055Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-7-stack-cost] did not exist. Created. [2023-03-11T18:53:23.055Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1356-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-11T18:53:23.391Z] /w/workspace/device-sdk-go/7@tmp/durable-5b4d47d1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-11T18:53:24.308Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-11T18:53:24.331Z] Warning: overwriting stash ‘stack-cost’ [2023-03-11T18:53:24.394Z] Stashed 1 file(s) [Pipeline] } [2023-03-11T18:53:24.405Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-11T18:53:24.422Z] $ docker stop --time=1 2c6dd66111036e5023b1046ef21440b71bb78f73f33e010dd53b993973a74a4f [2023-03-11T18:53:25.944Z] $ docker rm -f --volumes 2c6dd66111036e5023b1046ef21440b71bb78f73f33e010dd53b993973a74a4f [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 [2023-03-11T18:53:26.339Z] provisioning config files... [2023-03-11T18:53:26.345Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config13470352943350526988tmp [Pipeline] { [Pipeline] sh [2023-03-11T18:53:26.633Z] + set +x [2023-03-11T18:53:26.633Z] + curl -s https://codecov.io/bash [2023-03-11T18:53:26.633Z] + bash -s -- [2023-03-11T18:53:26.633Z] [2023-03-11T18:53:26.633Z] _____ _ [2023-03-11T18:53:26.633Z] / ____| | | [2023-03-11T18:53:26.633Z] | | ___ __| | ___ ___ _____ __ [2023-03-11T18:53:26.633Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-11T18:53:26.633Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-11T18:53:26.633Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-11T18:53:26.633Z] Bash-1.0.6 [2023-03-11T18:53:26.633Z] [2023-03-11T18:53:26.633Z] [2023-03-11T18:53:26.633Z] ==> git version 2.25.1 found [2023-03-11T18:53:26.633Z] ==> 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 [2023-03-11T18:53:26.633Z] Release-Date: 2020-01-08 [2023-03-11T18:53:26.633Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-11T18:53:26.633Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-11T18:53:26.633Z] ==> Jenkins CI detected. [2023-03-11T18:53:26.633Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1356 [2023-03-11T18:53:26.633Z] project root: . [2023-03-11T18:53:26.633Z] --> token set from env [2023-03-11T18:53:26.633Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-11T18:53:26.633Z] ==> Running gcov in . (disable via -X gcov) [2023-03-11T18:53:26.633Z] ==> Python coveragepy not found [2023-03-11T18:53:26.633Z] ==> Searching for coverage reports in: [2023-03-11T18:53:26.633Z] + . [2023-03-11T18:53:26.892Z] -> Found 1 reports [2023-03-11T18:53:26.892Z] ==> Detecting git/mercurial file structure [2023-03-11T18:53:26.892Z] ==> Reading reports [2023-03-11T18:53:26.892Z] + ./coverage.out bytes=111701 [2023-03-11T18:53:26.892Z] ==> Appending adjustments [2023-03-11T18:53:26.892Z] https://docs.codecov.io/docs/fixing-reports [2023-03-11T18:53:27.151Z] + Found adjustments [2023-03-11T18:53:27.151Z] ==> Gzipping contents [2023-03-11T18:53:27.151Z] 16K /tmp/codecov.qF3shH.gz [2023-03-11T18:53:27.151Z] ==> Uploading reports [2023-03-11T18:53:27.151Z] url: https://codecov.io [2023-03-11T18:53:27.151Z] query: branch=PR-1356&commit=9176b1779dfa546b6697d1d7608a03be0a950bb8&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1356%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1356&job=&cmd_args= [2023-03-11T18:53:27.151Z] -> Pinging Codecov [2023-03-11T18:53:27.151Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1356&commit=9176b1779dfa546b6697d1d7608a03be0a950bb8&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1356%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1356&job=&cmd_args= [2023-03-11T18:53:27.151Z] -> Uploading to [2023-03-11T18:53:27.151Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-11/7E55EF52A471D76F132DFD9A03CDDE97/9176b1779dfa546b6697d1d7608a03be0a950bb8/c26d8a76-2087-4046-b479-4c8711fbf3a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230311%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230311T185327Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bfa8e00b11070043e0e07eb4f6bb3c6d1d5bc5d70b1161be7b4056d8ad604d4c [2023-03-11T18:53:27.151Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-11T18:53:27.151Z] Dload Upload Total Spent Left Speed [2023-03-11T18:53:27.718Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15504 0 0 100 15504 0 44045 --:--:-- --:--:-- --:--:-- 43920 100 15504 0 0 100 15504 0 44045 --:--:-- --:--:-- --:--:-- 43920 [2023-03-11T18:53:27.718Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9176b1779dfa546b6697d1d7608a03be0a950bb8 [Pipeline] } [2023-03-11T18:53:27.726Z] 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 [2023-03-11T18:53:28.481Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives ] [2023-03-11T18:53:28.481Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-11T18:53:28.481Z] total 16 [2023-03-11T18:53:28.481Z] drwxr-xr-x 3 root root 4096 Mar 11 18:44 . [2023-03-11T18:53:28.481Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 11 18:44 .. [2023-03-11T18:53:28.481Z] drwxr-xr-x 2 root root 4096 Mar 11 18:44 cost [2023-03-11T18:53:28.481Z] -rw-r--r-- 1 root root 86 Mar 11 18:44 cost.csv [2023-03-11T18:53:28.481Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-11T18:53:28.481Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-11T18:53:28.481Z] total 16 [2023-03-11T18:53:28.481Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 18:44 . [2023-03-11T18:53:28.481Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 11 18:44 .. [2023-03-11T18:53:28.481Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 18:44 cost [2023-03-11T18:53:28.481Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 11 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-11T18:53:28.772Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-11T18:53:29.632Z] ---> package-listing.sh [2023-03-11T18:53:29.632Z] ++ facter osfamily [2023-03-11T18:53:29.632Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-11T18:53:29.893Z] + OS_FAMILY=debian [2023-03-11T18:53:29.893Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1356 [2023-03-11T18:53:29.893Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-11T18:53:29.893Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-11T18:53:29.893Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-11T18:53:29.893Z] + PACKAGES=/tmp/packages_start.txt [2023-03-11T18:53:29.893Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' [2023-03-11T18:53:29.893Z] + PACKAGES=/tmp/packages_end.txt [2023-03-11T18:53:29.893Z] + case "${OS_FAMILY}" in [2023-03-11T18:53:29.893Z] + dpkg -l [2023-03-11T18:53:29.893Z] + grep '^ii' [2023-03-11T18:53:29.893Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-11T18:53:29.893Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-11T18:53:29.893Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-11T18:53:29.893Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' [2023-03-11T18:53:29.893Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ [2023-03-11T18:53:29.893Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ [Pipeline] echo [2023-03-11T18:53:29.904Z] 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-1356/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-11T18:53:30.181Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-11T18:53:30.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-11T18:53:30.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-11T18:53:30.813Z] prd-ubuntu20.04-docker-8c-8g-9760 does not seem to be running inside a container [2023-03-11T18:53:30.847Z] $ 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-1356/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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-11T18:53:31.055Z] $ docker top a89ff72f76524dfbd771f6920075b69a797e935b950a6500881771a5f09fd8a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-11T18:53:31.397Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-11T18:53:31.685Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-11T18:53:31.972Z] + ls /var/log/sa-host [2023-03-11T18:53:31.972Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-11T18:53:32.113Z] provisioning config files... [2023-03-11T18:53:32.122Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config9072126042190786495tmp [Pipeline] { [Pipeline] echo [2023-03-11T18:53:32.136Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-11T18:53:32.418Z] ---> create-netrc.sh [Pipeline] } [2023-03-11T18:53:32.425Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-11T18:53:32.752Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-11T18:53:32.761Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-11T18:53:33.047Z] ---> sudo-logs.sh [2023-03-11T18:53:33.047Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-11T18:53:33.077Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-11T18:53:33.363Z] ---> job-cost.sh [2023-03-11T18:53:33.363Z] lf-activate-venv: SKIPPING [2023-03-11T18:53:33.363Z] DEBUG: total: 0.2199999988079071 [2023-03-11T18:53:33.363Z] INFO: Retrieving Stack Cost... [2023-03-11T18:53:33.932Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-11T18:53:34.192Z] INFO: Archiving Costs [Pipeline] echo [2023-03-11T18:53:34.203Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-11T18:53:34.489Z] ---> logs-deploy.sh [2023-03-11T18:53:34.489Z] lf-activate-venv: SKIPPING [2023-03-11T18:53:34.489Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1356/7 [2023-03-11T18:53:34.489Z] INFO: archiving workspace using pattern(s): [2023-03-11T18:53:35.428Z] Archives upload complete. [2023-03-11T18:53:35.428Z] INFO: archiving logs to Nexus