Pull request #1130 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at c11ae5f9cc83784f65659a881f6412b77a9cc0d8 rather than 3593550cb183f04032b99acb80b17e47af38cf69 Obtained Jenkinsfile from c11ae5f9cc83784f65659a881f6412b77a9cc0d8 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-ssh11508491941536648087.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh409204459870908888.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1130/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1130/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11461096826432768600.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh7159422769052386739.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1130/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1130/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12232114854320790339.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 Running on prd-ubuntu20.04-docker-8c-8g-20607 in /w/workspace/gexfoundry_device-sdk-go_PR-1130 [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-1130 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit 3593550cb183f04032b99acb80b17e47af38cf69 Merge succeeded, producing 3593550cb183f04032b99acb80b17e47af38cf69 Checking out Revision 3593550cb183f04032b99acb80b17e47af38cf69 (PR-1130) > git config core.sparsecheckout # timeout=10 > git checkout -f 3593550cb183f04032b99acb80b17e47af38cf69 # 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 c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 Commit message: "feat: Implement ReadingUnits configuration for device profile changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-12T02:45:06.220Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-12T02:45:06.303Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-12T02:45:06.332Z] ========================================================= [2022-04-12T02:45:06.332Z] EdgeX Global Pipelines Version Info [2022-04-12T02:45:06.332Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 828ce9130f6c7761fa5367ae0a92a32ead3670da # timeout=10 [2022-04-12T02:45:07.096Z] ------------------- [2022-04-12T02:45:07.096Z] stable info: [2022-04-12T02:45:07.096Z] ------------------- [2022-04-12T02:45:07.096Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-12T02:45:07.096Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T02:45:07.096Z] Message: update stable to v1.0.221 [2022-04-12T02:45:07.672Z] ------------------- [2022-04-12T02:45:07.672Z] experimental info: [2022-04-12T02:45:07.672Z] ------------------- [2022-04-12T02:45:07.672Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-12T02:45:07.672Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-12T02:45:07.672Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-12T02:45:07.799Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-12T02:45:07.812Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-12T02:45:07.824Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-12T02:45:07.840Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-12T02:45:07.849Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-12T02:45:07.861Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-12T02:45:07.872Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-12T02:45:07.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-12T02:45:07.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-12T02:45:07.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-12T02:45:07.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-12T02:45:07.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-12T02:45:07.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-12T02:45:07.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-12T02:45:07.980Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-12T02:45:08.134Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T02:45:08.147Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T02:45:08.166Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-12T02:45:08.178Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-12T02:45:08.197Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-12T02:45:08.214Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-12T02:45:08.232Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-12T02:45:08.244Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-12T02:45:08.259Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-12T02:45:08.273Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-12T02:45:08.289Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-12T02:45:08.301Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1130 [Pipeline] echo [2022-04-12T02:45:08.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1130 [Pipeline] echo [2022-04-12T02:45:08.328Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1130 [Pipeline] echo [2022-04-12T02:45:08.345Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3593550cb183f04032b99acb80b17e47af38cf69 [Pipeline] echo [2022-04-12T02:45:08.357Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3593550 [Pipeline] echo [2022-04-12T02:45:08.373Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T02:45:08.433Z] provisioning config files... [2022-04-12T02:45:08.451Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config1008155242492653776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:45:08.764Z] ---> docker-login.sh [2022-04-12T02:45:08.764Z] nexus3.edgexfoundry.org:10001 [2022-04-12T02:45:09.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:45:09.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:45:09.293Z] Configure a credential helper to remove this warning. See [2022-04-12T02:45:09.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:45:09.293Z] [2022-04-12T02:45:09.293Z] Login Succeeded [2022-04-12T02:45:09.293Z] nexus3.edgexfoundry.org:10002 [2022-04-12T02:45:09.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:45:09.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:45:09.293Z] Configure a credential helper to remove this warning. See [2022-04-12T02:45:09.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:45:09.293Z] [2022-04-12T02:45:09.293Z] Login Succeeded [2022-04-12T02:45:09.293Z] nexus3.edgexfoundry.org:10003 [2022-04-12T02:45:09.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:45:09.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:45:09.554Z] Configure a credential helper to remove this warning. See [2022-04-12T02:45:09.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:45:09.554Z] [2022-04-12T02:45:09.554Z] Login Succeeded [2022-04-12T02:45:09.554Z] nexus3.edgexfoundry.org:10004 [2022-04-12T02:45:09.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:45:09.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:45:09.554Z] Configure a credential helper to remove this warning. See [2022-04-12T02:45:09.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:45:09.554Z] [2022-04-12T02:45:09.554Z] Login Succeeded [2022-04-12T02:45:09.554Z] docker.io [2022-04-12T02:45:09.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:45:10.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:45:10.079Z] Configure a credential helper to remove this warning. See [2022-04-12T02:45:10.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:45:10.079Z] [2022-04-12T02:45:10.079Z] Login Succeeded [2022-04-12T02:45:10.079Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T02:45:10.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-12T02:45:10.488Z] + git rev-list -1 --merges 3593550cb183f04032b99acb80b17e47af38cf69~1..3593550cb183f04032b99acb80b17e47af38cf69 [Pipeline] echo [2022-04-12T02:45:10.627Z] -----------> git rev-list -1 --merges 3593550cb183f04032b99acb80b17e47af38cf69~1..3593550cb183f04032b99acb80b17e47af38cf69 3593550cb183f04032b99acb80b17e47af38cf69 [false] [Pipeline] sh [2022-04-12T02:45:10.976Z] + git log --format=format:%s -1 3593550cb183f04032b99acb80b17e47af38cf69 [Pipeline] echo [2022-04-12T02:45:10.996Z] ========================================================= [2022-04-12T02:45:10.996Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-12T02:45:10.996Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T02:45:11.350Z] + git log --format=format:%s -1 3593550cb183f04032b99acb80b17e47af38cf69 [Pipeline] echo [2022-04-12T02:45:11.364Z] [semverPrep] GIT_COMMIT: 3593550cb183f04032b99acb80b17e47af38cf69, Commit Message: feat: Implement ReadingUnits configuration for device profile changes [Pipeline] echo [2022-04-12T02:45:11.378Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-12T02:45:11.846Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-12T02:45:11.846Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-12T02:45:11.846Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-12T02:45:11.846Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-12T02:45:11.846Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-12T02:45:11.846Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-12T02:45:11.846Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:45:12.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T02:45:12.290Z] [2022-04-12T02:45:12.290Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:45:12.598Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T02:45:12.598Z] latest: Pulling from edgex-devops/git-semver [2022-04-12T02:45:12.598Z] a0d0a0d46f8b: Pulling fs layer [2022-04-12T02:45:12.598Z] 3e5f54012d9b: Pulling fs layer [2022-04-12T02:45:12.598Z] 4c7163046ea9: Pulling fs layer [2022-04-12T02:45:12.598Z] 0c2d73faf560: Pulling fs layer [2022-04-12T02:45:12.598Z] 0c2d73faf560: Waiting [2022-04-12T02:45:12.598Z] 3e5f54012d9b: Verifying Checksum [2022-04-12T02:45:12.598Z] 3e5f54012d9b: Download complete [2022-04-12T02:45:12.598Z] a0d0a0d46f8b: Verifying Checksum [2022-04-12T02:45:12.598Z] a0d0a0d46f8b: Download complete [2022-04-12T02:45:12.862Z] 0c2d73faf560: Verifying Checksum [2022-04-12T02:45:12.862Z] 0c2d73faf560: Download complete [2022-04-12T02:45:12.862Z] 4c7163046ea9: Download complete [2022-04-12T02:45:12.862Z] a0d0a0d46f8b: Pull complete [2022-04-12T02:45:12.862Z] 3e5f54012d9b: Pull complete [2022-04-12T02:45:13.440Z] 4c7163046ea9: Pull complete [2022-04-12T02:45:13.440Z] 0c2d73faf560: Pull complete [2022-04-12T02:45:13.440Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-12T02:45:13.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-12T02:45:13.440Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-12T02:45:13.525Z] prd-ubuntu20.04-docker-8c-8g-20607 does not seem to be running inside a container [2022-04-12T02:45:13.573Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@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:10004/edgex-devops/git-semver:latest cat [2022-04-12T02:45:14.403Z] $ docker top d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-12T02:45:14.509Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T02:45:14.509Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T02:45:14.654Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T02:45:14.664Z] $ docker exec d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c ssh-agent [2022-04-12T02:45:14.797Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbHAABl/agent.13 [2022-04-12T02:45:14.797Z] SSH_AGENT_PID=19 [2022-04-12T02:45:14.806Z] Running ssh-add (command line suppressed) [2022-04-12T02:45:14.923Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_874930030381753897.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_874930030381753897.key) [2022-04-12T02:45:14.934Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T02:45:15.228Z] + git tag --points-at HEAD [Pipeline] } [2022-04-12T02:45:15.249Z] $ docker exec --env ******** --env ******** d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c ssh-agent -k [2022-04-12T02:45:15.373Z] unset SSH_AUTH_SOCK; [2022-04-12T02:45:15.374Z] unset SSH_AGENT_PID; [2022-04-12T02:45:15.374Z] echo Agent pid 19 killed; [2022-04-12T02:45:15.382Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-12T02:45:15.408Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-12T02:45:15.408Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-12T02:45:15.549Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-12T02:45:15.558Z] $ docker exec d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c ssh-agent [2022-04-12T02:45:15.691Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdIjeni/agent.55 [2022-04-12T02:45:15.691Z] SSH_AGENT_PID=62 [2022-04-12T02:45:15.697Z] Running ssh-add (command line suppressed) [2022-04-12T02:45:15.823Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_412483432717042554.key (/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/private_key_412483432717042554.key) [2022-04-12T02:45:15.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-12T02:45:16.132Z] + git semver init [2022-04-12T02:45:16.132Z] # -> Open(): unable to determine branch for HEAD [2022-04-12T02:45:16.132Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.git [2022-04-12T02:45:16.132Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-12T02:45:16.132Z] # $SEMVER_REMOTE_NAME = origin [2022-04-12T02:45:16.132Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-12T02:45:16.132Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-12T02:45:16.132Z] # $SEMVER_BRANCH = PR-1130 [2022-04-12T02:45:16.132Z] # $SEMVER_TEMP = /tmp/semver-887973378 [2022-04-12T02:45:16.132Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-12T02:45:17.526Z] # '/tmp/semver-887973378' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver' [2022-04-12T02:45:17.526Z] # -> Force: false [2022-04-12T02:45:17.526Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1130/.semver [Pipeline] } [2022-04-12T02:45:17.543Z] $ docker exec --env ******** --env ******** d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c ssh-agent -k [2022-04-12T02:45:17.650Z] unset SSH_AUTH_SOCK; [2022-04-12T02:45:17.651Z] unset SSH_AGENT_PID; [2022-04-12T02:45:17.651Z] echo Agent pid 62 killed; [2022-04-12T02:45:17.657Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-12T02:45:17.977Z] + git semver [Pipeline] } [2022-04-12T02:45:17.997Z] $ docker stop --time=1 d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c [2022-04-12T02:45:19.402Z] $ docker rm -f d7a6c8ab6112ffe85057c72159b658d4665c9db6697fb18b89ac448cacc16b6c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T02:45:19.768Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-12T02:45:20.065Z] Stashed 1 file(s) [Pipeline] echo [2022-04-12T02:45:20.070Z] [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-04-12T02:45:20.250Z] provisioning config files... [2022-04-12T02:45:20.262Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config3686677768919873589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:45:20.566Z] ---> docker-login.sh [2022-04-12T02:45:20.566Z] nexus3.edgexfoundry.org:10001 [2022-04-12T02:45:20.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:45:20.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:45:20.566Z] Configure a credential helper to remove this warning. See [2022-04-12T02:45:20.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:45:20.566Z] [2022-04-12T02:45:20.566Z] Login Succeeded [2022-04-12T02:45:20.566Z] nexus3.edgexfoundry.org:10002 [2022-04-12T02:45:20.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:45:20.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:45:20.828Z] Configure a credential helper to remove this warning. See [2022-04-12T02:45:20.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:45:20.828Z] [2022-04-12T02:45:20.828Z] Login Succeeded [2022-04-12T02:45:20.828Z] nexus3.edgexfoundry.org:10003 [2022-04-12T02:45:20.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:45:20.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:45:20.828Z] Configure a credential helper to remove this warning. See [2022-04-12T02:45:20.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:45:20.828Z] [2022-04-12T02:45:20.828Z] Login Succeeded [2022-04-12T02:45:20.828Z] nexus3.edgexfoundry.org:10004 [2022-04-12T02:45:21.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:45:21.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:45:21.089Z] Configure a credential helper to remove this warning. See [2022-04-12T02:45:21.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:45:21.089Z] [2022-04-12T02:45:21.089Z] Login Succeeded [2022-04-12T02:45:21.089Z] docker.io [2022-04-12T02:45:21.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:45:21.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:45:21.351Z] Configure a credential helper to remove this warning. See [2022-04-12T02:45:21.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:45:21.351Z] [2022-04-12T02:45:21.351Z] Login Succeeded [2022-04-12T02:45:21.351Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T02:45:21.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T02:45:21.437Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T02:45:21.447Z] ========================================================= [2022-04-12T02:45:21.447Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-12T02:45:21.447Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:45:21.757Z] + 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-04-12T02:45:21.757Z] Sending build context to Docker daemon 9.618MB [2022-04-12T02:45:21.757Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T02:45:21.757Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T02:45:22.020Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-12T02:45:22.020Z] 59bf1c3509f3: Pulling fs layer [2022-04-12T02:45:22.020Z] 666ba61612fd: Pulling fs layer [2022-04-12T02:45:22.020Z] 8ed8ca486205: Pulling fs layer [2022-04-12T02:45:22.020Z] 4fe6c5a15a65: Pulling fs layer [2022-04-12T02:45:22.020Z] 22a0e8bec74d: Pulling fs layer [2022-04-12T02:45:22.020Z] 640e595b4fbd: Pulling fs layer [2022-04-12T02:45:22.020Z] 763cafe07f6e: Pulling fs layer [2022-04-12T02:45:22.020Z] 0c0b528cf693: Pulling fs layer [2022-04-12T02:45:22.020Z] 10935f4eaf8b: Pulling fs layer [2022-04-12T02:45:22.020Z] 640e595b4fbd: Waiting [2022-04-12T02:45:22.020Z] 763cafe07f6e: Waiting [2022-04-12T02:45:22.020Z] 22a0e8bec74d: Waiting [2022-04-12T02:45:22.020Z] 4fe6c5a15a65: Waiting [2022-04-12T02:45:22.020Z] 10935f4eaf8b: Waiting [2022-04-12T02:45:22.020Z] 8ed8ca486205: Download complete [2022-04-12T02:45:22.020Z] 666ba61612fd: Download complete [2022-04-12T02:45:22.020Z] 22a0e8bec74d: Verifying Checksum [2022-04-12T02:45:22.020Z] 22a0e8bec74d: Download complete [2022-04-12T02:45:22.020Z] 640e595b4fbd: Verifying Checksum [2022-04-12T02:45:22.020Z] 640e595b4fbd: Download complete [2022-04-12T02:45:22.020Z] 59bf1c3509f3: Verifying Checksum [2022-04-12T02:45:22.020Z] 59bf1c3509f3: Download complete [2022-04-12T02:45:22.020Z] 763cafe07f6e: Verifying Checksum [2022-04-12T02:45:22.020Z] 763cafe07f6e: Download complete [2022-04-12T02:45:22.020Z] 0c0b528cf693: Verifying Checksum [2022-04-12T02:45:22.020Z] 0c0b528cf693: Download complete [2022-04-12T02:45:22.284Z] 59bf1c3509f3: Pull complete [2022-04-12T02:45:22.284Z] 666ba61612fd: Pull complete [2022-04-12T02:45:22.544Z] 8ed8ca486205: Pull complete [2022-04-12T02:45:22.544Z] 10935f4eaf8b: Verifying Checksum [2022-04-12T02:45:22.544Z] 10935f4eaf8b: Download complete [2022-04-12T02:45:22.804Z] 4fe6c5a15a65: Download complete [2022-04-12T02:45:27.007Z] 4fe6c5a15a65: Pull complete [2022-04-12T02:45:27.007Z] 22a0e8bec74d: Pull complete [2022-04-12T02:45:27.007Z] 640e595b4fbd: Pull complete [2022-04-12T02:45:27.268Z] 763cafe07f6e: Pull complete [2022-04-12T02:45:27.268Z] 0c0b528cf693: Pull complete [2022-04-12T02:45:29.807Z] 10935f4eaf8b: Pull complete [2022-04-12T02:45:29.807Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-12T02:45:29.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-12T02:45:29.807Z] ---> 99d49a6021b9 [2022-04-12T02:45:29.807Z] Step 3/11 : ARG MAKE=make build [2022-04-12T02:45:31.723Z] ---> Running in f75fc44bdcb3 [2022-04-12T02:45:31.723Z] Removing intermediate container f75fc44bdcb3 [2022-04-12T02:45:31.723Z] ---> faeb8d7a7c44 [2022-04-12T02:45:31.723Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-12T02:45:31.723Z] ---> Running in 2e312073c9ab [2022-04-12T02:45:31.723Z] Removing intermediate container 2e312073c9ab [2022-04-12T02:45:31.723Z] ---> d6fe03bd566d [2022-04-12T02:45:31.723Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T02:45:31.723Z] ---> Running in 620112818d54 [2022-04-12T02:45:31.983Z] Removing intermediate container 620112818d54 [2022-04-12T02:45:31.983Z] ---> 921c9ce844f1 [2022-04-12T02:45:31.983Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T02:45:31.983Z] ---> Running in db8d1cd3a0e4 [2022-04-12T02:45:32.555Z] Removing intermediate container db8d1cd3a0e4 [2022-04-12T02:45:32.555Z] ---> 1e9c94e2c200 [2022-04-12T02:45:32.555Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T02:45:32.815Z] ---> Running in 35cfb00f822a [2022-04-12T02:45:33.075Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T02:45:34.019Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T02:45:34.019Z] OK: 221 MiB in 52 packages [2022-04-12T02:45:34.590Z] Removing intermediate container 35cfb00f822a [2022-04-12T02:45:34.590Z] ---> c284a684af5c [2022-04-12T02:45:34.590Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T02:45:34.590Z] ---> ca7d2b2d1189 [2022-04-12T02:45:34.590Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T02:45:34.590Z] ---> Running in d649af4c9266 [2022-04-12T02:45:35.203Z] Still waiting to schedule task [2022-04-12T02:45:35.203Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-12T02:45:56.560Z] Removing intermediate container d649af4c9266 [2022-04-12T02:45:56.560Z] ---> 4ed137bcc018 [2022-04-12T02:45:56.560Z] Step 10/11 : COPY . . [2022-04-12T02:45:56.560Z] ---> c777bf0036a9 [2022-04-12T02:45:56.560Z] Step 11/11 : RUN ${MAKE} [2022-04-12T02:45:56.560Z] ---> Running in 15ecf1f68dad [2022-04-12T02:45:56.560Z] noop [2022-04-12T02:45:56.560Z] Removing intermediate container 15ecf1f68dad [2022-04-12T02:45:56.560Z] ---> 2420e68cc1c0 [2022-04-12T02:45:56.560Z] Successfully built 2420e68cc1c0 [2022-04-12T02:45:56.560Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:45:56.855Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T02:45:56.855Z] . [Pipeline] withDockerContainer [2022-04-12T02:45:56.918Z] prd-ubuntu20.04-docker-8c-8g-20607 does not seem to be running inside a container [2022-04-12T02:45:56.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-12T02:45:57.420Z] $ docker top 4add818cbca77a5275be46c346defe3c8ef2e9732494089b8f4a0249ed8d2a94 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T02:45:57.787Z] + go version [2022-04-12T02:45:57.787Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-12T02:45:57.804Z] $ docker stop --time=1 4add818cbca77a5275be46c346defe3c8ef2e9732494089b8f4a0249ed8d2a94 [2022-04-12T02:45:59.153Z] $ docker rm -f 4add818cbca77a5275be46c346defe3c8ef2e9732494089b8f4a0249ed8d2a94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:45:59.564Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-12T02:45:59.564Z] . [Pipeline] withDockerContainer [2022-04-12T02:45:59.638Z] prd-ubuntu20.04-docker-8c-8g-20607 does not seem to be running inside a container [2022-04-12T02:45:59.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-12T02:46:00.139Z] $ docker top 9a40e1c6298ddc63e9636d699b56c1155647733cc3423793ba73476f6b322ef0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T02:46:00.536Z] + make test [2022-04-12T02:46:00.536Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-12T02:46:00.796Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-12T02:46:10.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-12T02:46:10.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-12T02:46:10.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-12T02:46:10.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.017s coverage: 23.3% of statements [2022-04-12T02:46:10.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-12T02:46:10.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.034s coverage: 27.6% of statements [2022-04-12T02:46:10.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.028s coverage: 78.9% of statements [2022-04-12T02:46:10.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.024s coverage: 10.8% of statements [2022-04-12T02:46:10.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-12T02:46:10.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-12T02:46:10.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-12T02:46:10.806Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.015s coverage: 33.2% of statements [2022-04-12T02:46:10.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-12T02:46:12.195Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.016s coverage: 86.1% of statements [2022-04-12T02:46:12.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-12T02:46:12.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-12T02:46:12.195Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.038s coverage: 57.2% of statements [2022-04-12T02:46:12.195Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.054s coverage: 89.2% of statements [2022-04-12T02:46:12.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-12T02:46:12.195Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.014s coverage: 4.8% of statements [2022-04-12T02:46:12.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-12T02:46:20.329Z] GO111MODULE=on go vet ./... [2022-04-12T02:46:23.631Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T02:46:23.631Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T02:46:23.892Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T02:46:24.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T02:46:24.500Z] $ docker stop --time=1 9a40e1c6298ddc63e9636d699b56c1155647733cc3423793ba73476f6b322ef0 [2022-04-12T02:46:26.520Z] $ docker rm -f 9a40e1c6298ddc63e9636d699b56c1155647733cc3423793ba73476f6b322ef0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T02:46:27.001Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T02:46:27.054Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-12T02:46:28.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T02:46:28.433Z] + ls -al . [2022-04-12T02:46:28.433Z] total 296 [2022-04-12T02:46:28.433Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 02:46 . [2022-04-12T02:46:28.433Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 02:45 .. [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 02:45 .dockerignore [2022-04-12T02:46:28.433Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 02:45 .git [2022-04-12T02:46:28.433Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 02:45 .github [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 02:45 .gitignore [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 02:45 .golangci.yml [2022-04-12T02:46:28.433Z] drwx------ 3 jenkins jenkins 4096 Apr 12 02:45 .semver [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 02:45 CHANGELOG.md [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 02:45 GOVERNANCE.md [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 02:45 Jenkinsfile [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 02:45 LICENSE [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 12 02:45 Makefile [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 02:45 OWNERS.md [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 02:45 README.md [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 02:45 VERSION [2022-04-12T02:46:28.433Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 02:45 bin [2022-04-12T02:46:28.433Z] -rw-r--r-- 1 jenkins jenkins 129185 Apr 12 02:46 coverage.out [2022-04-12T02:46:28.433Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 02:45 example [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 02:45 go.mod [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 12 02:45 go.sum [2022-04-12T02:46:28.433Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 02:45 internal [2022-04-12T02:46:28.433Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 02:45 openapi [2022-04-12T02:46:28.433Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 02:45 pkg [2022-04-12T02:46:28.433Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 02:45 snap [2022-04-12T02:46:28.433Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:46:28.734Z] + 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=3593550cb183f04032b99acb80b17e47af38cf69 --label arch=amd64 --label version=0.0.0 . [2022-04-12T02:46:28.734Z] Sending build context to Docker daemon 9.748MB [2022-04-12T02:46:28.734Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T02:46:28.734Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T02:46:28.734Z] ---> 2420e68cc1c0 [2022-04-12T02:46:28.734Z] Step 3/25 : ARG MAKE=make build [2022-04-12T02:46:28.994Z] ---> Running in ed67695dd8c1 [2022-04-12T02:46:28.995Z] Removing intermediate container ed67695dd8c1 [2022-04-12T02:46:28.995Z] ---> adf7239a3f9d [2022-04-12T02:46:28.995Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-12T02:46:28.995Z] ---> Running in 3bfa6cdf2fa4 [2022-04-12T02:46:29.256Z] Removing intermediate container 3bfa6cdf2fa4 [2022-04-12T02:46:29.256Z] ---> 6ab8e0ef9efd [2022-04-12T02:46:29.256Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T02:46:29.256Z] ---> Running in 29abe65f7737 [2022-04-12T02:46:29.256Z] Removing intermediate container 29abe65f7737 [2022-04-12T02:46:29.256Z] ---> 0069ee14b987 [2022-04-12T02:46:29.256Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T02:46:29.522Z] ---> Running in 6b122a531311 [2022-04-12T02:46:30.093Z] Removing intermediate container 6b122a531311 [2022-04-12T02:46:30.093Z] ---> 0472d7b29e37 [2022-04-12T02:46:30.093Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T02:46:30.093Z] ---> Running in 48c0f734e2d1 [2022-04-12T02:46:30.352Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-12T02:46:31.296Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-12T02:46:31.558Z] OK: 221 MiB in 52 packages [2022-04-12T02:46:31.820Z] Removing intermediate container 48c0f734e2d1 [2022-04-12T02:46:31.820Z] ---> a9293be71b3a [2022-04-12T02:46:31.820Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T02:46:32.085Z] ---> 2b2e543a33a1 [2022-04-12T02:46:32.085Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T02:46:32.085Z] ---> Running in 9d277b945ede [2022-04-12T02:46:32.657Z] Removing intermediate container 9d277b945ede [2022-04-12T02:46:32.657Z] ---> 84751e395208 [2022-04-12T02:46:32.657Z] Step 10/25 : COPY . . [2022-04-12T02:46:33.233Z] ---> 160bcdb7fea7 [2022-04-12T02:46:33.233Z] Step 11/25 : RUN ${MAKE} [2022-04-12T02:46:33.233Z] ---> Running in 561f32e2897b [2022-04-12T02:46:33.497Z] 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-04-12T02:46:51.609Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-12T02:46:53.525Z] Removing intermediate container 561f32e2897b [2022-04-12T02:46:53.525Z] ---> f67e4e2dc2bb [2022-04-12T02:46:53.525Z] Step 12/25 : FROM alpine:3.14 [2022-04-12T02:46:54.099Z] 3.14: Pulling from library/alpine [2022-04-12T02:46:54.359Z] 8663204ce13b: Pulling fs layer [2022-04-12T02:46:54.642Z] 8663204ce13b: Verifying Checksum [2022-04-12T02:46:54.642Z] 8663204ce13b: Download complete [2022-04-12T02:46:54.642Z] 8663204ce13b: Pull complete [2022-04-12T02:46:54.642Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T02:46:54.642Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T02:46:54.642Z] ---> e04c818066af [2022-04-12T02:46:54.642Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T02:46:54.901Z] ---> Running in 9c2a58d77ebb [2022-04-12T02:46:54.901Z] Removing intermediate container 9c2a58d77ebb [2022-04-12T02:46:54.901Z] ---> dd244e55467b [2022-04-12T02:46:54.901Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T02:46:54.901Z] ---> Running in e1bbd6834221 [2022-04-12T02:46:55.471Z] Removing intermediate container e1bbd6834221 [2022-04-12T02:46:55.471Z] ---> f533ac97bcd0 [2022-04-12T02:46:55.471Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T02:46:55.471Z] ---> Running in 3c04251d46f9 [2022-04-12T02:46:55.730Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-12T02:46:56.674Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-12T02:46:56.937Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T02:46:57.201Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T02:46:57.201Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T02:46:57.201Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T02:46:57.464Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T02:46:57.464Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T02:46:57.464Z] OK: 8 MiB in 19 packages [2022-04-12T02:46:58.040Z] Removing intermediate container 3c04251d46f9 [2022-04-12T02:46:58.040Z] ---> b66d7cc57637 [2022-04-12T02:46:58.040Z] Step 16/25 : WORKDIR / [2022-04-12T02:46:58.040Z] ---> Running in f7d44b65ebf0 [2022-04-12T02:46:58.303Z] Removing intermediate container f7d44b65ebf0 [2022-04-12T02:46:58.303Z] ---> 3a40aeebeae8 [2022-04-12T02:46:58.303Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-12T02:46:58.303Z] ---> 3ec43dda02a8 [2022-04-12T02:46:58.303Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-12T02:46:58.873Z] ---> 87d9e82c44b1 [2022-04-12T02:46:58.873Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-12T02:46:59.134Z] ---> 2f6127c4cbb2 [2022-04-12T02:46:59.134Z] Step 20/25 : EXPOSE 59999 [2022-04-12T02:46:59.134Z] ---> Running in cef3aeead1c9 [2022-04-12T02:46:59.396Z] Removing intermediate container cef3aeead1c9 [2022-04-12T02:46:59.396Z] ---> 7333cea5b201 [2022-04-12T02:46:59.396Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-12T02:46:59.396Z] ---> Running in 95549357dcaa [2022-04-12T02:46:59.396Z] Removing intermediate container 95549357dcaa [2022-04-12T02:46:59.396Z] ---> 0ef344b48f72 [2022-04-12T02:46:59.396Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T02:46:59.396Z] ---> Running in acbe025c8748 [2022-04-12T02:46:59.656Z] Removing intermediate container acbe025c8748 [2022-04-12T02:46:59.656Z] ---> 7258e1203556 [2022-04-12T02:46:59.656Z] Step 23/25 : LABEL arch=amd64 [2022-04-12T02:46:59.656Z] ---> Running in 56fefade3a96 [2022-04-12T02:46:59.656Z] Removing intermediate container 56fefade3a96 [2022-04-12T02:46:59.656Z] ---> 748111c6ddf3 [2022-04-12T02:46:59.656Z] Step 24/25 : LABEL git_sha=3593550cb183f04032b99acb80b17e47af38cf69 [2022-04-12T02:46:59.656Z] ---> Running in 7ac8b4e8c2fb [2022-04-12T02:46:59.917Z] Removing intermediate container 7ac8b4e8c2fb [2022-04-12T02:46:59.917Z] ---> bf6c7d396b1d [2022-04-12T02:46:59.917Z] Step 25/25 : LABEL version=0.0.0 [2022-04-12T02:46:59.917Z] ---> Running in c3643f82ae88 [2022-04-12T02:46:59.917Z] Removing intermediate container c3643f82ae88 [2022-04-12T02:46:59.917Z] ---> a087facefc9a [2022-04-12T02:46:59.917Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T02:46:59.917Z] Successfully built a087facefc9a [2022-04-12T02:46:59.917Z] Successfully tagged device-sdk-simple:latest [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] sh [2022-04-12T02:47:00.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T02:47:00.381Z] [2022-04-12T02:47:00.381Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:47:00.682Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T02:47:00.682Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-12T02:47:00.682Z] 5eb5b503b376: Pulling fs layer [2022-04-12T02:47:00.682Z] 5c69ac0246d0: Pulling fs layer [2022-04-12T02:47:00.682Z] ec43610c2a17: Pulling fs layer [2022-04-12T02:47:00.682Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-12T02:47:00.682Z] 33b1e0a273af: Pulling fs layer [2022-04-12T02:47:00.682Z] 5d3b04190fa2: Pulling fs layer [2022-04-12T02:47:00.682Z] 2f39f015ded8: Pulling fs layer [2022-04-12T02:47:00.682Z] 33b1e0a273af: Waiting [2022-04-12T02:47:00.682Z] 5d3b04190fa2: Waiting [2022-04-12T02:47:00.682Z] 2f39f015ded8: Waiting [2022-04-12T02:47:00.682Z] 3a2ae6a8a46f: Waiting [2022-04-12T02:47:00.682Z] 5c69ac0246d0: Download complete [2022-04-12T02:47:00.682Z] 3a2ae6a8a46f: Download complete [2022-04-12T02:47:00.682Z] 33b1e0a273af: Verifying Checksum [2022-04-12T02:47:00.682Z] 33b1e0a273af: Download complete [2022-04-12T02:47:00.682Z] 5d3b04190fa2: Verifying Checksum [2022-04-12T02:47:00.682Z] 5d3b04190fa2: Download complete [2022-04-12T02:47:00.682Z] ec43610c2a17: Verifying Checksum [2022-04-12T02:47:00.682Z] ec43610c2a17: Download complete [2022-04-12T02:47:00.942Z] 5eb5b503b376: Verifying Checksum [2022-04-12T02:47:00.942Z] 5eb5b503b376: Download complete [2022-04-12T02:47:01.508Z] 2f39f015ded8: Download complete [2022-04-12T02:47:02.080Z] 5eb5b503b376: Pull complete [2022-04-12T02:47:02.340Z] 5c69ac0246d0: Pull complete [2022-04-12T02:47:02.598Z] ec43610c2a17: Pull complete [2022-04-12T02:47:02.859Z] 3a2ae6a8a46f: Pull complete [2022-04-12T02:47:03.118Z] 33b1e0a273af: Pull complete [2022-04-12T02:47:03.118Z] 5d3b04190fa2: Pull complete [2022-04-12T02:47:07.311Z] 2f39f015ded8: Pull complete [2022-04-12T02:47:07.311Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-12T02:47:07.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T02:47:07.311Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-12T02:47:07.378Z] prd-ubuntu20.04-docker-8c-8g-20607 does not seem to be running inside a container [2022-04-12T02:47:07.422Z] $ 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-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-12T02:47:08.746Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20608 in /w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-12T02:47:09.886Z] $ docker top d79cb8ec9723e13b051946a647611685fc485cf1e9a7a1b32bc13cb73715f251 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-04-12T02:47:10.072Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-04-12T02:47:10.325Z] ---> job-cost.sh [2022-04-12T02:47:10.325Z] lf-activate-venv: SKIPPING [2022-04-12T02:47:10.325Z] INFO: No Stack... [2022-04-12T02:47:10.365Z] The recommended git tool is: git [2022-04-12T02:47:10.586Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T02:47:11.158Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T02:47:11.461Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/cost.csv [2022-04-12T02:47:11.461Z] + cut -d, -f6 [Pipeline] lock [2022-04-12T02:47:11.478Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] [2022-04-12T02:47:11.484Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] did not exist. Created. [2022-04-12T02:47:11.484Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T02:47:11.790Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-12T02:47:11.819Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T02:47:11.828Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T02:47:11.855Z] $ docker stop --time=1 d79cb8ec9723e13b051946a647611685fc485cf1e9a7a1b32bc13cb73715f251 [2022-04-12T02:47:13.036Z] $ docker rm -f d79cb8ec9723e13b051946a647611685fc485cf1e9a7a1b32bc13cb73715f251 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-12T02:47:17.254Z] using credential edgex-jenkins-ssh [2022-04-12T02:47:17.283Z] Cloning the remote Git repository [2022-04-12T02:47:17.413Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T02:47:17.574Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-04-12T02:47:17.687Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T02:47:17.688Z] > git --version # timeout=10 [2022-04-12T02:47:17.762Z] > git --version # 'git version 2.25.1' [2022-04-12T02:47:17.764Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T02:47:17.883Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T02:47:19.415Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-12T02:47:19.436Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-12T02:47:19.467Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-12T02:47:19.512Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-12T02:47:19.513Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T02:47:20.181Z] Merging remotes/origin/main commit c11ae5f9cc83784f65659a881f6412b77a9cc0d8 into PR head commit 3593550cb183f04032b99acb80b17e47af38cf69 [2022-04-12T02:47:20.421Z] Merge succeeded, producing 3593550cb183f04032b99acb80b17e47af38cf69 [2022-04-12T02:47:20.421Z] Checking out Revision 3593550cb183f04032b99acb80b17e47af38cf69 (PR-1130) [2022-04-12T02:47:19.528Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1130/head:refs/remotes/origin/PR-1130 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-12T02:47:20.202Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T02:47:20.220Z] > git checkout -f 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 [2022-04-12T02:47:20.329Z] > git remote # timeout=10 [2022-04-12T02:47:20.347Z] > git config --get remote.origin.url # timeout=10 [2022-04-12T02:47:20.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-12T02:47:20.382Z] > git merge c11ae5f9cc83784f65659a881f6412b77a9cc0d8 # timeout=10 [2022-04-12T02:47:20.406Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-12T02:47:20.428Z] > git config core.sparsecheckout # timeout=10 [2022-04-12T02:47:20.447Z] > git checkout -f 3593550cb183f04032b99acb80b17e47af38cf69 # timeout=10 [2022-04-12T02:47:24.657Z] Commit message: "feat: Implement ReadingUnits configuration for device profile changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T02:47:25.610Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-12T02:47:25.610Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T02:47:25.610Z] Dload Upload Total Spent Left Speed [2022-04-12T02:47:25.610Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46443 0 --:--:-- --:--:-- --:--:-- 46443 [Pipeline] sh [2022-04-12T02:47:26.173Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-12T02:47:26.517Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-12T02:47:26.517Z] + sudo tee /etc/docker/daemon.new [2022-04-12T02:47:26.517Z] { [2022-04-12T02:47:26.517Z] "registry-mirrors": [ [2022-04-12T02:47:26.517Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-12T02:47:26.517Z] ], [2022-04-12T02:47:26.517Z] "bip": "10.250.0.254/24", [2022-04-12T02:47:26.517Z] "hosts": [ [2022-04-12T02:47:26.517Z] "tcp://0.0.0.0:5555", [2022-04-12T02:47:26.517Z] "unix:///var/run/docker.sock" [2022-04-12T02:47:26.517Z] ], [2022-04-12T02:47:26.517Z] "mtu": 1458, [2022-04-12T02:47:26.517Z] "selinux-enabled": true, [2022-04-12T02:47:26.517Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-12T02:47:26.517Z] } [Pipeline] sh [2022-04-12T02:47:26.873Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-12T02:47:27.230Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T02:47:45.613Z] provisioning config files... [2022-04-12T02:47:45.639Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config179141763606226310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:47:46.025Z] ---> docker-login.sh [2022-04-12T02:47:46.025Z] nexus3.edgexfoundry.org:10001 [2022-04-12T02:47:46.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:47:46.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:47:46.902Z] Configure a credential helper to remove this warning. See [2022-04-12T02:47:46.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:47:46.902Z] [2022-04-12T02:47:46.902Z] Login Succeeded [2022-04-12T02:47:46.902Z] nexus3.edgexfoundry.org:10002 [2022-04-12T02:47:47.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:47:47.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:47:47.181Z] Configure a credential helper to remove this warning. See [2022-04-12T02:47:47.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:47:47.181Z] [2022-04-12T02:47:47.181Z] Login Succeeded [2022-04-12T02:47:47.181Z] nexus3.edgexfoundry.org:10003 [2022-04-12T02:47:47.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:47:47.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:47:47.794Z] Configure a credential helper to remove this warning. See [2022-04-12T02:47:47.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:47:47.794Z] [2022-04-12T02:47:47.794Z] Login Succeeded [2022-04-12T02:47:47.794Z] nexus3.edgexfoundry.org:10004 [2022-04-12T02:47:48.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:47:48.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:47:48.354Z] Configure a credential helper to remove this warning. See [2022-04-12T02:47:48.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:47:48.355Z] [2022-04-12T02:47:48.355Z] Login Succeeded [2022-04-12T02:47:48.355Z] docker.io [2022-04-12T02:47:48.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-12T02:47:48.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-12T02:47:48.909Z] Configure a credential helper to remove this warning. See [2022-04-12T02:47:48.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-12T02:47:48.909Z] [2022-04-12T02:47:48.909Z] Login Succeeded [2022-04-12T02:47:49.185Z] ---> docker-login.sh ends [Pipeline] } [2022-04-12T02:47:49.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-12T02:47:49.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-12T02:47:49.858Z] ========================================================= [2022-04-12T02:47:49.858Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-12T02:47:49.858Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:47:50.221Z] + 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-04-12T02:47:50.851Z] Sending build context to Docker daemon 5.213MB [2022-04-12T02:47:50.851Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T02:47:50.851Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-12T02:47:50.851Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-12T02:47:50.851Z] 9b3977197b4f: Pulling fs layer [2022-04-12T02:47:50.851Z] 1a89e8eeedd5: Pulling fs layer [2022-04-12T02:47:50.851Z] 94645a83ff95: Pulling fs layer [2022-04-12T02:47:50.851Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-12T02:47:50.851Z] 0c92f367c5e7: Pulling fs layer [2022-04-12T02:47:50.851Z] f7c0051592d6: Pulling fs layer [2022-04-12T02:47:50.851Z] a227ed2f7395: Pulling fs layer [2022-04-12T02:47:50.851Z] 7b1c46037f91: Pulling fs layer [2022-04-12T02:47:50.851Z] 0c92f367c5e7: Waiting [2022-04-12T02:47:50.851Z] f7c0051592d6: Waiting [2022-04-12T02:47:50.851Z] a227ed2f7395: Waiting [2022-04-12T02:47:50.851Z] 7b1c46037f91: Waiting [2022-04-12T02:47:50.851Z] 3f3a8bcf1eab: Waiting [2022-04-12T02:47:51.136Z] 94645a83ff95: Verifying Checksum [2022-04-12T02:47:51.136Z] 94645a83ff95: Download complete [2022-04-12T02:47:51.136Z] 1a89e8eeedd5: Verifying Checksum [2022-04-12T02:47:51.136Z] 1a89e8eeedd5: Download complete [2022-04-12T02:47:51.136Z] 0c92f367c5e7: Verifying Checksum [2022-04-12T02:47:51.136Z] 0c92f367c5e7: Download complete [2022-04-12T02:47:51.136Z] f7c0051592d6: Verifying Checksum [2022-04-12T02:47:51.136Z] f7c0051592d6: Download complete [2022-04-12T02:47:51.136Z] 9b3977197b4f: Download complete [2022-04-12T02:47:51.136Z] a227ed2f7395: Verifying Checksum [2022-04-12T02:47:51.136Z] a227ed2f7395: Download complete [2022-04-12T02:47:51.739Z] 9b3977197b4f: Pull complete [2022-04-12T02:47:52.349Z] 1a89e8eeedd5: Pull complete [2022-04-12T02:47:52.952Z] 94645a83ff95: Pull complete [2022-04-12T02:47:53.227Z] 7b1c46037f91: Download complete [2022-04-12T02:47:53.826Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-12T02:47:53.826Z] 3f3a8bcf1eab: Download complete [2022-04-12T02:48:06.256Z] 3f3a8bcf1eab: Pull complete [2022-04-12T02:48:06.256Z] 0c92f367c5e7: Pull complete [2022-04-12T02:48:06.256Z] f7c0051592d6: Pull complete [2022-04-12T02:48:06.256Z] a227ed2f7395: Pull complete [2022-04-12T02:48:13.007Z] 7b1c46037f91: Pull complete [2022-04-12T02:48:13.007Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-12T02:48:13.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-12T02:48:13.007Z] ---> f79e39bc4007 [2022-04-12T02:48:13.007Z] Step 3/11 : ARG MAKE=make build [2022-04-12T02:48:13.283Z] ---> Running in b3b279815d0a [2022-04-12T02:48:13.561Z] Removing intermediate container b3b279815d0a [2022-04-12T02:48:13.561Z] ---> b233bf0484df [2022-04-12T02:48:13.561Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-12T02:48:13.561Z] ---> Running in 30c4185a7d1a [2022-04-12T02:48:13.837Z] Removing intermediate container 30c4185a7d1a [2022-04-12T02:48:13.837Z] ---> 1637ab1b4b71 [2022-04-12T02:48:13.837Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T02:48:13.837Z] ---> Running in 2957fab7b6c4 [2022-04-12T02:48:14.453Z] Removing intermediate container 2957fab7b6c4 [2022-04-12T02:48:14.453Z] ---> 1353744a3f37 [2022-04-12T02:48:14.453Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T02:48:14.453Z] ---> Running in d083227072a4 [2022-04-12T02:48:15.919Z] Removing intermediate container d083227072a4 [2022-04-12T02:48:15.919Z] ---> bc8244ab111e [2022-04-12T02:48:15.919Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T02:48:16.202Z] ---> Running in 983744477f62 [2022-04-12T02:48:17.185Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T02:48:18.161Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T02:48:18.757Z] OK: 220 MiB in 52 packages [2022-04-12T02:48:19.752Z] Removing intermediate container 983744477f62 [2022-04-12T02:48:19.752Z] ---> 8cb92b0f8ab5 [2022-04-12T02:48:19.752Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-12T02:48:22.381Z] ---> b39176c26714 [2022-04-12T02:48:22.381Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T02:48:22.381Z] ---> Running in bcc05070f4ef [2022-04-12T02:49:09.388Z] Removing intermediate container bcc05070f4ef [2022-04-12T02:49:09.388Z] ---> 6aa350805e92 [2022-04-12T02:49:09.388Z] Step 10/11 : COPY . . [2022-04-12T02:49:09.388Z] ---> e377d419627b [2022-04-12T02:49:09.388Z] Step 11/11 : RUN ${MAKE} [2022-04-12T02:49:09.388Z] ---> Running in ec1ce35d3938 [2022-04-12T02:49:09.388Z] noop [2022-04-12T02:49:09.388Z] Removing intermediate container ec1ce35d3938 [2022-04-12T02:49:09.388Z] ---> 4bb0ff135380 [2022-04-12T02:49:09.388Z] Successfully built 4bb0ff135380 [2022-04-12T02:49:09.388Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:49:09.736Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T02:49:09.736Z] . [Pipeline] withDockerContainer [2022-04-12T02:49:09.957Z] prd-ubuntu20.04-docker-arm64-4c-16g-20608 does not seem to be running inside a container [2022-04-12T02:49:10.042Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-12T02:49:11.311Z] $ docker top d3d03c1a2b448eb80875537234b0f44fca77de4bd873a75efb22a6b4d35981b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T02:49:12.218Z] + go version [2022-04-12T02:49:12.219Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-12T02:49:12.246Z] $ docker stop --time=1 d3d03c1a2b448eb80875537234b0f44fca77de4bd873a75efb22a6b4d35981b3 [2022-04-12T02:49:13.846Z] $ docker rm -f d3d03c1a2b448eb80875537234b0f44fca77de4bd873a75efb22a6b4d35981b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:49:14.477Z] + docker inspect -f . ci-base-image-arm64 [2022-04-12T02:49:14.477Z] . [Pipeline] withDockerContainer [2022-04-12T02:49:14.719Z] prd-ubuntu20.04-docker-arm64-4c-16g-20608 does not seem to be running inside a container [2022-04-12T02:49:14.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-12T02:49:16.078Z] $ docker top 6b27fdd3135386807072486773fcf95df385f455cc855e83166f2ef3602fa185 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-12T02:49:17.018Z] + make test [2022-04-12T02:49:17.018Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-12T02:49:19.021Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-12T02:50:40.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-12T02:50:40.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-12T02:50:40.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-12T02:50:40.906Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.102s coverage: 23.3% of statements [2022-04-12T02:50:40.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-12T02:50:40.906Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements [2022-04-12T02:50:40.906Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.115s coverage: 78.9% of statements [2022-04-12T02:50:40.906Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.095s coverage: 10.8% of statements [2022-04-12T02:50:40.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-12T02:50:40.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-12T02:50:40.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-12T02:50:44.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.133s coverage: 33.2% of statements [2022-04-12T02:50:44.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-12T02:50:45.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.078s coverage: 86.1% of statements [2022-04-12T02:50:45.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-12T02:50:45.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-12T02:50:45.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 57.2% of statements [2022-04-12T02:50:45.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.208s coverage: 89.2% of statements [2022-04-12T02:50:45.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-12T02:50:49.165Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.8% of statements [2022-04-12T02:50:49.165Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-12T02:50:49.764Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-12T02:50:49.764Z] GO111MODULE=on go vet ./... [2022-04-12T02:51:16.628Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-12T02:51:16.628Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-12T02:51:16.628Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-12T02:51:18.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-12T02:51:18.648Z] $ docker stop --time=1 6b27fdd3135386807072486773fcf95df385f455cc855e83166f2ef3602fa185 [2022-04-12T02:51:20.405Z] $ docker rm -f 6b27fdd3135386807072486773fcf95df385f455cc855e83166f2ef3602fa185 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-12T02:51:21.349Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-12T02:51:21.371Z] Warning: overwriting stash ‘coverage-report’ [2022-04-12T02:51:21.958Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-12T02:51:22.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-12T02:51:22.721Z] + ls -al . [2022-04-12T02:51:22.721Z] total 292 [2022-04-12T02:51:22.721Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 02:51 . [2022-04-12T02:51:22.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 02:47 .. [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 02:47 .dockerignore [2022-04-12T02:51:22.721Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 02:47 .git [2022-04-12T02:51:22.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 02:47 .github [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 02:47 .gitignore [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 02:47 .golangci.yml [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 02:47 CHANGELOG.md [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 02:47 GOVERNANCE.md [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 02:47 Jenkinsfile [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 02:47 LICENSE [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 2016 Apr 12 02:47 Makefile [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 02:47 OWNERS.md [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 02:47 README.md [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 02:45 VERSION [2022-04-12T02:51:22.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 02:47 bin [2022-04-12T02:51:22.721Z] -rw-r--r-- 1 jenkins jenkins 129185 Apr 12 02:50 coverage.out [2022-04-12T02:51:22.721Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 02:47 example [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 02:47 go.mod [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 34435 Apr 12 02:47 go.sum [2022-04-12T02:51:22.721Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 02:47 internal [2022-04-12T02:51:22.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 02:47 openapi [2022-04-12T02:51:22.721Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 02:47 pkg [2022-04-12T02:51:22.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 02:47 snap [2022-04-12T02:51:22.721Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:51:23.068Z] + 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=3593550cb183f04032b99acb80b17e47af38cf69 --label arch=arm64 --label version=0.0.0 . [2022-04-12T02:51:23.345Z] Sending build context to Docker daemon 5.343MB [2022-04-12T02:51:23.618Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-12T02:51:23.618Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-12T02:51:23.618Z] ---> 4bb0ff135380 [2022-04-12T02:51:23.618Z] Step 3/25 : ARG MAKE=make build [2022-04-12T02:51:23.618Z] ---> Running in 5de978fab010 [2022-04-12T02:51:23.891Z] Removing intermediate container 5de978fab010 [2022-04-12T02:51:23.891Z] ---> 4fae440f3f95 [2022-04-12T02:51:23.891Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-12T02:51:23.891Z] ---> Running in 5cbfeaacaabc [2022-04-12T02:51:24.493Z] Removing intermediate container 5cbfeaacaabc [2022-04-12T02:51:24.493Z] ---> 7ba4ccc03dc6 [2022-04-12T02:51:24.493Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T02:51:24.493Z] ---> Running in d1ea57cbd61a [2022-04-12T02:51:24.775Z] Removing intermediate container d1ea57cbd61a [2022-04-12T02:51:24.775Z] ---> ecd858a3e972 [2022-04-12T02:51:24.775Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T02:51:24.775Z] ---> Running in ecff9dbe7c61 [2022-04-12T02:51:26.219Z] Removing intermediate container ecff9dbe7c61 [2022-04-12T02:51:26.219Z] ---> a41093785be4 [2022-04-12T02:51:26.219Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-12T02:51:26.490Z] ---> Running in 69c50fa2a18e [2022-04-12T02:51:27.468Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-12T02:51:28.445Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-12T02:51:29.041Z] OK: 220 MiB in 52 packages [2022-04-12T02:51:30.053Z] Removing intermediate container 69c50fa2a18e [2022-04-12T02:51:30.054Z] ---> 372d9b45874e [2022-04-12T02:51:30.054Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-12T02:51:30.328Z] ---> deff09c91080 [2022-04-12T02:51:30.328Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-12T02:51:30.619Z] ---> Running in b84d7a172c72 [2022-04-12T02:51:32.607Z] Removing intermediate container b84d7a172c72 [2022-04-12T02:51:32.607Z] ---> b02f28a985d9 [2022-04-12T02:51:32.607Z] Step 10/25 : COPY . . [2022-04-12T02:51:33.593Z] ---> 4df25701f38d [2022-04-12T02:51:33.593Z] Step 11/25 : RUN ${MAKE} [2022-04-12T02:51:33.593Z] ---> Running in 5949f4cc513a [2022-04-12T02:51:34.579Z] 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-04-12T02:53:26.465Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-12T02:53:27.447Z] Removing intermediate container 5949f4cc513a [2022-04-12T02:53:27.447Z] ---> a616ae39772e [2022-04-12T02:53:27.447Z] Step 12/25 : FROM alpine:3.14 [2022-04-12T02:53:28.040Z] 3.14: Pulling from library/alpine [2022-04-12T02:53:28.314Z] 455c02918c45: Pulling fs layer [2022-04-12T02:53:28.592Z] 455c02918c45: Download complete [2022-04-12T02:53:29.192Z] 455c02918c45: Pull complete [2022-04-12T02:53:29.192Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-12T02:53:29.192Z] Status: Downloaded newer image for alpine:3.14 [2022-04-12T02:53:29.192Z] ---> ac73e934f311 [2022-04-12T02:53:29.192Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-12T02:53:29.192Z] ---> Running in c97dacf5f615 [2022-04-12T02:53:29.465Z] Removing intermediate container c97dacf5f615 [2022-04-12T02:53:29.465Z] ---> da9a8f35701e [2022-04-12T02:53:29.465Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-12T02:53:29.465Z] ---> Running in 4fe14607d133 [2022-04-12T02:53:31.446Z] Removing intermediate container 4fe14607d133 [2022-04-12T02:53:31.446Z] ---> 80018a6e6989 [2022-04-12T02:53:31.446Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-12T02:53:31.446Z] ---> Running in f0dd4e3e62f7 [2022-04-12T02:53:32.425Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-12T02:53:33.016Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-12T02:53:33.996Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-12T02:53:33.996Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-12T02:53:33.996Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-12T02:53:34.273Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-12T02:53:34.273Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-12T02:53:34.273Z] Executing busybox-1.33.1-r7.trigger [2022-04-12T02:53:34.273Z] OK: 8 MiB in 19 packages [2022-04-12T02:53:35.258Z] Removing intermediate container f0dd4e3e62f7 [2022-04-12T02:53:35.258Z] ---> 357ec16dfaa0 [2022-04-12T02:53:35.258Z] Step 16/25 : WORKDIR / [2022-04-12T02:53:35.258Z] ---> Running in 54d72caef43e [2022-04-12T02:53:35.534Z] Removing intermediate container 54d72caef43e [2022-04-12T02:53:35.534Z] ---> 6d081b883d25 [2022-04-12T02:53:35.534Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-12T02:53:36.131Z] ---> de558f92ddb2 [2022-04-12T02:53:36.131Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-12T02:53:37.570Z] ---> 6dd6d0e826d2 [2022-04-12T02:53:37.570Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-12T02:53:38.173Z] ---> 08889a7c3c1e [2022-04-12T02:53:38.173Z] Step 20/25 : EXPOSE 59999 [2022-04-12T02:53:38.173Z] ---> Running in dd9de42a973d [2022-04-12T02:53:38.450Z] Removing intermediate container dd9de42a973d [2022-04-12T02:53:38.450Z] ---> 330b8c29494d [2022-04-12T02:53:38.450Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-12T02:53:38.724Z] ---> Running in 32f0069d3fe1 [2022-04-12T02:53:38.997Z] Removing intermediate container 32f0069d3fe1 [2022-04-12T02:53:38.997Z] ---> 68c42a607aee [2022-04-12T02:53:38.997Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-12T02:53:38.997Z] ---> Running in 565d6a32bf76 [2022-04-12T02:53:39.271Z] Removing intermediate container 565d6a32bf76 [2022-04-12T02:53:39.271Z] ---> 1a8cd6f147b3 [2022-04-12T02:53:39.271Z] Step 23/25 : LABEL arch=arm64 [2022-04-12T02:53:39.271Z] ---> Running in d5a512af3b82 [2022-04-12T02:53:39.544Z] Removing intermediate container d5a512af3b82 [2022-04-12T02:53:39.544Z] ---> 204cc433d5a2 [2022-04-12T02:53:39.544Z] Step 24/25 : LABEL git_sha=3593550cb183f04032b99acb80b17e47af38cf69 [2022-04-12T02:53:39.819Z] ---> Running in 748c8f7fbcc6 [2022-04-12T02:53:40.094Z] Removing intermediate container 748c8f7fbcc6 [2022-04-12T02:53:40.094Z] ---> 7bb85bd70bbc [2022-04-12T02:53:40.094Z] Step 25/25 : LABEL version=0.0.0 [2022-04-12T02:53:40.094Z] ---> Running in cd93689f997c [2022-04-12T02:53:40.369Z] Removing intermediate container cd93689f997c [2022-04-12T02:53:40.369Z] ---> 4cb882e5cf1a [2022-04-12T02:53:40.369Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-12T02:53:40.369Z] Successfully built 4cb882e5cf1a [2022-04-12T02:53:40.369Z] Successfully tagged device-sdk-simple-arm64:latest [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] sh [2022-04-12T02:53:40.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T02:53:40.813Z] [2022-04-12T02:53:40.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:53:41.168Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T02:53:41.447Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-12T02:53:41.447Z] 8998bd30e6a1: Pulling fs layer [2022-04-12T02:53:41.447Z] 04944245beec: Pulling fs layer [2022-04-12T02:53:41.447Z] 699f458cf7ca: Pulling fs layer [2022-04-12T02:53:41.447Z] 765212b225bb: Pulling fs layer [2022-04-12T02:53:41.447Z] f23df028b6ca: Pulling fs layer [2022-04-12T02:53:41.447Z] d65c8cfc05b1: Pulling fs layer [2022-04-12T02:53:41.447Z] 2437ff75d9bd: Pulling fs layer [2022-04-12T02:53:41.447Z] 765212b225bb: Waiting [2022-04-12T02:53:41.447Z] f23df028b6ca: Waiting [2022-04-12T02:53:41.447Z] d65c8cfc05b1: Waiting [2022-04-12T02:53:41.447Z] 2437ff75d9bd: Waiting [2022-04-12T02:53:41.447Z] 04944245beec: Verifying Checksum [2022-04-12T02:53:41.447Z] 04944245beec: Download complete [2022-04-12T02:53:41.447Z] 765212b225bb: Verifying Checksum [2022-04-12T02:53:41.447Z] 765212b225bb: Download complete [2022-04-12T02:53:41.447Z] f23df028b6ca: Download complete [2022-04-12T02:53:41.447Z] d65c8cfc05b1: Download complete [2022-04-12T02:53:41.722Z] 699f458cf7ca: Verifying Checksum [2022-04-12T02:53:41.722Z] 699f458cf7ca: Download complete [2022-04-12T02:53:41.998Z] 8998bd30e6a1: Verifying Checksum [2022-04-12T02:53:41.998Z] 8998bd30e6a1: Download complete [2022-04-12T02:53:43.992Z] 2437ff75d9bd: Verifying Checksum [2022-04-12T02:53:43.992Z] 2437ff75d9bd: Download complete [2022-04-12T02:53:46.631Z] 8998bd30e6a1: Pull complete [2022-04-12T02:53:46.631Z] 04944245beec: Pull complete [2022-04-12T02:53:48.071Z] 699f458cf7ca: Pull complete [2022-04-12T02:53:48.345Z] 765212b225bb: Pull complete [2022-04-12T02:53:49.332Z] f23df028b6ca: Pull complete [2022-04-12T02:53:49.332Z] d65c8cfc05b1: Pull complete [2022-04-12T02:54:04.463Z] 2437ff75d9bd: Pull complete [2022-04-12T02:54:04.463Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-12T02:54:04.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-12T02:54:04.463Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-12T02:54:04.687Z] prd-ubuntu20.04-docker-arm64-4c-16g-20608 does not seem to be running inside a container [2022-04-12T02:54:04.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-12T02:54:07.427Z] $ docker top 9e5ef7318f5d47779c951bc32ac2ef5b6d91a4ae679338a582075a090e00f537 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:54:08.365Z] ---> job-cost.sh [2022-04-12T02:54:08.366Z] lf-activate-venv: SKIPPING [2022-04-12T02:54:08.366Z] INFO: No Stack... [2022-04-12T02:54:08.640Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-12T02:54:09.621Z] INFO: Archiving Costs [Pipeline] sh [2022-04-12T02:54:10.295Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-04-12T02:54:10.295Z] + cut -d, -f6 [Pipeline] lock [2022-04-12T02:54:10.362Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] [2022-04-12T02:54:10.368Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] did not exist. Created. [2022-04-12T02:54:10.369Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-12T02:54:11.060Z] /w/workspace/device-sdk-go/2@tmp/durable-4505c7a6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-12T02:54:11.749Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-12T02:54:11.780Z] Warning: overwriting stash ‘stack-cost’ [2022-04-12T02:54:11.844Z] Stashed 1 file(s) [Pipeline] } [2022-04-12T02:54:11.854Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1130-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-12T02:54:11.878Z] $ docker stop --time=1 9e5ef7318f5d47779c951bc32ac2ef5b6d91a4ae679338a582075a090e00f537 [2022-04-12T02:54:13.398Z] $ docker rm -f 9e5ef7318f5d47779c951bc32ac2ef5b6d91a4ae679338a582075a090e00f537 [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-04-12T02:54:13.961Z] provisioning config files... [2022-04-12T02:54:13.972Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config9092653228599208027tmp [Pipeline] { [Pipeline] sh [2022-04-12T02:54:14.271Z] + set +x [2022-04-12T02:54:14.271Z] + curl -s https://codecov.io/bash [2022-04-12T02:54:14.271Z] + bash -s -- [2022-04-12T02:54:14.271Z] [2022-04-12T02:54:14.271Z] _____ _ [2022-04-12T02:54:14.271Z] / ____| | | [2022-04-12T02:54:14.271Z] | | ___ __| | ___ ___ _____ __ [2022-04-12T02:54:14.271Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-12T02:54:14.271Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-12T02:54:14.271Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-12T02:54:14.271Z] Bash-1.0.6 [2022-04-12T02:54:14.271Z] [2022-04-12T02:54:14.271Z] [2022-04-12T02:54:14.271Z] ==> git version 2.25.1 found [2022-04-12T02:54:14.271Z] ==> 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-04-12T02:54:14.272Z] Release-Date: 2020-01-08 [2022-04-12T02:54:14.272Z] 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-04-12T02:54:14.272Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-12T02:54:14.272Z] ==> Jenkins CI detected. [2022-04-12T02:54:14.272Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-12T02:54:14.272Z] project root: . [2022-04-12T02:54:14.272Z] --> token set from env [2022-04-12T02:54:14.272Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-12T02:54:14.272Z] ==> Running gcov in . (disable via -X gcov) [2022-04-12T02:54:14.272Z] ==> Python coveragepy not found [2022-04-12T02:54:14.272Z] ==> Searching for coverage reports in: [2022-04-12T02:54:14.272Z] + . [2022-04-12T02:54:14.272Z] -> Found 1 reports [2022-04-12T02:54:14.272Z] ==> Detecting git/mercurial file structure [2022-04-12T02:54:14.272Z] ==> Reading reports [2022-04-12T02:54:14.272Z] + ./coverage.out bytes=129185 [2022-04-12T02:54:14.272Z] ==> Appending adjustments [2022-04-12T02:54:14.272Z] https://docs.codecov.io/docs/fixing-reports [2022-04-12T02:54:14.531Z] + Found adjustments [2022-04-12T02:54:14.531Z] ==> Gzipping contents [2022-04-12T02:54:14.531Z] 16K /tmp/codecov.R3Cfxc.gz [2022-04-12T02:54:14.531Z] ==> Uploading reports [2022-04-12T02:54:14.531Z] url: https://codecov.io [2022-04-12T02:54:14.531Z] query: branch=PR-1130&commit=3593550cb183f04032b99acb80b17e47af38cf69&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= [2022-04-12T02:54:14.531Z] -> Pinging Codecov [2022-04-12T02:54:14.532Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1130&commit=3593550cb183f04032b99acb80b17e47af38cf69&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1130%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1130&job=&cmd_args= [2022-04-12T02:54:15.102Z] -> Uploading to [2022-04-12T02:54:15.102Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-12/7E55EF52A471D76F132DFD9A03CDDE97/3593550cb183f04032b99acb80b17e47af38cf69/713b92d7-cd8c-4115-ae79-90ffc2146d8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T025414Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6307e481e031fad566bc4570cf675c7aeca391a7fc130752983f92356e83790 [2022-04-12T02:54:15.102Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-12T02:54:15.102Z] Dload Upload Total Spent Left Speed [2022-04-12T02:54:15.362Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16268 0 0 100 16268 0 56486 --:--:-- --:--:-- --:--:-- 56486 [2022-04-12T02:54:15.362Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3593550cb183f04032b99acb80b17e47af38cf69 [Pipeline] } [2022-04-12T02:54:15.370Z] 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-04-12T02:54:16.198Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives ] [2022-04-12T02:54:16.198Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives [2022-04-12T02:54:16.198Z] total 16 [2022-04-12T02:54:16.198Z] drwxr-xr-x 3 root root 4096 Apr 12 02:47 . [2022-04-12T02:54:16.198Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 02:47 .. [2022-04-12T02:54:16.198Z] drwxr-xr-x 2 root root 4096 Apr 12 02:47 cost [2022-04-12T02:54:16.198Z] -rw-r--r-- 1 root root 85 Apr 12 02:47 cost.csv [2022-04-12T02:54:16.198Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives [2022-04-12T02:54:16.198Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives [2022-04-12T02:54:16.198Z] total 16 [2022-04-12T02:54:16.198Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 02:47 . [2022-04-12T02:54:16.198Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 02:47 .. [2022-04-12T02:54:16.198Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 02:47 cost [2022-04-12T02:54:16.198Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 12 02:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:54:16.502Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:54:17.373Z] ---> package-listing.sh [2022-04-12T02:54:17.373Z] ++ facter osfamily [2022-04-12T02:54:17.373Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-12T02:54:17.635Z] + OS_FAMILY=debian [2022-04-12T02:54:17.635Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1130 [2022-04-12T02:54:17.635Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-12T02:54:17.635Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-12T02:54:17.635Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-12T02:54:17.635Z] + PACKAGES=/tmp/packages_start.txt [2022-04-12T02:54:17.635Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' [2022-04-12T02:54:17.635Z] + PACKAGES=/tmp/packages_end.txt [2022-04-12T02:54:17.635Z] + case "${OS_FAMILY}" in [2022-04-12T02:54:17.635Z] + dpkg -l [2022-04-12T02:54:17.635Z] + grep '^ii' [2022-04-12T02:54:17.635Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-12T02:54:17.635Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-12T02:54:17.635Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-12T02:54:17.635Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1130 ']' [2022-04-12T02:54:17.635Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/ [2022-04-12T02:54:17.635Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1130/archives/ [Pipeline] echo [2022-04-12T02:54:17.649Z] 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-1130/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-12T02:54:17.936Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-12T02:54:18.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-12T02:54:18.504Z] . [Pipeline] withDockerContainer [2022-04-12T02:54:18.576Z] prd-ubuntu20.04-docker-8c-8g-20607 does not seem to be running inside a container [2022-04-12T02:54:18.624Z] $ 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-1130/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-1130 -v /w/workspace/gexfoundry_device-sdk-go_PR-1130:/w/workspace/gexfoundry_device-sdk-go_PR-1130:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-12T02:54:18.883Z] $ docker top 8ce82f011e879e77daa1e39055c3fc6eab95fdc0d80b1700f73afec24b86eeed -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-12T02:54:19.250Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-12T02:54:19.546Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-12T02:54:19.841Z] + ls /var/log/sa-host [2022-04-12T02:54:19.841Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-12T02:54:20.070Z] provisioning config files... [2022-04-12T02:54:20.083Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1130@tmp/config4321912579998723637tmp [Pipeline] { [Pipeline] echo [2022-04-12T02:54:20.097Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:54:20.389Z] ---> create-netrc.sh [Pipeline] } [2022-04-12T02:54:20.398Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:54:20.740Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-12T02:54:20.749Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:54:21.037Z] ---> sudo-logs.sh [2022-04-12T02:54:21.038Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-12T02:54:21.072Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:54:21.363Z] ---> job-cost.sh [2022-04-12T02:54:21.364Z] lf-activate-venv: SKIPPING [2022-04-12T02:54:21.364Z] DEBUG: total: 0.2199999988079071 [2022-04-12T02:54:21.364Z] INFO: Retrieving Stack Cost... [2022-04-12T02:54:23.918Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-12T02:54:24.180Z] INFO: Archiving Costs [Pipeline] echo [2022-04-12T02:54:24.197Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-12T02:54:24.490Z] ---> logs-deploy.sh [2022-04-12T02:54:24.490Z] lf-activate-venv: SKIPPING [2022-04-12T02:54:24.490Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1130/2 [2022-04-12T02:54:24.490Z] INFO: archiving workspace using pattern(s): [2022-04-12T02:54:25.436Z] Archives upload complete. [2022-04-12T02:54:25.698Z] INFO: archiving logs to Nexus