Pull request #1356 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7+a6f9b4558a5053ff5451a91be1399b57291d8939 (92be7cc5608149081cf688acee6dcac8cbbc1415) 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-ssh12065054630264234187.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12828129931012950008.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3390607856378228471.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18259347428478605846.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17378976964667669747.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-8945 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1356 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a6f9b4558a5053ff5451a91be1399b57291d8939 into PR head commit 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 Merge succeeded, producing 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 Checking out Revision 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 (PR-1356) > git config core.sparsecheckout # timeout=10 > git checkout -f 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 # 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 a6f9b4558a5053ff5451a91be1399b57291d8939 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 # timeout=10 Commit message: "feat: publish event with updated value for PUT command" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 5d6ae44634d0517cda5f64fe2d016dd11ee6224b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-09T01:45:03.547Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-09T01:45:03.597Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-09T01:45:03.612Z] ========================================================= [2023-03-09T01:45:03.612Z] EdgeX Global Pipelines Version Info [2023-03-09T01:45:03.612Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-09T01:45:04.300Z] ------------------- [2023-03-09T01:45:04.300Z] stable info: [2023-03-09T01:45:04.300Z] ------------------- [2023-03-09T01:45:04.300Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-09T01:45:04.300Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T01:45:04.300Z] Message: update stable to v1.0.244 [2023-03-09T01:45:04.869Z] ------------------- [2023-03-09T01:45:04.869Z] experimental info: [2023-03-09T01:45:04.869Z] ------------------- [2023-03-09T01:45:04.869Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-09T01:45:04.869Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T01:45:04.869Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-09T01:45:05.064Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-09T01:45:05.075Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-09T01:45:05.089Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-09T01:45:05.101Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-09T01:45:05.113Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-09T01:45:05.125Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-09T01:45:05.136Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-09T01:45:05.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-09T01:45:05.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-09T01:45:05.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-09T01:45:05.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-09T01:45:05.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-09T01:45:05.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-09T01:45:05.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-09T01:45:05.238Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T01:45:05.252Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T01:45:05.262Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T01:45:05.274Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T01:45:05.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-09T01:45:05.292Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-09T01:45:05.306Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-09T01:45:05.318Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-09T01:45:05.328Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-09T01:45:05.339Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-09T01:45:05.351Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-09T01:45:05.363Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-09T01:45:05.378Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-09T01:45:05.395Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1356 [Pipeline] echo [2023-03-09T01:45:05.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1356 [Pipeline] echo [2023-03-09T01:45:05.428Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1356 [Pipeline] echo [2023-03-09T01:45:05.440Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 [Pipeline] echo [2023-03-09T01:45:05.452Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c0a7b0 [Pipeline] echo [2023-03-09T01:45:05.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T01:45:05.507Z] provisioning config files... [2023-03-09T01:45:05.516Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config10197108569478155515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T01:45:05.818Z] ---> docker-login.sh [2023-03-09T01:45:05.818Z] nexus3.edgexfoundry.org:10001 [2023-03-09T01:45:06.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:45:06.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:45:06.077Z] Configure a credential helper to remove this warning. See [2023-03-09T01:45:06.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:45:06.077Z] [2023-03-09T01:45:06.077Z] Login Succeeded [2023-03-09T01:45:06.077Z] nexus3.edgexfoundry.org:10002 [2023-03-09T01:45:06.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:45:06.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:45:06.340Z] Configure a credential helper to remove this warning. See [2023-03-09T01:45:06.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:45:06.340Z] [2023-03-09T01:45:06.340Z] Login Succeeded [2023-03-09T01:45:06.340Z] nexus3.edgexfoundry.org:10003 [2023-03-09T01:45:06.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:45:06.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:45:06.340Z] Configure a credential helper to remove this warning. See [2023-03-09T01:45:06.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:45:06.340Z] [2023-03-09T01:45:06.340Z] Login Succeeded [2023-03-09T01:45:06.340Z] nexus3.edgexfoundry.org:10004 [2023-03-09T01:45:06.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:45:06.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:45:06.601Z] Configure a credential helper to remove this warning. See [2023-03-09T01:45:06.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:45:06.601Z] [2023-03-09T01:45:06.601Z] Login Succeeded [2023-03-09T01:45:06.601Z] docker.io [2023-03-09T01:45:06.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:45:06.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:45:06.860Z] Configure a credential helper to remove this warning. See [2023-03-09T01:45:06.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:45:06.860Z] [2023-03-09T01:45:06.860Z] Login Succeeded [2023-03-09T01:45:06.860Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T01:45:06.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-09T01:45:07.257Z] + git rev-list -1 --merges 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7~1..3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 [Pipeline] echo [2023-03-09T01:45:07.287Z] -----------> git rev-list -1 --merges 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7~1..3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 [false] [Pipeline] sh [2023-03-09T01:45:07.572Z] + git log --format=format:%s -1 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 [Pipeline] echo [2023-03-09T01:45:07.588Z] ========================================================= [2023-03-09T01:45:07.588Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-09T01:45:07.588Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T01:45:07.906Z] + git log --format=format:%s -1 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 [Pipeline] echo [2023-03-09T01:45:07.917Z] [semverPrep] GIT_COMMIT: 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7, Commit Message: feat: publish event with updated value for PUT command [Pipeline] echo [2023-03-09T01:45:07.928Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-09T01:45:08.289Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T01:45:08.289Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-09T01:45:08.289Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-09T01:45:08.289Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-09T01:45:08.289Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-09T01:45:08.289Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-09T01:45:08.289Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:45:08.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T01:45:08.698Z] [2023-03-09T01:45:08.698Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:45:09.005Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T01:45:09.005Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-09T01:45:09.005Z] b85a868b505f: Pulling fs layer [2023-03-09T01:45:09.005Z] e2be974225ed: Pulling fs layer [2023-03-09T01:45:09.005Z] 339a4e72a1f5: Pulling fs layer [2023-03-09T01:45:09.005Z] 988bab9f4d93: Pulling fs layer [2023-03-09T01:45:09.005Z] 1469e6f7b9e6: Pulling fs layer [2023-03-09T01:45:09.005Z] eaf3925da568: Pulling fs layer [2023-03-09T01:45:09.005Z] bab4dde63d76: Pulling fs layer [2023-03-09T01:45:09.005Z] 988bab9f4d93: Waiting [2023-03-09T01:45:09.006Z] 1469e6f7b9e6: Waiting [2023-03-09T01:45:09.006Z] bde34c3a00c8: Pulling fs layer [2023-03-09T01:45:09.006Z] b352a97aabf1: Pulling fs layer [2023-03-09T01:45:09.006Z] 4872d77fe225: Pulling fs layer [2023-03-09T01:45:09.006Z] bab4dde63d76: Waiting [2023-03-09T01:45:09.006Z] bde34c3a00c8: Waiting [2023-03-09T01:45:09.006Z] b352a97aabf1: Waiting [2023-03-09T01:45:09.006Z] 5851b861e8e6: Pulling fs layer [2023-03-09T01:45:09.006Z] 5851b861e8e6: Waiting [2023-03-09T01:45:09.006Z] e2be974225ed: Download complete [2023-03-09T01:45:09.006Z] 988bab9f4d93: Download complete [2023-03-09T01:45:09.266Z] 1469e6f7b9e6: Retrying in 5 seconds [2023-03-09T01:45:09.266Z] 339a4e72a1f5: Verifying Checksum [2023-03-09T01:45:09.266Z] 339a4e72a1f5: Download complete [2023-03-09T01:45:09.266Z] eaf3925da568: Verifying Checksum [2023-03-09T01:45:09.266Z] eaf3925da568: Download complete [2023-03-09T01:45:09.266Z] b85a868b505f: Verifying Checksum [2023-03-09T01:45:09.266Z] b85a868b505f: Download complete [2023-03-09T01:45:09.266Z] bde34c3a00c8: Download complete [2023-03-09T01:45:09.525Z] b352a97aabf1: Download complete [2023-03-09T01:45:09.525Z] 4872d77fe225: Verifying Checksum [2023-03-09T01:45:09.525Z] 4872d77fe225: Download complete [2023-03-09T01:45:09.525Z] 5851b861e8e6: Verifying Checksum [2023-03-09T01:45:09.525Z] 5851b861e8e6: Download complete [2023-03-09T01:45:09.525Z] bab4dde63d76: Verifying Checksum [2023-03-09T01:45:09.525Z] bab4dde63d76: Download complete [2023-03-09T01:45:10.460Z] 1469e6f7b9e6: Retrying in 4 seconds [2023-03-09T01:45:10.460Z] b85a868b505f: Pull complete [2023-03-09T01:45:10.460Z] e2be974225ed: Pull complete [2023-03-09T01:45:11.027Z] 339a4e72a1f5: Pull complete [2023-03-09T01:45:11.027Z] 988bab9f4d93: Pull complete [2023-03-09T01:45:11.286Z] 1469e6f7b9e6: Retrying in 3 seconds [2023-03-09T01:45:12.225Z] 1469e6f7b9e6: Retrying in 2 seconds [2023-03-09T01:45:13.163Z] 1469e6f7b9e6: Retrying in 1 second [2023-03-09T01:45:14.542Z] 1469e6f7b9e6: Retrying in 10 seconds [2023-03-09T01:45:15.480Z] 1469e6f7b9e6: Retrying in 9 seconds [2023-03-09T01:45:16.418Z] 1469e6f7b9e6: Retrying in 8 seconds [2023-03-09T01:45:17.356Z] 1469e6f7b9e6: Retrying in 7 seconds [2023-03-09T01:45:18.295Z] 1469e6f7b9e6: Retrying in 6 seconds [2023-03-09T01:45:19.234Z] 1469e6f7b9e6: Retrying in 5 seconds [2023-03-09T01:45:20.171Z] 1469e6f7b9e6: Retrying in 4 seconds [2023-03-09T01:45:21.554Z] 1469e6f7b9e6: Retrying in 3 seconds [2023-03-09T01:45:22.490Z] 1469e6f7b9e6: Retrying in 2 seconds [2023-03-09T01:45:23.427Z] 1469e6f7b9e6: Retrying in 1 second [2023-03-09T01:45:24.363Z] 1469e6f7b9e6: Verifying Checksum [2023-03-09T01:45:24.363Z] 1469e6f7b9e6: Download complete [2023-03-09T01:45:24.620Z] 1469e6f7b9e6: Pull complete [2023-03-09T01:45:24.620Z] eaf3925da568: Pull complete [2023-03-09T01:45:26.523Z] bab4dde63d76: Pull complete [2023-03-09T01:45:26.523Z] bde34c3a00c8: Pull complete [2023-03-09T01:45:26.523Z] b352a97aabf1: Pull complete [2023-03-09T01:45:26.523Z] 4872d77fe225: Pull complete [2023-03-09T01:45:26.523Z] 5851b861e8e6: Pull complete [2023-03-09T01:45:26.523Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-09T01:45:26.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T01:45:26.523Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T01:45:26.608Z] prd-ubuntu20.04-docker-8c-8g-8945 does not seem to be running inside a container [2023-03-09T01:45:26.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-09T01:45:28.048Z] $ docker top e67e17fa35f0a25ccdd8b707e2d07744d0216690590b85d552762268a4b4131f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T01:45:28.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T01:45:28.127Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T01:45:28.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T01:45:28.262Z] $ docker exec e67e17fa35f0a25ccdd8b707e2d07744d0216690590b85d552762268a4b4131f ssh-agent [2023-03-09T01:45:28.352Z] SSH_AUTH_SOCK=/tmp/ssh-b4guODyglZdO/agent.32 [2023-03-09T01:45:28.352Z] SSH_AGENT_PID=38 [2023-03-09T01:45:28.358Z] Running ssh-add (command line suppressed) [2023-03-09T01:45:28.471Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_9308784483223059322.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_9308784483223059322.key) [2023-03-09T01:45:28.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T01:45:28.762Z] + git tag --points-at HEAD [Pipeline] } [2023-03-09T01:45:28.792Z] $ docker exec --env ******** --env ******** e67e17fa35f0a25ccdd8b707e2d07744d0216690590b85d552762268a4b4131f ssh-agent -k [2023-03-09T01:45:28.908Z] unset SSH_AUTH_SOCK; [2023-03-09T01:45:28.909Z] unset SSH_AGENT_PID; [2023-03-09T01:45:28.909Z] echo Agent pid 38 killed; [2023-03-09T01:45:28.902Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-09T01:45:28.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T01:45:28.922Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T01:45:29.034Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T01:45:29.054Z] $ docker exec e67e17fa35f0a25ccdd8b707e2d07744d0216690590b85d552762268a4b4131f ssh-agent [2023-03-09T01:45:29.145Z] SSH_AUTH_SOCK=/tmp/ssh-JldB3SnnGypK/agent.70 [2023-03-09T01:45:29.145Z] SSH_AGENT_PID=76 [2023-03-09T01:45:29.149Z] Running ssh-add (command line suppressed) [2023-03-09T01:45:29.282Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_17660381025768692861.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_17660381025768692861.key) [2023-03-09T01:45:29.280Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T01:45:29.564Z] + git semver init [2023-03-09T01:45:29.826Z] 2023-03-09 01:45:29,778 [run_init] DEBUG init version:0.0.0 force:False [2023-03-09T01:45:29.826Z] 2023-03-09 01:45:29,779 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver [2023-03-09T01:45:29.826Z] 2023-03-09 01:45:29,780 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver [2023-03-09T01:45:29.826Z] 2023-03-09 01:45:29,780 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356, universal_newlines=False, shell=None, istream=None) [2023-03-09T01:45:30.763Z] 2023-03-09 01:45:30,649 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.git/info/exclude [2023-03-09T01:45:30.763Z] 2023-03-09 01:45:30,650 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 with force:False [2023-03-09T01:45:30.763Z] 2023-03-09 01:45:30,650 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 [2023-03-09T01:45:30.763Z] 2023-03-09 01:45:30,654 [execute] INFO git cat-file --batch-check [2023-03-09T01:45:30.763Z] 2023-03-09 01:45:30,655 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T01:45:30.763Z] 2023-03-09 01:45:30,661 [execute] INFO git cat-file --batch [2023-03-09T01:45:30.763Z] 2023-03-09 01:45:30,661 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T01:45:30.763Z] 2023-03-09 01:45:30,666 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 [2023-03-09T01:45:30.763Z] 0.0.0 [Pipeline] } [2023-03-09T01:45:30.791Z] $ docker exec --env ******** --env ******** e67e17fa35f0a25ccdd8b707e2d07744d0216690590b85d552762268a4b4131f ssh-agent -k [2023-03-09T01:45:30.896Z] unset SSH_AUTH_SOCK; [2023-03-09T01:45:30.897Z] unset SSH_AGENT_PID; [2023-03-09T01:45:30.897Z] echo Agent pid 76 killed; [2023-03-09T01:45:30.889Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T01:45:31.186Z] + git semver [Pipeline] } [2023-03-09T01:45:31.474Z] $ docker stop --time=1 e67e17fa35f0a25ccdd8b707e2d07744d0216690590b85d552762268a4b4131f [2023-03-09T01:45:32.757Z] $ docker rm -f --volumes e67e17fa35f0a25ccdd8b707e2d07744d0216690590b85d552762268a4b4131f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T01:45:33.071Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-09T01:45:33.321Z] Stashed 1 file(s) [Pipeline] echo [2023-03-09T01:45:33.324Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T01:45:33.472Z] provisioning config files... [2023-03-09T01:45:33.480Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config3897461250612680512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T01:45:33.772Z] ---> docker-login.sh [2023-03-09T01:45:33.772Z] nexus3.edgexfoundry.org:10001 [2023-03-09T01:45:33.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:45:33.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:45:33.772Z] Configure a credential helper to remove this warning. See [2023-03-09T01:45:33.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:45:33.772Z] [2023-03-09T01:45:33.772Z] Login Succeeded [2023-03-09T01:45:33.772Z] nexus3.edgexfoundry.org:10002 [2023-03-09T01:45:33.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:45:33.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:45:33.772Z] Configure a credential helper to remove this warning. See [2023-03-09T01:45:33.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:45:33.772Z] [2023-03-09T01:45:33.772Z] Login Succeeded [2023-03-09T01:45:33.772Z] nexus3.edgexfoundry.org:10003 [2023-03-09T01:45:34.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:45:34.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:45:34.031Z] Configure a credential helper to remove this warning. See [2023-03-09T01:45:34.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:45:34.031Z] [2023-03-09T01:45:34.031Z] Login Succeeded [2023-03-09T01:45:34.031Z] nexus3.edgexfoundry.org:10004 [2023-03-09T01:45:34.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:45:34.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:45:34.031Z] Configure a credential helper to remove this warning. See [2023-03-09T01:45:34.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:45:34.031Z] [2023-03-09T01:45:34.031Z] Login Succeeded [2023-03-09T01:45:34.032Z] docker.io [2023-03-09T01:45:34.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:45:34.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:45:34.291Z] Configure a credential helper to remove this warning. See [2023-03-09T01:45:34.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:45:34.291Z] [2023-03-09T01:45:34.291Z] Login Succeeded [2023-03-09T01:45:34.291Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T01:45:34.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T01:45:34.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T01:45:34.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T01:45:34.383Z] ========================================================= [2023-03-09T01:45:34.383Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-09T01:45:34.383Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:45:34.700Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-09T01:45:34.700Z] Sending build context to Docker daemon 10.7MB [2023-03-09T01:45:34.700Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T01:45:34.700Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-09T01:45:34.700Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-09T01:45:34.700Z] 213ec9aee27d: Pulling fs layer [2023-03-09T01:45:34.700Z] 4583459ba037: Pulling fs layer [2023-03-09T01:45:34.700Z] 93c1e223e6f2: Pulling fs layer [2023-03-09T01:45:34.700Z] 53926ce57604: Pulling fs layer [2023-03-09T01:45:34.700Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-09T01:45:34.700Z] 22ff95d597cd: Pulling fs layer [2023-03-09T01:45:34.700Z] 12d6caf4c0d1: Pulling fs layer [2023-03-09T01:45:34.700Z] 96b7cbca73a9: Pulling fs layer [2023-03-09T01:45:34.700Z] a7acece74701: Pulling fs layer [2023-03-09T01:45:34.700Z] 22ff95d597cd: Waiting [2023-03-09T01:45:34.700Z] 21b2b0c7a3f4: Waiting [2023-03-09T01:45:34.700Z] 53926ce57604: Waiting [2023-03-09T01:45:34.700Z] 12d6caf4c0d1: Waiting [2023-03-09T01:45:34.700Z] 96b7cbca73a9: Waiting [2023-03-09T01:45:34.700Z] a7acece74701: Waiting [2023-03-09T01:45:34.700Z] 93c1e223e6f2: Verifying Checksum [2023-03-09T01:45:34.700Z] 93c1e223e6f2: Download complete [2023-03-09T01:45:34.700Z] 4583459ba037: Verifying Checksum [2023-03-09T01:45:34.700Z] 4583459ba037: Download complete [2023-03-09T01:45:34.700Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-09T01:45:34.700Z] 21b2b0c7a3f4: Download complete [2023-03-09T01:45:34.961Z] 22ff95d597cd: Verifying Checksum [2023-03-09T01:45:34.961Z] 22ff95d597cd: Download complete [2023-03-09T01:45:34.961Z] 213ec9aee27d: Verifying Checksum [2023-03-09T01:45:34.961Z] 213ec9aee27d: Download complete [2023-03-09T01:45:34.961Z] 12d6caf4c0d1: Verifying Checksum [2023-03-09T01:45:34.961Z] 12d6caf4c0d1: Download complete [2023-03-09T01:45:34.961Z] 213ec9aee27d: Pull complete [2023-03-09T01:45:35.227Z] 4583459ba037: Pull complete [2023-03-09T01:45:35.227Z] 93c1e223e6f2: Pull complete [2023-03-09T01:45:35.489Z] a7acece74701: Download complete [2023-03-09T01:45:35.747Z] 53926ce57604: Verifying Checksum [2023-03-09T01:45:35.747Z] 53926ce57604: Download complete [2023-03-09T01:45:35.747Z] 96b7cbca73a9: Verifying Checksum [2023-03-09T01:45:35.747Z] 96b7cbca73a9: Download complete [2023-03-09T01:45:39.028Z] 53926ce57604: Pull complete [2023-03-09T01:45:39.028Z] 21b2b0c7a3f4: Pull complete [2023-03-09T01:45:39.028Z] 22ff95d597cd: Pull complete [2023-03-09T01:45:39.286Z] 12d6caf4c0d1: Pull complete [2023-03-09T01:45:41.186Z] 96b7cbca73a9: Pull complete [2023-03-09T01:45:41.752Z] a7acece74701: Pull complete [2023-03-09T01:45:41.752Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-09T01:45:41.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-09T01:45:41.752Z] ---> db6d94c90886 [2023-03-09T01:45:41.752Z] Step 3/10 : ARG MAKE=make build [2023-03-09T01:45:44.290Z] ---> Running in 7b1893311afe [2023-03-09T01:45:44.290Z] Removing intermediate container 7b1893311afe [2023-03-09T01:45:44.290Z] ---> 19b93ac6c3c3 [2023-03-09T01:45:44.290Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-09T01:45:44.290Z] ---> Running in 35a3a0d156ae [2023-03-09T01:45:44.290Z] Removing intermediate container 35a3a0d156ae [2023-03-09T01:45:44.290Z] ---> eebf6ae0f965 [2023-03-09T01:45:44.290Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-09T01:45:44.290Z] ---> Running in c01acada1742 [2023-03-09T01:45:44.290Z] Removing intermediate container c01acada1742 [2023-03-09T01:45:44.290Z] ---> 68bdb35ae72b [2023-03-09T01:45:44.290Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-09T01:45:44.290Z] ---> Running in 641b4fe5a22e [2023-03-09T01:45:44.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T01:45:44.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T01:45:45.068Z] OK: 211 MiB in 51 packages [2023-03-09T01:45:45.326Z] Removing intermediate container 641b4fe5a22e [2023-03-09T01:45:45.326Z] ---> 77b13a29eebc [2023-03-09T01:45:45.326Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-09T01:45:45.585Z] ---> e9278877dc45 [2023-03-09T01:45:45.585Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T01:45:45.585Z] ---> Running in fe41d9fd4486 [2023-03-09T01:45:48.426Z] Still waiting to schedule task [2023-03-09T01:45:48.426Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8943’ [2023-03-09T01:46:12.128Z] Removing intermediate container fe41d9fd4486 [2023-03-09T01:46:12.128Z] ---> 784e58fb5121 [2023-03-09T01:46:12.128Z] Step 9/10 : COPY . . [2023-03-09T01:46:12.128Z] ---> 51813e0fa8bc [2023-03-09T01:46:12.128Z] Step 10/10 : RUN ${MAKE} [2023-03-09T01:46:12.128Z] ---> Running in 3b495da322d6 [2023-03-09T01:46:12.128Z] noop [2023-03-09T01:46:12.128Z] Removing intermediate container 3b495da322d6 [2023-03-09T01:46:12.128Z] ---> bd5d1aa22339 [2023-03-09T01:46:12.128Z] Successfully built bd5d1aa22339 [2023-03-09T01:46:12.128Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:46:12.443Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T01:46:12.443Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T01:46:12.514Z] prd-ubuntu20.04-docker-8c-8g-8945 does not seem to be running inside a container [2023-03-09T01:46:12.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-09T01:46:12.934Z] $ docker top 6f95669d25b1f0dc048fee6a9f69640fcb5d30b92355a5019b19a7481da75a25 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T01:46:13.256Z] + go version [2023-03-09T01:46:13.256Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-09T01:46:13.284Z] $ docker stop --time=1 6f95669d25b1f0dc048fee6a9f69640fcb5d30b92355a5019b19a7481da75a25 [2023-03-09T01:46:14.605Z] $ docker rm -f --volumes 6f95669d25b1f0dc048fee6a9f69640fcb5d30b92355a5019b19a7481da75a25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:46:14.983Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T01:46:14.983Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T01:46:15.056Z] prd-ubuntu20.04-docker-8c-8g-8945 does not seem to be running inside a container [2023-03-09T01:46:15.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-09T01:46:15.492Z] $ docker top 5226f3edb7be4e5640fec44e2194aa7713470b149adb6973a330fd3a974b113f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T01:46:15.821Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] fileExists [Pipeline] sh [2023-03-09T01:46:16.119Z] + make test [2023-03-09T01:46:16.119Z] go test -race -coverprofile=coverage.out ./... [2023-03-09T01:46:22.687Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-09T01:46:37.551Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-09T01:46:37.551Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-09T01:46:37.551Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-09T01:46:37.551Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-09T01:46:37.551Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-09T01:46:37.551Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements [2023-03-09T01:46:37.551Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 78.9% of statements [2023-03-09T01:46:37.551Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-09T01:46:37.551Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.137s coverage: 86.0% of statements [2023-03-09T01:46:37.551Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-09T01:46:37.551Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-09T01:46:37.551Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 75.9% of statements [2023-03-09T01:46:37.551Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-09T01:46:38.932Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.069s coverage: 15.2% of statements [2023-03-09T01:46:38.932Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-09T01:46:38.932Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.102s coverage: 65.2% of statements [2023-03-09T01:46:38.932Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-09T01:46:38.932Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-09T01:46:38.932Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.768s coverage: 89.2% of statements [2023-03-09T01:46:38.932Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-09T01:46:38.932Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 5.4% of statements [2023-03-09T01:46:38.932Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-09T01:46:53.801Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-09T01:46:53.801Z] GO111MODULE=on go vet ./... [2023-03-09T01:46:56.331Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T01:46:56.331Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T01:46:56.331Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-09T01:46:56.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T01:46:56.379Z] $ docker stop --time=1 5226f3edb7be4e5640fec44e2194aa7713470b149adb6973a330fd3a974b113f [2023-03-09T01:46:58.719Z] $ docker rm -f --volumes 5226f3edb7be4e5640fec44e2194aa7713470b149adb6973a330fd3a974b113f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T01:46:59.226Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T01:46:59.298Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-09T01:46:59.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T01:47:00.098Z] + ls -al . [2023-03-09T01:47:00.098Z] total 280 [2023-03-09T01:47:00.098Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 01:46 . [2023-03-09T01:47:00.098Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 01:44 .. [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 01:44 .dockerignore [2023-03-09T01:47:00.098Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 01:46 .git [2023-03-09T01:47:00.098Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 01:44 .github [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 9 01:44 .gitignore [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 9 01:44 .golangci.yml [2023-03-09T01:47:00.098Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 01:45 .semver [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 9 01:44 CHANGELOG.md [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 01:44 GOVERNANCE.md [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 9 01:44 Jenkinsfile [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 01:44 LICENSE [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 9 01:44 Makefile [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 9 01:44 OWNERS.md [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 9 01:44 README.md [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 01:45 VERSION [2023-03-09T01:47:00.098Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 01:44 bin [2023-03-09T01:47:00.098Z] -rw-r--r-- 1 jenkins jenkins 111956 Mar 9 01:46 coverage.out [2023-03-09T01:47:00.098Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 9 01:44 example [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 9 01:44 go.mod [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 9 01:44 go.sum [2023-03-09T01:47:00.098Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 9 01:44 internal [2023-03-09T01:47:00.098Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 01:44 openapi [2023-03-09T01:47:00.098Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 9 01:44 pkg [2023-03-09T01:47:00.098Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 01:44 snap [2023-03-09T01:47:00.098Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 01:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:47:00.409Z] + 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=3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 --label arch=amd64 --label version=0.0.0 . [2023-03-09T01:47:00.409Z] Sending build context to Docker daemon 10.82MB [2023-03-09T01:47:00.409Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T01:47:00.409Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-09T01:47:00.409Z] ---> bd5d1aa22339 [2023-03-09T01:47:00.409Z] Step 3/23 : ARG MAKE=make build [2023-03-09T01:47:00.669Z] ---> Running in bff804f8ba59 [2023-03-09T01:47:00.669Z] Removing intermediate container bff804f8ba59 [2023-03-09T01:47:00.669Z] ---> 2982bc351642 [2023-03-09T01:47:00.669Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-09T01:47:00.669Z] ---> Running in 406dea446b44 [2023-03-09T01:47:00.669Z] Removing intermediate container 406dea446b44 [2023-03-09T01:47:00.669Z] ---> bc5cb0332a3d [2023-03-09T01:47:00.669Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-09T01:47:00.929Z] ---> Running in 53491d61b7a2 [2023-03-09T01:47:00.929Z] Removing intermediate container 53491d61b7a2 [2023-03-09T01:47:00.929Z] ---> 1ac9339be17c [2023-03-09T01:47:00.929Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-09T01:47:00.929Z] ---> Running in 48f349c369e6 [2023-03-09T01:47:01.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T01:47:01.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T01:47:02.325Z] OK: 211 MiB in 51 packages [2023-03-09T01:47:02.590Z] Removing intermediate container 48f349c369e6 [2023-03-09T01:47:02.590Z] ---> bf06b5e4740e [2023-03-09T01:47:02.590Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-09T01:47:02.848Z] ---> e4cae70f7252 [2023-03-09T01:47:02.848Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T01:47:02.848Z] ---> Running in 0d01cf992e30 [2023-03-09T01:47:03.783Z] Removing intermediate container 0d01cf992e30 [2023-03-09T01:47:03.783Z] ---> b0d5ecb53d1b [2023-03-09T01:47:03.783Z] Step 9/23 : COPY . . [2023-03-09T01:47:04.040Z] ---> d23be96b0bbe [2023-03-09T01:47:04.040Z] Step 10/23 : RUN ${MAKE} [2023-03-09T01:47:04.040Z] ---> Running in 04c8f5eb928c [2023-03-09T01:47:04.299Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-09T01:47:22.381Z] Removing intermediate container 04c8f5eb928c [2023-03-09T01:47:22.381Z] ---> f8eef07cbcd5 [2023-03-09T01:47:22.381Z] Step 11/23 : FROM alpine:3.16 [2023-03-09T01:47:22.381Z] 3.16: Pulling from library/alpine [2023-03-09T01:47:22.381Z] ef5531b6e74e: Pulling fs layer [2023-03-09T01:47:22.381Z] ef5531b6e74e: Download complete [2023-03-09T01:47:22.381Z] ef5531b6e74e: Pull complete [2023-03-09T01:47:22.381Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T01:47:22.381Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T01:47:22.381Z] ---> dfd21b5a31f5 [2023-03-09T01:47:22.381Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-09T01:47:22.381Z] ---> Running in 2f1f0dece072 [2023-03-09T01:47:22.381Z] Removing intermediate container 2f1f0dece072 [2023-03-09T01:47:22.381Z] ---> d324d19b9420 [2023-03-09T01:47:22.381Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-09T01:47:22.381Z] ---> Running in 68e630cf1bdb [2023-03-09T01:47:22.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T01:47:22.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T01:47:22.900Z] OK: 6 MiB in 14 packages [2023-03-09T01:47:23.476Z] Removing intermediate container 68e630cf1bdb [2023-03-09T01:47:23.476Z] ---> 953ab07e30b3 [2023-03-09T01:47:23.476Z] Step 14/23 : WORKDIR / [2023-03-09T01:47:23.476Z] ---> Running in 8bb0f2cbfd88 [2023-03-09T01:47:23.476Z] Removing intermediate container 8bb0f2cbfd88 [2023-03-09T01:47:23.476Z] ---> bd0d7c7818d2 [2023-03-09T01:47:23.476Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-09T01:47:23.736Z] ---> 252c61100da7 [2023-03-09T01:47:23.736Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-09T01:47:24.303Z] ---> 38ef83940ff4 [2023-03-09T01:47:24.303Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-09T01:47:24.303Z] ---> f2b95f4ee6ce [2023-03-09T01:47:24.303Z] Step 18/23 : EXPOSE 59999 [2023-03-09T01:47:24.303Z] ---> Running in d2a776616aec [2023-03-09T01:47:24.562Z] Removing intermediate container d2a776616aec [2023-03-09T01:47:24.562Z] ---> cace32986401 [2023-03-09T01:47:24.562Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-09T01:47:24.562Z] ---> Running in 2b59fb04c1b2 [2023-03-09T01:47:24.562Z] Removing intermediate container 2b59fb04c1b2 [2023-03-09T01:47:24.562Z] ---> dbb9558e68af [2023-03-09T01:47:24.562Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-09T01:47:24.562Z] ---> Running in 37cefa9de639 [2023-03-09T01:47:24.562Z] Removing intermediate container 37cefa9de639 [2023-03-09T01:47:24.562Z] ---> 64e22be9eeb3 [2023-03-09T01:47:24.562Z] Step 21/23 : LABEL arch=amd64 [2023-03-09T01:47:24.821Z] ---> Running in 420798bd779c [2023-03-09T01:47:24.821Z] Removing intermediate container 420798bd779c [2023-03-09T01:47:24.821Z] ---> 3706b50049f4 [2023-03-09T01:47:24.821Z] Step 22/23 : LABEL git_sha=3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 [2023-03-09T01:47:24.821Z] ---> Running in 2196edb92f8e [2023-03-09T01:47:24.821Z] Removing intermediate container 2196edb92f8e [2023-03-09T01:47:24.821Z] ---> 06749bdd2cc0 [2023-03-09T01:47:24.821Z] Step 23/23 : LABEL version=0.0.0 [2023-03-09T01:47:25.082Z] ---> Running in ead46a57de5e [2023-03-09T01:47:25.082Z] Removing intermediate container ead46a57de5e [2023-03-09T01:47:25.082Z] ---> ae2d4044a1e9 [2023-03-09T01:47:25.082Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T01:47:25.082Z] Successfully built ae2d4044a1e9 [2023-03-09T01:47:25.082Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:47:25.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T01:47:25.508Z] [2023-03-09T01:47:25.508Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:47:25.804Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T01:47:25.804Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-09T01:47:25.804Z] 5eb5b503b376: Pulling fs layer [2023-03-09T01:47:25.804Z] 5c69ac0246d0: Pulling fs layer [2023-03-09T01:47:25.804Z] ec43610c2a17: Pulling fs layer [2023-03-09T01:47:25.804Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-09T01:47:25.804Z] 33b1e0a273af: Pulling fs layer [2023-03-09T01:47:25.804Z] 5d3b04190fa2: Pulling fs layer [2023-03-09T01:47:25.804Z] 2f39f015ded8: Pulling fs layer [2023-03-09T01:47:25.804Z] 33b1e0a273af: Waiting [2023-03-09T01:47:25.804Z] 2f39f015ded8: Waiting [2023-03-09T01:47:25.804Z] 5d3b04190fa2: Waiting [2023-03-09T01:47:25.804Z] 3a2ae6a8a46f: Waiting [2023-03-09T01:47:25.804Z] 5c69ac0246d0: Download complete [2023-03-09T01:47:25.804Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-09T01:47:25.804Z] 3a2ae6a8a46f: Download complete [2023-03-09T01:47:26.064Z] ec43610c2a17: Verifying Checksum [2023-03-09T01:47:26.064Z] ec43610c2a17: Download complete [2023-03-09T01:47:26.064Z] 33b1e0a273af: Verifying Checksum [2023-03-09T01:47:26.064Z] 33b1e0a273af: Download complete [2023-03-09T01:47:26.064Z] 5d3b04190fa2: Verifying Checksum [2023-03-09T01:47:26.064Z] 5eb5b503b376: Verifying Checksum [2023-03-09T01:47:26.064Z] 5eb5b503b376: Download complete [2023-03-09T01:47:26.634Z] 2f39f015ded8: Download complete [2023-03-09T01:47:27.201Z] 5eb5b503b376: Pull complete [2023-03-09T01:47:27.201Z] 5c69ac0246d0: Pull complete [2023-03-09T01:47:27.765Z] ec43610c2a17: Pull complete [2023-03-09T01:47:27.765Z] 3a2ae6a8a46f: Pull complete [2023-03-09T01:47:28.033Z] 33b1e0a273af: Pull complete [2023-03-09T01:47:28.033Z] 5d3b04190fa2: Pull complete [2023-03-09T01:47:32.216Z] 2f39f015ded8: Pull complete [2023-03-09T01:47:32.216Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-09T01:47:32.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T01:47:32.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T01:47:32.290Z] prd-ubuntu20.04-docker-8c-8g-8945 does not seem to be running inside a container [2023-03-09T01:47:32.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-09T01:47:34.092Z] $ docker top 5ae9a1d0db7a2fd18ad4decbc1d27ea5fe8948a671a8ac6e6fd6475469d386e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T01:47:34.483Z] ---> job-cost.sh [2023-03-09T01:47:34.484Z] lf-activate-venv: SKIPPING [2023-03-09T01:47:34.484Z] INFO: No Stack... [2023-03-09T01:47:34.746Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T01:47:35.314Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T01:47:35.603Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/cost.csv [2023-03-09T01:47:35.603Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T01:47:35.617Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1356-5-stack-cost] [2023-03-09T01:47:35.623Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-5-stack-cost] did not exist. Created. [2023-03-09T01:47:35.623Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1356-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T01:47:35.927Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-09T01:47:35.961Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T01:47:35.968Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T01:47:36.003Z] $ docker stop --time=1 5ae9a1d0db7a2fd18ad4decbc1d27ea5fe8948a671a8ac6e6fd6475469d386e6 [2023-03-09T01:47:37.180Z] $ docker rm -f --volumes 5ae9a1d0db7a2fd18ad4decbc1d27ea5fe8948a671a8ac6e6fd6475469d386e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-09T01:49:15.878Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8946 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] { [Pipeline] ws [2023-03-09T01:49:15.891Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2023-03-09T01:49:15.927Z] The recommended git tool is: git [2023-03-09T01:49:20.884Z] using credential edgex-jenkins-ssh [2023-03-09T01:49:20.902Z] Cloning the remote Git repository [2023-03-09T01:49:20.938Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-09T01:49:21.007Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2023-03-09T01:49:21.175Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-09T01:49:21.177Z] > git --version # timeout=10 [2023-03-09T01:49:21.196Z] > git --version # 'git version 2.25.1' [2023-03-09T01:49:21.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T01:49:21.256Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T01:49:24.917Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-09T01:49:24.937Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T01:49:25.767Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-09T01:49:25.806Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-09T01:49:25.806Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T01:49:25.822Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-09T01:49:26.467Z] Merging remotes/origin/main commit a6f9b4558a5053ff5451a91be1399b57291d8939 into PR head commit 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 [2023-03-09T01:49:26.678Z] Merge succeeded, producing 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 [2023-03-09T01:49:26.679Z] Checking out Revision 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 (PR-1356) [2023-03-09T01:49:26.483Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T01:49:26.498Z] > git checkout -f 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 # timeout=10 [2023-03-09T01:49:26.593Z] > git remote # timeout=10 [2023-03-09T01:49:26.609Z] > git config --get remote.origin.url # timeout=10 [2023-03-09T01:49:26.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T01:49:26.636Z] > git merge a6f9b4558a5053ff5451a91be1399b57291d8939 # timeout=10 [2023-03-09T01:49:26.657Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-09T01:49:26.684Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T01:49:26.698Z] > git checkout -f 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 # timeout=10 [2023-03-09T01:49:30.163Z] Commit message: "feat: publish event with updated value for PUT command" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T01:49:31.021Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-09T01:49:31.021Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T01:49:31.021Z] Dload Upload Total Spent Left Speed [2023-03-09T01:49:31.021Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10503 0 0 83357 0 --:--:-- --:--:-- --:--:-- 83357 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh [2023-03-09T01:49:31.747Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-09T01:49:32.089Z] + + sudo tee /etc/docker/daemon.new [2023-03-09T01:49:32.089Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-09T01:49:32.089Z] { [2023-03-09T01:49:32.089Z] "registry-mirrors": [ [2023-03-09T01:49:32.089Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-09T01:49:32.089Z] ], [2023-03-09T01:49:32.089Z] "bip": "10.250.0.254/24", [2023-03-09T01:49:32.089Z] "hosts": [ [2023-03-09T01:49:32.089Z] "tcp://0.0.0.0:5555", [2023-03-09T01:49:32.089Z] "unix:///var/run/docker.sock" [2023-03-09T01:49:32.089Z] ], [2023-03-09T01:49:32.089Z] "mtu": 1458, [2023-03-09T01:49:32.089Z] "selinux-enabled": true, [2023-03-09T01:49:32.089Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-09T01:49:32.089Z] } [Pipeline] sh [2023-03-09T01:49:32.418Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-09T01:49:32.758Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T01:49:51.017Z] provisioning config files... [2023-03-09T01:49:51.040Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config16909489838591291649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T01:49:51.381Z] ---> docker-login.sh [2023-03-09T01:49:51.381Z] nexus3.edgexfoundry.org:10001 [2023-03-09T01:49:51.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:49:51.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:49:51.935Z] Configure a credential helper to remove this warning. See [2023-03-09T01:49:51.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:49:51.935Z] [2023-03-09T01:49:51.935Z] Login Succeeded [2023-03-09T01:49:51.935Z] nexus3.edgexfoundry.org:10002 [2023-03-09T01:49:52.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:49:52.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:49:52.479Z] Configure a credential helper to remove this warning. See [2023-03-09T01:49:52.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:49:52.479Z] [2023-03-09T01:49:52.479Z] Login Succeeded [2023-03-09T01:49:52.479Z] nexus3.edgexfoundry.org:10003 [2023-03-09T01:49:52.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:49:52.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:49:52.749Z] Configure a credential helper to remove this warning. See [2023-03-09T01:49:52.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:49:52.749Z] [2023-03-09T01:49:52.749Z] Login Succeeded [2023-03-09T01:49:52.749Z] nexus3.edgexfoundry.org:10004 [2023-03-09T01:49:53.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:49:53.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:49:53.021Z] Configure a credential helper to remove this warning. See [2023-03-09T01:49:53.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:49:53.021Z] [2023-03-09T01:49:53.021Z] Login Succeeded [2023-03-09T01:49:53.021Z] docker.io [2023-03-09T01:49:53.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T01:49:53.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T01:49:53.564Z] Configure a credential helper to remove this warning. See [2023-03-09T01:49:53.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T01:49:53.564Z] [2023-03-09T01:49:53.564Z] Login Succeeded [2023-03-09T01:49:53.564Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T01:49:53.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T01:49:53.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T01:49:53.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T01:49:53.858Z] ========================================================= [2023-03-09T01:49:53.858Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-09T01:49:53.858Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:49:54.207Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-09T01:49:54.476Z] Sending build context to Docker daemon 5.767MB [2023-03-09T01:49:54.746Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T01:49:54.746Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-09T01:49:54.746Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-09T01:49:54.746Z] 9b18e9b68314: Pulling fs layer [2023-03-09T01:49:54.746Z] 35d82f9e3411: Pulling fs layer [2023-03-09T01:49:54.746Z] e16973657156: Pulling fs layer [2023-03-09T01:49:54.746Z] fc693d55d65f: Pulling fs layer [2023-03-09T01:49:54.746Z] 7e9fc2657dce: Pulling fs layer [2023-03-09T01:49:54.746Z] dda99020689f: Pulling fs layer [2023-03-09T01:49:54.746Z] db1c61fa0a46: Pulling fs layer [2023-03-09T01:49:54.746Z] 891c053d2c06: Pulling fs layer [2023-03-09T01:49:54.746Z] dda99020689f: Waiting [2023-03-09T01:49:54.746Z] db1c61fa0a46: Waiting [2023-03-09T01:49:54.746Z] fc693d55d65f: Waiting [2023-03-09T01:49:54.746Z] 7e9fc2657dce: Waiting [2023-03-09T01:49:54.746Z] 891c053d2c06: Waiting [2023-03-09T01:49:54.746Z] e16973657156: Verifying Checksum [2023-03-09T01:49:54.746Z] e16973657156: Download complete [2023-03-09T01:49:54.746Z] 35d82f9e3411: Verifying Checksum [2023-03-09T01:49:54.746Z] 35d82f9e3411: Download complete [2023-03-09T01:49:55.016Z] 7e9fc2657dce: Verifying Checksum [2023-03-09T01:49:55.016Z] 7e9fc2657dce: Download complete [2023-03-09T01:49:55.016Z] dda99020689f: Verifying Checksum [2023-03-09T01:49:55.016Z] dda99020689f: Download complete [2023-03-09T01:49:55.016Z] 9b18e9b68314: Verifying Checksum [2023-03-09T01:49:55.016Z] 9b18e9b68314: Download complete [2023-03-09T01:49:56.027Z] 9b18e9b68314: Pull complete [2023-03-09T01:49:56.027Z] 891c053d2c06: Verifying Checksum [2023-03-09T01:49:56.027Z] 891c053d2c06: Download complete [2023-03-09T01:49:56.619Z] 35d82f9e3411: Pull complete [2023-03-09T01:49:56.888Z] e16973657156: Pull complete [2023-03-09T01:49:57.475Z] db1c61fa0a46: Download complete [2023-03-09T01:49:57.744Z] fc693d55d65f: Verifying Checksum [2023-03-09T01:49:57.744Z] fc693d55d65f: Download complete [2023-03-09T01:50:10.085Z] fc693d55d65f: Pull complete [2023-03-09T01:50:10.085Z] 7e9fc2657dce: Pull complete [2023-03-09T01:50:10.085Z] dda99020689f: Pull complete [2023-03-09T01:50:16.757Z] db1c61fa0a46: Pull complete [2023-03-09T01:50:18.177Z] 891c053d2c06: Pull complete [2023-03-09T01:50:18.177Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-09T01:50:18.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-09T01:50:18.177Z] ---> f96f9c87975a [2023-03-09T01:50:18.177Z] Step 3/10 : ARG MAKE=make build [2023-03-09T01:50:20.136Z] ---> Running in 7a41db4a13c4 [2023-03-09T01:50:20.404Z] Removing intermediate container 7a41db4a13c4 [2023-03-09T01:50:20.404Z] ---> a4159dd69342 [2023-03-09T01:50:20.404Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-09T01:50:20.404Z] ---> Running in 448ff943026d [2023-03-09T01:50:20.673Z] Removing intermediate container 448ff943026d [2023-03-09T01:50:20.673Z] ---> 52dd5cc3c501 [2023-03-09T01:50:20.673Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-09T01:50:20.673Z] ---> Running in 3d47e9ef951c [2023-03-09T01:50:20.944Z] Removing intermediate container 3d47e9ef951c [2023-03-09T01:50:20.944Z] ---> 1c5e5a1398d8 [2023-03-09T01:50:20.944Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-09T01:50:21.213Z] ---> Running in 8cb84e4358b6 [2023-03-09T01:50:22.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T01:50:23.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T01:50:24.097Z] OK: 221 MiB in 51 packages [2023-03-09T01:50:25.057Z] Removing intermediate container 8cb84e4358b6 [2023-03-09T01:50:25.058Z] ---> 208033c29819 [2023-03-09T01:50:25.058Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-09T01:50:25.334Z] ---> 6cc1fb6c2a82 [2023-03-09T01:50:25.334Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T01:50:25.334Z] ---> Running in 77d704291c19 [2023-03-09T01:51:33.216Z] Removing intermediate container 77d704291c19 [2023-03-09T01:51:33.217Z] ---> 2e2c33bc8460 [2023-03-09T01:51:33.217Z] Step 9/10 : COPY . . [2023-03-09T01:51:33.217Z] ---> f385127eddf9 [2023-03-09T01:51:33.217Z] Step 10/10 : RUN ${MAKE} [2023-03-09T01:51:33.217Z] ---> Running in 5783c9f64ac6 [2023-03-09T01:51:33.217Z] noop [2023-03-09T01:51:33.217Z] Removing intermediate container 5783c9f64ac6 [2023-03-09T01:51:33.217Z] ---> c4d34af1737d [2023-03-09T01:51:33.217Z] Successfully built c4d34af1737d [2023-03-09T01:51:33.217Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:51:33.571Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T01:51:33.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T01:51:33.761Z] prd-ubuntu20.04-docker-arm64-4c-16g-8946 does not seem to be running inside a container [2023-03-09T01:51:33.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-09T01:51:34.998Z] $ docker top d8984341e18093325f7833d3e21efd94ce80516872d8f74630b2448032b99e59 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T01:51:35.817Z] + go version [2023-03-09T01:51:35.817Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-09T01:51:35.842Z] $ docker stop --time=1 d8984341e18093325f7833d3e21efd94ce80516872d8f74630b2448032b99e59 [2023-03-09T01:51:37.461Z] $ docker rm -f --volumes d8984341e18093325f7833d3e21efd94ce80516872d8f74630b2448032b99e59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:51:37.994Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T01:51:37.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T01:51:38.173Z] prd-ubuntu20.04-docker-arm64-4c-16g-8946 does not seem to be running inside a container [2023-03-09T01:51:38.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-09T01:51:39.406Z] $ docker top 223a941cf3b5ff9a4c2c0155ab0eaf64ef8f6e24eea7a5bf7003fc8ebcb07dc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T01:51:39.910Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2023-03-09T01:51:40.564Z] + make test [2023-03-09T01:51:40.564Z] go test -race -coverprofile=coverage.out ./... [2023-03-09T01:52:12.785Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-09T01:54:04.454Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-09T01:54:04.454Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-09T01:54:04.454Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-09T01:54:04.454Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-09T01:54:04.454Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-09T01:54:09.798Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.390s coverage: 27.6% of statements [2023-03-09T01:54:10.762Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.507s coverage: 78.9% of statements [2023-03-09T01:54:10.762Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-09T01:54:17.429Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.415s coverage: 86.0% of statements [2023-03-09T01:54:17.429Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-09T01:54:17.429Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-09T01:54:19.372Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.646s coverage: 75.9% of statements [2023-03-09T01:54:19.372Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-09T01:54:19.372Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.394s coverage: 15.2% of statements [2023-03-09T01:54:19.372Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-09T01:54:20.332Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.461s coverage: 65.2% of statements [2023-03-09T01:54:20.332Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-09T01:54:20.332Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-09T01:54:24.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.908s coverage: 89.2% of statements [2023-03-09T01:54:24.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-09T01:54:24.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.257s coverage: 5.4% of statements [2023-03-09T01:54:24.764Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-09T01:54:25.728Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-09T01:54:25.728Z] GO111MODULE=on go vet ./... [2023-03-09T01:56:02.376Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T01:56:02.376Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T01:56:02.376Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-09T01:56:02.662Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T01:56:02.732Z] $ docker stop --time=1 223a941cf3b5ff9a4c2c0155ab0eaf64ef8f6e24eea7a5bf7003fc8ebcb07dc3 [2023-03-09T01:56:04.631Z] $ docker rm -f --volumes 223a941cf3b5ff9a4c2c0155ab0eaf64ef8f6e24eea7a5bf7003fc8ebcb07dc3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T01:56:06.019Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T01:56:06.042Z] Warning: overwriting stash ‘coverage-report’ [2023-03-09T01:56:06.713Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T01:56:07.123Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T01:56:07.447Z] + ls -al . [2023-03-09T01:56:07.447Z] total 276 [2023-03-09T01:56:07.447Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 01:51 . [2023-03-09T01:56:07.447Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 01:49 .. [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 01:49 .dockerignore [2023-03-09T01:56:07.447Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 01:49 .git [2023-03-09T01:56:07.447Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 01:49 .github [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 9 01:49 .gitignore [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 9 01:49 .golangci.yml [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 9 01:49 CHANGELOG.md [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 01:49 GOVERNANCE.md [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 9 01:49 Jenkinsfile [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 01:49 LICENSE [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 9 01:49 Makefile [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 9 01:49 OWNERS.md [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 9 01:49 README.md [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 01:45 VERSION [2023-03-09T01:56:07.447Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 01:49 bin [2023-03-09T01:56:07.447Z] -rw-r--r-- 1 jenkins jenkins 111956 Mar 9 01:54 coverage.out [2023-03-09T01:56:07.447Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 9 01:49 example [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 9 01:49 go.mod [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 9 01:49 go.sum [2023-03-09T01:56:07.447Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 9 01:49 internal [2023-03-09T01:56:07.447Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 01:49 openapi [2023-03-09T01:56:07.447Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 9 01:49 pkg [2023-03-09T01:56:07.447Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 01:49 snap [2023-03-09T01:56:07.447Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 01:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:56:07.786Z] + 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=3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 --label arch=arm64 --label version=0.0.0 . [2023-03-09T01:56:08.374Z] Sending build context to Docker daemon 5.879MB [2023-03-09T01:56:08.374Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T01:56:08.374Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-09T01:56:08.374Z] ---> c4d34af1737d [2023-03-09T01:56:08.374Z] Step 3/23 : ARG MAKE=make build [2023-03-09T01:56:08.374Z] ---> Running in 46065c83617b [2023-03-09T01:56:08.646Z] Removing intermediate container 46065c83617b [2023-03-09T01:56:08.646Z] ---> d04609c8f370 [2023-03-09T01:56:08.646Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-09T01:56:08.912Z] ---> Running in d43b42abf31d [2023-03-09T01:56:09.180Z] Removing intermediate container d43b42abf31d [2023-03-09T01:56:09.180Z] ---> ff12287027fa [2023-03-09T01:56:09.180Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-09T01:56:09.180Z] ---> Running in 2d9b026ed733 [2023-03-09T01:56:09.450Z] Removing intermediate container 2d9b026ed733 [2023-03-09T01:56:09.450Z] ---> ed1f64e17b48 [2023-03-09T01:56:09.450Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-09T01:56:09.450Z] ---> Running in 4765678995fb [2023-03-09T01:56:10.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T01:56:10.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T01:56:12.284Z] OK: 221 MiB in 51 packages [2023-03-09T01:56:12.870Z] Removing intermediate container 4765678995fb [2023-03-09T01:56:12.870Z] ---> ce0c6dd0a7be [2023-03-09T01:56:12.870Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-09T01:56:15.436Z] ---> e1ee9c931e46 [2023-03-09T01:56:15.436Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T01:56:15.436Z] ---> Running in 686a0512f9b9 [2023-03-09T01:56:18.019Z] Removing intermediate container 686a0512f9b9 [2023-03-09T01:56:18.019Z] ---> a2bc13719431 [2023-03-09T01:56:18.019Z] Step 9/23 : COPY . . [2023-03-09T01:56:18.980Z] ---> be583bba1d31 [2023-03-09T01:56:18.980Z] Step 10/23 : RUN ${MAKE} [2023-03-09T01:56:18.980Z] ---> Running in a3f73d8bbd26 [2023-03-09T01:56:19.945Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-09T01:58:41.657Z] Removing intermediate container a3f73d8bbd26 [2023-03-09T01:58:41.657Z] ---> e7a937776f52 [2023-03-09T01:58:41.657Z] Step 11/23 : FROM alpine:3.16 [2023-03-09T01:58:41.657Z] 3.16: Pulling from library/alpine [2023-03-09T01:58:41.657Z] 3760b48202b3: Pulling fs layer [2023-03-09T01:58:41.657Z] 3760b48202b3: Download complete [2023-03-09T01:58:41.657Z] 3760b48202b3: Pull complete [2023-03-09T01:58:41.657Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T01:58:41.657Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T01:58:41.657Z] ---> 4c81e5bf8899 [2023-03-09T01:58:41.657Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-09T01:58:41.657Z] ---> Running in 0642ba628a51 [2023-03-09T01:58:41.657Z] Removing intermediate container 0642ba628a51 [2023-03-09T01:58:41.657Z] ---> 066cc2af1c7c [2023-03-09T01:58:41.657Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-09T01:58:41.657Z] ---> Running in af00aed94744 [2023-03-09T01:58:41.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T01:58:41.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T01:58:41.657Z] OK: 5 MiB in 14 packages [2023-03-09T01:58:41.657Z] Removing intermediate container af00aed94744 [2023-03-09T01:58:41.657Z] ---> dc36e54c4331 [2023-03-09T01:58:41.657Z] Step 14/23 : WORKDIR / [2023-03-09T01:58:41.657Z] ---> Running in c843b683f7b1 [2023-03-09T01:58:41.657Z] Removing intermediate container c843b683f7b1 [2023-03-09T01:58:41.657Z] ---> 3136c0a2b748 [2023-03-09T01:58:41.657Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-09T01:58:41.657Z] ---> c6b3cfce79b5 [2023-03-09T01:58:41.657Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-09T01:58:41.657Z] ---> 53552e9112e1 [2023-03-09T01:58:41.657Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-09T01:58:41.657Z] ---> 9ec7e8dae593 [2023-03-09T01:58:41.657Z] Step 18/23 : EXPOSE 59999 [2023-03-09T01:58:41.657Z] ---> Running in ce184d0ea7a1 [2023-03-09T01:58:41.657Z] Removing intermediate container ce184d0ea7a1 [2023-03-09T01:58:41.658Z] ---> 0acc49a6593c [2023-03-09T01:58:41.658Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-09T01:58:41.658Z] ---> Running in 6eb3988e6eec [2023-03-09T01:58:41.658Z] Removing intermediate container 6eb3988e6eec [2023-03-09T01:58:41.658Z] ---> 630f517b5fe1 [2023-03-09T01:58:41.658Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-09T01:58:41.658Z] ---> Running in 2c1822921bc7 [2023-03-09T01:58:41.658Z] Removing intermediate container 2c1822921bc7 [2023-03-09T01:58:41.658Z] ---> 62fcee3f9739 [2023-03-09T01:58:41.658Z] Step 21/23 : LABEL arch=arm64 [2023-03-09T01:58:41.658Z] ---> Running in 6bf4decd099a [2023-03-09T01:58:41.658Z] Removing intermediate container 6bf4decd099a [2023-03-09T01:58:41.658Z] ---> dbbfa920afc4 [2023-03-09T01:58:41.658Z] Step 22/23 : LABEL git_sha=3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 [2023-03-09T01:58:41.658Z] ---> Running in 7a56f9108784 [2023-03-09T01:58:41.658Z] Removing intermediate container 7a56f9108784 [2023-03-09T01:58:41.658Z] ---> 8b46f33851a6 [2023-03-09T01:58:41.658Z] Step 23/23 : LABEL version=0.0.0 [2023-03-09T01:58:41.658Z] ---> Running in 112fe716515f [2023-03-09T01:58:41.924Z] Removing intermediate container 112fe716515f [2023-03-09T01:58:41.924Z] ---> c1686ed845d1 [2023-03-09T01:58:41.924Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T01:58:41.924Z] Successfully built c1686ed845d1 [2023-03-09T01:58:41.924Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:58:42.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T01:58:42.352Z] [2023-03-09T01:58:42.352Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:58:42.688Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T01:58:42.688Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-09T01:58:42.688Z] 8998bd30e6a1: Pulling fs layer [2023-03-09T01:58:42.688Z] 04944245beec: Pulling fs layer [2023-03-09T01:58:42.688Z] 699f458cf7ca: Pulling fs layer [2023-03-09T01:58:42.688Z] 765212b225bb: Pulling fs layer [2023-03-09T01:58:42.688Z] f23df028b6ca: Pulling fs layer [2023-03-09T01:58:42.688Z] d65c8cfc05b1: Pulling fs layer [2023-03-09T01:58:42.688Z] 2437ff75d9bd: Pulling fs layer [2023-03-09T01:58:42.688Z] f23df028b6ca: Waiting [2023-03-09T01:58:42.688Z] d65c8cfc05b1: Waiting [2023-03-09T01:58:42.688Z] 2437ff75d9bd: Waiting [2023-03-09T01:58:42.688Z] 765212b225bb: Waiting [2023-03-09T01:58:42.955Z] 04944245beec: Verifying Checksum [2023-03-09T01:58:42.955Z] 04944245beec: Download complete [2023-03-09T01:58:42.955Z] 765212b225bb: Verifying Checksum [2023-03-09T01:58:42.955Z] 765212b225bb: Download complete [2023-03-09T01:58:42.955Z] f23df028b6ca: Verifying Checksum [2023-03-09T01:58:42.955Z] f23df028b6ca: Download complete [2023-03-09T01:58:42.955Z] d65c8cfc05b1: Verifying Checksum [2023-03-09T01:58:42.955Z] d65c8cfc05b1: Download complete [2023-03-09T01:58:43.223Z] 699f458cf7ca: Verifying Checksum [2023-03-09T01:58:43.223Z] 699f458cf7ca: Download complete [2023-03-09T01:58:43.491Z] 8998bd30e6a1: Download complete [2023-03-09T01:58:46.070Z] 2437ff75d9bd: Verifying Checksum [2023-03-09T01:58:46.070Z] 2437ff75d9bd: Download complete [2023-03-09T01:58:47.481Z] 8998bd30e6a1: Pull complete [2023-03-09T01:58:48.068Z] 04944245beec: Pull complete [2023-03-09T01:58:49.484Z] 699f458cf7ca: Pull complete [2023-03-09T01:58:49.484Z] 765212b225bb: Pull complete [2023-03-09T01:58:50.445Z] f23df028b6ca: Pull complete [2023-03-09T01:58:50.713Z] d65c8cfc05b1: Pull complete [2023-03-09T01:59:05.708Z] 2437ff75d9bd: Pull complete [2023-03-09T01:59:05.708Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-09T01:59:05.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T01:59:05.708Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T01:59:05.917Z] prd-ubuntu20.04-docker-arm64-4c-16g-8946 does not seem to be running inside a container [2023-03-09T01:59:05.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-09T01:59:08.537Z] $ docker top 10f2b2c435ef15037ae2475368704fd68458e7804b22ef5aefa13b0fee00aecd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T01:59:09.361Z] ---> job-cost.sh [2023-03-09T01:59:09.361Z] lf-activate-venv: SKIPPING [2023-03-09T01:59:09.361Z] INFO: No Stack... [2023-03-09T01:59:09.627Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-09T01:59:10.584Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T01:59:11.223Z] + cut -d, -f6 [2023-03-09T01:59:11.223Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock [2023-03-09T01:59:11.292Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1356-5-stack-cost] [2023-03-09T01:59:11.302Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-5-stack-cost] did not exist. Created. [2023-03-09T01:59:11.302Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1356-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T01:59:11.958Z] /w/workspace/device-sdk-go/5@tmp/durable-19f794df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-09T01:59:12.708Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-09T01:59:12.731Z] Warning: overwriting stash ‘stack-cost’ [2023-03-09T01:59:12.799Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T01:59:12.806Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T01:59:12.829Z] $ docker stop --time=1 10f2b2c435ef15037ae2475368704fd68458e7804b22ef5aefa13b0fee00aecd [2023-03-09T01:59:14.314Z] $ docker rm -f --volumes 10f2b2c435ef15037ae2475368704fd68458e7804b22ef5aefa13b0fee00aecd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-09T01:59:14.674Z] provisioning config files... [2023-03-09T01:59:14.681Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config4959066316644632631tmp [Pipeline] { [Pipeline] sh [2023-03-09T01:59:14.972Z] + set +x [2023-03-09T01:59:14.972Z] + curl -s https://codecov.io/bash [2023-03-09T01:59:14.972Z] + bash -s -- [2023-03-09T01:59:14.972Z] [2023-03-09T01:59:14.972Z] _____ _ [2023-03-09T01:59:14.972Z] / ____| | | [2023-03-09T01:59:14.972Z] | | ___ __| | ___ ___ _____ __ [2023-03-09T01:59:14.972Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-09T01:59:14.972Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-09T01:59:14.972Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-09T01:59:14.972Z] Bash-1.0.6 [2023-03-09T01:59:14.972Z] [2023-03-09T01:59:14.972Z] [2023-03-09T01:59:14.972Z] ==> git version 2.25.1 found [2023-03-09T01:59:14.972Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-09T01:59:14.972Z] Release-Date: 2020-01-08 [2023-03-09T01:59:14.972Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-09T01:59:14.972Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-09T01:59:14.972Z] ==> Jenkins CI detected. [2023-03-09T01:59:14.972Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1356 [2023-03-09T01:59:14.972Z] project root: . [2023-03-09T01:59:14.972Z] --> token set from env [2023-03-09T01:59:14.972Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-09T01:59:14.972Z] ==> Running gcov in . (disable via -X gcov) [2023-03-09T01:59:14.972Z] ==> Python coveragepy not found [2023-03-09T01:59:14.972Z] ==> Searching for coverage reports in: [2023-03-09T01:59:14.972Z] + . [2023-03-09T01:59:14.972Z] -> Found 1 reports [2023-03-09T01:59:14.972Z] ==> Detecting git/mercurial file structure [2023-03-09T01:59:14.972Z] ==> Reading reports [2023-03-09T01:59:14.972Z] + ./coverage.out bytes=111956 [2023-03-09T01:59:14.972Z] ==> Appending adjustments [2023-03-09T01:59:14.972Z] https://docs.codecov.io/docs/fixing-reports [2023-03-09T01:59:15.540Z] + Found adjustments [2023-03-09T01:59:15.540Z] ==> Gzipping contents [2023-03-09T01:59:15.540Z] 16K /tmp/codecov.MCHIpw.gz [2023-03-09T01:59:15.540Z] ==> Uploading reports [2023-03-09T01:59:15.540Z] url: https://codecov.io [2023-03-09T01:59:15.540Z] query: branch=PR-1356&commit=3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1356%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1356&job=&cmd_args= [2023-03-09T01:59:15.540Z] -> Pinging Codecov [2023-03-09T01:59:15.540Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1356&commit=3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1356%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1356&job=&cmd_args= [2023-03-09T01:59:15.540Z] -> Uploading to [2023-03-09T01:59:15.540Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-09/7E55EF52A471D76F132DFD9A03CDDE97/3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7/6ae5820a-c7ec-4a1c-b20d-0cc792c8d5d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T015915Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=849571626eb73c15ada479e042f2454a922f031bcb2a15c988e6437d96c7cdea [2023-03-09T01:59:15.540Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T01:59:15.540Z] Dload Upload Total Spent Left Speed [2023-03-09T01:59:15.802Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15454 0 0 100 15454 0 50338 --:--:-- --:--:-- --:--:-- 50175 [2023-03-09T01:59:15.802Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 [Pipeline] } [2023-03-09T01:59:15.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-09T01:59:16.510Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives ] [2023-03-09T01:59:16.510Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-09T01:59:16.510Z] total 16 [2023-03-09T01:59:16.510Z] drwxr-xr-x 3 root root 4096 Mar 9 01:47 . [2023-03-09T01:59:16.510Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 9 01:47 .. [2023-03-09T01:59:16.510Z] drwxr-xr-x 2 root root 4096 Mar 9 01:47 cost [2023-03-09T01:59:16.510Z] -rw-r--r-- 1 root root 87 Mar 9 01:47 cost.csv [2023-03-09T01:59:16.510Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-09T01:59:16.510Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-09T01:59:16.510Z] total 16 [2023-03-09T01:59:16.510Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 01:47 . [2023-03-09T01:59:16.510Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 9 01:47 .. [2023-03-09T01:59:16.510Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 01:47 cost [2023-03-09T01:59:16.510Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 9 01:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-09T01:59:16.802Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T01:59:17.672Z] ---> package-listing.sh [2023-03-09T01:59:17.672Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-09T01:59:17.672Z] ++ facter osfamily [2023-03-09T01:59:17.931Z] + OS_FAMILY=debian [2023-03-09T01:59:17.931Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1356 [2023-03-09T01:59:17.931Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-09T01:59:17.931Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-09T01:59:17.931Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-09T01:59:17.931Z] + PACKAGES=/tmp/packages_start.txt [2023-03-09T01:59:17.931Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' [2023-03-09T01:59:17.931Z] + PACKAGES=/tmp/packages_end.txt [2023-03-09T01:59:17.931Z] + case "${OS_FAMILY}" in [2023-03-09T01:59:17.931Z] + dpkg -l [2023-03-09T01:59:17.931Z] + grep '^ii' [2023-03-09T01:59:17.931Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-09T01:59:17.931Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-09T01:59:17.931Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-09T01:59:17.931Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' [2023-03-09T01:59:17.931Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ [2023-03-09T01:59:17.931Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ [Pipeline] echo [2023-03-09T01:59:17.941Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1356/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-09T01:59:18.219Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T01:59:18.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T01:59:18.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T01:59:18.851Z] prd-ubuntu20.04-docker-8c-8g-8945 does not seem to be running inside a container [2023-03-09T01:59:18.898Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1356/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-09T01:59:19.128Z] $ docker top 3887bbb25555411e7914f1c123e01cf3f35fa47f77d424e103332d338ad8fd6d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T01:59:19.446Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-09T01:59:19.731Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-09T01:59:20.015Z] + ls /var/log/sa-host [2023-03-09T01:59:20.015Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T01:59:20.169Z] provisioning config files... [2023-03-09T01:59:20.179Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config1976622157280801895tmp [Pipeline] { [Pipeline] echo [2023-03-09T01:59:20.191Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T01:59:20.478Z] ---> create-netrc.sh [Pipeline] } [2023-03-09T01:59:20.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-09T01:59:20.825Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-09T01:59:20.835Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T01:59:21.117Z] ---> sudo-logs.sh [2023-03-09T01:59:21.117Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-09T01:59:21.141Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T01:59:21.424Z] ---> job-cost.sh [2023-03-09T01:59:21.424Z] lf-activate-venv: SKIPPING [2023-03-09T01:59:21.424Z] DEBUG: total: 0.2199999988079071 [2023-03-09T01:59:21.424Z] INFO: Retrieving Stack Cost... [2023-03-09T01:59:21.683Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T01:59:22.249Z] INFO: Archiving Costs [Pipeline] echo [2023-03-09T01:59:22.266Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T01:59:22.549Z] ---> logs-deploy.sh [2023-03-09T01:59:22.549Z] lf-activate-venv: SKIPPING [2023-03-09T01:59:22.549Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1356/5 [2023-03-09T01:59:22.549Z] INFO: archiving workspace using pattern(s): [2023-03-09T01:59:23.483Z] Archives upload complete. [2023-03-09T01:59:23.483Z] INFO: archiving logs to Nexus