Pull request #1335 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 5827dcbf4716f89f27efa4d61bbd9e5ed358461d rather than 7be4a1db85f1bf1c2d503463fb528c564abf3216 Obtained Jenkinsfile from 5827dcbf4716f89f27efa4d61bbd9e5ed358461d 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-ssh467141921827008247.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-ssh17342645272401234469.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-1335/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-1335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8865805595633774609.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-ssh10961236315242635763.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-1335/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-1335/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14227042639055327385.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7018’ Running on prd-ubuntu20.04-docker-8c-8g-7021 in /w/workspace/gexfoundry_device-sdk-go_PR-1335 [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-1335 # 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/1335/head:refs/remotes/origin/PR-1335 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5827dcbf4716f89f27efa4d61bbd9e5ed358461d into PR head commit 7be4a1db85f1bf1c2d503463fb528c564abf3216 Merge succeeded, producing 65d1e624c129350b9c2cedaa3d244fbcf9666ea6 Checking out Revision 65d1e624c129350b9c2cedaa3d244fbcf9666ea6 (PR-1335) > git config core.sparsecheckout # timeout=10 > git checkout -f 7be4a1db85f1bf1c2d503463fb528c564abf3216 # 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 5827dcbf4716f89f27efa4d61bbd9e5ed358461d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65d1e624c129350b9c2cedaa3d244fbcf9666ea6 # timeout=10 Commit message: "Merge commit '5827dcbf4716f89f27efa4d61bbd9e5ed358461d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-22T07:21:58.276Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-22T07:21:58.334Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-22T07:21:58.352Z] ========================================================= [2023-02-22T07:21:58.352Z] EdgeX Global Pipelines Version Info [2023-02-22T07:21:58.352Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0eeb548b3995e0aea6d95448de44b2075fc60440 # timeout=10 [2023-02-22T07:21:59.088Z] ------------------- [2023-02-22T07:21:59.089Z] stable info: [2023-02-22T07:21:59.089Z] ------------------- [2023-02-22T07:21:59.089Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-22T07:21:59.089Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T07:21:59.089Z] Message: update stable to v1.0.244 [2023-02-22T07:21:59.661Z] ------------------- [2023-02-22T07:21:59.661Z] experimental info: [2023-02-22T07:21:59.661Z] ------------------- [2023-02-22T07:21:59.661Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-22T07:21:59.661Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T07:21:59.661Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-22T07:21:59.863Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-22T07:21:59.874Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-22T07:21:59.886Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-22T07:21:59.900Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-22T07:21:59.912Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-22T07:21:59.923Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-22T07:21:59.937Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-22T07:21:59.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-22T07:21:59.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-22T07:21:59.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-22T07:21:59.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-22T07:22:00.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-22T07:22:00.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-22T07:22:00.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-22T07:22:00.038Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-22T07:22:00.053Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T07:22:00.069Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T07:22:00.086Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T07:22:00.106Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-22T07:22:00.121Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-22T07:22:00.141Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-22T07:22:00.160Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-22T07:22:00.175Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-22T07:22:00.185Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-22T07:22:00.202Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-22T07:22:00.216Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-22T07:22:00.225Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-22T07:22:00.234Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1335 [Pipeline] echo [2023-02-22T07:22:00.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1335 [Pipeline] echo [2023-02-22T07:22:00.253Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1335 [Pipeline] echo [2023-02-22T07:22:00.269Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65d1e624c129350b9c2cedaa3d244fbcf9666ea6 [Pipeline] echo [2023-02-22T07:22:00.282Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65d1e62 [Pipeline] echo [2023-02-22T07:22:00.294Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T07:22:00.338Z] provisioning config files... [2023-02-22T07:22:00.352Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config8311737656376281472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T07:22:00.654Z] ---> docker-login.sh [2023-02-22T07:22:00.654Z] nexus3.edgexfoundry.org:10001 [2023-02-22T07:22:00.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:22:00.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:22:00.918Z] Configure a credential helper to remove this warning. See [2023-02-22T07:22:00.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:22:00.918Z] [2023-02-22T07:22:00.918Z] Login Succeeded [2023-02-22T07:22:00.918Z] nexus3.edgexfoundry.org:10002 [2023-02-22T07:22:01.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:22:01.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:22:01.177Z] Configure a credential helper to remove this warning. See [2023-02-22T07:22:01.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:22:01.177Z] [2023-02-22T07:22:01.177Z] Login Succeeded [2023-02-22T07:22:01.177Z] nexus3.edgexfoundry.org:10003 [2023-02-22T07:22:01.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:22:01.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:22:01.177Z] Configure a credential helper to remove this warning. See [2023-02-22T07:22:01.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:22:01.177Z] [2023-02-22T07:22:01.177Z] Login Succeeded [2023-02-22T07:22:01.177Z] nexus3.edgexfoundry.org:10004 [2023-02-22T07:22:01.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:22:01.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:22:01.439Z] Configure a credential helper to remove this warning. See [2023-02-22T07:22:01.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:22:01.439Z] [2023-02-22T07:22:01.439Z] Login Succeeded [2023-02-22T07:22:01.439Z] docker.io [2023-02-22T07:22:01.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:22:01.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:22:01.699Z] Configure a credential helper to remove this warning. See [2023-02-22T07:22:01.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:22:01.699Z] [2023-02-22T07:22:01.699Z] Login Succeeded [2023-02-22T07:22:01.699Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T07:22:01.707Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-22T07:22:02.073Z] + git rev-list -1 --merges 65d1e624c129350b9c2cedaa3d244fbcf9666ea6~1..65d1e624c129350b9c2cedaa3d244fbcf9666ea6 [Pipeline] echo [2023-02-22T07:22:02.120Z] -----------> git rev-list -1 --merges 65d1e624c129350b9c2cedaa3d244fbcf9666ea6~1..65d1e624c129350b9c2cedaa3d244fbcf9666ea6 65d1e624c129350b9c2cedaa3d244fbcf9666ea6 [2023-02-22T07:22:02.120Z] 65d1e624c129350b9c2cedaa3d244fbcf9666ea6 [false] [Pipeline] sh [2023-02-22T07:22:02.407Z] + git log --format=format:%s -1 65d1e624c129350b9c2cedaa3d244fbcf9666ea6 [Pipeline] echo [2023-02-22T07:22:02.423Z] ========================================================= [2023-02-22T07:22:02.423Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-22T07:22:02.423Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T07:22:02.742Z] + git log --format=format:%s -1 65d1e624c129350b9c2cedaa3d244fbcf9666ea6 [Pipeline] echo [2023-02-22T07:22:02.753Z] [semverPrep] GIT_COMMIT: 65d1e624c129350b9c2cedaa3d244fbcf9666ea6, Commit Message: Merge commit '5827dcbf4716f89f27efa4d61bbd9e5ed358461d' into HEAD [Pipeline] echo [2023-02-22T07:22:02.764Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-22T07:22:03.107Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-22T07:22:03.107Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-22T07:22:03.107Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-22T07:22:03.107Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-22T07:22:03.107Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-22T07:22:03.107Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-22T07:22:03.107Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T07:22:03.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T07:22:03.476Z] [2023-02-22T07:22:03.476Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T07:22:03.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T07:22:03.777Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-22T07:22:03.777Z] b85a868b505f: Pulling fs layer [2023-02-22T07:22:03.777Z] e2be974225ed: Pulling fs layer [2023-02-22T07:22:03.777Z] 339a4e72a1f5: Pulling fs layer [2023-02-22T07:22:03.777Z] 988bab9f4d93: Pulling fs layer [2023-02-22T07:22:03.777Z] 1469e6f7b9e6: Pulling fs layer [2023-02-22T07:22:03.777Z] eaf3925da568: Pulling fs layer [2023-02-22T07:22:03.777Z] bab4dde63d76: Pulling fs layer [2023-02-22T07:22:03.777Z] 988bab9f4d93: Waiting [2023-02-22T07:22:03.777Z] bde34c3a00c8: Pulling fs layer [2023-02-22T07:22:03.777Z] b352a97aabf1: Pulling fs layer [2023-02-22T07:22:03.777Z] 4872d77fe225: Pulling fs layer [2023-02-22T07:22:03.777Z] 5851b861e8e6: Pulling fs layer [2023-02-22T07:22:03.777Z] b352a97aabf1: Waiting [2023-02-22T07:22:03.777Z] 1469e6f7b9e6: Waiting [2023-02-22T07:22:03.777Z] eaf3925da568: Waiting [2023-02-22T07:22:03.777Z] bde34c3a00c8: Waiting [2023-02-22T07:22:03.777Z] bab4dde63d76: Waiting [2023-02-22T07:22:03.777Z] 4872d77fe225: Waiting [2023-02-22T07:22:03.777Z] 5851b861e8e6: Waiting [2023-02-22T07:22:03.777Z] e2be974225ed: Verifying Checksum [2023-02-22T07:22:03.777Z] e2be974225ed: Download complete [2023-02-22T07:22:04.038Z] 988bab9f4d93: Verifying Checksum [2023-02-22T07:22:04.038Z] 988bab9f4d93: Download complete [2023-02-22T07:22:04.038Z] 339a4e72a1f5: Verifying Checksum [2023-02-22T07:22:04.038Z] 339a4e72a1f5: Download complete [2023-02-22T07:22:04.038Z] eaf3925da568: Verifying Checksum [2023-02-22T07:22:04.038Z] eaf3925da568: Download complete [2023-02-22T07:22:04.038Z] 1469e6f7b9e6: Verifying Checksum [2023-02-22T07:22:04.038Z] 1469e6f7b9e6: Download complete [2023-02-22T07:22:04.038Z] bde34c3a00c8: Download complete [2023-02-22T07:22:04.297Z] b352a97aabf1: Verifying Checksum [2023-02-22T07:22:04.297Z] b352a97aabf1: Download complete [2023-02-22T07:22:04.297Z] 4872d77fe225: Verifying Checksum [2023-02-22T07:22:04.297Z] 4872d77fe225: Download complete [2023-02-22T07:22:04.297Z] 5851b861e8e6: Verifying Checksum [2023-02-22T07:22:04.297Z] 5851b861e8e6: Download complete [2023-02-22T07:22:04.297Z] b85a868b505f: Verifying Checksum [2023-02-22T07:22:04.297Z] b85a868b505f: Download complete [2023-02-22T07:22:04.556Z] bab4dde63d76: Verifying Checksum [2023-02-22T07:22:04.556Z] bab4dde63d76: Download complete [2023-02-22T07:22:05.493Z] b85a868b505f: Pull complete [2023-02-22T07:22:05.752Z] e2be974225ed: Pull complete [2023-02-22T07:22:06.319Z] 339a4e72a1f5: Pull complete [2023-02-22T07:22:06.319Z] 988bab9f4d93: Pull complete [2023-02-22T07:22:06.578Z] 1469e6f7b9e6: Pull complete [2023-02-22T07:22:06.838Z] eaf3925da568: Pull complete [2023-02-22T07:22:09.373Z] bab4dde63d76: Pull complete [2023-02-22T07:22:09.373Z] bde34c3a00c8: Pull complete [2023-02-22T07:22:09.373Z] b352a97aabf1: Pull complete [2023-02-22T07:22:09.373Z] 4872d77fe225: Pull complete [2023-02-22T07:22:09.373Z] 5851b861e8e6: Pull complete [2023-02-22T07:22:09.373Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-22T07:22:09.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T07:22:09.373Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T07:22:09.468Z] prd-ubuntu20.04-docker-8c-8g-7021 does not seem to be running inside a container [2023-02-22T07:22:09.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-22T07:22:13.706Z] $ docker top 8b2326bdeb8f9d57735cfdbfaf53219a5481221cca3d74543b0b121990dcc359 -eo pid,comm [2023-02-22T07:22:13.763Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-22T07:22:13.763Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-22T07:22:13.803Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T07:22:13.803Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T07:22:13.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T07:22:13.936Z] $ docker exec 8b2326bdeb8f9d57735cfdbfaf53219a5481221cca3d74543b0b121990dcc359 ssh-agent [2023-02-22T07:22:14.055Z] SSH_AUTH_SOCK=/tmp/ssh-zHXB5MMffUQP/agent.32 [2023-02-22T07:22:14.055Z] SSH_AGENT_PID=38 [2023-02-22T07:22:14.062Z] Running ssh-add (command line suppressed) [2023-02-22T07:22:14.174Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_2125169310753072342.key (/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_2125169310753072342.key) [2023-02-22T07:22:14.192Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T07:22:14.481Z] + git tag --points-at HEAD [Pipeline] } [2023-02-22T07:22:14.498Z] $ docker exec --env ******** --env ******** 8b2326bdeb8f9d57735cfdbfaf53219a5481221cca3d74543b0b121990dcc359 ssh-agent -k [2023-02-22T07:22:14.601Z] unset SSH_AUTH_SOCK; [2023-02-22T07:22:14.602Z] unset SSH_AGENT_PID; [2023-02-22T07:22:14.602Z] echo Agent pid 38 killed; [2023-02-22T07:22:14.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-22T07:22:14.640Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T07:22:14.640Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T07:22:14.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T07:22:14.768Z] $ docker exec 8b2326bdeb8f9d57735cfdbfaf53219a5481221cca3d74543b0b121990dcc359 ssh-agent [2023-02-22T07:22:14.898Z] SSH_AUTH_SOCK=/tmp/ssh-Jk5CsUCJkC0Z/agent.69 [2023-02-22T07:22:14.898Z] SSH_AGENT_PID=74 [2023-02-22T07:22:14.902Z] Running ssh-add (command line suppressed) [2023-02-22T07:22:15.002Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_18244213240500117772.key (/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_18244213240500117772.key) [2023-02-22T07:22:15.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T07:22:15.317Z] + git semver init [2023-02-22T07:22:15.577Z] 2023-02-22 07:22:15,549 [run_init] DEBUG init version:0.0.0 force:False [2023-02-22T07:22:15.577Z] 2023-02-22 07:22:15,552 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver [2023-02-22T07:22:15.577Z] 2023-02-22 07:22:15,552 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver [2023-02-22T07:22:15.577Z] 2023-02-22 07:22:15,553 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335, universal_newlines=False, shell=None, istream=None) [2023-02-22T07:22:16.965Z] 2023-02-22 07:22:16,674 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.git/info/exclude [2023-02-22T07:22:16.965Z] 2023-02-22 07:22:16,675 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 with force:False [2023-02-22T07:22:16.965Z] 2023-02-22 07:22:16,675 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 [2023-02-22T07:22:16.965Z] 2023-02-22 07:22:16,680 [execute] INFO git cat-file --batch-check [2023-02-22T07:22:16.965Z] 2023-02-22 07:22:16,680 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T07:22:16.965Z] 2023-02-22 07:22:16,687 [execute] INFO git cat-file --batch [2023-02-22T07:22:16.965Z] 2023-02-22 07:22:16,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T07:22:16.965Z] 2023-02-22 07:22:16,693 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 [2023-02-22T07:22:16.965Z] 0.0.0 [Pipeline] } [2023-02-22T07:22:16.974Z] $ docker exec --env ******** --env ******** 8b2326bdeb8f9d57735cfdbfaf53219a5481221cca3d74543b0b121990dcc359 ssh-agent -k [2023-02-22T07:22:17.097Z] unset SSH_AUTH_SOCK; [2023-02-22T07:22:17.098Z] unset SSH_AGENT_PID; [2023-02-22T07:22:17.098Z] echo Agent pid 74 killed; [2023-02-22T07:22:17.110Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-22T07:22:17.421Z] + git semver [Pipeline] } [2023-02-22T07:22:17.694Z] $ docker stop --time=1 8b2326bdeb8f9d57735cfdbfaf53219a5481221cca3d74543b0b121990dcc359 [2023-02-22T07:22:19.043Z] $ docker rm -f --volumes 8b2326bdeb8f9d57735cfdbfaf53219a5481221cca3d74543b0b121990dcc359 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T07:22:19.378Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-22T07:22:19.585Z] Stashed 1 file(s) [Pipeline] echo [2023-02-22T07:22:19.588Z] [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-02-22T07:22:19.738Z] provisioning config files... [2023-02-22T07:22:19.747Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config10457145511422665006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T07:22:20.042Z] ---> docker-login.sh [2023-02-22T07:22:20.042Z] nexus3.edgexfoundry.org:10001 [2023-02-22T07:22:20.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:22:20.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:22:20.042Z] Configure a credential helper to remove this warning. See [2023-02-22T07:22:20.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:22:20.042Z] [2023-02-22T07:22:20.042Z] Login Succeeded [2023-02-22T07:22:20.042Z] nexus3.edgexfoundry.org:10002 [2023-02-22T07:22:20.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:22:20.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:22:20.042Z] Configure a credential helper to remove this warning. See [2023-02-22T07:22:20.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:22:20.042Z] [2023-02-22T07:22:20.042Z] Login Succeeded [2023-02-22T07:22:20.042Z] nexus3.edgexfoundry.org:10003 [2023-02-22T07:22:20.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:22:20.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:22:20.302Z] Configure a credential helper to remove this warning. See [2023-02-22T07:22:20.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:22:20.302Z] [2023-02-22T07:22:20.302Z] Login Succeeded [2023-02-22T07:22:20.302Z] nexus3.edgexfoundry.org:10004 [2023-02-22T07:22:20.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:22:20.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:22:20.302Z] Configure a credential helper to remove this warning. See [2023-02-22T07:22:20.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:22:20.302Z] [2023-02-22T07:22:20.302Z] Login Succeeded [2023-02-22T07:22:20.302Z] docker.io [2023-02-22T07:22:20.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:22:20.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:22:20.561Z] Configure a credential helper to remove this warning. See [2023-02-22T07:22:20.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:22:20.561Z] [2023-02-22T07:22:20.561Z] Login Succeeded [2023-02-22T07:22:20.561Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T07:22:20.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T07:22:20.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T07:22:20.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T07:22:20.674Z] ========================================================= [2023-02-22T07:22:20.674Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-22T07:22:20.674Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T07:22:20.996Z] + 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-02-22T07:22:20.996Z] Sending build context to Docker daemon 10.56MB [2023-02-22T07:22:20.996Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T07:22:20.996Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-22T07:22:21.263Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-22T07:22:21.263Z] 213ec9aee27d: Pulling fs layer [2023-02-22T07:22:21.263Z] 4583459ba037: Pulling fs layer [2023-02-22T07:22:21.263Z] 93c1e223e6f2: Pulling fs layer [2023-02-22T07:22:21.263Z] 53926ce57604: Pulling fs layer [2023-02-22T07:22:21.263Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-22T07:22:21.263Z] 22ff95d597cd: Pulling fs layer [2023-02-22T07:22:21.263Z] 12d6caf4c0d1: Pulling fs layer [2023-02-22T07:22:21.263Z] 96b7cbca73a9: Pulling fs layer [2023-02-22T07:22:21.263Z] a7acece74701: Pulling fs layer [2023-02-22T07:22:21.263Z] 21b2b0c7a3f4: Waiting [2023-02-22T07:22:21.263Z] 22ff95d597cd: Waiting [2023-02-22T07:22:21.263Z] 12d6caf4c0d1: Waiting [2023-02-22T07:22:21.263Z] 96b7cbca73a9: Waiting [2023-02-22T07:22:21.263Z] a7acece74701: Waiting [2023-02-22T07:22:21.263Z] 53926ce57604: Waiting [2023-02-22T07:22:21.263Z] 93c1e223e6f2: Verifying Checksum [2023-02-22T07:22:21.263Z] 93c1e223e6f2: Download complete [2023-02-22T07:22:21.263Z] 4583459ba037: Verifying Checksum [2023-02-22T07:22:21.263Z] 4583459ba037: Download complete [2023-02-22T07:22:21.263Z] 21b2b0c7a3f4: Download complete [2023-02-22T07:22:21.263Z] 22ff95d597cd: Verifying Checksum [2023-02-22T07:22:21.263Z] 22ff95d597cd: Download complete [2023-02-22T07:22:21.263Z] 213ec9aee27d: Verifying Checksum [2023-02-22T07:22:21.263Z] 213ec9aee27d: Download complete [2023-02-22T07:22:21.263Z] 12d6caf4c0d1: Verifying Checksum [2023-02-22T07:22:21.263Z] 12d6caf4c0d1: Download complete [2023-02-22T07:22:21.537Z] 213ec9aee27d: Pull complete [2023-02-22T07:22:21.537Z] 4583459ba037: Pull complete [2023-02-22T07:22:21.537Z] 93c1e223e6f2: Pull complete [2023-02-22T07:22:21.806Z] a7acece74701: Verifying Checksum [2023-02-22T07:22:21.806Z] a7acece74701: Download complete [2023-02-22T07:22:22.068Z] 96b7cbca73a9: Verifying Checksum [2023-02-22T07:22:22.068Z] 96b7cbca73a9: Download complete [2023-02-22T07:22:22.349Z] 53926ce57604: Verifying Checksum [2023-02-22T07:22:22.349Z] 53926ce57604: Download complete [2023-02-22T07:22:26.555Z] 53926ce57604: Pull complete [2023-02-22T07:22:26.813Z] 21b2b0c7a3f4: Pull complete [2023-02-22T07:22:26.814Z] 22ff95d597cd: Pull complete [2023-02-22T07:22:26.814Z] 12d6caf4c0d1: Pull complete [2023-02-22T07:22:29.341Z] 96b7cbca73a9: Pull complete [2023-02-22T07:22:29.907Z] a7acece74701: Pull complete [2023-02-22T07:22:29.907Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-22T07:22:29.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-22T07:22:29.907Z] ---> db6d94c90886 [2023-02-22T07:22:29.907Z] Step 3/10 : ARG MAKE=make build [2023-02-22T07:22:34.693Z] Still waiting to schedule task [2023-02-22T07:22:34.694Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7019’ [2023-02-22T07:22:39.907Z] ---> Running in f8950a5c58f9 [2023-02-22T07:22:39.907Z] Removing intermediate container f8950a5c58f9 [2023-02-22T07:22:39.907Z] ---> 9859438d57be [2023-02-22T07:22:39.907Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-22T07:22:39.907Z] ---> Running in 83ccab0de5a9 [2023-02-22T07:22:39.907Z] Removing intermediate container 83ccab0de5a9 [2023-02-22T07:22:39.907Z] ---> b90ff9e7856c [2023-02-22T07:22:39.907Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-22T07:22:39.907Z] ---> Running in 2874a6e0c74c [2023-02-22T07:22:39.907Z] Removing intermediate container 2874a6e0c74c [2023-02-22T07:22:39.907Z] ---> c8ca73d072c5 [2023-02-22T07:22:39.907Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-22T07:22:39.907Z] ---> Running in d874af34872e [2023-02-22T07:22:40.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T07:22:40.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T07:22:40.992Z] OK: 211 MiB in 51 packages [2023-02-22T07:22:41.250Z] Removing intermediate container d874af34872e [2023-02-22T07:22:41.250Z] ---> a8247cd888fd [2023-02-22T07:22:41.250Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-22T07:22:41.507Z] ---> f28c8491d186 [2023-02-22T07:22:41.507Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T07:22:41.507Z] ---> Running in 3e7b1c163458 [2023-02-22T07:23:20.256Z] Removing intermediate container 3e7b1c163458 [2023-02-22T07:23:20.256Z] ---> e3086a7ed99a [2023-02-22T07:23:20.256Z] Step 9/10 : COPY . . [2023-02-22T07:23:21.229Z] ---> 1f58158d8943 [2023-02-22T07:23:21.229Z] Step 10/10 : RUN ${MAKE} [2023-02-22T07:23:21.229Z] ---> Running in b4db4a0dcdb6 [2023-02-22T07:23:21.492Z] noop [2023-02-22T07:23:21.779Z] Removing intermediate container b4db4a0dcdb6 [2023-02-22T07:23:21.779Z] ---> a3be37387fd1 [2023-02-22T07:23:21.779Z] Successfully built a3be37387fd1 [2023-02-22T07:23:22.124Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T07:23:22.507Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T07:23:22.507Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T07:23:22.580Z] prd-ubuntu20.04-docker-8c-8g-7021 does not seem to be running inside a container [2023-02-22T07:23:22.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-22T07:23:22.939Z] $ docker top 5c22495fe67627277fff91825babbb947b6bb4b6ab40daca6197bc2fa7d2b4b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T07:23:23.287Z] + go version [2023-02-22T07:23:23.287Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-22T07:23:23.296Z] $ docker stop --time=1 5c22495fe67627277fff91825babbb947b6bb4b6ab40daca6197bc2fa7d2b4b7 [2023-02-22T07:23:24.609Z] $ docker rm -f --volumes 5c22495fe67627277fff91825babbb947b6bb4b6ab40daca6197bc2fa7d2b4b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T07:23:24.991Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T07:23:24.991Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T07:23:25.059Z] prd-ubuntu20.04-docker-8c-8g-7021 does not seem to be running inside a container [2023-02-22T07:23:25.177Z] $ 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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-22T07:23:25.616Z] $ docker top 1782daa9fd28dedaa045366210038235fdd8ed505d7fb9124a2d1c1bf4a250f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T07:23:25.951Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1335 [Pipeline] fileExists [Pipeline] sh [2023-02-22T07:23:26.249Z] + make test [2023-02-22T07:23:26.249Z] go test -race -coverprofile=coverage.out ./... [2023-02-22T07:23:32.814Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-22T07:23:47.678Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.069s coverage: 27.6% of statements [2023-02-22T07:23:47.678Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.067s coverage: 78.9% of statements [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-22T07:23:47.678Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.107s coverage: 86.0% of statements [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-22T07:23:47.678Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.101s coverage: 77.3% of statements [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-22T07:23:47.678Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.105s coverage: 65.2% of statements [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-22T07:23:47.678Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.728s coverage: 89.2% of statements [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-22T07:23:47.678Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 4.7% of statements [2023-02-22T07:23:47.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-22T07:24:05.773Z] 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-02-22T07:24:05.773Z] GO111MODULE=on go vet ./... [2023-02-22T07:24:07.670Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-22T07:24:07.670Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-22T07:24:07.670Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-22T07:24:07.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-22T07:24:07.703Z] $ docker stop --time=1 1782daa9fd28dedaa045366210038235fdd8ed505d7fb9124a2d1c1bf4a250f5 [2023-02-22T07:24:12.576Z] $ docker rm -f --volumes 1782daa9fd28dedaa045366210038235fdd8ed505d7fb9124a2d1c1bf4a250f5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T07:24:13.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-22T07:24:13.129Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-22T07:24:13.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-22T07:24:13.911Z] + ls -al . [2023-02-22T07:24:13.911Z] total 272 [2023-02-22T07:24:13.911Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 22 07:23 . [2023-02-22T07:24:13.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 07:21 .. [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 07:21 .dockerignore [2023-02-22T07:24:13.911Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 07:23 .git [2023-02-22T07:24:13.911Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 07:21 .github [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 07:21 .gitignore [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 07:21 .golangci.yml [2023-02-22T07:24:13.911Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 07:22 .semver [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 07:21 CHANGELOG.md [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 07:21 GOVERNANCE.md [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 07:21 Jenkinsfile [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 07:21 LICENSE [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 07:21 Makefile [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 07:21 OWNERS.md [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 07:21 README.md [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 07:22 VERSION [2023-02-22T07:24:13.911Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 07:21 bin [2023-02-22T07:24:13.911Z] -rw-r--r-- 1 jenkins jenkins 98531 Feb 22 07:23 coverage.out [2023-02-22T07:24:13.911Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 07:21 example [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 07:21 go.mod [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 07:21 go.sum [2023-02-22T07:24:13.911Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 07:21 internal [2023-02-22T07:24:13.911Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 07:21 openapi [2023-02-22T07:24:13.911Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 07:21 pkg [2023-02-22T07:24:13.911Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 07:21 snap [2023-02-22T07:24:13.911Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 07:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T07:24:14.260Z] + 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=65d1e624c129350b9c2cedaa3d244fbcf9666ea6 --label arch=amd64 --label version=0.0.0 . [2023-02-22T07:24:14.260Z] Sending build context to Docker daemon 10.66MB [2023-02-22T07:24:14.260Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T07:24:14.260Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-22T07:24:14.260Z] ---> a3be37387fd1 [2023-02-22T07:24:14.260Z] Step 3/23 : ARG MAKE=make build [2023-02-22T07:24:14.517Z] ---> Running in 10158a57cb5f [2023-02-22T07:24:14.776Z] Removing intermediate container 10158a57cb5f [2023-02-22T07:24:14.776Z] ---> ed0244472642 [2023-02-22T07:24:14.776Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-22T07:24:14.776Z] ---> Running in 7bd3c0777b5d [2023-02-22T07:24:14.776Z] Removing intermediate container 7bd3c0777b5d [2023-02-22T07:24:14.776Z] ---> f1a14772a05e [2023-02-22T07:24:14.776Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-22T07:24:14.776Z] ---> Running in 8feb9d0f0ef3 [2023-02-22T07:24:14.776Z] Removing intermediate container 8feb9d0f0ef3 [2023-02-22T07:24:14.776Z] ---> 758e0d794563 [2023-02-22T07:24:14.776Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-22T07:24:14.776Z] ---> Running in 35059a8206e5 [2023-02-22T07:24:15.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T07:24:15.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T07:24:15.558Z] OK: 211 MiB in 51 packages [2023-02-22T07:24:15.816Z] Removing intermediate container 35059a8206e5 [2023-02-22T07:24:15.816Z] ---> 6a6125773ca1 [2023-02-22T07:24:15.816Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-22T07:24:16.075Z] ---> 9cec32ea8f56 [2023-02-22T07:24:16.075Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T07:24:16.075Z] ---> Running in 167cef9cf2a8 [2023-02-22T07:24:17.010Z] Removing intermediate container 167cef9cf2a8 [2023-02-22T07:24:17.010Z] ---> 7105504747e6 [2023-02-22T07:24:17.010Z] Step 9/23 : COPY . . [2023-02-22T07:24:17.576Z] ---> 0d9204cca912 [2023-02-22T07:24:17.576Z] Step 10/23 : RUN ${MAKE} [2023-02-22T07:24:17.576Z] ---> Running in e084385bf5e2 [2023-02-22T07:24:17.834Z] 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-02-22T07:24:39.760Z] Removing intermediate container e084385bf5e2 [2023-02-22T07:24:39.760Z] ---> fba231ea68be [2023-02-22T07:24:39.760Z] Step 11/23 : FROM alpine:3.16 [2023-02-22T07:24:39.760Z] 3.16: Pulling from library/alpine [2023-02-22T07:24:39.760Z] ef5531b6e74e: Pulling fs layer [2023-02-22T07:24:39.760Z] ef5531b6e74e: Verifying Checksum [2023-02-22T07:24:39.760Z] ef5531b6e74e: Download complete [2023-02-22T07:24:39.760Z] ef5531b6e74e: Pull complete [2023-02-22T07:24:39.760Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-22T07:24:39.760Z] Status: Downloaded newer image for alpine:3.16 [2023-02-22T07:24:39.760Z] ---> dfd21b5a31f5 [2023-02-22T07:24:39.760Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-22T07:24:40.018Z] ---> Running in f777577419b3 [2023-02-22T07:24:40.018Z] Removing intermediate container f777577419b3 [2023-02-22T07:24:40.018Z] ---> cc32a0eb5aa0 [2023-02-22T07:24:40.018Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-22T07:24:40.018Z] ---> Running in ebd66a253ff2 [2023-02-22T07:24:40.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T07:24:40.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T07:24:40.792Z] OK: 6 MiB in 14 packages [2023-02-22T07:24:41.050Z] Removing intermediate container ebd66a253ff2 [2023-02-22T07:24:41.050Z] ---> a1792e5fcb24 [2023-02-22T07:24:41.050Z] Step 14/23 : WORKDIR / [2023-02-22T07:24:41.324Z] ---> Running in 77ef2d12aff0 [2023-02-22T07:24:41.324Z] Removing intermediate container 77ef2d12aff0 [2023-02-22T07:24:41.324Z] ---> 215b8b6a9510 [2023-02-22T07:24:41.324Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-22T07:24:41.585Z] ---> a208e0570c7b [2023-02-22T07:24:41.585Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-22T07:24:42.376Z] ---> fb492b626f46 [2023-02-22T07:24:42.376Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-22T07:24:42.633Z] ---> 5f66a41ff733 [2023-02-22T07:24:42.633Z] Step 18/23 : EXPOSE 59999 [2023-02-22T07:24:42.633Z] ---> Running in 8f298cf10f07 [2023-02-22T07:24:42.634Z] Removing intermediate container 8f298cf10f07 [2023-02-22T07:24:42.634Z] ---> 7b6a2825cb45 [2023-02-22T07:24:42.634Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-22T07:24:42.634Z] ---> Running in 61b96c0dea75 [2023-02-22T07:24:42.891Z] Removing intermediate container 61b96c0dea75 [2023-02-22T07:24:42.891Z] ---> a587f6ea5d79 [2023-02-22T07:24:42.891Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-22T07:24:42.891Z] ---> Running in dbf6d26fa864 [2023-02-22T07:24:42.891Z] Removing intermediate container dbf6d26fa864 [2023-02-22T07:24:42.891Z] ---> 8e1927b1d1b8 [2023-02-22T07:24:42.891Z] Step 21/23 : LABEL arch=amd64 [2023-02-22T07:24:42.891Z] ---> Running in 571c8b7c4b58 [2023-02-22T07:24:43.148Z] Removing intermediate container 571c8b7c4b58 [2023-02-22T07:24:43.148Z] ---> 522ddb64a476 [2023-02-22T07:24:43.148Z] Step 22/23 : LABEL git_sha=65d1e624c129350b9c2cedaa3d244fbcf9666ea6 [2023-02-22T07:24:43.148Z] ---> Running in d4535303190d [2023-02-22T07:24:43.148Z] Removing intermediate container d4535303190d [2023-02-22T07:24:43.148Z] ---> f23793529f71 [2023-02-22T07:24:43.148Z] Step 23/23 : LABEL version=0.0.0 [2023-02-22T07:24:43.148Z] ---> Running in 07cb1ea033e7 [2023-02-22T07:24:43.148Z] Removing intermediate container 07cb1ea033e7 [2023-02-22T07:24:43.148Z] ---> 2acc3b660afa [2023-02-22T07:24:43.148Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-22T07:24:43.148Z] Successfully built 2acc3b660afa [2023-02-22T07:24:43.148Z] 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-02-22T07:24:43.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T07:24:43.579Z] [2023-02-22T07:24:43.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T07:24:43.883Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T07:24:43.883Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-22T07:24:43.883Z] 5eb5b503b376: Pulling fs layer [2023-02-22T07:24:43.883Z] 5c69ac0246d0: Pulling fs layer [2023-02-22T07:24:43.883Z] ec43610c2a17: Pulling fs layer [2023-02-22T07:24:43.883Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-22T07:24:43.883Z] 33b1e0a273af: Pulling fs layer [2023-02-22T07:24:43.883Z] 5d3b04190fa2: Pulling fs layer [2023-02-22T07:24:43.883Z] 2f39f015ded8: Pulling fs layer [2023-02-22T07:24:43.883Z] 3a2ae6a8a46f: Waiting [2023-02-22T07:24:43.883Z] 33b1e0a273af: Waiting [2023-02-22T07:24:43.883Z] 5d3b04190fa2: Waiting [2023-02-22T07:24:43.883Z] 2f39f015ded8: Waiting [2023-02-22T07:24:43.883Z] 5c69ac0246d0: Verifying Checksum [2023-02-22T07:24:43.883Z] 5c69ac0246d0: Download complete [2023-02-22T07:24:43.883Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-22T07:24:43.883Z] 3a2ae6a8a46f: Download complete [2023-02-22T07:24:44.142Z] 33b1e0a273af: Download complete [2023-02-22T07:24:44.142Z] 5d3b04190fa2: Verifying Checksum [2023-02-22T07:24:44.142Z] 5d3b04190fa2: Download complete [2023-02-22T07:24:44.142Z] ec43610c2a17: Verifying Checksum [2023-02-22T07:24:44.142Z] ec43610c2a17: Download complete [2023-02-22T07:24:44.142Z] 5eb5b503b376: Verifying Checksum [2023-02-22T07:24:44.142Z] 5eb5b503b376: Download complete [2023-02-22T07:24:45.072Z] 2f39f015ded8: Download complete [2023-02-22T07:24:45.329Z] 5eb5b503b376: Pull complete [2023-02-22T07:24:45.587Z] 5c69ac0246d0: Pull complete [2023-02-22T07:24:45.846Z] ec43610c2a17: Pull complete [2023-02-22T07:24:45.846Z] 3a2ae6a8a46f: Pull complete [2023-02-22T07:24:46.103Z] 33b1e0a273af: Pull complete [2023-02-22T07:24:46.103Z] 5d3b04190fa2: Pull complete [2023-02-22T07:24:51.364Z] 2f39f015ded8: Pull complete [2023-02-22T07:24:51.364Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-22T07:24:51.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T07:24:51.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T07:24:51.440Z] prd-ubuntu20.04-docker-8c-8g-7021 does not seem to be running inside a container [2023-02-22T07:24:51.468Z] $ 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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-22T07:24:57.596Z] $ docker top 6f4fefd744bccd8a5482f78e1c46cb6026371ce52433a0bf426888e241af7138 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T07:24:57.996Z] ---> job-cost.sh [2023-02-22T07:24:57.996Z] lf-activate-venv: SKIPPING [2023-02-22T07:24:57.996Z] INFO: No Stack... [2023-02-22T07:24:58.254Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T07:24:58.512Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T07:24:58.798Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/cost.csv [2023-02-22T07:24:58.798Z] + cut -d, -f6 [Pipeline] lock [2023-02-22T07:24:58.812Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1335-3-stack-cost] [2023-02-22T07:24:58.821Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-3-stack-cost] did not exist. Created. [2023-02-22T07:24:58.821Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1335-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-22T07:24:59.117Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-22T07:24:59.155Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T07:24:59.161Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T07:24:59.178Z] $ docker stop --time=1 6f4fefd744bccd8a5482f78e1c46cb6026371ce52433a0bf426888e241af7138 [2023-02-22T07:25:00.560Z] $ docker rm -f --volumes 6f4fefd744bccd8a5482f78e1c46cb6026371ce52433a0bf426888e241af7138 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-22T07:25:41.206Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7024 in /w/workspace/gexfoundry_device-sdk-go_PR-1335 [Pipeline] { [Pipeline] ws [2023-02-22T07:25:41.220Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-02-22T07:25:41.257Z] The recommended git tool is: git [2023-02-22T07:25:47.413Z] using credential edgex-jenkins-ssh [2023-02-22T07:25:47.431Z] Cloning the remote Git repository [2023-02-22T07:25:47.484Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-22T07:25:47.572Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-02-22T07:25:47.749Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-22T07:25:47.750Z] > git --version # timeout=10 [2023-02-22T07:25:47.771Z] > git --version # 'git version 2.25.1' [2023-02-22T07:25:47.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T07:25:47.840Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T07:25:49.567Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-22T07:25:49.595Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T07:25:51.449Z] Merging remotes/origin/main commit 5827dcbf4716f89f27efa4d61bbd9e5ed358461d into PR head commit 7be4a1db85f1bf1c2d503463fb528c564abf3216 [2023-02-22T07:25:50.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-22T07:25:50.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-22T07:25:50.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T07:25:50.698Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1335/head:refs/remotes/origin/PR-1335 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-22T07:25:51.468Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T07:25:51.780Z] Merge succeeded, producing 7bc3cac3a85d53c25f4a2a9317911a116e0b49a0 [2023-02-22T07:25:51.781Z] Checking out Revision 7bc3cac3a85d53c25f4a2a9317911a116e0b49a0 (PR-1335) [2023-02-22T07:25:51.488Z] > git checkout -f 7be4a1db85f1bf1c2d503463fb528c564abf3216 # timeout=10 [2023-02-22T07:25:51.604Z] > git remote # timeout=10 [2023-02-22T07:25:51.621Z] > git config --get remote.origin.url # timeout=10 [2023-02-22T07:25:51.642Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T07:25:51.657Z] > git merge 5827dcbf4716f89f27efa4d61bbd9e5ed358461d # timeout=10 [2023-02-22T07:25:51.759Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-22T07:25:51.786Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T07:25:51.809Z] > git checkout -f 7bc3cac3a85d53c25f4a2a9317911a116e0b49a0 # timeout=10 [2023-02-22T07:25:55.438Z] Commit message: "Merge commit '5827dcbf4716f89f27efa4d61bbd9e5ed358461d' into HEAD" [2023-02-22T07:25:55.467Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T07:25:55.446Z] > git rev-list --no-walk 0eeb548b3995e0aea6d95448de44b2075fc60440 # timeout=10 [2023-02-22T07:25:56.348Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-22T07:25:56.348Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T07:25:56.348Z] Dload Upload Total Spent Left Speed [2023-02-22T07:25:56.348Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh [2023-02-22T07:25:57.054Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-22T07:25:57.393Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-22T07:25:57.393Z] + sudo tee /etc/docker/daemon.new [2023-02-22T07:25:57.393Z] { [2023-02-22T07:25:57.393Z] "registry-mirrors": [ [2023-02-22T07:25:57.393Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-22T07:25:57.393Z] ], [2023-02-22T07:25:57.393Z] "bip": "10.250.0.254/24", [2023-02-22T07:25:57.393Z] "hosts": [ [2023-02-22T07:25:57.393Z] "tcp://0.0.0.0:5555", [2023-02-22T07:25:57.393Z] "unix:///var/run/docker.sock" [2023-02-22T07:25:57.393Z] ], [2023-02-22T07:25:57.393Z] "mtu": 1458, [2023-02-22T07:25:57.393Z] "selinux-enabled": true, [2023-02-22T07:25:57.393Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-22T07:25:57.393Z] } [Pipeline] sh [2023-02-22T07:25:57.732Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-22T07:25:58.072Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T07:26:16.348Z] provisioning config files... [2023-02-22T07:26:16.376Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2355510148072295085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T07:26:16.731Z] ---> docker-login.sh [2023-02-22T07:26:16.731Z] nexus3.edgexfoundry.org:10001 [2023-02-22T07:26:17.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:26:17.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:26:17.321Z] Configure a credential helper to remove this warning. See [2023-02-22T07:26:17.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:26:17.321Z] [2023-02-22T07:26:17.321Z] Login Succeeded [2023-02-22T07:26:17.321Z] nexus3.edgexfoundry.org:10002 [2023-02-22T07:26:17.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:26:17.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:26:17.591Z] Configure a credential helper to remove this warning. See [2023-02-22T07:26:17.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:26:17.591Z] [2023-02-22T07:26:17.591Z] Login Succeeded [2023-02-22T07:26:17.863Z] nexus3.edgexfoundry.org:10003 [2023-02-22T07:26:17.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:26:18.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:26:18.137Z] Configure a credential helper to remove this warning. See [2023-02-22T07:26:18.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:26:18.137Z] [2023-02-22T07:26:18.137Z] Login Succeeded [2023-02-22T07:26:18.137Z] nexus3.edgexfoundry.org:10004 [2023-02-22T07:26:18.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:26:18.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:26:18.408Z] Configure a credential helper to remove this warning. See [2023-02-22T07:26:18.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:26:18.408Z] [2023-02-22T07:26:18.408Z] Login Succeeded [2023-02-22T07:26:18.408Z] docker.io [2023-02-22T07:26:18.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T07:26:18.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T07:26:18.948Z] Configure a credential helper to remove this warning. See [2023-02-22T07:26:18.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T07:26:18.948Z] [2023-02-22T07:26:18.948Z] Login Succeeded [2023-02-22T07:26:18.948Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T07:26:18.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T07:26:19.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T07:26:19.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T07:26:19.285Z] ========================================================= [2023-02-22T07:26:19.285Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-22T07:26:19.285Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T07:26:19.636Z] + 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-02-22T07:26:19.905Z] Sending build context to Docker daemon 5.681MB [2023-02-22T07:26:20.182Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T07:26:20.182Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-22T07:26:20.182Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-22T07:26:20.182Z] 9b18e9b68314: Pulling fs layer [2023-02-22T07:26:20.182Z] 35d82f9e3411: Pulling fs layer [2023-02-22T07:26:20.182Z] e16973657156: Pulling fs layer [2023-02-22T07:26:20.182Z] fc693d55d65f: Pulling fs layer [2023-02-22T07:26:20.182Z] 7e9fc2657dce: Pulling fs layer [2023-02-22T07:26:20.182Z] dda99020689f: Pulling fs layer [2023-02-22T07:26:20.182Z] db1c61fa0a46: Pulling fs layer [2023-02-22T07:26:20.182Z] 891c053d2c06: Pulling fs layer [2023-02-22T07:26:20.182Z] fc693d55d65f: Waiting [2023-02-22T07:26:20.182Z] db1c61fa0a46: Waiting [2023-02-22T07:26:20.182Z] 7e9fc2657dce: Waiting [2023-02-22T07:26:20.182Z] dda99020689f: Waiting [2023-02-22T07:26:20.182Z] 891c053d2c06: Waiting [2023-02-22T07:26:20.182Z] e16973657156: Verifying Checksum [2023-02-22T07:26:20.182Z] e16973657156: Download complete [2023-02-22T07:26:20.182Z] 35d82f9e3411: Verifying Checksum [2023-02-22T07:26:20.182Z] 35d82f9e3411: Download complete [2023-02-22T07:26:20.182Z] 7e9fc2657dce: Verifying Checksum [2023-02-22T07:26:20.182Z] 7e9fc2657dce: Download complete [2023-02-22T07:26:20.454Z] dda99020689f: Verifying Checksum [2023-02-22T07:26:20.454Z] dda99020689f: Download complete [2023-02-22T07:26:20.454Z] 9b18e9b68314: Verifying Checksum [2023-02-22T07:26:20.454Z] 9b18e9b68314: Download complete [2023-02-22T07:26:21.058Z] 9b18e9b68314: Pull complete [2023-02-22T07:26:21.652Z] 891c053d2c06: Verifying Checksum [2023-02-22T07:26:21.652Z] 891c053d2c06: Download complete [2023-02-22T07:26:23.081Z] db1c61fa0a46: Verifying Checksum [2023-02-22T07:26:23.081Z] db1c61fa0a46: Download complete [2023-02-22T07:26:23.681Z] 35d82f9e3411: Pull complete [2023-02-22T07:26:23.681Z] fc693d55d65f: Verifying Checksum [2023-02-22T07:26:23.681Z] fc693d55d65f: Download complete [2023-02-22T07:26:23.949Z] e16973657156: Pull complete [2023-02-22T07:26:36.278Z] fc693d55d65f: Pull complete [2023-02-22T07:26:36.549Z] 7e9fc2657dce: Pull complete [2023-02-22T07:26:36.817Z] dda99020689f: Pull complete [2023-02-22T07:26:43.504Z] db1c61fa0a46: Pull complete [2023-02-22T07:26:44.471Z] 891c053d2c06: Pull complete [2023-02-22T07:26:44.471Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-22T07:26:44.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-22T07:26:44.740Z] ---> f96f9c87975a [2023-02-22T07:26:44.740Z] Step 3/10 : ARG MAKE=make build [2023-02-22T07:26:46.711Z] ---> Running in 1d2231cad10d [2023-02-22T07:26:47.308Z] Removing intermediate container 1d2231cad10d [2023-02-22T07:26:47.308Z] ---> b3884b91fca1 [2023-02-22T07:26:47.308Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-22T07:26:47.308Z] ---> Running in 30158d4c1954 [2023-02-22T07:26:49.895Z] Removing intermediate container 30158d4c1954 [2023-02-22T07:26:49.895Z] ---> 69daff494b15 [2023-02-22T07:26:49.895Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-22T07:26:49.895Z] ---> Running in ed1041140961 [2023-02-22T07:26:50.480Z] Removing intermediate container ed1041140961 [2023-02-22T07:26:50.480Z] ---> c6a0067198ae [2023-02-22T07:26:50.480Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-22T07:26:50.480Z] ---> Running in 9b0e0d90542a [2023-02-22T07:26:51.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T07:26:51.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T07:26:53.310Z] OK: 221 MiB in 51 packages [2023-02-22T07:26:53.901Z] Removing intermediate container 9b0e0d90542a [2023-02-22T07:26:53.901Z] ---> 9c9686aa53bd [2023-02-22T07:26:53.902Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-22T07:26:54.498Z] ---> b6a93647c595 [2023-02-22T07:26:54.498Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T07:26:54.498Z] ---> Running in 4c64fedd5d33 [2023-02-22T07:28:02.423Z] Removing intermediate container 4c64fedd5d33 [2023-02-22T07:28:02.423Z] ---> 6581a0cb8abb [2023-02-22T07:28:02.423Z] Step 9/10 : COPY . . [2023-02-22T07:28:02.423Z] ---> efde46779c28 [2023-02-22T07:28:02.423Z] Step 10/10 : RUN ${MAKE} [2023-02-22T07:28:02.423Z] ---> Running in 12bb6418e680 [2023-02-22T07:28:03.012Z] noop [2023-02-22T07:28:03.598Z] Removing intermediate container 12bb6418e680 [2023-02-22T07:28:03.598Z] ---> b02c73495f56 [2023-02-22T07:28:03.598Z] Successfully built b02c73495f56 [2023-02-22T07:28:03.598Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T07:28:03.967Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T07:28:03.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T07:28:04.197Z] prd-ubuntu20.04-docker-arm64-4c-16g-7024 does not seem to be running inside a container [2023-02-22T07:28:04.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-22T07:28:05.613Z] $ docker top 6c2482f284e0b7f4148375eb8d29f1a0bb85ead07a406faf9ec4fa92a547ebdd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T07:28:06.457Z] + go version [2023-02-22T07:28:06.457Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-22T07:28:06.485Z] $ docker stop --time=1 6c2482f284e0b7f4148375eb8d29f1a0bb85ead07a406faf9ec4fa92a547ebdd [2023-02-22T07:28:08.141Z] $ docker rm -f --volumes 6c2482f284e0b7f4148375eb8d29f1a0bb85ead07a406faf9ec4fa92a547ebdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T07:28:08.690Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T07:28:08.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T07:28:08.896Z] prd-ubuntu20.04-docker-arm64-4c-16g-7024 does not seem to be running inside a container [2023-02-22T07:28:08.979Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-22T07:28:10.244Z] $ docker top d904417f30c4ee1de1678226862a910a49ae70fc2183f77cf1dad08d51ff6e8b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T07:28:11.122Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-02-22T07:28:11.784Z] + make test [2023-02-22T07:28:11.784Z] go test -race -coverprofile=coverage.out ./... [2023-02-22T07:28:50.690Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-22T07:30:57.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-22T07:30:57.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-22T07:30:57.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-22T07:30:57.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-22T07:30:57.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-22T07:31:00.814Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.272s coverage: 27.6% of statements [2023-02-22T07:31:01.778Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.274s coverage: 78.9% of statements [2023-02-22T07:31:01.778Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-22T07:31:08.444Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.449s coverage: 86.0% of statements [2023-02-22T07:31:08.444Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-22T07:31:08.444Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-22T07:31:10.396Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.461s coverage: 77.3% of statements [2023-02-22T07:31:10.396Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-22T07:31:10.396Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-22T07:31:10.396Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-22T07:31:11.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.434s coverage: 65.2% of statements [2023-02-22T07:31:11.360Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-22T07:31:11.360Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-22T07:31:11.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.664s coverage: 89.2% of statements [2023-02-22T07:31:11.360Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-22T07:31:11.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.369s coverage: 4.7% of statements [2023-02-22T07:31:11.360Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-22T07:31:11.946Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-22T07:31:11.946Z] GO111MODULE=on go vet ./... [2023-02-22T07:32:48.593Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-22T07:32:48.593Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-22T07:32:48.593Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-22T07:32:48.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-22T07:32:48.630Z] $ docker stop --time=1 d904417f30c4ee1de1678226862a910a49ae70fc2183f77cf1dad08d51ff6e8b [2023-02-22T07:32:51.121Z] $ docker rm -f --volumes d904417f30c4ee1de1678226862a910a49ae70fc2183f77cf1dad08d51ff6e8b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T07:32:52.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-22T07:32:52.434Z] Warning: overwriting stash ‘coverage-report’ [2023-02-22T07:32:53.103Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T07:32:53.492Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-22T07:32:53.840Z] + ls -al . [2023-02-22T07:32:53.840Z] total 268 [2023-02-22T07:32:53.840Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 07:28 . [2023-02-22T07:32:53.840Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 07:25 .. [2023-02-22T07:32:53.840Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 07:25 .dockerignore [2023-02-22T07:32:53.840Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 07:25 .git [2023-02-22T07:32:53.840Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 07:25 .github [2023-02-22T07:32:53.840Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 07:25 .gitignore [2023-02-22T07:32:53.840Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 07:25 .golangci.yml [2023-02-22T07:32:53.840Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 07:25 CHANGELOG.md [2023-02-22T07:32:53.840Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 07:25 GOVERNANCE.md [2023-02-22T07:32:53.840Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 07:25 Jenkinsfile [2023-02-22T07:32:53.840Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 07:25 LICENSE [2023-02-22T07:32:53.840Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 07:25 Makefile [2023-02-22T07:32:53.840Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 07:25 OWNERS.md [2023-02-22T07:32:53.840Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 07:25 README.md [2023-02-22T07:32:53.840Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 07:22 VERSION [2023-02-22T07:32:53.840Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 07:25 bin [2023-02-22T07:32:53.840Z] -rw-r--r-- 1 jenkins jenkins 98531 Feb 22 07:31 coverage.out [2023-02-22T07:32:53.840Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 07:25 example [2023-02-22T07:32:53.840Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 07:25 go.mod [2023-02-22T07:32:53.840Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 07:25 go.sum [2023-02-22T07:32:53.841Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 07:25 internal [2023-02-22T07:32:53.841Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 07:25 openapi [2023-02-22T07:32:53.841Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 07:25 pkg [2023-02-22T07:32:53.841Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 07:25 snap [2023-02-22T07:32:53.841Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 07:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T07:32:54.190Z] + 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=7bc3cac3a85d53c25f4a2a9317911a116e0b49a0 --label arch=arm64 --label version=0.0.0 . [2023-02-22T07:32:54.786Z] Sending build context to Docker daemon 5.78MB [2023-02-22T07:32:54.786Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T07:32:54.786Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-22T07:32:54.786Z] ---> b02c73495f56 [2023-02-22T07:32:54.786Z] Step 3/23 : ARG MAKE=make build [2023-02-22T07:32:54.786Z] ---> Running in d61c29d46db9 [2023-02-22T07:32:55.061Z] Removing intermediate container d61c29d46db9 [2023-02-22T07:32:55.061Z] ---> ca17dfa2960c [2023-02-22T07:32:55.061Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-22T07:32:55.061Z] ---> Running in eb4e62d88542 [2023-02-22T07:32:55.655Z] Removing intermediate container eb4e62d88542 [2023-02-22T07:32:55.655Z] ---> 3b1e8e3616ea [2023-02-22T07:32:55.655Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-22T07:32:55.655Z] ---> Running in 4afc25ff9bd4 [2023-02-22T07:32:55.923Z] Removing intermediate container 4afc25ff9bd4 [2023-02-22T07:32:55.923Z] ---> d2b9ca20cc0b [2023-02-22T07:32:55.923Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-22T07:32:55.923Z] ---> Running in 7b4919314fe8 [2023-02-22T07:32:56.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T07:32:57.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T07:32:58.434Z] OK: 221 MiB in 51 packages [2023-02-22T07:32:59.394Z] Removing intermediate container 7b4919314fe8 [2023-02-22T07:32:59.394Z] ---> ee956f5312a2 [2023-02-22T07:32:59.394Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-22T07:32:59.978Z] ---> 72842c40613a [2023-02-22T07:32:59.978Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T07:32:59.978Z] ---> Running in e4ebfeafd440 [2023-02-22T07:33:04.229Z] Removing intermediate container e4ebfeafd440 [2023-02-22T07:33:04.229Z] ---> 2750a3288833 [2023-02-22T07:33:04.229Z] Step 9/23 : COPY . . [2023-02-22T07:33:04.821Z] ---> 39f3de2a3133 [2023-02-22T07:33:04.821Z] Step 10/23 : RUN ${MAKE} [2023-02-22T07:33:04.821Z] ---> Running in 8c8f12781e00 [2023-02-22T07:33:05.800Z] 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-02-22T07:35:12.516Z] Removing intermediate container 8c8f12781e00 [2023-02-22T07:35:12.516Z] ---> 41c6076c972f [2023-02-22T07:35:12.516Z] Step 11/23 : FROM alpine:3.16 [2023-02-22T07:35:12.516Z] 3.16: Pulling from library/alpine [2023-02-22T07:35:12.516Z] 3760b48202b3: Pulling fs layer [2023-02-22T07:35:12.516Z] 3760b48202b3: Verifying Checksum [2023-02-22T07:35:12.516Z] 3760b48202b3: Download complete [2023-02-22T07:35:12.516Z] 3760b48202b3: Pull complete [2023-02-22T07:35:12.516Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-22T07:35:12.516Z] Status: Downloaded newer image for alpine:3.16 [2023-02-22T07:35:12.516Z] ---> 4c81e5bf8899 [2023-02-22T07:35:12.516Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-22T07:35:12.516Z] ---> Running in 847f3e5d7a8b [2023-02-22T07:35:12.516Z] Removing intermediate container 847f3e5d7a8b [2023-02-22T07:35:12.516Z] ---> 6e9e201c6ab3 [2023-02-22T07:35:12.516Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-22T07:35:12.516Z] ---> Running in 0d2fe8f6626f [2023-02-22T07:35:12.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T07:35:12.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T07:35:12.784Z] OK: 5 MiB in 14 packages [2023-02-22T07:35:13.748Z] Removing intermediate container 0d2fe8f6626f [2023-02-22T07:35:13.748Z] ---> 38b24e2bf329 [2023-02-22T07:35:13.748Z] Step 14/23 : WORKDIR / [2023-02-22T07:35:13.748Z] ---> Running in 353d70446df3 [2023-02-22T07:35:14.015Z] Removing intermediate container 353d70446df3 [2023-02-22T07:35:14.015Z] ---> 4ddd1bc17923 [2023-02-22T07:35:14.015Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-22T07:35:14.598Z] ---> c058795ea16e [2023-02-22T07:35:14.598Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-22T07:35:16.010Z] ---> f6757a12c582 [2023-02-22T07:35:16.010Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-22T07:35:16.595Z] ---> fd1e7baaea47 [2023-02-22T07:35:16.595Z] Step 18/23 : EXPOSE 59999 [2023-02-22T07:35:16.595Z] ---> Running in d3f3ba5b22c5 [2023-02-22T07:35:16.861Z] Removing intermediate container d3f3ba5b22c5 [2023-02-22T07:35:16.861Z] ---> 378bafd5b930 [2023-02-22T07:35:16.861Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-22T07:35:16.861Z] ---> Running in 633b8795c9f0 [2023-02-22T07:35:17.130Z] Removing intermediate container 633b8795c9f0 [2023-02-22T07:35:17.130Z] ---> 3580cde019f7 [2023-02-22T07:35:17.130Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-22T07:35:17.400Z] ---> Running in a88c65f2bb9e [2023-02-22T07:35:17.669Z] Removing intermediate container a88c65f2bb9e [2023-02-22T07:35:17.669Z] ---> c966c856e284 [2023-02-22T07:35:17.669Z] Step 21/23 : LABEL arch=arm64 [2023-02-22T07:35:17.669Z] ---> Running in f03c7778ff56 [2023-02-22T07:35:17.937Z] Removing intermediate container f03c7778ff56 [2023-02-22T07:35:17.937Z] ---> d79266298a9b [2023-02-22T07:35:17.937Z] Step 22/23 : LABEL git_sha=7bc3cac3a85d53c25f4a2a9317911a116e0b49a0 [2023-02-22T07:35:17.937Z] ---> Running in 317316405de4 [2023-02-22T07:35:18.206Z] Removing intermediate container 317316405de4 [2023-02-22T07:35:18.206Z] ---> 3d2c81c92780 [2023-02-22T07:35:18.206Z] Step 23/23 : LABEL version=0.0.0 [2023-02-22T07:35:18.474Z] ---> Running in 97ff7a7d0593 [2023-02-22T07:35:18.741Z] Removing intermediate container 97ff7a7d0593 [2023-02-22T07:35:18.741Z] ---> 51fc8a20bdd8 [2023-02-22T07:35:18.741Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-22T07:35:18.741Z] Successfully built 51fc8a20bdd8 [2023-02-22T07:35:18.741Z] 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-02-22T07:35:19.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T07:35:19.174Z] [2023-02-22T07:35:19.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T07:35:19.499Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T07:35:19.499Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-22T07:35:19.499Z] 8998bd30e6a1: Pulling fs layer [2023-02-22T07:35:19.499Z] 04944245beec: Pulling fs layer [2023-02-22T07:35:19.499Z] 699f458cf7ca: Pulling fs layer [2023-02-22T07:35:19.499Z] 765212b225bb: Pulling fs layer [2023-02-22T07:35:19.499Z] f23df028b6ca: Pulling fs layer [2023-02-22T07:35:19.499Z] d65c8cfc05b1: Pulling fs layer [2023-02-22T07:35:19.499Z] 2437ff75d9bd: Pulling fs layer [2023-02-22T07:35:19.499Z] 2437ff75d9bd: Waiting [2023-02-22T07:35:19.499Z] f23df028b6ca: Waiting [2023-02-22T07:35:19.499Z] d65c8cfc05b1: Waiting [2023-02-22T07:35:19.499Z] 765212b225bb: Waiting [2023-02-22T07:35:19.769Z] 04944245beec: Verifying Checksum [2023-02-22T07:35:19.769Z] 04944245beec: Download complete [2023-02-22T07:35:19.769Z] 765212b225bb: Verifying Checksum [2023-02-22T07:35:19.769Z] 765212b225bb: Download complete [2023-02-22T07:35:19.769Z] f23df028b6ca: Verifying Checksum [2023-02-22T07:35:19.769Z] f23df028b6ca: Download complete [2023-02-22T07:35:19.769Z] d65c8cfc05b1: Verifying Checksum [2023-02-22T07:35:19.769Z] d65c8cfc05b1: Download complete [2023-02-22T07:35:20.038Z] 699f458cf7ca: Verifying Checksum [2023-02-22T07:35:20.038Z] 699f458cf7ca: Download complete [2023-02-22T07:35:20.305Z] 8998bd30e6a1: Verifying Checksum [2023-02-22T07:35:20.305Z] 8998bd30e6a1: Download complete [2023-02-22T07:35:22.889Z] 2437ff75d9bd: Verifying Checksum [2023-02-22T07:35:22.889Z] 2437ff75d9bd: Download complete [2023-02-22T07:35:24.300Z] 8998bd30e6a1: Pull complete [2023-02-22T07:35:24.569Z] 04944245beec: Pull complete [2023-02-22T07:35:25.981Z] 699f458cf7ca: Pull complete [2023-02-22T07:35:25.981Z] 765212b225bb: Pull complete [2023-02-22T07:35:26.939Z] f23df028b6ca: Pull complete [2023-02-22T07:35:27.207Z] d65c8cfc05b1: Pull complete [2023-02-22T07:35:42.210Z] 2437ff75d9bd: Pull complete [2023-02-22T07:35:42.210Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-22T07:35:42.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T07:35:42.210Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T07:35:42.400Z] prd-ubuntu20.04-docker-arm64-4c-16g-7024 does not seem to be running inside a container [2023-02-22T07:35:42.475Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-22T07:35:45.229Z] $ docker top b996c3f7e1797a835d7f81db2d767d0ee0808d5ccd4c3a0c42c1cd972ec9d6f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T07:35:46.071Z] ---> job-cost.sh [2023-02-22T07:35:46.071Z] lf-activate-venv: SKIPPING [2023-02-22T07:35:46.071Z] INFO: No Stack... [2023-02-22T07:35:46.338Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-22T07:35:47.303Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T07:35:47.951Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-02-22T07:35:47.951Z] + cut -d, -f6 [Pipeline] lock [2023-02-22T07:35:48.021Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1335-3-stack-cost] [2023-02-22T07:35:48.027Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-3-stack-cost] did not exist. Created. [2023-02-22T07:35:48.028Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1335-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-22T07:35:48.683Z] /w/workspace/device-sdk-go/3@tmp/durable-985c8c89/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-22T07:35:49.337Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-22T07:35:49.353Z] Warning: overwriting stash ‘stack-cost’ [2023-02-22T07:35:49.429Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T07:35:49.435Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T07:35:49.460Z] $ docker stop --time=1 b996c3f7e1797a835d7f81db2d767d0ee0808d5ccd4c3a0c42c1cd972ec9d6f2 [2023-02-22T07:35:50.957Z] $ docker rm -f --volumes b996c3f7e1797a835d7f81db2d767d0ee0808d5ccd4c3a0c42c1cd972ec9d6f2 [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-02-22T07:35:51.355Z] provisioning config files... [2023-02-22T07:35:51.363Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config16622593655757504985tmp [Pipeline] { [Pipeline] sh [2023-02-22T07:35:51.656Z] + set +x [2023-02-22T07:35:51.656Z] + curl -s https://codecov.io/bash [2023-02-22T07:35:51.656Z] + bash -s -- [2023-02-22T07:35:51.656Z] [2023-02-22T07:35:51.656Z] _____ _ [2023-02-22T07:35:51.656Z] / ____| | | [2023-02-22T07:35:51.656Z] | | ___ __| | ___ ___ _____ __ [2023-02-22T07:35:51.656Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-22T07:35:51.656Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-22T07:35:51.656Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-22T07:35:51.656Z] Bash-1.0.6 [2023-02-22T07:35:51.656Z] [2023-02-22T07:35:51.656Z] [2023-02-22T07:35:51.656Z] ==> git version 2.25.1 found [2023-02-22T07:35:51.656Z] ==> 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-02-22T07:35:51.656Z] Release-Date: 2020-01-08 [2023-02-22T07:35:51.656Z] 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-02-22T07:35:51.656Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-22T07:35:51.656Z] ==> Jenkins CI detected. [2023-02-22T07:35:51.656Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1335 [2023-02-22T07:35:51.656Z] project root: . [2023-02-22T07:35:51.657Z] --> token set from env [2023-02-22T07:35:51.657Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-22T07:35:51.657Z] ==> Running gcov in . (disable via -X gcov) [2023-02-22T07:35:51.657Z] ==> Python coveragepy not found [2023-02-22T07:35:51.657Z] ==> Searching for coverage reports in: [2023-02-22T07:35:51.657Z] + . [2023-02-22T07:35:51.657Z] -> Found 1 reports [2023-02-22T07:35:51.657Z] ==> Detecting git/mercurial file structure [2023-02-22T07:35:51.657Z] ==> Reading reports [2023-02-22T07:35:51.657Z] + ./coverage.out bytes=98531 [2023-02-22T07:35:51.916Z] ==> Appending adjustments [2023-02-22T07:35:51.916Z] https://docs.codecov.io/docs/fixing-reports [2023-02-22T07:35:52.177Z] + Found adjustments [2023-02-22T07:35:52.177Z] ==> Gzipping contents [2023-02-22T07:35:52.177Z] 16K /tmp/codecov.TdIkFL.gz [2023-02-22T07:35:52.177Z] ==> Uploading reports [2023-02-22T07:35:52.177Z] url: https://codecov.io [2023-02-22T07:35:52.177Z] query: branch=PR-1335&commit=65d1e624c129350b9c2cedaa3d244fbcf9666ea6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1335%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1335&job=&cmd_args= [2023-02-22T07:35:52.177Z] -> Pinging Codecov [2023-02-22T07:35:52.177Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1335&commit=65d1e624c129350b9c2cedaa3d244fbcf9666ea6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1335%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1335&job=&cmd_args= [2023-02-22T07:35:52.177Z] -> Uploading to [2023-02-22T07:35:52.177Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-22/7E55EF52A471D76F132DFD9A03CDDE97/65d1e624c129350b9c2cedaa3d244fbcf9666ea6/3410136b-0524-4f39-9375-002ecdcdc846.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230222T073552Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b12dde346a36c182af50ffe59daba4372fe3c6602789f95d950cc5f4e504ca66 [2023-02-22T07:35:52.177Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T07:35:52.177Z] Dload Upload Total Spent Left Speed [2023-02-22T07:35:52.435Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14355 0 0 100 14355 0 70367 --:--:-- --:--:-- --:--:-- 70367 100 14355 0 0 100 14355 0 51085 --:--:-- --:--:-- --:--:-- 50904 [2023-02-22T07:35:52.435Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/65d1e624c129350b9c2cedaa3d244fbcf9666ea6 [Pipeline] } [2023-02-22T07:35:52.442Z] 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-02-22T07:35:53.129Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives ] [2023-02-22T07:35:53.129Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives [2023-02-22T07:35:53.129Z] total 16 [2023-02-22T07:35:53.129Z] drwxr-xr-x 3 root root 4096 Feb 22 07:24 . [2023-02-22T07:35:53.129Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 07:24 .. [2023-02-22T07:35:53.129Z] drwxr-xr-x 2 root root 4096 Feb 22 07:24 cost [2023-02-22T07:35:53.129Z] -rw-r--r-- 1 root root 86 Feb 22 07:24 cost.csv [2023-02-22T07:35:53.129Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives [2023-02-22T07:35:53.129Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives [2023-02-22T07:35:53.129Z] total 16 [2023-02-22T07:35:53.129Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 07:24 . [2023-02-22T07:35:53.129Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 07:24 .. [2023-02-22T07:35:53.129Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 07:24 cost [2023-02-22T07:35:53.129Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 22 07:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-22T07:35:53.423Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T07:35:54.281Z] ---> package-listing.sh [2023-02-22T07:35:54.281Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-22T07:35:54.281Z] ++ facter osfamily [2023-02-22T07:35:54.540Z] + OS_FAMILY=debian [2023-02-22T07:35:54.540Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1335 [2023-02-22T07:35:54.540Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-22T07:35:54.540Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-22T07:35:54.540Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-22T07:35:54.540Z] + PACKAGES=/tmp/packages_start.txt [2023-02-22T07:35:54.540Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1335 ']' [2023-02-22T07:35:54.540Z] + PACKAGES=/tmp/packages_end.txt [2023-02-22T07:35:54.540Z] + case "${OS_FAMILY}" in [2023-02-22T07:35:54.540Z] + dpkg -l [2023-02-22T07:35:54.540Z] + grep '^ii' [2023-02-22T07:35:54.540Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-22T07:35:54.540Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-22T07:35:54.540Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-22T07:35:54.540Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1335 ']' [2023-02-22T07:35:54.540Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/ [2023-02-22T07:35:54.540Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/ [Pipeline] echo [2023-02-22T07:35:54.552Z] 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-1335/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-22T07:35:54.832Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T07:35:55.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T07:35:55.389Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T07:35:55.457Z] prd-ubuntu20.04-docker-8c-8g-7021 does not seem to be running inside a container [2023-02-22T07:35:55.485Z] $ 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-1335/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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-02-22T07:35:55.667Z] $ docker top 92c63859ddb4147c8fbe500c04d61a3f2e35e05994f8e712d3b4fd68140cc006 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T07:35:56.010Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-22T07:35:56.293Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-22T07:35:56.579Z] + ls /var/log/sa-host [2023-02-22T07:35:56.579Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T07:35:56.643Z] provisioning config files... [2023-02-22T07:35:56.651Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config11462923604998594536tmp [Pipeline] { [Pipeline] echo [2023-02-22T07:35:56.666Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T07:35:56.946Z] ---> create-netrc.sh [Pipeline] } [2023-02-22T07:35:56.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-22T07:35:57.279Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-22T07:35:57.287Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T07:35:57.569Z] ---> sudo-logs.sh [2023-02-22T07:35:57.569Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-22T07:35:57.600Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T07:35:57.882Z] ---> job-cost.sh [2023-02-22T07:35:57.882Z] lf-activate-venv: SKIPPING [2023-02-22T07:35:57.882Z] DEBUG: total: 0.2199999988079071 [2023-02-22T07:35:57.882Z] INFO: Retrieving Stack Cost... [2023-02-22T07:35:58.142Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T07:35:58.710Z] INFO: Archiving Costs [Pipeline] echo [2023-02-22T07:35:58.724Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T07:35:59.006Z] ---> logs-deploy.sh [2023-02-22T07:35:59.006Z] lf-activate-venv: SKIPPING [2023-02-22T07:35:59.006Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1335/3 [2023-02-22T07:35:59.006Z] INFO: archiving workspace using pattern(s): [2023-02-22T07:35:59.942Z] Archives upload complete. [2023-02-22T07:35:59.942Z] INFO: archiving logs to Nexus