Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7951b8c72b787c8c13599feadf581ebd8b475afa+c4c7375013d1152251e98051bf37b0c1fd0193e8 (91ea240647097453dac8c25d8012c97b7e38d297) 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-ssh4077100745258901639.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh17150798869540580159.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9709182770552946205.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4464922038644158685.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh2938410179526129472.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7678411480331585915.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-191’ Running on prd-ubuntu20.04-docker-8c-8g-193 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [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-1144 # 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 Merging remotes/origin/main commit c4c7375013d1152251e98051bf37b0c1fd0193e8 into PR head commit 7951b8c72b787c8c13599feadf581ebd8b475afa Merge succeeded, producing 7960e48a4aa37915ea5148864f47d37aed19320f Checking out Revision 7960e48a4aa37915ea5148864f47d37aed19320f (PR-1144) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7951b8c72b787c8c13599feadf581ebd8b475afa # 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 c4c7375013d1152251e98051bf37b0c1fd0193e8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7960e48a4aa37915ea5148864f47d37aed19320f # timeout=10 Commit message: "Merge commit 'c4c7375013d1152251e98051bf37b0c1fd0193e8' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-26T22:43:10.345Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-26T22:43:10.390Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-26T22:43:10.404Z] ========================================================= [2022-05-26T22:43:10.404Z] EdgeX Global Pipelines Version Info [2022-05-26T22:43:10.404Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b6e26fa9ecf16ea5494d9bb28f3e8fdad2338724 # timeout=10 [2022-05-26T22:43:11.181Z] ------------------- [2022-05-26T22:43:11.181Z] stable info: [2022-05-26T22:43:11.181Z] ------------------- [2022-05-26T22:43:11.181Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-26T22:43:11.181Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-26T22:43:11.181Z] Message: update stable to v1.0.230 [2022-05-26T22:43:11.754Z] ------------------- [2022-05-26T22:43:11.754Z] experimental info: [2022-05-26T22:43:11.754Z] ------------------- [2022-05-26T22:43:11.754Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-26T22:43:11.754Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-26T22:43:11.754Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-26T22:43:11.966Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-26T22:43:11.979Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-26T22:43:11.989Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-26T22:43:12.000Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-26T22:43:12.012Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-26T22:43:12.023Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-26T22:43:12.035Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-26T22:43:12.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-26T22:43:12.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-26T22:43:12.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-26T22:43:12.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-26T22:43:12.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-26T22:43:12.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-26T22:43:12.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-26T22:43:12.129Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-26T22:43:12.141Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-26T22:43:12.154Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-26T22:43:12.165Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-26T22:43:12.176Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-26T22:43:12.187Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-26T22:43:12.199Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-26T22:43:12.210Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-26T22:43:12.224Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-26T22:43:12.236Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-26T22:43:12.247Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-26T22:43:12.259Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-26T22:43:12.270Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo [2022-05-26T22:43:12.281Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo [2022-05-26T22:43:12.293Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo [2022-05-26T22:43:12.304Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7960e48a4aa37915ea5148864f47d37aed19320f [Pipeline] echo [2022-05-26T22:43:12.316Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7960e48 [Pipeline] echo [2022-05-26T22:43:12.327Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-26T22:43:12.363Z] provisioning config files... [2022-05-26T22:43:12.376Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config8655317686441426366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-26T22:43:12.680Z] ---> docker-login.sh [2022-05-26T22:43:12.680Z] nexus3.edgexfoundry.org:10001 [2022-05-26T22:43:12.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:43:12.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:43:12.945Z] Configure a credential helper to remove this warning. See [2022-05-26T22:43:12.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:43:12.945Z] [2022-05-26T22:43:12.945Z] Login Succeeded [2022-05-26T22:43:12.945Z] nexus3.edgexfoundry.org:10002 [2022-05-26T22:43:13.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:43:13.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:43:13.208Z] Configure a credential helper to remove this warning. See [2022-05-26T22:43:13.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:43:13.208Z] [2022-05-26T22:43:13.208Z] Login Succeeded [2022-05-26T22:43:13.208Z] nexus3.edgexfoundry.org:10003 [2022-05-26T22:43:13.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:43:13.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:43:13.469Z] Configure a credential helper to remove this warning. See [2022-05-26T22:43:13.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:43:13.469Z] [2022-05-26T22:43:13.469Z] Login Succeeded [2022-05-26T22:43:13.469Z] nexus3.edgexfoundry.org:10004 [2022-05-26T22:43:13.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:43:13.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:43:13.469Z] Configure a credential helper to remove this warning. See [2022-05-26T22:43:13.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:43:13.469Z] [2022-05-26T22:43:13.469Z] Login Succeeded [2022-05-26T22:43:13.469Z] docker.io [2022-05-26T22:43:13.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:43:13.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:43:13.993Z] Configure a credential helper to remove this warning. See [2022-05-26T22:43:13.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:43:13.993Z] [2022-05-26T22:43:13.993Z] Login Succeeded [2022-05-26T22:43:13.993Z] ---> docker-login.sh ends [Pipeline] } [2022-05-26T22:43:14.002Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-26T22:43:14.386Z] + git rev-list -1 --merges 7960e48a4aa37915ea5148864f47d37aed19320f~1..7960e48a4aa37915ea5148864f47d37aed19320f [Pipeline] echo [2022-05-26T22:43:14.420Z] -----------> git rev-list -1 --merges 7960e48a4aa37915ea5148864f47d37aed19320f~1..7960e48a4aa37915ea5148864f47d37aed19320f 7960e48a4aa37915ea5148864f47d37aed19320f [2022-05-26T22:43:14.420Z] 7960e48a4aa37915ea5148864f47d37aed19320f [false] [Pipeline] sh [2022-05-26T22:43:14.711Z] + git log --format=format:%s -1 7960e48a4aa37915ea5148864f47d37aed19320f [Pipeline] echo [2022-05-26T22:43:14.726Z] ========================================================= [2022-05-26T22:43:14.726Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-26T22:43:14.726Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-26T22:43:15.062Z] + git log --format=format:%s -1 7960e48a4aa37915ea5148864f47d37aed19320f [Pipeline] echo [2022-05-26T22:43:15.073Z] [semverPrep] GIT_COMMIT: 7960e48a4aa37915ea5148864f47d37aed19320f, Commit Message: Merge commit 'c4c7375013d1152251e98051bf37b0c1fd0193e8' into HEAD [Pipeline] echo [2022-05-26T22:43:15.084Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-26T22:43:15.428Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-26T22:43:15.428Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-26T22:43:15.428Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-26T22:43:15.428Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-26T22:43:15.428Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-26T22:43:15.428Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-26T22:43:15.428Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T22:43:15.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-26T22:43:15.786Z] [2022-05-26T22:43:15.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T22:43:16.092Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-26T22:43:16.092Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-26T22:43:16.092Z] 1fe172e4850f: Pulling fs layer [2022-05-26T22:43:16.092Z] caf521ccaac6: Pulling fs layer [2022-05-26T22:43:16.092Z] 3ead6fa29328: Pulling fs layer [2022-05-26T22:43:16.092Z] 5c2a1cbceb83: Pulling fs layer [2022-05-26T22:43:16.092Z] a8d5f1318db7: Pulling fs layer [2022-05-26T22:43:16.092Z] c427282e49a2: Pulling fs layer [2022-05-26T22:43:16.092Z] 1827001aaf11: Pulling fs layer [2022-05-26T22:43:16.092Z] 0714d37db230: Pulling fs layer [2022-05-26T22:43:16.092Z] ac28cf19c067: Pulling fs layer [2022-05-26T22:43:16.092Z] ca983d60f3e2: Pulling fs layer [2022-05-26T22:43:16.092Z] 9f894cec8388: Pulling fs layer [2022-05-26T22:43:16.092Z] 1827001aaf11: Waiting [2022-05-26T22:43:16.092Z] 0714d37db230: Waiting [2022-05-26T22:43:16.092Z] ac28cf19c067: Waiting [2022-05-26T22:43:16.092Z] ca983d60f3e2: Waiting [2022-05-26T22:43:16.092Z] 9f894cec8388: Waiting [2022-05-26T22:43:16.092Z] 5c2a1cbceb83: Waiting [2022-05-26T22:43:16.092Z] a8d5f1318db7: Waiting [2022-05-26T22:43:16.092Z] c427282e49a2: Waiting [2022-05-26T22:43:16.092Z] caf521ccaac6: Download complete [2022-05-26T22:43:16.092Z] 5c2a1cbceb83: Verifying Checksum [2022-05-26T22:43:16.092Z] 5c2a1cbceb83: Download complete [2022-05-26T22:43:16.092Z] a8d5f1318db7: Verifying Checksum [2022-05-26T22:43:16.092Z] a8d5f1318db7: Download complete [2022-05-26T22:43:16.092Z] 3ead6fa29328: Verifying Checksum [2022-05-26T22:43:16.092Z] 3ead6fa29328: Download complete [2022-05-26T22:43:16.354Z] c427282e49a2: Verifying Checksum [2022-05-26T22:43:16.354Z] c427282e49a2: Download complete [2022-05-26T22:43:16.354Z] 0714d37db230: Download complete [2022-05-26T22:43:16.354Z] ac28cf19c067: Verifying Checksum [2022-05-26T22:43:16.354Z] ac28cf19c067: Download complete [2022-05-26T22:43:16.354Z] ca983d60f3e2: Download complete [2022-05-26T22:43:16.354Z] 9f894cec8388: Verifying Checksum [2022-05-26T22:43:16.354Z] 9f894cec8388: Download complete [2022-05-26T22:43:16.354Z] 1fe172e4850f: Verifying Checksum [2022-05-26T22:43:16.354Z] 1fe172e4850f: Download complete [2022-05-26T22:43:16.614Z] 1827001aaf11: Verifying Checksum [2022-05-26T22:43:16.614Z] 1827001aaf11: Download complete [2022-05-26T22:43:17.551Z] 1fe172e4850f: Pull complete [2022-05-26T22:43:17.551Z] caf521ccaac6: Pull complete [2022-05-26T22:43:18.124Z] 3ead6fa29328: Pull complete [2022-05-26T22:43:18.124Z] 5c2a1cbceb83: Pull complete [2022-05-26T22:43:18.385Z] a8d5f1318db7: Pull complete [2022-05-26T22:43:18.644Z] c427282e49a2: Pull complete [2022-05-26T22:43:20.556Z] 1827001aaf11: Pull complete [2022-05-26T22:43:20.556Z] 0714d37db230: Pull complete [2022-05-26T22:43:20.819Z] ac28cf19c067: Pull complete [2022-05-26T22:43:20.819Z] ca983d60f3e2: Pull complete [2022-05-26T22:43:20.819Z] 9f894cec8388: Pull complete [2022-05-26T22:43:20.819Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-26T22:43:20.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-26T22:43:20.819Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T22:43:20.934Z] prd-ubuntu20.04-docker-8c-8g-193 does not seem to be running inside a container [2022-05-26T22:43:20.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-26T22:43:22.422Z] $ docker top 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 -eo pid,comm [2022-05-26T22:43:22.483Z] 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). [2022-05-26T22:43:22.483Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-26T22:43:22.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-26T22:43:22.518Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-26T22:43:22.642Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-26T22:43:22.651Z] $ docker exec 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 ssh-agent [2022-05-26T22:43:22.776Z] SSH_AUTH_SOCK=/tmp/ssh-KCsp2nSjSXB0/agent.32 [2022-05-26T22:43:22.776Z] SSH_AGENT_PID=38 [2022-05-26T22:43:22.782Z] Running ssh-add (command line suppressed) [2022-05-26T22:43:22.909Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_7355852080296735679.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_7355852080296735679.key) [2022-05-26T22:43:22.919Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-26T22:43:23.209Z] + git tag --points-at HEAD [Pipeline] } [2022-05-26T22:43:23.236Z] $ docker exec --env ******** --env ******** 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 ssh-agent -k [2022-05-26T22:43:23.358Z] unset SSH_AUTH_SOCK; [2022-05-26T22:43:23.359Z] unset SSH_AGENT_PID; [2022-05-26T22:43:23.360Z] echo Agent pid 38 killed; [2022-05-26T22:43:23.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-26T22:43:23.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-26T22:43:23.389Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-26T22:43:23.514Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-26T22:43:23.523Z] $ docker exec 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 ssh-agent [2022-05-26T22:43:23.645Z] SSH_AUTH_SOCK=/tmp/ssh-2UZ2DsCHregw/agent.72 [2022-05-26T22:43:23.645Z] SSH_AGENT_PID=78 [2022-05-26T22:43:23.651Z] Running ssh-add (command line suppressed) [2022-05-26T22:43:23.777Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_1862869606061727670.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_1862869606061727670.key) [2022-05-26T22:43:23.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-26T22:43:24.082Z] + git semver init [2022-05-26T22:43:24.343Z] 2022-05-26 22:43:24,324 [run_init] DEBUG init version:0.0.0 force:False [2022-05-26T22:43:24.343Z] 2022-05-26 22:43:24,324 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [2022-05-26T22:43:24.343Z] 2022-05-26 22:43:24,325 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [2022-05-26T22:43:24.343Z] 2022-05-26 22:43:24,325 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144, universal_newlines=False, shell=None, istream=None) [2022-05-26T22:43:25.287Z] 2022-05-26 22:43:25,071 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.git/info/exclude [2022-05-26T22:43:25.287Z] 2022-05-26 22:43:25,072 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 with force:False [2022-05-26T22:43:25.287Z] 2022-05-26 22:43:25,072 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 [2022-05-26T22:43:25.287Z] 2022-05-26 22:43:25,077 [execute] INFO git cat-file --batch-check [2022-05-26T22:43:25.287Z] 2022-05-26 22:43:25,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) [2022-05-26T22:43:25.287Z] 2022-05-26 22:43:25,084 [execute] INFO git cat-file --batch [2022-05-26T22:43:25.287Z] 2022-05-26 22:43:25,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) [2022-05-26T22:43:25.287Z] 2022-05-26 22:43:25,091 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 [2022-05-26T22:43:25.287Z] 0.0.0 [Pipeline] } [2022-05-26T22:43:25.304Z] $ docker exec --env ******** --env ******** 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 ssh-agent -k [2022-05-26T22:43:25.420Z] unset SSH_AUTH_SOCK; [2022-05-26T22:43:25.420Z] unset SSH_AGENT_PID; [2022-05-26T22:43:25.420Z] echo Agent pid 78 killed; [2022-05-26T22:43:25.430Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-26T22:43:25.734Z] + git semver [Pipeline] } [2022-05-26T22:43:26.013Z] $ docker stop --time=1 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 [2022-05-26T22:43:27.340Z] $ docker rm -f 82e67d50f0aa65f6909c13037d0269404f58a1f0f089ec5ab1ac1f1aa9fb47b7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-26T22:43:27.692Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-26T22:43:27.956Z] Stashed 1 file(s) [Pipeline] echo [2022-05-26T22:43:27.958Z] [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 [2022-05-26T22:43:28.072Z] provisioning config files... [2022-05-26T22:43:28.083Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config7173859471404383888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-26T22:43:28.382Z] ---> docker-login.sh [2022-05-26T22:43:28.382Z] nexus3.edgexfoundry.org:10001 [2022-05-26T22:43:28.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:43:28.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:43:28.382Z] Configure a credential helper to remove this warning. See [2022-05-26T22:43:28.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:43:28.382Z] [2022-05-26T22:43:28.382Z] Login Succeeded [2022-05-26T22:43:28.382Z] nexus3.edgexfoundry.org:10002 [2022-05-26T22:43:28.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:43:28.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:43:28.644Z] Configure a credential helper to remove this warning. See [2022-05-26T22:43:28.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:43:28.644Z] [2022-05-26T22:43:28.644Z] Login Succeeded [2022-05-26T22:43:28.644Z] nexus3.edgexfoundry.org:10003 [2022-05-26T22:43:28.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:43:28.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:43:28.644Z] Configure a credential helper to remove this warning. See [2022-05-26T22:43:28.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:43:28.644Z] [2022-05-26T22:43:28.644Z] Login Succeeded [2022-05-26T22:43:28.644Z] nexus3.edgexfoundry.org:10004 [2022-05-26T22:43:28.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:43:28.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:43:28.905Z] Configure a credential helper to remove this warning. See [2022-05-26T22:43:28.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:43:28.905Z] [2022-05-26T22:43:28.905Z] Login Succeeded [2022-05-26T22:43:28.905Z] docker.io [2022-05-26T22:43:28.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:43:29.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:43:29.167Z] Configure a credential helper to remove this warning. See [2022-05-26T22:43:29.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:43:29.167Z] [2022-05-26T22:43:29.167Z] Login Succeeded [2022-05-26T22:43:29.167Z] ---> docker-login.sh ends [Pipeline] } [2022-05-26T22:43:29.175Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-26T22:43:29.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-26T22:43:29.246Z] ========================================================= [2022-05-26T22:43:29.246Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-26T22:43:29.246Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T22:43:29.569Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-26T22:43:29.569Z] Sending build context to Docker daemon 9.632MB [2022-05-26T22:43:29.569Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-26T22:43:29.569Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-26T22:43:29.569Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-26T22:43:29.569Z] 59bf1c3509f3: Pulling fs layer [2022-05-26T22:43:29.569Z] 666ba61612fd: Pulling fs layer [2022-05-26T22:43:29.569Z] 8ed8ca486205: Pulling fs layer [2022-05-26T22:43:29.569Z] 4fe6c5a15a65: Pulling fs layer [2022-05-26T22:43:29.569Z] 22a0e8bec74d: Pulling fs layer [2022-05-26T22:43:29.569Z] ca2b28591e48: Pulling fs layer [2022-05-26T22:43:29.569Z] a51346096db8: Pulling fs layer [2022-05-26T22:43:29.569Z] daebc70d1ce1: Pulling fs layer [2022-05-26T22:43:29.569Z] 0e18a0eac166: Pulling fs layer [2022-05-26T22:43:29.569Z] 4fe6c5a15a65: Waiting [2022-05-26T22:43:29.569Z] 22a0e8bec74d: Waiting [2022-05-26T22:43:29.569Z] ca2b28591e48: Waiting [2022-05-26T22:43:29.569Z] a51346096db8: Waiting [2022-05-26T22:43:29.569Z] daebc70d1ce1: Waiting [2022-05-26T22:43:29.569Z] 0e18a0eac166: Waiting [2022-05-26T22:43:29.569Z] 8ed8ca486205: Verifying Checksum [2022-05-26T22:43:29.569Z] 8ed8ca486205: Download complete [2022-05-26T22:43:29.569Z] 666ba61612fd: Download complete [2022-05-26T22:43:29.830Z] 22a0e8bec74d: Verifying Checksum [2022-05-26T22:43:29.830Z] 22a0e8bec74d: Download complete [2022-05-26T22:43:29.830Z] ca2b28591e48: Download complete [2022-05-26T22:43:29.830Z] 59bf1c3509f3: Verifying Checksum [2022-05-26T22:43:29.830Z] a51346096db8: Verifying Checksum [2022-05-26T22:43:29.830Z] a51346096db8: Download complete [2022-05-26T22:43:29.830Z] daebc70d1ce1: Verifying Checksum [2022-05-26T22:43:29.830Z] daebc70d1ce1: Download complete [2022-05-26T22:43:29.830Z] 59bf1c3509f3: Pull complete [2022-05-26T22:43:30.091Z] 666ba61612fd: Pull complete [2022-05-26T22:43:30.091Z] 8ed8ca486205: Pull complete [2022-05-26T22:43:30.351Z] 0e18a0eac166: Verifying Checksum [2022-05-26T22:43:30.351Z] 0e18a0eac166: Download complete [2022-05-26T22:43:30.612Z] 4fe6c5a15a65: Verifying Checksum [2022-05-26T22:43:30.612Z] 4fe6c5a15a65: Download complete [2022-05-26T22:43:34.810Z] 4fe6c5a15a65: Pull complete [2022-05-26T22:43:34.810Z] 22a0e8bec74d: Pull complete [2022-05-26T22:43:34.810Z] ca2b28591e48: Pull complete [2022-05-26T22:43:34.810Z] a51346096db8: Pull complete [2022-05-26T22:43:34.810Z] daebc70d1ce1: Pull complete [2022-05-26T22:43:36.718Z] 0e18a0eac166: Pull complete [2022-05-26T22:43:36.718Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-26T22:43:36.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-26T22:43:36.718Z] ---> f018257e8ee9 [2022-05-26T22:43:36.718Z] Step 3/11 : ARG MAKE=make build [2022-05-26T22:43:38.101Z] ---> Running in 7bb681db5252 [2022-05-26T22:43:38.101Z] Removing intermediate container 7bb681db5252 [2022-05-26T22:43:38.101Z] ---> 3f61e4b2d6f6 [2022-05-26T22:43:38.101Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-26T22:43:38.370Z] ---> Running in 496fc20f32f5 [2022-05-26T22:43:38.370Z] Removing intermediate container 496fc20f32f5 [2022-05-26T22:43:38.370Z] ---> 043ca014913b [2022-05-26T22:43:38.370Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-26T22:43:38.370Z] ---> Running in 8ce573b9c52f [2022-05-26T22:43:38.370Z] Removing intermediate container 8ce573b9c52f [2022-05-26T22:43:38.370Z] ---> c1dfceccf53c [2022-05-26T22:43:38.370Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-26T22:43:38.634Z] ---> Running in a19fa2485dec [2022-05-26T22:43:39.202Z] Removing intermediate container a19fa2485dec [2022-05-26T22:43:39.202Z] ---> 541948c1ae25 [2022-05-26T22:43:39.202Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-26T22:43:39.202Z] ---> Running in 6fdf0bbb12cc [2022-05-26T22:43:39.462Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-26T22:43:40.404Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-26T22:43:40.404Z] OK: 221 MiB in 52 packages [2022-05-26T22:43:40.975Z] Removing intermediate container 6fdf0bbb12cc [2022-05-26T22:43:40.975Z] ---> 9d7e28b0d16d [2022-05-26T22:43:40.975Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-26T22:43:40.975Z] ---> 414db81aa670 [2022-05-26T22:43:40.975Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-26T22:43:40.975Z] ---> Running in 77247d7f1f4c [2022-05-26T22:43:43.040Z] Still waiting to schedule task [2022-05-26T22:43:43.040Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-192’ [2022-05-26T22:43:55.886Z] Removing intermediate container 77247d7f1f4c [2022-05-26T22:43:55.886Z] ---> 1389d893dc13 [2022-05-26T22:43:55.886Z] Step 10/11 : COPY . . [2022-05-26T22:43:55.886Z] ---> d0646901739c [2022-05-26T22:43:55.886Z] Step 11/11 : RUN ${MAKE} [2022-05-26T22:43:55.886Z] ---> Running in 96211c27aa70 [2022-05-26T22:43:55.886Z] noop [2022-05-26T22:43:56.146Z] Removing intermediate container 96211c27aa70 [2022-05-26T22:43:56.146Z] ---> 8792f21ab3f7 [2022-05-26T22:43:56.146Z] Successfully built 8792f21ab3f7 [2022-05-26T22:43:56.146Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T22:43:56.463Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-26T22:43:56.464Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T22:43:56.543Z] prd-ubuntu20.04-docker-8c-8g-193 does not seem to be running inside a container [2022-05-26T22:43:56.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-26T22:43:57.004Z] $ docker top bc413e4be71022e1d16b7b981705bbc3d33a153dc7e07afeb4790a6a1f51b868 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-26T22:43:57.370Z] + go version [2022-05-26T22:43:57.370Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-26T22:43:57.387Z] $ docker stop --time=1 bc413e4be71022e1d16b7b981705bbc3d33a153dc7e07afeb4790a6a1f51b868 [2022-05-26T22:43:58.661Z] $ docker rm -f bc413e4be71022e1d16b7b981705bbc3d33a153dc7e07afeb4790a6a1f51b868 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T22:43:59.075Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-26T22:43:59.076Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T22:43:59.183Z] prd-ubuntu20.04-docker-8c-8g-193 does not seem to be running inside a container [2022-05-26T22:43:59.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-26T22:43:59.829Z] $ docker top d6c964318020c8430176bcca42dead1cea27000633e7a6b53e5711010c6bfb93 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-26T22:44:00.225Z] + make test [2022-05-26T22:44:00.225Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-26T22:44:05.548Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-26T22:44:17.765Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-26T22:44:17.765Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-26T22:44:17.765Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-26T22:44:17.765Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.067s coverage: 23.3% of statements [2022-05-26T22:44:17.765Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-26T22:44:17.765Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements [2022-05-26T22:44:17.765Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.078s coverage: 78.9% of statements [2022-05-26T22:44:17.765Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.064s coverage: 10.8% of statements [2022-05-26T22:44:17.765Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 60.0% of statements [2022-05-26T22:44:17.765Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-26T22:44:17.765Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-26T22:44:17.765Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.075s coverage: 34.8% of statements [2022-05-26T22:44:17.765Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-26T22:44:18.336Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.065s coverage: 85.4% of statements [2022-05-26T22:44:18.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-26T22:44:18.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-26T22:44:18.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.121s coverage: 65.1% of statements [2022-05-26T22:44:18.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.765s coverage: 89.2% of statements [2022-05-26T22:44:18.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-26T22:44:18.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements [2022-05-26T22:44:18.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-26T22:44:33.219Z] GO111MODULE=on go vet ./... [2022-05-26T22:44:36.510Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-26T22:44:36.510Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-26T22:44:36.780Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-26T22:44:37.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-26T22:44:37.383Z] $ docker stop --time=1 d6c964318020c8430176bcca42dead1cea27000633e7a6b53e5711010c6bfb93 [2022-05-26T22:44:39.583Z] $ docker rm -f d6c964318020c8430176bcca42dead1cea27000633e7a6b53e5711010c6bfb93 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-26T22:44:40.107Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-26T22:44:40.179Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-26T22:44:40.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-26T22:44:40.895Z] + ls -al . [2022-05-26T22:44:40.895Z] total 300 [2022-05-26T22:44:40.895Z] drwxrwxr-x 11 jenkins jenkins 4096 May 26 22:44 . [2022-05-26T22:44:40.895Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 22:43 .. [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 140 May 26 22:43 .dockerignore [2022-05-26T22:44:40.895Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 22:43 .git [2022-05-26T22:44:40.895Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 22:43 .github [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 131 May 26 22:43 .gitignore [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 42 May 26 22:43 .golangci.yml [2022-05-26T22:44:40.895Z] drwxr-xr-x 3 jenkins jenkins 4096 May 26 22:43 .semver [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 26 22:43 CHANGELOG.md [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 677 May 26 22:43 GOVERNANCE.md [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 880 May 26 22:43 Jenkinsfile [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 26 22:43 LICENSE [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 26 22:43 Makefile [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 619 May 26 22:43 OWNERS.md [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 26 22:43 README.md [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 5 May 26 22:43 VERSION [2022-05-26T22:44:40.895Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 22:43 bin [2022-05-26T22:44:40.895Z] -rw-r--r-- 1 jenkins jenkins 131010 May 26 22:44 coverage.out [2022-05-26T22:44:40.895Z] drwxrwxr-x 5 jenkins jenkins 4096 May 26 22:43 example [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 26 22:43 go.mod [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 34898 May 26 22:43 go.sum [2022-05-26T22:44:40.895Z] drwxrwxr-x 15 jenkins jenkins 4096 May 26 22:43 internal [2022-05-26T22:44:40.895Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 22:43 openapi [2022-05-26T22:44:40.895Z] drwxrwxr-x 5 jenkins jenkins 4096 May 26 22:43 pkg [2022-05-26T22:44:40.895Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 22:43 snap [2022-05-26T22:44:40.895Z] -rw-rw-r-- 1 jenkins jenkins 222 May 26 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T22:44:41.202Z] + 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=7960e48a4aa37915ea5148864f47d37aed19320f --label arch=amd64 --label version=0.0.0 . [2022-05-26T22:44:41.202Z] Sending build context to Docker daemon 9.763MB [2022-05-26T22:44:41.202Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-26T22:44:41.202Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-26T22:44:41.202Z] ---> 8792f21ab3f7 [2022-05-26T22:44:41.202Z] Step 3/25 : ARG MAKE=make build [2022-05-26T22:44:41.202Z] ---> Running in 06280aa9dec1 [2022-05-26T22:44:41.462Z] Removing intermediate container 06280aa9dec1 [2022-05-26T22:44:41.462Z] ---> b2bce057b50b [2022-05-26T22:44:41.462Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-26T22:44:41.462Z] ---> Running in 5896a12c8bd3 [2022-05-26T22:44:41.462Z] Removing intermediate container 5896a12c8bd3 [2022-05-26T22:44:41.462Z] ---> 3fd9025f737c [2022-05-26T22:44:41.462Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-26T22:44:41.722Z] ---> Running in 5d39dc7d9dae [2022-05-26T22:44:41.722Z] Removing intermediate container 5d39dc7d9dae [2022-05-26T22:44:41.722Z] ---> e1c1101b7712 [2022-05-26T22:44:41.722Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-26T22:44:41.722Z] ---> Running in 22402843c0bd [2022-05-26T22:44:42.292Z] Removing intermediate container 22402843c0bd [2022-05-26T22:44:42.292Z] ---> b2f1500422d6 [2022-05-26T22:44:42.292Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-26T22:44:42.551Z] ---> Running in 29c50c1e387c [2022-05-26T22:44:42.811Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-26T22:44:43.754Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-26T22:44:44.015Z] OK: 221 MiB in 52 packages [2022-05-26T22:44:44.276Z] Removing intermediate container 29c50c1e387c [2022-05-26T22:44:44.276Z] ---> e5f3dd720fd8 [2022-05-26T22:44:44.276Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-26T22:44:44.276Z] ---> bf9354ca1556 [2022-05-26T22:44:44.276Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-26T22:44:44.535Z] ---> Running in 7d585a0147d1 [2022-05-26T22:44:45.107Z] Removing intermediate container 7d585a0147d1 [2022-05-26T22:44:45.107Z] ---> 9123fcbd2349 [2022-05-26T22:44:45.107Z] Step 10/25 : COPY . . [2022-05-26T22:44:45.682Z] ---> f40b9cda32d4 [2022-05-26T22:44:45.682Z] Step 11/25 : RUN ${MAKE} [2022-05-26T22:44:45.682Z] ---> Running in 1d78ad8bfa08 [2022-05-26T22:44:45.942Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-26T22:45:04.035Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-26T22:45:05.413Z] Removing intermediate container 1d78ad8bfa08 [2022-05-26T22:45:05.413Z] ---> 4eb6edefd7cf [2022-05-26T22:45:05.413Z] Step 12/25 : FROM alpine:3.14 [2022-05-26T22:45:05.983Z] 3.14: Pulling from library/alpine [2022-05-26T22:45:05.983Z] 8663204ce13b: Pulling fs layer [2022-05-26T22:45:05.983Z] 8663204ce13b: Verifying Checksum [2022-05-26T22:45:05.983Z] 8663204ce13b: Download complete [2022-05-26T22:45:06.244Z] 8663204ce13b: Pull complete [2022-05-26T22:45:06.244Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-26T22:45:06.244Z] Status: Downloaded newer image for alpine:3.14 [2022-05-26T22:45:06.244Z] ---> e04c818066af [2022-05-26T22:45:06.244Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-26T22:45:06.244Z] ---> Running in 46963fb15ba5 [2022-05-26T22:45:06.506Z] Removing intermediate container 46963fb15ba5 [2022-05-26T22:45:06.506Z] ---> 77919b8545b6 [2022-05-26T22:45:06.506Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-26T22:45:06.506Z] ---> Running in e8827a1cfb4c [2022-05-26T22:45:07.078Z] Removing intermediate container e8827a1cfb4c [2022-05-26T22:45:07.078Z] ---> 808192814643 [2022-05-26T22:45:07.078Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-26T22:45:07.078Z] ---> Running in c619ee59fe1d [2022-05-26T22:45:07.338Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-26T22:45:08.278Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-26T22:45:08.539Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-26T22:45:08.539Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-26T22:45:08.799Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-26T22:45:08.799Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-26T22:45:09.060Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-26T22:45:09.060Z] Executing busybox-1.33.1-r7.trigger [2022-05-26T22:45:09.060Z] OK: 8 MiB in 19 packages [2022-05-26T22:45:09.630Z] Removing intermediate container c619ee59fe1d [2022-05-26T22:45:09.630Z] ---> bb92e2c9ba2d [2022-05-26T22:45:09.630Z] Step 16/25 : WORKDIR / [2022-05-26T22:45:09.630Z] ---> Running in 01a6ecee608f [2022-05-26T22:45:09.630Z] Removing intermediate container 01a6ecee608f [2022-05-26T22:45:09.630Z] ---> 496b1f4c8e78 [2022-05-26T22:45:09.630Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-26T22:45:09.630Z] ---> 52d72b12d1d1 [2022-05-26T22:45:09.630Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-26T22:45:10.570Z] ---> a596f614faa6 [2022-05-26T22:45:10.570Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-26T22:45:10.570Z] ---> 725f2a725474 [2022-05-26T22:45:10.570Z] Step 20/25 : EXPOSE 59999 [2022-05-26T22:45:10.570Z] ---> Running in 651a647dc180 [2022-05-26T22:45:10.570Z] Removing intermediate container 651a647dc180 [2022-05-26T22:45:10.570Z] ---> 7b5583a83bed [2022-05-26T22:45:10.570Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-26T22:45:10.832Z] ---> Running in 50ca8b822a5f [2022-05-26T22:45:10.832Z] Removing intermediate container 50ca8b822a5f [2022-05-26T22:45:10.832Z] ---> 879ded243dc4 [2022-05-26T22:45:10.832Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-26T22:45:10.832Z] ---> Running in cd607d45d9dd [2022-05-26T22:45:10.832Z] Removing intermediate container cd607d45d9dd [2022-05-26T22:45:10.832Z] ---> f46548dbdc79 [2022-05-26T22:45:10.832Z] Step 23/25 : LABEL arch=amd64 [2022-05-26T22:45:11.092Z] ---> Running in 95ec27bbf153 [2022-05-26T22:45:11.092Z] Removing intermediate container 95ec27bbf153 [2022-05-26T22:45:11.092Z] ---> 03d5a845fa2a [2022-05-26T22:45:11.092Z] Step 24/25 : LABEL git_sha=7960e48a4aa37915ea5148864f47d37aed19320f [2022-05-26T22:45:11.092Z] ---> Running in 840d7159b023 [2022-05-26T22:45:11.092Z] Removing intermediate container 840d7159b023 [2022-05-26T22:45:11.092Z] ---> 023a18d9d82d [2022-05-26T22:45:11.092Z] Step 25/25 : LABEL version=0.0.0 [2022-05-26T22:45:11.353Z] ---> Running in 7aadf358e1e6 [2022-05-26T22:45:11.353Z] Removing intermediate container 7aadf358e1e6 [2022-05-26T22:45:11.353Z] ---> cbbe06aa148e [2022-05-26T22:45:11.353Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-26T22:45:11.353Z] Successfully built cbbe06aa148e [2022-05-26T22:45:11.353Z] 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 [2022-05-26T22:45:11.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-26T22:45:11.781Z] [2022-05-26T22:45:11.781Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T22:45:12.081Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-26T22:45:12.081Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-26T22:45:12.081Z] 5eb5b503b376: Pulling fs layer [2022-05-26T22:45:12.081Z] 5c69ac0246d0: Pulling fs layer [2022-05-26T22:45:12.081Z] ec43610c2a17: Pulling fs layer [2022-05-26T22:45:12.081Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-26T22:45:12.081Z] 33b1e0a273af: Pulling fs layer [2022-05-26T22:45:12.081Z] 5d3b04190fa2: Pulling fs layer [2022-05-26T22:45:12.081Z] 2f39f015ded8: Pulling fs layer [2022-05-26T22:45:12.081Z] 33b1e0a273af: Waiting [2022-05-26T22:45:12.081Z] 5d3b04190fa2: Waiting [2022-05-26T22:45:12.081Z] 2f39f015ded8: Waiting [2022-05-26T22:45:12.081Z] 3a2ae6a8a46f: Waiting [2022-05-26T22:45:12.081Z] 5c69ac0246d0: Download complete [2022-05-26T22:45:12.081Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-26T22:45:12.081Z] 3a2ae6a8a46f: Download complete [2022-05-26T22:45:12.081Z] 33b1e0a273af: Verifying Checksum [2022-05-26T22:45:12.081Z] 33b1e0a273af: Download complete [2022-05-26T22:45:12.081Z] ec43610c2a17: Verifying Checksum [2022-05-26T22:45:12.081Z] ec43610c2a17: Download complete [2022-05-26T22:45:12.081Z] 5d3b04190fa2: Verifying Checksum [2022-05-26T22:45:12.081Z] 5d3b04190fa2: Download complete [2022-05-26T22:45:12.341Z] 5eb5b503b376: Verifying Checksum [2022-05-26T22:45:12.341Z] 5eb5b503b376: Download complete [2022-05-26T22:45:12.907Z] 2f39f015ded8: Verifying Checksum [2022-05-26T22:45:12.907Z] 2f39f015ded8: Download complete [2022-05-26T22:45:13.473Z] 5eb5b503b376: Pull complete [2022-05-26T22:45:13.732Z] 5c69ac0246d0: Pull complete [2022-05-26T22:45:14.302Z] ec43610c2a17: Pull complete [2022-05-26T22:45:14.302Z] 3a2ae6a8a46f: Pull complete [2022-05-26T22:45:14.561Z] 33b1e0a273af: Pull complete [2022-05-26T22:45:14.561Z] 5d3b04190fa2: Pull complete [2022-05-26T22:45:18.751Z] 2f39f015ded8: Pull complete [2022-05-26T22:45:18.751Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-26T22:45:18.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-26T22:45:18.751Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T22:45:18.849Z] prd-ubuntu20.04-docker-8c-8g-193 does not seem to be running inside a container [2022-05-26T22:45:18.892Z] $ 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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-26T22:45:20.636Z] $ docker top 4dd603f4b2077f8ea8fa8828a466d8eacf2e94d64cf9777307c8fa92d5880d6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-26T22:45:21.021Z] ---> job-cost.sh [2022-05-26T22:45:21.021Z] lf-activate-venv: SKIPPING [2022-05-26T22:45:21.021Z] INFO: No Stack... [2022-05-26T22:45:21.282Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-26T22:45:21.858Z] INFO: Archiving Costs [Pipeline] sh [2022-05-26T22:45:22.152Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv [2022-05-26T22:45:22.152Z] + cut -d, -f6 [Pipeline] lock [2022-05-26T22:45:22.165Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] [2022-05-26T22:45:22.174Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] did not exist. Created. [2022-05-26T22:45:22.174Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-26T22:45:22.480Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-26T22:45:22.517Z] Stashed 1 file(s) [Pipeline] } [2022-05-26T22:45:22.523Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-26T22:45:22.544Z] $ docker stop --time=1 4dd603f4b2077f8ea8fa8828a466d8eacf2e94d64cf9777307c8fa92d5880d6e [2022-05-26T22:45:23.722Z] $ docker rm -f 4dd603f4b2077f8ea8fa8828a466d8eacf2e94d64cf9777307c8fa92d5880d6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-26T22:46:19.226Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-194 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws [2022-05-26T22:46:19.238Z] Running in /w/workspace/device-sdk-go/17 [Pipeline] { [Pipeline] checkout [2022-05-26T22:46:19.265Z] The recommended git tool is: git [2022-05-26T22:46:25.009Z] using credential edgex-jenkins-ssh [2022-05-26T22:46:25.030Z] Cloning the remote Git repository [2022-05-26T22:46:25.092Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-26T22:46:25.170Z] > git init /w/workspace/device-sdk-go/17 # timeout=10 [2022-05-26T22:46:25.258Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-26T22:46:25.259Z] > git --version # timeout=10 [2022-05-26T22:46:25.283Z] > git --version # 'git version 2.25.1' [2022-05-26T22:46:25.285Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-26T22:46:25.385Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-26T22:46:26.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-26T22:46:26.687Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-26T22:46:26.719Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-26T22:46:26.758Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-26T22:46:26.758Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-26T22:46:26.778Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-26T22:46:27.352Z] Merging remotes/origin/main commit c4c7375013d1152251e98051bf37b0c1fd0193e8 into PR head commit 7951b8c72b787c8c13599feadf581ebd8b475afa [2022-05-26T22:46:27.684Z] Merge succeeded, producing 0d11391d3656177a7c207e9886d38f984a5e50c8 [2022-05-26T22:46:27.685Z] Checking out Revision 0d11391d3656177a7c207e9886d38f984a5e50c8 (PR-1144) [2022-05-26T22:46:27.378Z] > git config core.sparsecheckout # timeout=10 [2022-05-26T22:46:27.412Z] > git checkout -f 7951b8c72b787c8c13599feadf581ebd8b475afa # timeout=10 [2022-05-26T22:46:27.528Z] > git remote # timeout=10 [2022-05-26T22:46:27.547Z] > git config --get remote.origin.url # timeout=10 [2022-05-26T22:46:27.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-26T22:46:27.570Z] > git merge c4c7375013d1152251e98051bf37b0c1fd0193e8 # timeout=10 [2022-05-26T22:46:27.661Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-26T22:46:27.696Z] > git config core.sparsecheckout # timeout=10 [2022-05-26T22:46:27.710Z] > git checkout -f 0d11391d3656177a7c207e9886d38f984a5e50c8 # timeout=10 [2022-05-26T22:46:31.873Z] Commit message: "Merge commit 'c4c7375013d1152251e98051bf37b0c1fd0193e8' into HEAD" [2022-05-26T22:46:31.903Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-26T22:46:31.887Z] > git rev-list --no-walk b6e26fa9ecf16ea5494d9bb28f3e8fdad2338724 # timeout=10 [2022-05-26T22:46:32.732Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-26T22:46:32.732Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-26T22:46:32.732Z] Dload Upload Total Spent Left Speed [2022-05-26T22:46:32.732Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98814 0 --:--:-- --:--:-- --:--:-- 98814 [Pipeline] sh [2022-05-26T22:46:33.440Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-26T22:46:33.783Z] + sudo jq+ sudo tee /etc/docker/daemon.new [2022-05-26T22:46:33.783Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-26T22:46:33.783Z] { [2022-05-26T22:46:33.783Z] "registry-mirrors": [ [2022-05-26T22:46:33.783Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-26T22:46:33.783Z] ], [2022-05-26T22:46:33.783Z] "bip": "10.250.0.254/24", [2022-05-26T22:46:33.783Z] "hosts": [ [2022-05-26T22:46:33.783Z] "tcp://0.0.0.0:5555", [2022-05-26T22:46:33.783Z] "unix:///var/run/docker.sock" [2022-05-26T22:46:33.783Z] ], [2022-05-26T22:46:33.783Z] "mtu": 1458, [2022-05-26T22:46:33.783Z] "selinux-enabled": true, [2022-05-26T22:46:33.783Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-26T22:46:33.783Z] } [Pipeline] sh [2022-05-26T22:46:34.174Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-26T22:46:34.514Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-26T22:46:52.858Z] provisioning config files... [2022-05-26T22:46:52.882Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/17@tmp/config7285804964449195360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-26T22:46:53.244Z] ---> docker-login.sh [2022-05-26T22:46:53.244Z] nexus3.edgexfoundry.org:10001 [2022-05-26T22:46:53.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:46:54.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:46:54.119Z] Configure a credential helper to remove this warning. See [2022-05-26T22:46:54.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:46:54.119Z] [2022-05-26T22:46:54.119Z] Login Succeeded [2022-05-26T22:46:54.119Z] nexus3.edgexfoundry.org:10002 [2022-05-26T22:46:54.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:46:54.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:46:54.668Z] Configure a credential helper to remove this warning. See [2022-05-26T22:46:54.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:46:54.668Z] [2022-05-26T22:46:54.668Z] Login Succeeded [2022-05-26T22:46:54.668Z] nexus3.edgexfoundry.org:10003 [2022-05-26T22:46:54.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:46:54.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:46:54.945Z] Configure a credential helper to remove this warning. See [2022-05-26T22:46:54.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:46:54.945Z] [2022-05-26T22:46:54.945Z] Login Succeeded [2022-05-26T22:46:54.945Z] nexus3.edgexfoundry.org:10004 [2022-05-26T22:46:55.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:46:55.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:46:55.551Z] Configure a credential helper to remove this warning. See [2022-05-26T22:46:55.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:46:55.551Z] [2022-05-26T22:46:55.551Z] Login Succeeded [2022-05-26T22:46:55.551Z] docker.io [2022-05-26T22:46:55.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-26T22:46:56.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-26T22:46:56.100Z] Configure a credential helper to remove this warning. See [2022-05-26T22:46:56.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-26T22:46:56.100Z] [2022-05-26T22:46:56.100Z] Login Succeeded [2022-05-26T22:46:56.100Z] ---> docker-login.sh ends [Pipeline] } [2022-05-26T22:46:56.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-26T22:46:56.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-26T22:46:56.688Z] ========================================================= [2022-05-26T22:46:56.688Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-26T22:46:56.688Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T22:46:57.062Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-26T22:46:57.336Z] Sending build context to Docker daemon 5.157MB [2022-05-26T22:46:57.613Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-26T22:46:57.613Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-26T22:46:57.613Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-26T22:46:57.613Z] 9b3977197b4f: Pulling fs layer [2022-05-26T22:46:57.613Z] 1a89e8eeedd5: Pulling fs layer [2022-05-26T22:46:57.613Z] 94645a83ff95: Pulling fs layer [2022-05-26T22:46:57.613Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-26T22:46:57.613Z] 0c92f367c5e7: Pulling fs layer [2022-05-26T22:46:57.613Z] 3096ccb668a1: Pulling fs layer [2022-05-26T22:46:57.613Z] e8cf19c19ddd: Pulling fs layer [2022-05-26T22:46:57.613Z] a4caa8a26152: Pulling fs layer [2022-05-26T22:46:57.613Z] 3f3a8bcf1eab: Waiting [2022-05-26T22:46:57.613Z] 3096ccb668a1: Waiting [2022-05-26T22:46:57.613Z] e8cf19c19ddd: Waiting [2022-05-26T22:46:57.613Z] a4caa8a26152: Waiting [2022-05-26T22:46:57.613Z] 0c92f367c5e7: Waiting [2022-05-26T22:46:57.613Z] 94645a83ff95: Verifying Checksum [2022-05-26T22:46:57.613Z] 94645a83ff95: Download complete [2022-05-26T22:46:57.613Z] 1a89e8eeedd5: Verifying Checksum [2022-05-26T22:46:57.613Z] 1a89e8eeedd5: Download complete [2022-05-26T22:46:57.613Z] 0c92f367c5e7: Verifying Checksum [2022-05-26T22:46:57.613Z] 0c92f367c5e7: Download complete [2022-05-26T22:46:57.613Z] 3096ccb668a1: Download complete [2022-05-26T22:46:57.613Z] 9b3977197b4f: Verifying Checksum [2022-05-26T22:46:57.613Z] 9b3977197b4f: Download complete [2022-05-26T22:46:57.888Z] e8cf19c19ddd: Verifying Checksum [2022-05-26T22:46:57.888Z] e8cf19c19ddd: Download complete [2022-05-26T22:46:58.496Z] 9b3977197b4f: Pull complete [2022-05-26T22:46:59.104Z] 1a89e8eeedd5: Pull complete [2022-05-26T22:46:59.379Z] 94645a83ff95: Pull complete [2022-05-26T22:46:59.662Z] a4caa8a26152: Verifying Checksum [2022-05-26T22:46:59.662Z] a4caa8a26152: Download complete [2022-05-26T22:47:00.260Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-26T22:47:00.260Z] 3f3a8bcf1eab: Download complete [2022-05-26T22:47:12.677Z] 3f3a8bcf1eab: Pull complete [2022-05-26T22:47:12.677Z] 0c92f367c5e7: Pull complete [2022-05-26T22:47:12.677Z] 3096ccb668a1: Pull complete [2022-05-26T22:47:12.951Z] e8cf19c19ddd: Pull complete [2022-05-26T22:47:19.689Z] a4caa8a26152: Pull complete [2022-05-26T22:47:19.689Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-26T22:47:19.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-26T22:47:19.689Z] ---> 725f1c02e7f9 [2022-05-26T22:47:19.689Z] Step 3/11 : ARG MAKE=make build [2022-05-26T22:47:19.973Z] ---> Running in 594c901cb81a [2022-05-26T22:47:20.250Z] Removing intermediate container 594c901cb81a [2022-05-26T22:47:20.250Z] ---> 8a9ca29c3967 [2022-05-26T22:47:20.250Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-26T22:47:20.250Z] ---> Running in dcd346dbee70 [2022-05-26T22:47:20.524Z] Removing intermediate container dcd346dbee70 [2022-05-26T22:47:20.524Z] ---> 5ede107a7023 [2022-05-26T22:47:20.524Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-26T22:47:20.524Z] ---> Running in 1061f38cfb0d [2022-05-26T22:47:20.799Z] Removing intermediate container 1061f38cfb0d [2022-05-26T22:47:20.799Z] ---> 0735e8a531c4 [2022-05-26T22:47:20.799Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-26T22:47:21.075Z] ---> Running in 985fffba8be5 [2022-05-26T22:47:23.048Z] Removing intermediate container 985fffba8be5 [2022-05-26T22:47:23.048Z] ---> 124817d4372f [2022-05-26T22:47:23.048Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-26T22:47:23.048Z] ---> Running in 98673f9bb1c8 [2022-05-26T22:47:24.042Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-26T22:47:25.024Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-26T22:47:25.622Z] OK: 220 MiB in 52 packages [2022-05-26T22:47:26.604Z] Removing intermediate container 98673f9bb1c8 [2022-05-26T22:47:26.604Z] ---> 76dc6b771c5d [2022-05-26T22:47:26.604Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-26T22:47:26.878Z] ---> 1158f40332f4 [2022-05-26T22:47:26.878Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-26T22:47:26.878Z] ---> Running in 6018065f40c0 [2022-05-26T22:48:13.874Z] Removing intermediate container 6018065f40c0 [2022-05-26T22:48:13.874Z] ---> 783155eb4686 [2022-05-26T22:48:13.874Z] Step 10/11 : COPY . . [2022-05-26T22:48:13.874Z] ---> 6da90ae387e3 [2022-05-26T22:48:13.874Z] Step 11/11 : RUN ${MAKE} [2022-05-26T22:48:13.874Z] ---> Running in cfc003012294 [2022-05-26T22:48:13.874Z] noop [2022-05-26T22:48:13.874Z] Removing intermediate container cfc003012294 [2022-05-26T22:48:13.874Z] ---> 5d95063f3b14 [2022-05-26T22:48:13.874Z] Successfully built 5d95063f3b14 [2022-05-26T22:48:13.874Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T22:48:14.247Z] + docker inspect -f . ci-base-image-arm64 [2022-05-26T22:48:14.247Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T22:48:14.516Z] prd-ubuntu20.04-docker-arm64-4c-16g-194 does not seem to be running inside a container [2022-05-26T22:48:14.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-26T22:48:15.888Z] $ docker top dfef2c9e301cc486d88676f34da2636bb49b351cff5eccbfbaa9a6593cf4c552 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-26T22:48:16.810Z] + go version [2022-05-26T22:48:16.810Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-26T22:48:16.845Z] $ docker stop --time=1 dfef2c9e301cc486d88676f34da2636bb49b351cff5eccbfbaa9a6593cf4c552 [2022-05-26T22:48:18.490Z] $ docker rm -f dfef2c9e301cc486d88676f34da2636bb49b351cff5eccbfbaa9a6593cf4c552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T22:48:19.089Z] + docker inspect -f . ci-base-image-arm64 [2022-05-26T22:48:19.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T22:48:19.339Z] prd-ubuntu20.04-docker-arm64-4c-16g-194 does not seem to be running inside a container [2022-05-26T22:48:19.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-26T22:48:20.685Z] $ docker top fdb12fe0861110f54e6fa6c68c8b44c6a6d4cbd383c68d0360a86b1f8c2f95f3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-26T22:48:21.601Z] + make test [2022-05-26T22:48:21.601Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-26T22:48:48.406Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-26T22:50:25.295Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-26T22:50:25.295Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-26T22:50:25.295Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-26T22:50:33.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.319s coverage: 23.3% of statements [2022-05-26T22:50:33.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-26T22:50:33.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.269s coverage: 27.6% of statements [2022-05-26T22:50:33.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.348s coverage: 78.9% of statements [2022-05-26T22:50:33.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.283s coverage: 10.8% of statements [2022-05-26T22:50:37.964Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.409s coverage: 60.0% of statements [2022-05-26T22:50:37.964Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-26T22:50:37.964Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-26T22:50:40.615Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.418s coverage: 34.8% of statements [2022-05-26T22:50:40.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-26T22:50:42.055Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.345s coverage: 85.4% of statements [2022-05-26T22:50:42.055Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-26T22:50:42.055Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-26T22:50:42.055Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.459s coverage: 65.1% of statements [2022-05-26T22:50:45.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.106s coverage: 89.2% of statements [2022-05-26T22:50:45.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-26T22:50:47.451Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.233s coverage: 4.7% of statements [2022-05-26T22:50:47.451Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-26T22:50:48.046Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-26T22:50:48.046Z] GO111MODULE=on go vet ./... [2022-05-26T22:52:09.910Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-26T22:52:09.910Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-26T22:52:09.910Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-26T22:52:10.206Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-26T22:52:10.232Z] $ docker stop --time=1 fdb12fe0861110f54e6fa6c68c8b44c6a6d4cbd383c68d0360a86b1f8c2f95f3 [2022-05-26T22:52:12.027Z] $ docker rm -f fdb12fe0861110f54e6fa6c68c8b44c6a6d4cbd383c68d0360a86b1f8c2f95f3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-26T22:52:13.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-26T22:52:13.346Z] Warning: overwriting stash ‘coverage-report’ [2022-05-26T22:52:14.054Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-26T22:52:14.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-26T22:52:14.870Z] + ls -al . [2022-05-26T22:52:14.870Z] total 296 [2022-05-26T22:52:14.870Z] drwxrwxr-x 10 jenkins jenkins 4096 May 26 22:52 . [2022-05-26T22:52:14.870Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 22:46 .. [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 140 May 26 22:46 .dockerignore [2022-05-26T22:52:14.870Z] drwxrwxr-x 8 jenkins jenkins 4096 May 26 22:46 .git [2022-05-26T22:52:14.870Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 22:46 .github [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 131 May 26 22:46 .gitignore [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 42 May 26 22:46 .golangci.yml [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 26 22:46 CHANGELOG.md [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 677 May 26 22:46 GOVERNANCE.md [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 880 May 26 22:46 Jenkinsfile [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 26 22:46 LICENSE [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 26 22:46 Makefile [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 619 May 26 22:46 OWNERS.md [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 26 22:46 README.md [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 5 May 26 22:43 VERSION [2022-05-26T22:52:14.870Z] drwxrwxr-x 2 jenkins jenkins 4096 May 26 22:46 bin [2022-05-26T22:52:14.870Z] -rw-r--r-- 1 jenkins jenkins 131010 May 26 22:50 coverage.out [2022-05-26T22:52:14.870Z] drwxrwxr-x 5 jenkins jenkins 4096 May 26 22:46 example [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 26 22:46 go.mod [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 34898 May 26 22:46 go.sum [2022-05-26T22:52:14.870Z] drwxrwxr-x 15 jenkins jenkins 4096 May 26 22:46 internal [2022-05-26T22:52:14.870Z] drwxrwxr-x 3 jenkins jenkins 4096 May 26 22:46 openapi [2022-05-26T22:52:14.870Z] drwxrwxr-x 5 jenkins jenkins 4096 May 26 22:46 pkg [2022-05-26T22:52:14.870Z] drwxrwxr-x 4 jenkins jenkins 4096 May 26 22:46 snap [2022-05-26T22:52:14.870Z] -rw-rw-r-- 1 jenkins jenkins 222 May 26 22:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T22:52:15.252Z] + 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=0d11391d3656177a7c207e9886d38f984a5e50c8 --label arch=arm64 --label version=0.0.0 . [2022-05-26T22:52:15.883Z] Sending build context to Docker daemon 5.289MB [2022-05-26T22:52:15.883Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-26T22:52:15.883Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-26T22:52:15.883Z] ---> 5d95063f3b14 [2022-05-26T22:52:15.883Z] Step 3/25 : ARG MAKE=make build [2022-05-26T22:52:15.883Z] ---> Running in a8990e645ab5 [2022-05-26T22:52:16.176Z] Removing intermediate container a8990e645ab5 [2022-05-26T22:52:16.176Z] ---> 2e1ed12267fb [2022-05-26T22:52:16.176Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-26T22:52:16.176Z] ---> Running in 55ecb27009cc [2022-05-26T22:52:16.775Z] Removing intermediate container 55ecb27009cc [2022-05-26T22:52:16.775Z] ---> f4a365b5cb9e [2022-05-26T22:52:16.775Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-26T22:52:16.775Z] ---> Running in ae3d2b7231a8 [2022-05-26T22:52:17.047Z] Removing intermediate container ae3d2b7231a8 [2022-05-26T22:52:17.047Z] ---> b8e45d1fe207 [2022-05-26T22:52:17.047Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-26T22:52:17.047Z] ---> Running in 83c36f034ec6 [2022-05-26T22:52:19.035Z] Removing intermediate container 83c36f034ec6 [2022-05-26T22:52:19.035Z] ---> d232fdb6a3fd [2022-05-26T22:52:19.035Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-26T22:52:19.035Z] ---> Running in 3970d57810e0 [2022-05-26T22:52:19.632Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-26T22:52:20.610Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-26T22:52:21.589Z] OK: 220 MiB in 52 packages [2022-05-26T22:52:22.187Z] Removing intermediate container 3970d57810e0 [2022-05-26T22:52:22.187Z] ---> 33531e228b1e [2022-05-26T22:52:22.187Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-26T22:52:22.787Z] ---> 0880671c97fe [2022-05-26T22:52:22.787Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-26T22:52:22.787Z] ---> Running in 09782c072f1d [2022-05-26T22:52:24.768Z] Removing intermediate container 09782c072f1d [2022-05-26T22:52:24.768Z] ---> 34018054522e [2022-05-26T22:52:24.768Z] Step 10/25 : COPY . . [2022-05-26T22:52:25.747Z] ---> 8dd3bea7b5a2 [2022-05-26T22:52:25.747Z] Step 11/25 : RUN ${MAKE} [2022-05-26T22:52:25.747Z] ---> Running in f6e9b0268d24 [2022-05-26T22:52:26.725Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-26T22:54:18.591Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-26T22:54:21.214Z] Removing intermediate container f6e9b0268d24 [2022-05-26T22:54:21.214Z] ---> 82a7062a4e0f [2022-05-26T22:54:21.214Z] Step 12/25 : FROM alpine:3.14 [2022-05-26T22:54:21.485Z] 3.14: Pulling from library/alpine [2022-05-26T22:54:21.485Z] 455c02918c45: Pulling fs layer [2022-05-26T22:54:21.759Z] 455c02918c45: Verifying Checksum [2022-05-26T22:54:21.759Z] 455c02918c45: Download complete [2022-05-26T22:54:22.359Z] 455c02918c45: Pull complete [2022-05-26T22:54:22.359Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-26T22:54:22.359Z] Status: Downloaded newer image for alpine:3.14 [2022-05-26T22:54:22.359Z] ---> ac73e934f311 [2022-05-26T22:54:22.359Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-26T22:54:22.359Z] ---> Running in 30b4b4e98f49 [2022-05-26T22:54:22.644Z] Removing intermediate container 30b4b4e98f49 [2022-05-26T22:54:22.644Z] ---> 1543d0548ed5 [2022-05-26T22:54:22.644Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-26T22:54:22.923Z] ---> Running in 8ace976cc239 [2022-05-26T22:54:24.375Z] Removing intermediate container 8ace976cc239 [2022-05-26T22:54:24.375Z] ---> 52fc53d981a9 [2022-05-26T22:54:24.375Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-26T22:54:24.375Z] ---> Running in 3b530ccf4733 [2022-05-26T22:54:25.353Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-26T22:54:26.332Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-26T22:54:27.308Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-26T22:54:27.308Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-26T22:54:27.308Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-26T22:54:27.308Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-26T22:54:27.582Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-26T22:54:27.582Z] Executing busybox-1.33.1-r7.trigger [2022-05-26T22:54:27.582Z] OK: 8 MiB in 19 packages [2022-05-26T22:54:28.567Z] Removing intermediate container 3b530ccf4733 [2022-05-26T22:54:28.567Z] ---> d3d98e71c07e [2022-05-26T22:54:28.567Z] Step 16/25 : WORKDIR / [2022-05-26T22:54:28.567Z] ---> Running in f9dc421d2a05 [2022-05-26T22:54:28.850Z] Removing intermediate container f9dc421d2a05 [2022-05-26T22:54:28.850Z] ---> ab089c0b54b1 [2022-05-26T22:54:28.850Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-26T22:54:29.450Z] ---> fa97e7a471d9 [2022-05-26T22:54:29.450Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-26T22:54:30.883Z] ---> 6b99171fd6d5 [2022-05-26T22:54:30.883Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-26T22:54:31.483Z] ---> 668e2602a9ee [2022-05-26T22:54:31.483Z] Step 20/25 : EXPOSE 59999 [2022-05-26T22:54:31.483Z] ---> Running in b345ee6b54a1 [2022-05-26T22:54:31.758Z] Removing intermediate container b345ee6b54a1 [2022-05-26T22:54:31.758Z] ---> 3865e489af99 [2022-05-26T22:54:31.758Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-26T22:54:31.758Z] ---> Running in b7cb0e548411 [2022-05-26T22:54:32.032Z] Removing intermediate container b7cb0e548411 [2022-05-26T22:54:32.032Z] ---> 40f24822bee5 [2022-05-26T22:54:32.032Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-26T22:54:32.032Z] ---> Running in 4e3c4067ffa7 [2022-05-26T22:54:32.313Z] Removing intermediate container 4e3c4067ffa7 [2022-05-26T22:54:32.313Z] ---> dd64d08db93f [2022-05-26T22:54:32.313Z] Step 23/25 : LABEL arch=arm64 [2022-05-26T22:54:32.592Z] ---> Running in 82e87ef81dc6 [2022-05-26T22:54:32.866Z] Removing intermediate container 82e87ef81dc6 [2022-05-26T22:54:32.866Z] ---> ce978d8ab94d [2022-05-26T22:54:32.866Z] Step 24/25 : LABEL git_sha=0d11391d3656177a7c207e9886d38f984a5e50c8 [2022-05-26T22:54:32.866Z] ---> Running in 30b6c4ee1094 [2022-05-26T22:54:33.140Z] Removing intermediate container 30b6c4ee1094 [2022-05-26T22:54:33.140Z] ---> 36e95309e758 [2022-05-26T22:54:33.140Z] Step 25/25 : LABEL version=0.0.0 [2022-05-26T22:54:33.140Z] ---> Running in b42aa0e23ca4 [2022-05-26T22:54:33.412Z] Removing intermediate container b42aa0e23ca4 [2022-05-26T22:54:33.412Z] ---> d7ad31722d92 [2022-05-26T22:54:33.412Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-26T22:54:33.412Z] Successfully built d7ad31722d92 [2022-05-26T22:54:33.412Z] 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 [2022-05-26T22:54:34.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-26T22:54:34.125Z] [2022-05-26T22:54:34.125Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T22:54:34.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-26T22:54:34.750Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-26T22:54:34.750Z] 8998bd30e6a1: Pulling fs layer [2022-05-26T22:54:34.750Z] 04944245beec: Pulling fs layer [2022-05-26T22:54:34.750Z] 699f458cf7ca: Pulling fs layer [2022-05-26T22:54:34.750Z] 765212b225bb: Pulling fs layer [2022-05-26T22:54:34.750Z] f23df028b6ca: Pulling fs layer [2022-05-26T22:54:34.750Z] d65c8cfc05b1: Pulling fs layer [2022-05-26T22:54:34.750Z] 2437ff75d9bd: Pulling fs layer [2022-05-26T22:54:34.750Z] 765212b225bb: Waiting [2022-05-26T22:54:34.750Z] f23df028b6ca: Waiting [2022-05-26T22:54:34.750Z] d65c8cfc05b1: Waiting [2022-05-26T22:54:34.750Z] 2437ff75d9bd: Waiting [2022-05-26T22:54:34.750Z] 04944245beec: Verifying Checksum [2022-05-26T22:54:34.750Z] 04944245beec: Download complete [2022-05-26T22:54:34.750Z] 765212b225bb: Verifying Checksum [2022-05-26T22:54:34.750Z] 765212b225bb: Download complete [2022-05-26T22:54:34.750Z] f23df028b6ca: Verifying Checksum [2022-05-26T22:54:34.750Z] f23df028b6ca: Download complete [2022-05-26T22:54:34.750Z] d65c8cfc05b1: Verifying Checksum [2022-05-26T22:54:34.750Z] d65c8cfc05b1: Download complete [2022-05-26T22:54:35.026Z] 699f458cf7ca: Verifying Checksum [2022-05-26T22:54:35.026Z] 699f458cf7ca: Download complete [2022-05-26T22:54:35.300Z] 8998bd30e6a1: Verifying Checksum [2022-05-26T22:54:35.300Z] 8998bd30e6a1: Download complete [2022-05-26T22:54:37.995Z] 2437ff75d9bd: Verifying Checksum [2022-05-26T22:54:37.995Z] 2437ff75d9bd: Download complete [2022-05-26T22:54:40.622Z] 8998bd30e6a1: Pull complete [2022-05-26T22:54:40.896Z] 04944245beec: Pull complete [2022-05-26T22:54:42.330Z] 699f458cf7ca: Pull complete [2022-05-26T22:54:42.330Z] 765212b225bb: Pull complete [2022-05-26T22:54:43.313Z] f23df028b6ca: Pull complete [2022-05-26T22:54:43.588Z] d65c8cfc05b1: Pull complete [2022-05-26T22:54:58.698Z] 2437ff75d9bd: Pull complete [2022-05-26T22:54:58.698Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-26T22:54:58.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-26T22:54:58.698Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T22:54:58.968Z] prd-ubuntu20.04-docker-arm64-4c-16g-194 does not seem to be running inside a container [2022-05-26T22:54:59.066Z] $ 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/17 -v /w/workspace/device-sdk-go/17:/w/workspace/device-sdk-go/17:rw,z -v /w/workspace/device-sdk-go/17@tmp:/w/workspace/device-sdk-go/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-26T22:55:01.640Z] $ docker top c63ce6a22ac92bf57d20b9e7257c5fe776cdff1d0a3ccdbbb95376805845f939 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-26T22:55:02.547Z] ---> job-cost.sh [2022-05-26T22:55:02.547Z] lf-activate-venv: SKIPPING [2022-05-26T22:55:02.547Z] INFO: No Stack... [2022-05-26T22:55:03.138Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-26T22:55:04.114Z] INFO: Archiving Costs [Pipeline] sh [2022-05-26T22:55:04.771Z] + cut -d, -f6 [2022-05-26T22:55:04.771Z] + cat /w/workspace/device-sdk-go/17/archives/cost.csv [Pipeline] lock [2022-05-26T22:55:04.832Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] [2022-05-26T22:55:04.839Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] did not exist. Created. [2022-05-26T22:55:04.839Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-26T22:55:05.510Z] /w/workspace/device-sdk-go/17@tmp/durable-0e0518c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-26T22:55:06.178Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-26T22:55:06.206Z] Warning: overwriting stash ‘stack-cost’ [2022-05-26T22:55:06.266Z] Stashed 1 file(s) [Pipeline] } [2022-05-26T22:55:06.278Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-17-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-26T22:55:06.313Z] $ docker stop --time=1 c63ce6a22ac92bf57d20b9e7257c5fe776cdff1d0a3ccdbbb95376805845f939 [2022-05-26T22:55:07.809Z] $ docker rm -f c63ce6a22ac92bf57d20b9e7257c5fe776cdff1d0a3ccdbbb95376805845f939 [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 [2022-05-26T22:55:08.255Z] provisioning config files... [2022-05-26T22:55:08.265Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config760376992526287237tmp [Pipeline] { [Pipeline] sh [2022-05-26T22:55:08.563Z] + set +x [2022-05-26T22:55:08.563Z] + curl -s https://codecov.io/bash [2022-05-26T22:55:08.563Z] + bash -s -- [2022-05-26T22:55:08.563Z] [2022-05-26T22:55:08.563Z] _____ _ [2022-05-26T22:55:08.563Z] / ____| | | [2022-05-26T22:55:08.563Z] | | ___ __| | ___ ___ _____ __ [2022-05-26T22:55:08.563Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-26T22:55:08.563Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-26T22:55:08.563Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-26T22:55:08.563Z] Bash-1.0.6 [2022-05-26T22:55:08.563Z] [2022-05-26T22:55:08.563Z] [2022-05-26T22:55:08.563Z] ==> git version 2.25.1 found [2022-05-26T22:55:08.563Z] ==> 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 [2022-05-26T22:55:08.563Z] Release-Date: 2020-01-08 [2022-05-26T22:55:08.563Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-26T22:55:08.563Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-26T22:55:08.563Z] ==> Jenkins CI detected. [2022-05-26T22:55:08.563Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-05-26T22:55:08.563Z] project root: . [2022-05-26T22:55:08.563Z] --> token set from env [2022-05-26T22:55:08.563Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-26T22:55:08.563Z] ==> Running gcov in . (disable via -X gcov) [2022-05-26T22:55:08.563Z] ==> Python coveragepy not found [2022-05-26T22:55:08.563Z] ==> Searching for coverage reports in: [2022-05-26T22:55:08.563Z] + . [2022-05-26T22:55:08.563Z] -> Found 1 reports [2022-05-26T22:55:08.563Z] ==> Detecting git/mercurial file structure [2022-05-26T22:55:08.563Z] ==> Reading reports [2022-05-26T22:55:08.563Z] + ./coverage.out bytes=131010 [2022-05-26T22:55:08.563Z] ==> Appending adjustments [2022-05-26T22:55:08.563Z] https://docs.codecov.io/docs/fixing-reports [2022-05-26T22:55:09.134Z] + Found adjustments [2022-05-26T22:55:09.134Z] ==> Gzipping contents [2022-05-26T22:55:09.134Z] 20K /tmp/codecov.CD42df.gz [2022-05-26T22:55:09.134Z] ==> Uploading reports [2022-05-26T22:55:09.134Z] url: https://codecov.io [2022-05-26T22:55:09.134Z] query: branch=PR-1144&commit=7960e48a4aa37915ea5148864f47d37aed19320f&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-05-26T22:55:09.134Z] -> Pinging Codecov [2022-05-26T22:55:09.134Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1144&commit=7960e48a4aa37915ea5148864f47d37aed19320f&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-05-26T22:55:09.395Z] -> Uploading to [2022-05-26T22:55:09.395Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-26/7E55EF52A471D76F132DFD9A03CDDE97/7960e48a4aa37915ea5148864f47d37aed19320f/56043157-e51d-4c36-b654-c1ab9361c6ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220526T225509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c12b7fe324ffc382656b9c0b25978c00e5a5610e1713bdd388d1e66bb02d4a9f [2022-05-26T22:55:09.395Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-26T22:55:09.395Z] Dload Upload Total Spent Left Speed [2022-05-26T22:55:09.655Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16848 0 0 100 16848 0 73894 --:--:-- --:--:-- --:--:-- 74220 [2022-05-26T22:55:09.655Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7960e48a4aa37915ea5148864f47d37aed19320f [Pipeline] } [2022-05-26T22:55:09.664Z] 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 [2022-05-26T22:55:10.344Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] [2022-05-26T22:55:10.344Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-05-26T22:55:10.344Z] total 16 [2022-05-26T22:55:10.344Z] drwxr-xr-x 3 root root 4096 May 26 22:45 . [2022-05-26T22:55:10.344Z] drwxrwxr-x 12 jenkins jenkins 4096 May 26 22:45 .. [2022-05-26T22:55:10.344Z] drwxr-xr-x 2 root root 4096 May 26 22:45 cost [2022-05-26T22:55:10.344Z] -rw-r--r-- 1 root root 86 May 26 22:45 cost.csv [2022-05-26T22:55:10.344Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-05-26T22:55:10.344Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-05-26T22:55:10.344Z] total 16 [2022-05-26T22:55:10.344Z] drwxr-xr-x 3 jenkins jenkins 4096 May 26 22:45 . [2022-05-26T22:55:10.344Z] drwxrwxr-x 12 jenkins jenkins 4096 May 26 22:45 .. [2022-05-26T22:55:10.344Z] drwxr-xr-x 2 jenkins jenkins 4096 May 26 22:45 cost [2022-05-26T22:55:10.344Z] -rw-r--r-- 1 jenkins jenkins 86 May 26 22:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-26T22:55:10.638Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-26T22:55:11.508Z] ---> package-listing.sh [2022-05-26T22:55:11.508Z] ++ facter osfamily [2022-05-26T22:55:11.508Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-26T22:55:11.769Z] + OS_FAMILY=debian [2022-05-26T22:55:11.769Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-05-26T22:55:11.769Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-26T22:55:11.769Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-26T22:55:11.769Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-26T22:55:11.769Z] + PACKAGES=/tmp/packages_start.txt [2022-05-26T22:55:11.769Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-05-26T22:55:11.769Z] + PACKAGES=/tmp/packages_end.txt [2022-05-26T22:55:11.769Z] + case "${OS_FAMILY}" in [2022-05-26T22:55:11.769Z] + dpkg -l [2022-05-26T22:55:11.769Z] + grep '^ii' [2022-05-26T22:55:11.769Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-26T22:55:11.769Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-26T22:55:11.769Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-26T22:55:11.769Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-05-26T22:55:11.769Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [2022-05-26T22:55:11.769Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [Pipeline] echo [2022-05-26T22:55:11.780Z] 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-1144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-26T22:55:12.058Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-26T22:55:12.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-26T22:55:12.623Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-26T22:55:12.711Z] prd-ubuntu20.04-docker-8c-8g-193 does not seem to be running inside a container [2022-05-26T22:55:12.758Z] $ 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-1144/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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-26T22:55:12.997Z] $ docker top c93e4e7ceed9dbb81cada755770ce718e1493e91cba1750143c3cf75fe5009c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-26T22:55:13.359Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-26T22:55:13.656Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-26T22:55:13.947Z] + ls /var/log/sa-host [2022-05-26T22:55:13.947Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-26T22:55:14.016Z] provisioning config files... [2022-05-26T22:55:14.027Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config6377039593661040771tmp [Pipeline] { [Pipeline] echo [2022-05-26T22:55:14.042Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-26T22:55:14.329Z] ---> create-netrc.sh [Pipeline] } [2022-05-26T22:55:14.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-26T22:55:14.675Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-26T22:55:14.685Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-26T22:55:14.976Z] ---> sudo-logs.sh [2022-05-26T22:55:14.976Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-26T22:55:15.016Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-26T22:55:15.308Z] ---> job-cost.sh [2022-05-26T22:55:15.308Z] lf-activate-venv: SKIPPING [2022-05-26T22:55:15.308Z] DEBUG: total: 0.2199999988079071 [2022-05-26T22:55:15.308Z] INFO: Retrieving Stack Cost... [2022-05-26T22:55:15.882Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-26T22:55:16.143Z] INFO: Archiving Costs [Pipeline] echo [2022-05-26T22:55:16.155Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-26T22:55:16.448Z] ---> logs-deploy.sh [2022-05-26T22:55:16.448Z] lf-activate-venv: SKIPPING [2022-05-26T22:55:16.448Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/17 [2022-05-26T22:55:16.448Z] INFO: archiving workspace using pattern(s): [2022-05-26T22:55:17.390Z] Archives upload complete. [2022-05-26T22:55:17.390Z] INFO: archiving logs to Nexus