Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-sdk-go Loading trusted files from base branch main at d75af8d7736dd893bcb45da5c89d1e2b765d6b8d rather than 555e4e9a16edf2845afb0bbe6dba78455fe7c934 Obtained Jenkinsfile from d75af8d7736dd893bcb45da5c89d1e2b765d6b8d 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-ssh18073703656166610716.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12507015221064168493.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-1451/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-1451/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11592806354289170973.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh194783016821065208.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-1451/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-1451/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3969427652841622235.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.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-14738’ Running on prd-ubuntu20.04-docker-8c-8g-14741 in /w/workspace/gexfoundry_device-sdk-go_PR-1451 [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-1451 # 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 Merging remotes/origin/main commit d75af8d7736dd893bcb45da5c89d1e2b765d6b8d into PR head commit 555e4e9a16edf2845afb0bbe6dba78455fe7c934 Merge succeeded, producing a36e7f683449bd38de57dca9edcc7aa68bbb127d Checking out Revision a36e7f683449bd38de57dca9edcc7aa68bbb127d (PR-1451) > 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/1451/head:refs/remotes/origin/PR-1451 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 555e4e9a16edf2845afb0bbe6dba78455fe7c934 # 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 d75af8d7736dd893bcb45da5c89d1e2b765d6b8d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a36e7f683449bd38de57dca9edcc7aa68bbb127d # timeout=10 Commit message: "Merge commit 'd75af8d7736dd893bcb45da5c89d1e2b765d6b8d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-09T18:43:25.897Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-09T18:43:25.959Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-09T18:43:25.977Z] ========================================================= [2023-05-09T18:43:25.977Z] EdgeX Global Pipelines Version Info [2023-05-09T18:43:25.977Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b0b5902b2b3c6bf2e79d0b0bd778b5f874431ff1 # timeout=10 [2023-05-09T18:43:26.698Z] ------------------- [2023-05-09T18:43:26.698Z] stable info: [2023-05-09T18:43:26.698Z] ------------------- [2023-05-09T18:43:26.698Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-09T18:43:26.698Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T18:43:26.698Z] Message: update stable to v1.0.249 [2023-05-09T18:43:27.277Z] ------------------- [2023-05-09T18:43:27.277Z] experimental info: [2023-05-09T18:43:27.277Z] ------------------- [2023-05-09T18:43:27.277Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-09T18:43:27.277Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T18:43:27.277Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-09T18:43:27.467Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-09T18:43:27.482Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-09T18:43:27.501Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-09T18:43:27.518Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-09T18:43:27.535Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-09T18:43:27.548Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-09T18:43:27.567Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-09T18:43:27.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-09T18:43:27.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-09T18:43:27.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-09T18:43:27.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-09T18:43:27.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-09T18:43:27.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-09T18:43:27.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-09T18:43:27.671Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T18:43:27.682Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T18:43:27.691Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T18:43:27.699Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T18:43:27.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-09T18:43:27.716Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-09T18:43:27.724Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-09T18:43:27.732Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-09T18:43:27.741Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-09T18:43:27.749Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-09T18:43:27.757Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-09T18:43:27.765Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-09T18:43:27.773Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-09T18:43:27.782Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1451 [Pipeline] echo [2023-05-09T18:43:27.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1451 [Pipeline] echo [2023-05-09T18:43:27.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1451 [Pipeline] echo [2023-05-09T18:43:27.807Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a36e7f683449bd38de57dca9edcc7aa68bbb127d [Pipeline] echo [2023-05-09T18:43:27.818Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a36e7f6 [Pipeline] echo [2023-05-09T18:43:27.829Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T18:43:27.872Z] provisioning config files... [2023-05-09T18:43:27.885Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config951287050834499059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T18:43:28.194Z] ---> docker-login.sh [2023-05-09T18:43:28.194Z] nexus3.edgexfoundry.org:10001 [2023-05-09T18:43:28.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:43:28.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:43:28.458Z] Configure a credential helper to remove this warning. See [2023-05-09T18:43:28.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:43:28.458Z] [2023-05-09T18:43:28.458Z] Login Succeeded [2023-05-09T18:43:28.458Z] nexus3.edgexfoundry.org:10002 [2023-05-09T18:43:28.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:43:28.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:43:28.458Z] Configure a credential helper to remove this warning. See [2023-05-09T18:43:28.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:43:28.458Z] [2023-05-09T18:43:28.458Z] Login Succeeded [2023-05-09T18:43:28.718Z] nexus3.edgexfoundry.org:10003 [2023-05-09T18:43:28.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:43:28.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:43:28.718Z] Configure a credential helper to remove this warning. See [2023-05-09T18:43:28.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:43:28.718Z] [2023-05-09T18:43:28.718Z] Login Succeeded [2023-05-09T18:43:28.718Z] nexus3.edgexfoundry.org:10004 [2023-05-09T18:43:28.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:43:28.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:43:28.719Z] Configure a credential helper to remove this warning. See [2023-05-09T18:43:28.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:43:28.719Z] [2023-05-09T18:43:28.719Z] Login Succeeded [2023-05-09T18:43:28.719Z] docker.io [2023-05-09T18:43:28.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:43:28.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:43:28.980Z] Configure a credential helper to remove this warning. See [2023-05-09T18:43:28.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:43:28.980Z] [2023-05-09T18:43:28.980Z] Login Succeeded [2023-05-09T18:43:28.980Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T18:43:28.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-09T18:43:29.334Z] + git rev-list -1 --merges a36e7f683449bd38de57dca9edcc7aa68bbb127d~1..a36e7f683449bd38de57dca9edcc7aa68bbb127d [Pipeline] echo [2023-05-09T18:43:29.381Z] -----------> git rev-list -1 --merges a36e7f683449bd38de57dca9edcc7aa68bbb127d~1..a36e7f683449bd38de57dca9edcc7aa68bbb127d a36e7f683449bd38de57dca9edcc7aa68bbb127d [2023-05-09T18:43:29.381Z] a36e7f683449bd38de57dca9edcc7aa68bbb127d [false] [Pipeline] sh [2023-05-09T18:43:29.674Z] + git log --format=format:%s -1 a36e7f683449bd38de57dca9edcc7aa68bbb127d [Pipeline] echo [2023-05-09T18:43:29.689Z] ========================================================= [2023-05-09T18:43:29.689Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-09T18:43:29.689Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T18:43:30.019Z] + git log --format=format:%s -1 a36e7f683449bd38de57dca9edcc7aa68bbb127d [Pipeline] echo [2023-05-09T18:43:30.032Z] [semverPrep] GIT_COMMIT: a36e7f683449bd38de57dca9edcc7aa68bbb127d, Commit Message: Merge commit 'd75af8d7736dd893bcb45da5c89d1e2b765d6b8d' into HEAD [Pipeline] echo [2023-05-09T18:43:30.041Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-09T18:43:30.385Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T18:43:30.385Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-09T18:43:30.385Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-09T18:43:30.385Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-09T18:43:30.385Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-09T18:43:30.385Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-09T18:43:30.385Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:43:30.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T18:43:30.737Z] [2023-05-09T18:43:30.737Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:43:31.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T18:43:31.040Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-09T18:43:31.040Z] b85a868b505f: Pulling fs layer [2023-05-09T18:43:31.040Z] e2be974225ed: Pulling fs layer [2023-05-09T18:43:31.040Z] 339a4e72a1f5: Pulling fs layer [2023-05-09T18:43:31.040Z] 988bab9f4d93: Pulling fs layer [2023-05-09T18:43:31.040Z] 1469e6f7b9e6: Pulling fs layer [2023-05-09T18:43:31.040Z] eaf3925da568: Pulling fs layer [2023-05-09T18:43:31.040Z] bab4dde63d76: Pulling fs layer [2023-05-09T18:43:31.040Z] bde34c3a00c8: Pulling fs layer [2023-05-09T18:43:31.040Z] b352a97aabf1: Pulling fs layer [2023-05-09T18:43:31.040Z] 4872d77fe225: Pulling fs layer [2023-05-09T18:43:31.040Z] 5851b861e8e6: Pulling fs layer [2023-05-09T18:43:31.040Z] bde34c3a00c8: Waiting [2023-05-09T18:43:31.040Z] 988bab9f4d93: Waiting [2023-05-09T18:43:31.040Z] b352a97aabf1: Waiting [2023-05-09T18:43:31.040Z] 1469e6f7b9e6: Waiting [2023-05-09T18:43:31.040Z] 4872d77fe225: Waiting [2023-05-09T18:43:31.040Z] 5851b861e8e6: Waiting [2023-05-09T18:43:31.040Z] eaf3925da568: Waiting [2023-05-09T18:43:31.040Z] e2be974225ed: Verifying Checksum [2023-05-09T18:43:31.040Z] e2be974225ed: Download complete [2023-05-09T18:43:31.040Z] 988bab9f4d93: Verifying Checksum [2023-05-09T18:43:31.040Z] 988bab9f4d93: Download complete [2023-05-09T18:43:31.040Z] 1469e6f7b9e6: Verifying Checksum [2023-05-09T18:43:31.040Z] 1469e6f7b9e6: Download complete [2023-05-09T18:43:31.301Z] eaf3925da568: Verifying Checksum [2023-05-09T18:43:31.301Z] eaf3925da568: Download complete [2023-05-09T18:43:31.301Z] 339a4e72a1f5: Verifying Checksum [2023-05-09T18:43:31.301Z] 339a4e72a1f5: Download complete [2023-05-09T18:43:31.301Z] bde34c3a00c8: Verifying Checksum [2023-05-09T18:43:31.301Z] bde34c3a00c8: Download complete [2023-05-09T18:43:31.301Z] b352a97aabf1: Download complete [2023-05-09T18:43:31.301Z] 4872d77fe225: Verifying Checksum [2023-05-09T18:43:31.301Z] 4872d77fe225: Download complete [2023-05-09T18:43:31.301Z] 5851b861e8e6: Download complete [2023-05-09T18:43:31.301Z] b85a868b505f: Download complete [2023-05-09T18:43:31.560Z] bab4dde63d76: Verifying Checksum [2023-05-09T18:43:31.560Z] bab4dde63d76: Download complete [2023-05-09T18:43:32.498Z] b85a868b505f: Pull complete [2023-05-09T18:43:32.758Z] e2be974225ed: Pull complete [2023-05-09T18:43:33.328Z] 339a4e72a1f5: Pull complete [2023-05-09T18:43:33.328Z] 988bab9f4d93: Pull complete [2023-05-09T18:43:33.587Z] 1469e6f7b9e6: Pull complete [2023-05-09T18:43:33.587Z] eaf3925da568: Pull complete [2023-05-09T18:43:35.515Z] bab4dde63d76: Pull complete [2023-05-09T18:43:35.515Z] bde34c3a00c8: Pull complete [2023-05-09T18:43:35.775Z] b352a97aabf1: Pull complete [2023-05-09T18:43:35.775Z] 4872d77fe225: Pull complete [2023-05-09T18:43:35.775Z] 5851b861e8e6: Pull complete [2023-05-09T18:43:35.775Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-09T18:43:35.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T18:43:35.775Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T18:43:35.869Z] prd-ubuntu20.04-docker-8c-8g-14741 does not seem to be running inside a container [2023-05-09T18:43:35.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-09T18:43:38.650Z] $ docker top 64f03fbce94d04cb6c250fb66016d3e6f5923d5922330499c62d7972f8eff3b9 -eo pid,comm [2023-05-09T18:43:38.704Z] 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-05-09T18:43:38.704Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T18:43:38.749Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T18:43:38.749Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T18:43:38.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T18:43:38.871Z] $ docker exec 64f03fbce94d04cb6c250fb66016d3e6f5923d5922330499c62d7972f8eff3b9 ssh-agent [2023-05-09T18:43:38.973Z] SSH_AUTH_SOCK=/tmp/ssh-W0KJ2bdUlvc3/agent.32 [2023-05-09T18:43:38.973Z] SSH_AGENT_PID=38 [2023-05-09T18:43:38.983Z] Running ssh-add (command line suppressed) [2023-05-09T18:43:39.097Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_4473067569455911089.key (/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_4473067569455911089.key) [2023-05-09T18:43:39.108Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T18:43:39.397Z] + git tag --points-at HEAD [Pipeline] } [2023-05-09T18:43:39.421Z] $ docker exec --env ******** --env ******** 64f03fbce94d04cb6c250fb66016d3e6f5923d5922330499c62d7972f8eff3b9 ssh-agent -k [2023-05-09T18:43:39.520Z] unset SSH_AUTH_SOCK; [2023-05-09T18:43:39.520Z] unset SSH_AGENT_PID; [2023-05-09T18:43:39.520Z] echo Agent pid 38 killed; [2023-05-09T18:43:39.531Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-09T18:43:39.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T18:43:39.554Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T18:43:39.670Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T18:43:39.676Z] $ docker exec 64f03fbce94d04cb6c250fb66016d3e6f5923d5922330499c62d7972f8eff3b9 ssh-agent [2023-05-09T18:43:39.784Z] SSH_AUTH_SOCK=/tmp/ssh-IiAVY9tNbK6q/agent.70 [2023-05-09T18:43:39.784Z] SSH_AGENT_PID=76 [2023-05-09T18:43:39.788Z] Running ssh-add (command line suppressed) [2023-05-09T18:43:39.891Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_2318133056007175900.key (/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_2318133056007175900.key) [2023-05-09T18:43:39.900Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T18:43:40.189Z] + git semver init [2023-05-09T18:43:40.449Z] 2023-05-09 18:43:40,374 [run_init] DEBUG init version:0.0.0 force:False [2023-05-09T18:43:40.449Z] 2023-05-09 18:43:40,375 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver [2023-05-09T18:43:40.449Z] 2023-05-09 18:43:40,375 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver [2023-05-09T18:43:40.449Z] 2023-05-09 18:43:40,376 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451, universal_newlines=False, shell=None, istream=None) [2023-05-09T18:43:41.388Z] 2023-05-09 18:43:41,252 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.git/info/exclude [2023-05-09T18:43:41.388Z] 2023-05-09 18:43:41,253 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 with force:False [2023-05-09T18:43:41.388Z] 2023-05-09 18:43:41,253 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 [2023-05-09T18:43:41.388Z] 2023-05-09 18:43:41,258 [execute] INFO git cat-file --batch-check [2023-05-09T18:43:41.388Z] 2023-05-09 18:43:41,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T18:43:41.388Z] 2023-05-09 18:43:41,264 [execute] INFO git cat-file --batch [2023-05-09T18:43:41.388Z] 2023-05-09 18:43:41,264 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T18:43:41.388Z] 2023-05-09 18:43:41,269 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 [2023-05-09T18:43:41.388Z] 0.0.0 [Pipeline] } [2023-05-09T18:43:41.400Z] $ docker exec --env ******** --env ******** 64f03fbce94d04cb6c250fb66016d3e6f5923d5922330499c62d7972f8eff3b9 ssh-agent -k [2023-05-09T18:43:41.497Z] unset SSH_AUTH_SOCK; [2023-05-09T18:43:41.498Z] unset SSH_AGENT_PID; [2023-05-09T18:43:41.498Z] echo Agent pid 76 killed; [2023-05-09T18:43:41.502Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T18:43:41.804Z] + git semver [Pipeline] } [2023-05-09T18:43:42.078Z] $ docker stop --time=1 64f03fbce94d04cb6c250fb66016d3e6f5923d5922330499c62d7972f8eff3b9 [2023-05-09T18:43:43.365Z] $ docker rm -f --volumes 64f03fbce94d04cb6c250fb66016d3e6f5923d5922330499c62d7972f8eff3b9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T18:43:43.704Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-09T18:43:43.927Z] Stashed 1 file(s) [Pipeline] echo [2023-05-09T18:43:43.930Z] [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-05-09T18:43:44.030Z] provisioning config files... [2023-05-09T18:43:44.040Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config13787659017658840609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T18:43:44.332Z] ---> docker-login.sh [2023-05-09T18:43:44.332Z] nexus3.edgexfoundry.org:10001 [2023-05-09T18:43:44.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:43:44.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:43:44.332Z] Configure a credential helper to remove this warning. See [2023-05-09T18:43:44.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:43:44.332Z] [2023-05-09T18:43:44.332Z] Login Succeeded [2023-05-09T18:43:44.332Z] nexus3.edgexfoundry.org:10002 [2023-05-09T18:43:44.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:43:44.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:43:44.332Z] Configure a credential helper to remove this warning. See [2023-05-09T18:43:44.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:43:44.332Z] [2023-05-09T18:43:44.332Z] Login Succeeded [2023-05-09T18:43:44.332Z] nexus3.edgexfoundry.org:10003 [2023-05-09T18:43:44.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:43:44.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:43:44.593Z] Configure a credential helper to remove this warning. See [2023-05-09T18:43:44.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:43:44.593Z] [2023-05-09T18:43:44.593Z] Login Succeeded [2023-05-09T18:43:44.593Z] nexus3.edgexfoundry.org:10004 [2023-05-09T18:43:44.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:43:44.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:43:44.593Z] Configure a credential helper to remove this warning. See [2023-05-09T18:43:44.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:43:44.593Z] [2023-05-09T18:43:44.593Z] Login Succeeded [2023-05-09T18:43:44.593Z] docker.io [2023-05-09T18:43:44.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:43:44.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:43:44.852Z] Configure a credential helper to remove this warning. See [2023-05-09T18:43:44.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:43:44.852Z] [2023-05-09T18:43:44.852Z] Login Succeeded [2023-05-09T18:43:44.852Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T18:43:44.859Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T18:43:44.919Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T18:43:44.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T18:43:44.945Z] ========================================================= [2023-05-09T18:43:44.945Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-09T18:43:44.945Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:43:45.264Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-09T18:43:45.264Z] Sending build context to Docker daemon 11.14MB [2023-05-09T18:43:45.264Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T18:43:45.264Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-09T18:43:45.264Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-09T18:43:45.264Z] f56be85fc22e: Pulling fs layer [2023-05-09T18:43:45.264Z] 85791d961cd3: Pulling fs layer [2023-05-09T18:43:45.264Z] d694b5ae8c79: Pulling fs layer [2023-05-09T18:43:45.264Z] 9f32a84ed3da: Pulling fs layer [2023-05-09T18:43:45.264Z] 4d19c01a9841: Pulling fs layer [2023-05-09T18:43:45.264Z] 9325e15d5711: Pulling fs layer [2023-05-09T18:43:45.264Z] 556b6ee489ea: Pulling fs layer [2023-05-09T18:43:45.264Z] c5a4b2cf53e6: Pulling fs layer [2023-05-09T18:43:45.264Z] 556b6ee489ea: Waiting [2023-05-09T18:43:45.264Z] c5a4b2cf53e6: Waiting [2023-05-09T18:43:45.264Z] 4d19c01a9841: Waiting [2023-05-09T18:43:45.264Z] 9325e15d5711: Waiting [2023-05-09T18:43:45.264Z] 9f32a84ed3da: Waiting [2023-05-09T18:43:45.527Z] 85791d961cd3: Download complete [2023-05-09T18:43:45.527Z] 9f32a84ed3da: Download complete [2023-05-09T18:43:45.527Z] 4d19c01a9841: Download complete [2023-05-09T18:43:45.527Z] f56be85fc22e: Download complete [2023-05-09T18:43:45.527Z] 9325e15d5711: Verifying Checksum [2023-05-09T18:43:45.527Z] 9325e15d5711: Download complete [2023-05-09T18:43:45.527Z] f56be85fc22e: Pull complete [2023-05-09T18:43:45.792Z] 85791d961cd3: Pull complete [2023-05-09T18:43:46.053Z] c5a4b2cf53e6: Verifying Checksum [2023-05-09T18:43:46.053Z] c5a4b2cf53e6: Download complete [2023-05-09T18:43:46.312Z] d694b5ae8c79: Verifying Checksum [2023-05-09T18:43:46.312Z] d694b5ae8c79: Download complete [2023-05-09T18:43:46.312Z] 556b6ee489ea: Verifying Checksum [2023-05-09T18:43:46.312Z] 556b6ee489ea: Download complete [2023-05-09T18:43:50.499Z] d694b5ae8c79: Pull complete [2023-05-09T18:43:50.499Z] 9f32a84ed3da: Pull complete [2023-05-09T18:43:50.499Z] 4d19c01a9841: Pull complete [2023-05-09T18:43:50.499Z] 9325e15d5711: Pull complete [2023-05-09T18:43:52.410Z] 556b6ee489ea: Pull complete [2023-05-09T18:43:53.786Z] c5a4b2cf53e6: Pull complete [2023-05-09T18:43:53.786Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-09T18:43:53.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-09T18:43:53.786Z] ---> c4be618373d6 [2023-05-09T18:43:53.786Z] Step 3/10 : ARG MAKE=make build [2023-05-09T18:43:58.039Z] ---> Running in 0abb92ffeee3 [2023-05-09T18:43:58.039Z] Removing intermediate container 0abb92ffeee3 [2023-05-09T18:43:58.039Z] ---> 20d36674af7f [2023-05-09T18:43:58.039Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-09T18:43:58.039Z] ---> Running in e6107a48dd5d [2023-05-09T18:43:58.039Z] Removing intermediate container e6107a48dd5d [2023-05-09T18:43:58.039Z] ---> 772a64f64b2e [2023-05-09T18:43:58.039Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-09T18:43:58.039Z] ---> Running in 8767952a73d0 [2023-05-09T18:43:58.039Z] Removing intermediate container 8767952a73d0 [2023-05-09T18:43:58.039Z] ---> 930513a19251 [2023-05-09T18:43:58.039Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-09T18:43:58.039Z] ---> Running in c0644555510d [2023-05-09T18:43:58.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T18:43:58.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T18:43:58.297Z] OK: 265 MiB in 53 packages [2023-05-09T18:43:58.555Z] Removing intermediate container c0644555510d [2023-05-09T18:43:58.555Z] ---> 6963b5bfeb2d [2023-05-09T18:43:58.555Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-09T18:43:58.814Z] ---> 5385a253207c [2023-05-09T18:43:58.814Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T18:43:58.814Z] ---> Running in 5e6ac3c117b9 [2023-05-09T18:43:59.002Z] Still waiting to schedule task [2023-05-09T18:43:59.002Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14739’ [2023-05-09T18:44:25.416Z] Removing intermediate container 5e6ac3c117b9 [2023-05-09T18:44:25.416Z] ---> debc585b179a [2023-05-09T18:44:25.416Z] Step 9/10 : COPY . . [2023-05-09T18:44:25.416Z] ---> e88a67f2c21c [2023-05-09T18:44:25.416Z] Step 10/10 : RUN ${MAKE} [2023-05-09T18:44:25.416Z] ---> Running in 27ae2f5bf06f [2023-05-09T18:44:25.416Z] noop [2023-05-09T18:44:25.416Z] Removing intermediate container 27ae2f5bf06f [2023-05-09T18:44:25.416Z] ---> 1cbcfc30e467 [2023-05-09T18:44:25.416Z] Successfully built 1cbcfc30e467 [2023-05-09T18:44:25.416Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:44:25.743Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T18:44:25.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T18:44:25.825Z] prd-ubuntu20.04-docker-8c-8g-14741 does not seem to be running inside a container [2023-05-09T18:44:25.858Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-09T18:44:26.175Z] $ docker top cd893c353ddc1ade6bfee93cd18442df8f1a757eefa815c39a57329187136f51 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T18:44:26.518Z] + go version [2023-05-09T18:44:26.518Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-09T18:44:26.534Z] $ docker stop --time=1 cd893c353ddc1ade6bfee93cd18442df8f1a757eefa815c39a57329187136f51 [2023-05-09T18:44:27.809Z] $ docker rm -f --volumes cd893c353ddc1ade6bfee93cd18442df8f1a757eefa815c39a57329187136f51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:44:28.218Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T18:44:28.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T18:44:28.285Z] prd-ubuntu20.04-docker-8c-8g-14741 does not seem to be running inside a container [2023-05-09T18:44:28.315Z] $ 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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-09T18:44:28.632Z] $ docker top 38eb948bfc0bb3e6990f0188015bdddccd8f31442bc4c011cd25d3719a29e78c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T18:44:28.964Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1451 [Pipeline] fileExists [Pipeline] sh [2023-05-09T18:44:29.257Z] + make test [2023-05-09T18:44:29.257Z] go test -race -coverprofile=coverage.out ./... [2023-05-09T18:44:35.822Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-09T18:44:50.697Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-09T18:44:50.697Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-09T18:44:50.697Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-09T18:44:50.697Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-09T18:44:50.697Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-09T18:44:50.697Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.090s coverage: 27.6% of statements [2023-05-09T18:44:50.697Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-09T18:44:50.697Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-09T18:44:50.697Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.062s coverage: 80.2% of statements [2023-05-09T18:44:50.697Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.078s coverage: 86.0% of statements [2023-05-09T18:44:50.697Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-09T18:44:50.697Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-09T18:44:50.697Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.106s coverage: 77.5% of statements [2023-05-09T18:44:50.697Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-09T18:44:50.697Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-09T18:44:51.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-09T18:44:53.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.067s coverage: 14.3% of statements [2023-05-09T18:44:53.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-05-09T18:44:53.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements [2023-05-09T18:44:53.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.7% of statements [2023-05-09T18:45:11.616Z] GO111MODULE=on go vet ./... [2023-05-09T18:45:15.796Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T18:45:15.796Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T18:45:15.796Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T18:45:15.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T18:45:15.827Z] $ docker stop --time=1 38eb948bfc0bb3e6990f0188015bdddccd8f31442bc4c011cd25d3719a29e78c [2023-05-09T18:45:18.689Z] $ docker rm -f --volumes 38eb948bfc0bb3e6990f0188015bdddccd8f31442bc4c011cd25d3719a29e78c [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T18:45:19.192Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T18:45:19.256Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-09T18:45:19.693Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T18:45:19.976Z] + ls -al . [2023-05-09T18:45:19.977Z] total 272 [2023-05-09T18:45:19.977Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 18:44 . [2023-05-09T18:45:19.977Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 18:43 .. [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 18:43 .dockerignore [2023-05-09T18:45:19.977Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 18:43 .git [2023-05-09T18:45:19.977Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 18:43 .github [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 137 May 9 18:43 .gitignore [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 42 May 9 18:43 .golangci.yml [2023-05-09T18:45:19.977Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 18:43 .semver [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 9 18:43 CHANGELOG.md [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 18:43 GOVERNANCE.md [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 885 May 9 18:43 Jenkinsfile [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 9 18:43 LICENSE [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 9 18:43 Makefile [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 619 May 9 18:43 OWNERS.md [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 9 18:43 README.md [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 18:43 VERSION [2023-05-09T18:45:19.977Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 18:43 bin [2023-05-09T18:45:19.977Z] -rw-r--r-- 1 jenkins jenkins 106148 May 9 18:44 coverage.out [2023-05-09T18:45:19.977Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 18:43 example [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 9 18:43 go.mod [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 9 18:43 go.sum [2023-05-09T18:45:19.977Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 18:43 internal [2023-05-09T18:45:19.977Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 18:43 openapi [2023-05-09T18:45:19.977Z] drwxrwxr-x 6 jenkins jenkins 4096 May 9 18:43 pkg [2023-05-09T18:45:19.977Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 18:43 snap [2023-05-09T18:45:19.977Z] -rw-rw-r-- 1 jenkins jenkins 222 May 9 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:45:20.297Z] + 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=a36e7f683449bd38de57dca9edcc7aa68bbb127d --label arch=amd64 --label version=0.0.0 . [2023-05-09T18:45:20.298Z] Sending build context to Docker daemon 11.25MB [2023-05-09T18:45:20.298Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T18:45:20.298Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-09T18:45:20.298Z] ---> 1cbcfc30e467 [2023-05-09T18:45:20.298Z] Step 3/23 : ARG MAKE=make build [2023-05-09T18:45:20.558Z] ---> Running in a31c29e85ede [2023-05-09T18:45:20.558Z] Removing intermediate container a31c29e85ede [2023-05-09T18:45:20.558Z] ---> 6962dba08bee [2023-05-09T18:45:20.558Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-09T18:45:20.558Z] ---> Running in 84bc5e0fb573 [2023-05-09T18:45:20.558Z] Removing intermediate container 84bc5e0fb573 [2023-05-09T18:45:20.558Z] ---> c3822342c8ec [2023-05-09T18:45:20.558Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-09T18:45:20.558Z] ---> Running in 5402cb0e0d65 [2023-05-09T18:45:20.558Z] Removing intermediate container 5402cb0e0d65 [2023-05-09T18:45:20.558Z] ---> a3980e01622f [2023-05-09T18:45:20.558Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-09T18:45:20.817Z] ---> Running in fd5b24b72f5d [2023-05-09T18:45:20.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T18:45:21.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T18:45:21.077Z] OK: 265 MiB in 53 packages [2023-05-09T18:45:21.645Z] Removing intermediate container fd5b24b72f5d [2023-05-09T18:45:21.645Z] ---> 9f066d7c2c9c [2023-05-09T18:45:21.645Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-09T18:45:21.645Z] ---> ec7e292470a7 [2023-05-09T18:45:21.645Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T18:45:21.645Z] ---> Running in aae7ee0c1b7c [2023-05-09T18:45:22.620Z] Removing intermediate container aae7ee0c1b7c [2023-05-09T18:45:22.620Z] ---> d44d6de36a1a [2023-05-09T18:45:22.620Z] Step 9/23 : COPY . . [2023-05-09T18:45:22.880Z] ---> d9ddc623bd34 [2023-05-09T18:45:22.880Z] Step 10/23 : RUN ${MAKE} [2023-05-09T18:45:22.880Z] ---> Running in a7244e4a3d84 [2023-05-09T18:45:23.139Z] 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-05-09T18:45:41.221Z] Removing intermediate container a7244e4a3d84 [2023-05-09T18:45:41.221Z] ---> 7986623f2976 [2023-05-09T18:45:41.221Z] Step 11/23 : FROM alpine:3.17 [2023-05-09T18:45:41.221Z] 3.17: Pulling from library/alpine [2023-05-09T18:45:41.221Z] f56be85fc22e: Already exists [2023-05-09T18:45:41.221Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T18:45:41.221Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T18:45:41.221Z] ---> 9ed4aefc74f6 [2023-05-09T18:45:41.221Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-09T18:45:41.221Z] ---> Running in d8b83e4ed20a [2023-05-09T18:45:41.480Z] Removing intermediate container d8b83e4ed20a [2023-05-09T18:45:41.480Z] ---> 6b6cd63af055 [2023-05-09T18:45:41.480Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-09T18:45:41.480Z] ---> Running in d94f50748cdd [2023-05-09T18:45:41.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T18:45:41.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T18:45:41.999Z] OK: 7 MiB in 15 packages [2023-05-09T18:45:42.258Z] Removing intermediate container d94f50748cdd [2023-05-09T18:45:42.258Z] ---> 20a08aae6b98 [2023-05-09T18:45:42.258Z] Step 14/23 : WORKDIR / [2023-05-09T18:45:42.258Z] ---> Running in 69633b1eccaa [2023-05-09T18:45:42.258Z] Removing intermediate container 69633b1eccaa [2023-05-09T18:45:42.258Z] ---> 661ad264826c [2023-05-09T18:45:42.258Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-09T18:45:42.258Z] ---> 2a4ed09edfd1 [2023-05-09T18:45:42.258Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-09T18:45:43.195Z] ---> d25fef9a0196 [2023-05-09T18:45:43.195Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-09T18:45:43.195Z] ---> d77c1e81eaa2 [2023-05-09T18:45:43.195Z] Step 18/23 : EXPOSE 59999 [2023-05-09T18:45:43.195Z] ---> Running in d67b600f517c [2023-05-09T18:45:43.454Z] Removing intermediate container d67b600f517c [2023-05-09T18:45:43.454Z] ---> 489f1306f069 [2023-05-09T18:45:43.454Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-09T18:45:43.454Z] ---> Running in 44b7df2b5dc8 [2023-05-09T18:45:43.454Z] Removing intermediate container 44b7df2b5dc8 [2023-05-09T18:45:43.454Z] ---> 11db9733e5c4 [2023-05-09T18:45:43.454Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-09T18:45:43.454Z] ---> Running in 0a820c3c2f88 [2023-05-09T18:45:43.454Z] Removing intermediate container 0a820c3c2f88 [2023-05-09T18:45:43.454Z] ---> b520179dc884 [2023-05-09T18:45:43.454Z] Step 21/23 : LABEL arch=amd64 [2023-05-09T18:45:43.454Z] ---> Running in 7d1ac635ee8f [2023-05-09T18:45:43.713Z] Removing intermediate container 7d1ac635ee8f [2023-05-09T18:45:43.713Z] ---> 6d4523adbc89 [2023-05-09T18:45:43.713Z] Step 22/23 : LABEL git_sha=a36e7f683449bd38de57dca9edcc7aa68bbb127d [2023-05-09T18:45:43.713Z] ---> Running in 48bdc84d23c1 [2023-05-09T18:45:43.713Z] Removing intermediate container 48bdc84d23c1 [2023-05-09T18:45:43.713Z] ---> 853c65d53658 [2023-05-09T18:45:43.713Z] Step 23/23 : LABEL version=0.0.0 [2023-05-09T18:45:43.713Z] ---> Running in f80383170c38 [2023-05-09T18:45:43.713Z] Removing intermediate container f80383170c38 [2023-05-09T18:45:43.713Z] ---> c8dafad4238b [2023-05-09T18:45:43.713Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T18:45:43.713Z] Successfully built c8dafad4238b [2023-05-09T18:45:43.713Z] 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-05-09T18:45:44.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T18:45:44.158Z] [2023-05-09T18:45:44.158Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:45:44.454Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T18:45:44.454Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-09T18:45:44.454Z] 5eb5b503b376: Pulling fs layer [2023-05-09T18:45:44.454Z] 5c69ac0246d0: Pulling fs layer [2023-05-09T18:45:44.454Z] ec43610c2a17: Pulling fs layer [2023-05-09T18:45:44.454Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-09T18:45:44.454Z] 33b1e0a273af: Pulling fs layer [2023-05-09T18:45:44.454Z] 5d3b04190fa2: Pulling fs layer [2023-05-09T18:45:44.454Z] 2f39f015ded8: Pulling fs layer [2023-05-09T18:45:44.454Z] 3a2ae6a8a46f: Waiting [2023-05-09T18:45:44.454Z] 2f39f015ded8: Waiting [2023-05-09T18:45:44.454Z] 5d3b04190fa2: Waiting [2023-05-09T18:45:44.454Z] 5c69ac0246d0: Download complete [2023-05-09T18:45:44.454Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-09T18:45:44.454Z] 3a2ae6a8a46f: Download complete [2023-05-09T18:45:44.714Z] 33b1e0a273af: Verifying Checksum [2023-05-09T18:45:44.714Z] 33b1e0a273af: Download complete [2023-05-09T18:45:44.714Z] 5d3b04190fa2: Verifying Checksum [2023-05-09T18:45:44.714Z] 5d3b04190fa2: Download complete [2023-05-09T18:45:44.714Z] ec43610c2a17: Verifying Checksum [2023-05-09T18:45:44.714Z] ec43610c2a17: Download complete [2023-05-09T18:45:44.972Z] 5eb5b503b376: Verifying Checksum [2023-05-09T18:45:44.972Z] 5eb5b503b376: Download complete [2023-05-09T18:45:45.550Z] 2f39f015ded8: Download complete [2023-05-09T18:45:46.120Z] 5eb5b503b376: Pull complete [2023-05-09T18:45:46.120Z] 5c69ac0246d0: Pull complete [2023-05-09T18:45:46.688Z] ec43610c2a17: Pull complete [2023-05-09T18:45:46.688Z] 3a2ae6a8a46f: Pull complete [2023-05-09T18:45:46.948Z] 33b1e0a273af: Pull complete [2023-05-09T18:45:46.948Z] 5d3b04190fa2: Pull complete [2023-05-09T18:45:51.135Z] 2f39f015ded8: Pull complete [2023-05-09T18:45:51.135Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-09T18:45:51.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T18:45:51.135Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T18:45:51.218Z] prd-ubuntu20.04-docker-8c-8g-14741 does not seem to be running inside a container [2023-05-09T18:45:51.255Z] $ 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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-09T18:45:54.011Z] $ docker top 050b0c36829f2b3604255421134300dba04ebe7462fe4cca50824ce6f99b4a41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T18:45:54.407Z] ---> job-cost.sh [2023-05-09T18:45:54.407Z] lf-activate-venv: SKIPPING [2023-05-09T18:45:54.407Z] INFO: No Stack... [2023-05-09T18:45:54.667Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T18:45:55.236Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T18:45:55.526Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/cost.csv [2023-05-09T18:45:55.526Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T18:45:55.539Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1451-5-stack-cost] [2023-05-09T18:45:55.545Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-5-stack-cost] did not exist. Created. [2023-05-09T18:45:55.545Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1451-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T18:45:55.844Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-09T18:45:55.877Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T18:45:55.883Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T18:45:55.901Z] $ docker stop --time=1 050b0c36829f2b3604255421134300dba04ebe7462fe4cca50824ce6f99b4a41 [2023-05-09T18:45:57.045Z] $ docker rm -f --volumes 050b0c36829f2b3604255421134300dba04ebe7462fe4cca50824ce6f99b4a41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-09T18:47:43.262Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14743 in /w/workspace/gexfoundry_device-sdk-go_PR-1451 [Pipeline] { [Pipeline] ws [2023-05-09T18:47:43.277Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2023-05-09T18:47:43.318Z] The recommended git tool is: git [2023-05-09T18:47:49.567Z] using credential edgex-jenkins-ssh [2023-05-09T18:47:49.583Z] Cloning the remote Git repository [2023-05-09T18:47:49.639Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-09T18:47:49.751Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2023-05-09T18:47:49.913Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-09T18:47:49.914Z] > git --version # timeout=10 [2023-05-09T18:47:49.940Z] > git --version # 'git version 2.25.1' [2023-05-09T18:47:49.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T18:47:50.130Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T18:47:51.851Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-09T18:47:51.881Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T18:47:53.620Z] Merging remotes/origin/main commit d75af8d7736dd893bcb45da5c89d1e2b765d6b8d into PR head commit 555e4e9a16edf2845afb0bbe6dba78455fe7c934 [2023-05-09T18:47:52.889Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-09T18:47:52.942Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-09T18:47:52.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T18:47:52.961Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1451/head:refs/remotes/origin/PR-1451 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-09T18:47:53.646Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T18:47:54.023Z] Merge succeeded, producing aa4886d49c7fc6919b7e20f675aedf53cefe5eaf [2023-05-09T18:47:54.023Z] Checking out Revision aa4886d49c7fc6919b7e20f675aedf53cefe5eaf (PR-1451) [2023-05-09T18:47:53.723Z] > git checkout -f 555e4e9a16edf2845afb0bbe6dba78455fe7c934 # timeout=10 [2023-05-09T18:47:53.840Z] > git remote # timeout=10 [2023-05-09T18:47:53.858Z] > git config --get remote.origin.url # timeout=10 [2023-05-09T18:47:53.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T18:47:53.902Z] > git merge d75af8d7736dd893bcb45da5c89d1e2b765d6b8d # timeout=10 [2023-05-09T18:47:54.009Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-09T18:47:54.037Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T18:47:54.063Z] > git checkout -f aa4886d49c7fc6919b7e20f675aedf53cefe5eaf # timeout=10 [2023-05-09T18:47:57.626Z] Commit message: "Merge commit 'd75af8d7736dd893bcb45da5c89d1e2b765d6b8d' into HEAD" [2023-05-09T18:47:57.655Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T18:47:57.643Z] > git rev-list --no-walk b0b5902b2b3c6bf2e79d0b0bd778b5f874431ff1 # timeout=10 [2023-05-09T18:47:58.520Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-09T18:47:58.520Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T18:47:58.520Z] Dload Upload Total Spent Left Speed [2023-05-09T18:47:58.520Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-05-09T18:47:59.385Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-09T18:47:59.770Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-09T18:47:59.771Z] + sudo tee /etc/docker/daemon.new [2023-05-09T18:47:59.771Z] { [2023-05-09T18:47:59.771Z] "registry-mirrors": [ [2023-05-09T18:47:59.771Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-09T18:47:59.771Z] ], [2023-05-09T18:47:59.771Z] "bip": "10.250.0.254/24", [2023-05-09T18:47:59.771Z] "hosts": [ [2023-05-09T18:47:59.771Z] "tcp://0.0.0.0:5555", [2023-05-09T18:47:59.771Z] "unix:///var/run/docker.sock" [2023-05-09T18:47:59.771Z] ], [2023-05-09T18:47:59.771Z] "mtu": 1458, [2023-05-09T18:47:59.771Z] "selinux-enabled": true, [2023-05-09T18:47:59.771Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-09T18:47:59.771Z] } [Pipeline] sh [2023-05-09T18:48:00.108Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-09T18:48:00.442Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T18:48:18.750Z] provisioning config files... [2023-05-09T18:48:18.784Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config14705169888227306637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T18:48:19.157Z] ---> docker-login.sh [2023-05-09T18:48:19.157Z] nexus3.edgexfoundry.org:10001 [2023-05-09T18:48:19.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:48:19.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:48:19.751Z] Configure a credential helper to remove this warning. See [2023-05-09T18:48:19.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:48:19.751Z] [2023-05-09T18:48:19.751Z] Login Succeeded [2023-05-09T18:48:19.751Z] nexus3.edgexfoundry.org:10002 [2023-05-09T18:48:20.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:48:20.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:48:20.301Z] Configure a credential helper to remove this warning. See [2023-05-09T18:48:20.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:48:20.301Z] [2023-05-09T18:48:20.301Z] Login Succeeded [2023-05-09T18:48:20.301Z] nexus3.edgexfoundry.org:10003 [2023-05-09T18:48:20.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:48:20.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:48:20.572Z] Configure a credential helper to remove this warning. See [2023-05-09T18:48:20.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:48:20.572Z] [2023-05-09T18:48:20.572Z] Login Succeeded [2023-05-09T18:48:20.572Z] nexus3.edgexfoundry.org:10004 [2023-05-09T18:48:20.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:48:21.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:48:21.135Z] Configure a credential helper to remove this warning. See [2023-05-09T18:48:21.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:48:21.135Z] [2023-05-09T18:48:21.135Z] Login Succeeded [2023-05-09T18:48:21.135Z] docker.io [2023-05-09T18:48:21.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T18:48:21.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T18:48:21.678Z] Configure a credential helper to remove this warning. See [2023-05-09T18:48:21.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T18:48:21.678Z] [2023-05-09T18:48:21.678Z] Login Succeeded [2023-05-09T18:48:21.678Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T18:48:21.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T18:48:22.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T18:48:22.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T18:48:22.030Z] ========================================================= [2023-05-09T18:48:22.030Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-09T18:48:22.030Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:48:22.408Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-09T18:48:23.006Z] Sending build context to Docker daemon 6.011MB [2023-05-09T18:48:23.006Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T18:48:23.006Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-09T18:48:23.006Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-09T18:48:23.006Z] c41833b44d91: Pulling fs layer [2023-05-09T18:48:23.006Z] ed15518f5707: Pulling fs layer [2023-05-09T18:48:23.006Z] feae8fd75edb: Pulling fs layer [2023-05-09T18:48:23.006Z] 242c74f7c9fa: Pulling fs layer [2023-05-09T18:48:23.006Z] 3cdef696dda3: Pulling fs layer [2023-05-09T18:48:23.006Z] 2ced38df9373: Pulling fs layer [2023-05-09T18:48:23.006Z] 58f1dce35555: Pulling fs layer [2023-05-09T18:48:23.006Z] 242c74f7c9fa: Waiting [2023-05-09T18:48:23.006Z] 3cdef696dda3: Waiting [2023-05-09T18:48:23.006Z] 2ced38df9373: Waiting [2023-05-09T18:48:23.006Z] 58f1dce35555: Waiting [2023-05-09T18:48:23.006Z] ed15518f5707: Verifying Checksum [2023-05-09T18:48:23.006Z] ed15518f5707: Download complete [2023-05-09T18:48:23.006Z] 242c74f7c9fa: Verifying Checksum [2023-05-09T18:48:23.006Z] 242c74f7c9fa: Download complete [2023-05-09T18:48:23.282Z] c41833b44d91: Verifying Checksum [2023-05-09T18:48:23.282Z] c41833b44d91: Download complete [2023-05-09T18:48:23.282Z] 3cdef696dda3: Verifying Checksum [2023-05-09T18:48:23.282Z] 3cdef696dda3: Download complete [2023-05-09T18:48:24.751Z] 58f1dce35555: Verifying Checksum [2023-05-09T18:48:24.751Z] 58f1dce35555: Download complete [2023-05-09T18:48:25.745Z] feae8fd75edb: Verifying Checksum [2023-05-09T18:48:25.745Z] feae8fd75edb: Download complete [2023-05-09T18:48:25.745Z] 2ced38df9373: Verifying Checksum [2023-05-09T18:48:25.745Z] 2ced38df9373: Download complete [2023-05-09T18:48:26.339Z] c41833b44d91: Pull complete [2023-05-09T18:48:26.611Z] ed15518f5707: Pull complete [2023-05-09T18:48:38.974Z] feae8fd75edb: Pull complete [2023-05-09T18:48:38.974Z] 242c74f7c9fa: Pull complete [2023-05-09T18:48:38.974Z] 3cdef696dda3: Pull complete [2023-05-09T18:48:44.617Z] 2ced38df9373: Pull complete [2023-05-09T18:48:47.227Z] 58f1dce35555: Pull complete [2023-05-09T18:48:47.227Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-09T18:48:47.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-09T18:48:47.227Z] ---> fadd8f120f05 [2023-05-09T18:48:47.227Z] Step 3/10 : ARG MAKE=make build [2023-05-09T18:48:49.180Z] ---> Running in 5deec5bf9915 [2023-05-09T18:48:49.180Z] Removing intermediate container 5deec5bf9915 [2023-05-09T18:48:49.180Z] ---> df717b967a4b [2023-05-09T18:48:49.180Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-09T18:48:49.454Z] ---> Running in 0bba30f7c2b7 [2023-05-09T18:48:49.723Z] Removing intermediate container 0bba30f7c2b7 [2023-05-09T18:48:49.723Z] ---> 7ed6eb67e0b6 [2023-05-09T18:48:49.723Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-09T18:48:49.723Z] ---> Running in 4fe0f945f913 [2023-05-09T18:48:49.991Z] Removing intermediate container 4fe0f945f913 [2023-05-09T18:48:49.991Z] ---> 473598f936d5 [2023-05-09T18:48:49.991Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-09T18:48:50.261Z] ---> Running in d61f829a4227 [2023-05-09T18:48:51.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T18:48:51.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T18:48:53.241Z] OK: 263 MiB in 53 packages [2023-05-09T18:48:53.834Z] Removing intermediate container d61f829a4227 [2023-05-09T18:48:53.834Z] ---> a73d4d48d021 [2023-05-09T18:48:53.834Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-09T18:48:54.426Z] ---> 0b723246d386 [2023-05-09T18:48:54.426Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T18:48:54.426Z] ---> Running in c3c5fd284b26 [2023-05-09T18:50:16.084Z] Removing intermediate container c3c5fd284b26 [2023-05-09T18:50:16.084Z] ---> ce4e07231e83 [2023-05-09T18:50:16.084Z] Step 9/10 : COPY . . [2023-05-09T18:50:16.084Z] ---> e174b88ec344 [2023-05-09T18:50:16.084Z] Step 10/10 : RUN ${MAKE} [2023-05-09T18:50:16.084Z] ---> Running in 36ce8d1f2164 [2023-05-09T18:50:16.084Z] noop [2023-05-09T18:50:16.084Z] Removing intermediate container 36ce8d1f2164 [2023-05-09T18:50:16.084Z] ---> 7cb64b0f5a07 [2023-05-09T18:50:16.084Z] Successfully built 7cb64b0f5a07 [2023-05-09T18:50:16.084Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:50:16.448Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T18:50:16.448Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T18:50:16.676Z] prd-ubuntu20.04-docker-arm64-4c-16g-14743 does not seem to be running inside a container [2023-05-09T18:50:16.756Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-09T18:50:18.003Z] $ docker top a812382cbaeae676744e9f0705fa229c4b506ee65e51d350a83af941c6376c76 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T18:50:18.849Z] + go version [2023-05-09T18:50:18.849Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-09T18:50:18.880Z] $ docker stop --time=1 a812382cbaeae676744e9f0705fa229c4b506ee65e51d350a83af941c6376c76 [2023-05-09T18:50:20.556Z] $ docker rm -f --volumes a812382cbaeae676744e9f0705fa229c4b506ee65e51d350a83af941c6376c76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:50:21.086Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T18:50:21.086Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T18:50:21.274Z] prd-ubuntu20.04-docker-arm64-4c-16g-14743 does not seem to be running inside a container [2023-05-09T18:50:21.353Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-09T18:50:22.562Z] $ docker top d8583bfd764a663c534fcdbe2712496de7d92eae8c031fd79360e2ba32dec846 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T18:50:23.384Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2023-05-09T18:50:24.033Z] + make test [2023-05-09T18:50:24.034Z] go test -race -coverprofile=coverage.out ./... [2023-05-09T18:51:10.891Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-09T18:53:17.613Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-09T18:53:17.613Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-09T18:53:17.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-09T18:53:17.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-09T18:53:17.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-09T18:53:19.034Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.244s coverage: 27.6% of statements [2023-05-09T18:53:25.695Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.294s coverage: 80.2% of statements [2023-05-09T18:53:40.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-09T18:53:40.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-09T18:53:40.719Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.408s coverage: 86.0% of statements [2023-05-09T18:53:47.382Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-09T18:53:47.382Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.510s coverage: 77.5% of statements [2023-05-09T18:53:51.658Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-09T18:53:53.605Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-09T18:53:53.605Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-09T18:53:55.023Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.265s coverage: 14.3% of statements [2023-05-09T18:53:55.023Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.439s coverage: 68.5% of statements [2023-05-09T18:53:58.393Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.469s coverage: 89.2% of statements [2023-05-09T18:53:59.362Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-09T18:53:59.632Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.259s coverage: 5.7% of statements [2023-05-09T18:54:00.601Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-09T18:54:00.601Z] GO111MODULE=on go vet ./... [2023-05-09T18:56:37.759Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T18:56:37.759Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T18:56:37.759Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T18:56:37.782Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T18:56:37.807Z] $ docker stop --time=1 d8583bfd764a663c534fcdbe2712496de7d92eae8c031fd79360e2ba32dec846 [2023-05-09T18:56:39.789Z] $ docker rm -f --volumes d8583bfd764a663c534fcdbe2712496de7d92eae8c031fd79360e2ba32dec846 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T18:56:41.615Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T18:56:41.643Z] Warning: overwriting stash ‘coverage-report’ [2023-05-09T18:56:42.387Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T18:56:42.793Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T18:56:43.122Z] + ls -al . [2023-05-09T18:56:43.122Z] total 268 [2023-05-09T18:56:43.122Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 18:50 . [2023-05-09T18:56:43.122Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 18:47 .. [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 18:47 .dockerignore [2023-05-09T18:56:43.122Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 18:47 .git [2023-05-09T18:56:43.122Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 18:47 .github [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 137 May 9 18:47 .gitignore [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 42 May 9 18:47 .golangci.yml [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 9 18:47 CHANGELOG.md [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 18:47 GOVERNANCE.md [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 885 May 9 18:47 Jenkinsfile [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 9 18:47 LICENSE [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 9 18:47 Makefile [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 619 May 9 18:47 OWNERS.md [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 9 18:47 README.md [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 18:43 VERSION [2023-05-09T18:56:43.122Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 18:47 bin [2023-05-09T18:56:43.122Z] -rw-r--r-- 1 jenkins jenkins 106148 May 9 18:53 coverage.out [2023-05-09T18:56:43.122Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 18:47 example [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 9 18:47 go.mod [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 9 18:47 go.sum [2023-05-09T18:56:43.122Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 18:47 internal [2023-05-09T18:56:43.122Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 18:47 openapi [2023-05-09T18:56:43.122Z] drwxrwxr-x 6 jenkins jenkins 4096 May 9 18:47 pkg [2023-05-09T18:56:43.122Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 18:47 snap [2023-05-09T18:56:43.122Z] -rw-rw-r-- 1 jenkins jenkins 222 May 9 18:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:56:43.476Z] + 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=aa4886d49c7fc6919b7e20f675aedf53cefe5eaf --label arch=arm64 --label version=0.0.0 . [2023-05-09T18:56:44.067Z] Sending build context to Docker daemon 6.118MB [2023-05-09T18:56:44.067Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T18:56:44.067Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-09T18:56:44.067Z] ---> 7cb64b0f5a07 [2023-05-09T18:56:44.067Z] Step 3/23 : ARG MAKE=make build [2023-05-09T18:56:44.067Z] ---> Running in bc094c1daedb [2023-05-09T18:56:44.655Z] Removing intermediate container bc094c1daedb [2023-05-09T18:56:44.655Z] ---> d058505cc06b [2023-05-09T18:56:44.655Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-09T18:56:44.655Z] ---> Running in ee3be1d69c3f [2023-05-09T18:56:44.934Z] Removing intermediate container ee3be1d69c3f [2023-05-09T18:56:44.934Z] ---> 7137ac06f019 [2023-05-09T18:56:44.934Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-09T18:56:44.934Z] ---> Running in 809ee97382db [2023-05-09T18:56:45.520Z] Removing intermediate container 809ee97382db [2023-05-09T18:56:45.520Z] ---> e5a875534a49 [2023-05-09T18:56:45.520Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-09T18:56:45.520Z] ---> Running in 4cd444826cf8 [2023-05-09T18:56:46.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T18:56:47.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T18:56:48.485Z] OK: 263 MiB in 53 packages [2023-05-09T18:56:49.457Z] Removing intermediate container 4cd444826cf8 [2023-05-09T18:56:49.457Z] ---> 5643ecc6bda1 [2023-05-09T18:56:49.457Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-09T18:56:49.735Z] ---> eaa6319ff145 [2023-05-09T18:56:49.736Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T18:56:50.006Z] ---> Running in 5d454dd75589 [2023-05-09T18:56:52.602Z] Removing intermediate container 5d454dd75589 [2023-05-09T18:56:52.602Z] ---> 1db900eb5a4d [2023-05-09T18:56:52.602Z] Step 9/23 : COPY . . [2023-05-09T18:56:54.022Z] ---> 7599972c7fcc [2023-05-09T18:56:54.022Z] Step 10/23 : RUN ${MAKE} [2023-05-09T18:56:54.022Z] ---> Running in 20dd0b0bd1fb [2023-05-09T18:56:54.991Z] 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-05-09T18:59:16.720Z] Removing intermediate container 20dd0b0bd1fb [2023-05-09T18:59:16.720Z] ---> e1b739df2693 [2023-05-09T18:59:16.720Z] Step 11/23 : FROM alpine:3.17 [2023-05-09T18:59:16.720Z] 3.17: Pulling from library/alpine [2023-05-09T18:59:16.720Z] c41833b44d91: Already exists [2023-05-09T18:59:16.720Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T18:59:16.720Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T18:59:16.720Z] ---> 51e60588ff2c [2023-05-09T18:59:16.720Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-09T18:59:16.720Z] ---> Running in eb6b1b5d4da8 [2023-05-09T18:59:16.720Z] Removing intermediate container eb6b1b5d4da8 [2023-05-09T18:59:16.720Z] ---> ea6a17b8b37f [2023-05-09T18:59:16.720Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-09T18:59:16.720Z] ---> Running in c75e76e823c3 [2023-05-09T18:59:16.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T18:59:17.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T18:59:18.724Z] OK: 7 MiB in 15 packages [2023-05-09T18:59:19.312Z] Removing intermediate container c75e76e823c3 [2023-05-09T18:59:19.312Z] ---> 5f169dcc07fb [2023-05-09T18:59:19.312Z] Step 14/23 : WORKDIR / [2023-05-09T18:59:19.312Z] ---> Running in d96b4b6328e2 [2023-05-09T18:59:19.910Z] Removing intermediate container d96b4b6328e2 [2023-05-09T18:59:19.910Z] ---> 218bbdb71596 [2023-05-09T18:59:19.910Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-09T18:59:20.177Z] ---> 8dc8d7017e48 [2023-05-09T18:59:20.177Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-09T18:59:21.589Z] ---> a33ff51d9801 [2023-05-09T18:59:21.589Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-09T18:59:22.181Z] ---> ceba16111935 [2023-05-09T18:59:22.181Z] Step 18/23 : EXPOSE 59999 [2023-05-09T18:59:22.181Z] ---> Running in cda24209a092 [2023-05-09T18:59:22.453Z] Removing intermediate container cda24209a092 [2023-05-09T18:59:22.453Z] ---> 5ff59787b56c [2023-05-09T18:59:22.453Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-09T18:59:22.726Z] ---> Running in 611cfbd9a711 [2023-05-09T18:59:22.996Z] Removing intermediate container 611cfbd9a711 [2023-05-09T18:59:22.996Z] ---> 0e1819e39d4b [2023-05-09T18:59:22.996Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-09T18:59:22.996Z] ---> Running in 8cdf79de4926 [2023-05-09T18:59:23.273Z] Removing intermediate container 8cdf79de4926 [2023-05-09T18:59:23.273Z] ---> dab555bc1727 [2023-05-09T18:59:23.273Z] Step 21/23 : LABEL arch=arm64 [2023-05-09T18:59:23.542Z] ---> Running in 2ddb0dd7a737 [2023-05-09T18:59:23.811Z] Removing intermediate container 2ddb0dd7a737 [2023-05-09T18:59:23.811Z] ---> f73fe0ed2b56 [2023-05-09T18:59:23.811Z] Step 22/23 : LABEL git_sha=aa4886d49c7fc6919b7e20f675aedf53cefe5eaf [2023-05-09T18:59:23.811Z] ---> Running in ca2eeed3e529 [2023-05-09T18:59:24.092Z] Removing intermediate container ca2eeed3e529 [2023-05-09T18:59:24.092Z] ---> ec307cd17e4f [2023-05-09T18:59:24.092Z] Step 23/23 : LABEL version=0.0.0 [2023-05-09T18:59:24.092Z] ---> Running in 82fc7d896915 [2023-05-09T18:59:24.684Z] Removing intermediate container 82fc7d896915 [2023-05-09T18:59:24.684Z] ---> e4afa8f241f9 [2023-05-09T18:59:24.684Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T18:59:24.684Z] Successfully built e4afa8f241f9 [2023-05-09T18:59:24.684Z] 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-05-09T18:59:25.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T18:59:25.105Z] [2023-05-09T18:59:25.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:59:25.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T18:59:25.726Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-09T18:59:25.726Z] 8998bd30e6a1: Pulling fs layer [2023-05-09T18:59:25.726Z] 04944245beec: Pulling fs layer [2023-05-09T18:59:25.726Z] 699f458cf7ca: Pulling fs layer [2023-05-09T18:59:25.726Z] 765212b225bb: Pulling fs layer [2023-05-09T18:59:25.726Z] f23df028b6ca: Pulling fs layer [2023-05-09T18:59:25.726Z] d65c8cfc05b1: Pulling fs layer [2023-05-09T18:59:25.726Z] 2437ff75d9bd: Pulling fs layer [2023-05-09T18:59:25.726Z] f23df028b6ca: Waiting [2023-05-09T18:59:25.726Z] d65c8cfc05b1: Waiting [2023-05-09T18:59:25.726Z] 2437ff75d9bd: Waiting [2023-05-09T18:59:25.726Z] 765212b225bb: Waiting [2023-05-09T18:59:25.726Z] 04944245beec: Verifying Checksum [2023-05-09T18:59:25.726Z] 04944245beec: Download complete [2023-05-09T18:59:25.726Z] 765212b225bb: Verifying Checksum [2023-05-09T18:59:25.726Z] 765212b225bb: Download complete [2023-05-09T18:59:25.726Z] f23df028b6ca: Verifying Checksum [2023-05-09T18:59:25.726Z] f23df028b6ca: Download complete [2023-05-09T18:59:25.726Z] d65c8cfc05b1: Verifying Checksum [2023-05-09T18:59:25.726Z] d65c8cfc05b1: Download complete [2023-05-09T18:59:26.002Z] 699f458cf7ca: Verifying Checksum [2023-05-09T18:59:26.002Z] 699f458cf7ca: Download complete [2023-05-09T18:59:26.272Z] 8998bd30e6a1: Verifying Checksum [2023-05-09T18:59:26.272Z] 8998bd30e6a1: Download complete [2023-05-09T18:59:28.866Z] 2437ff75d9bd: Verifying Checksum [2023-05-09T18:59:28.866Z] 2437ff75d9bd: Download complete [2023-05-09T18:59:30.280Z] 8998bd30e6a1: Pull complete [2023-05-09T18:59:30.548Z] 04944245beec: Pull complete [2023-05-09T18:59:31.968Z] 699f458cf7ca: Pull complete [2023-05-09T18:59:31.968Z] 765212b225bb: Pull complete [2023-05-09T18:59:32.937Z] f23df028b6ca: Pull complete [2023-05-09T18:59:33.205Z] d65c8cfc05b1: Pull complete [2023-05-09T18:59:45.532Z] 2437ff75d9bd: Pull complete [2023-05-09T18:59:45.532Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-09T18:59:45.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T18:59:45.532Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T18:59:45.737Z] prd-ubuntu20.04-docker-arm64-4c-16g-14743 does not seem to be running inside a container [2023-05-09T18:59:45.819Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-09T18:59:48.505Z] $ docker top 2e4b02d08a1a0ed0367c4c5295eb89ce81fd50d87d4ae8ca392294fe7be532f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T18:59:49.344Z] ---> job-cost.sh [2023-05-09T18:59:49.344Z] lf-activate-venv: SKIPPING [2023-05-09T18:59:49.344Z] INFO: No Stack... [2023-05-09T18:59:49.931Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-09T18:59:50.520Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T18:59:51.171Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2023-05-09T18:59:51.171Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T18:59:51.245Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1451-5-stack-cost] [2023-05-09T18:59:51.255Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-5-stack-cost] did not exist. Created. [2023-05-09T18:59:51.255Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1451-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T18:59:51.926Z] /w/workspace/device-sdk-go/5@tmp/durable-067ecfd2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-09T18:59:52.592Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-09T18:59:52.615Z] Warning: overwriting stash ‘stack-cost’ [2023-05-09T18:59:52.681Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T18:59:52.691Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T18:59:52.719Z] $ docker stop --time=1 2e4b02d08a1a0ed0367c4c5295eb89ce81fd50d87d4ae8ca392294fe7be532f7 [2023-05-09T18:59:54.206Z] $ docker rm -f --volumes 2e4b02d08a1a0ed0367c4c5295eb89ce81fd50d87d4ae8ca392294fe7be532f7 [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-05-09T18:59:54.602Z] provisioning config files... [2023-05-09T18:59:54.610Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config13207635651639010378tmp [Pipeline] { [Pipeline] sh [2023-05-09T18:59:54.897Z] + set +x [2023-05-09T18:59:54.898Z] + curl -s https://codecov.io/bash [2023-05-09T18:59:54.898Z] + bash -s -- [2023-05-09T18:59:54.898Z] [2023-05-09T18:59:54.898Z] _____ _ [2023-05-09T18:59:54.898Z] / ____| | | [2023-05-09T18:59:54.898Z] | | ___ __| | ___ ___ _____ __ [2023-05-09T18:59:54.898Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-09T18:59:54.898Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-09T18:59:54.898Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-09T18:59:54.898Z] Bash-1.0.6 [2023-05-09T18:59:54.898Z] [2023-05-09T18:59:54.898Z] [2023-05-09T18:59:54.898Z] ==> git version 2.25.1 found [2023-05-09T18:59:54.898Z] ==> 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-05-09T18:59:54.898Z] Release-Date: 2020-01-08 [2023-05-09T18:59:54.898Z] 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-05-09T18:59:54.898Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-09T18:59:54.898Z] ==> Jenkins CI detected. [2023-05-09T18:59:54.898Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1451 [2023-05-09T18:59:54.898Z] project root: . [2023-05-09T18:59:54.898Z] --> token set from env [2023-05-09T18:59:54.898Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-09T18:59:54.898Z] ==> Running gcov in . (disable via -X gcov) [2023-05-09T18:59:54.898Z] ==> Python coveragepy not found [2023-05-09T18:59:54.898Z] ==> Searching for coverage reports in: [2023-05-09T18:59:54.898Z] + . [2023-05-09T18:59:55.156Z] -> Found 1 reports [2023-05-09T18:59:55.156Z] ==> Detecting git/mercurial file structure [2023-05-09T18:59:55.156Z] ==> Reading reports [2023-05-09T18:59:55.156Z] + ./coverage.out bytes=106148 [2023-05-09T18:59:55.156Z] ==> Appending adjustments [2023-05-09T18:59:55.156Z] https://docs.codecov.io/docs/fixing-reports [2023-05-09T18:59:55.416Z] + Found adjustments [2023-05-09T18:59:55.416Z] ==> Gzipping contents [2023-05-09T18:59:55.416Z] 16K /tmp/codecov.1tlx3I.gz [2023-05-09T18:59:55.416Z] ==> Uploading reports [2023-05-09T18:59:55.416Z] url: https://codecov.io [2023-05-09T18:59:55.416Z] query: branch=PR-1451&commit=a36e7f683449bd38de57dca9edcc7aa68bbb127d&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1451%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1451&job=&cmd_args= [2023-05-09T18:59:55.416Z] -> Pinging Codecov [2023-05-09T18:59:55.416Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1451&commit=a36e7f683449bd38de57dca9edcc7aa68bbb127d&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1451%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1451&job=&cmd_args= [2023-05-09T18:59:55.416Z] -> Uploading to [2023-05-09T18:59:55.416Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-09/7E55EF52A471D76F132DFD9A03CDDE97/a36e7f683449bd38de57dca9edcc7aa68bbb127d/b14e28b2-1d5c-4f1c-90f3-ea730dd3ee32.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T185955Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7ebec508a932369438e60401376bc0aa5fe977852bf8ecfed9c1cb733f0eea94 [2023-05-09T18:59:55.416Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T18:59:55.416Z] Dload Upload Total Spent Left Speed [2023-05-09T18:59:55.675Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15171 0 0 100 15171 0 75855 --:--:-- --:--:-- --:--:-- 75855 [2023-05-09T18:59:55.675Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a36e7f683449bd38de57dca9edcc7aa68bbb127d [Pipeline] } [2023-05-09T18:59:55.683Z] 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-05-09T18:59:56.389Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives ] [2023-05-09T18:59:56.389Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-09T18:59:56.389Z] total 16 [2023-05-09T18:59:56.389Z] drwxr-xr-x 3 root root 4096 May 9 18:45 . [2023-05-09T18:59:56.389Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 18:45 .. [2023-05-09T18:59:56.389Z] drwxr-xr-x 2 root root 4096 May 9 18:45 cost [2023-05-09T18:59:56.389Z] -rw-r--r-- 1 root root 86 May 9 18:45 cost.csv [2023-05-09T18:59:56.389Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-09T18:59:56.389Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-09T18:59:56.389Z] total 16 [2023-05-09T18:59:56.389Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 18:45 . [2023-05-09T18:59:56.389Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 18:45 .. [2023-05-09T18:59:56.389Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 18:45 cost [2023-05-09T18:59:56.389Z] -rw-r--r-- 1 jenkins jenkins 86 May 9 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-09T18:59:56.678Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T18:59:57.534Z] ---> package-listing.sh [2023-05-09T18:59:57.534Z] ++ facter osfamily [2023-05-09T18:59:57.535Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-09T18:59:57.793Z] + OS_FAMILY=debian [2023-05-09T18:59:57.793Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1451 [2023-05-09T18:59:57.793Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-09T18:59:57.793Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-09T18:59:57.793Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-09T18:59:57.793Z] + PACKAGES=/tmp/packages_start.txt [2023-05-09T18:59:57.793Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1451 ']' [2023-05-09T18:59:57.793Z] + PACKAGES=/tmp/packages_end.txt [2023-05-09T18:59:57.793Z] + case "${OS_FAMILY}" in [2023-05-09T18:59:57.793Z] + dpkg -l [2023-05-09T18:59:57.793Z] + grep '^ii' [2023-05-09T18:59:57.793Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-09T18:59:57.793Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-09T18:59:57.793Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-09T18:59:57.793Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1451 ']' [2023-05-09T18:59:57.793Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/ [2023-05-09T18:59:57.793Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/ [Pipeline] echo [2023-05-09T18:59:57.803Z] 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-1451/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-09T18:59:58.078Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T18:59:58.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T18:59:58.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T18:59:58.699Z] prd-ubuntu20.04-docker-8c-8g-14741 does not seem to be running inside a container [2023-05-09T18:59:58.728Z] $ 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-1451/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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@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-05-09T18:59:58.920Z] $ docker top de5cba14652a23fd87034e928e9d6963efbe1f9b90ad5d90bd35b3ff799ea4e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T18:59:59.256Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-09T18:59:59.543Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-09T18:59:59.829Z] + ls /var/log/sa-host [2023-05-09T18:59:59.829Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T18:59:59.895Z] provisioning config files... [2023-05-09T18:59:59.903Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config12214395492246587331tmp [Pipeline] { [Pipeline] echo [2023-05-09T18:59:59.919Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:00:00.202Z] ---> create-netrc.sh [Pipeline] } [2023-05-09T19:00:00.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:00:00.539Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-09T19:00:00.548Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:00:00.832Z] ---> sudo-logs.sh [2023-05-09T19:00:00.832Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-09T19:00:00.866Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:00:01.149Z] ---> job-cost.sh [2023-05-09T19:00:01.149Z] lf-activate-venv: SKIPPING [2023-05-09T19:00:01.149Z] DEBUG: total: 0.2199999988079071 [2023-05-09T19:00:01.149Z] INFO: Retrieving Stack Cost... [2023-05-09T19:00:01.408Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T19:00:01.989Z] INFO: Archiving Costs [Pipeline] echo [2023-05-09T19:00:01.998Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T19:00:02.282Z] ---> logs-deploy.sh [2023-05-09T19:00:02.282Z] lf-activate-venv: SKIPPING [2023-05-09T19:00:02.282Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1451/5 [2023-05-09T19:00:02.282Z] INFO: archiving workspace using pattern(s): [2023-05-09T19:00:03.303Z] Archives upload complete. [2023-05-09T19:00:03.303Z] INFO: archiving logs to Nexus