Pull request #1297 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 FelixTing for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 881f10918eb4e60f546b60d89ac5bea6bad2c109 rather than 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 Obtained Jenkinsfile from 881f10918eb4e60f546b60d89ac5bea6bad2c109 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-ssh4660532357770491171.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-ssh16516658984497804352.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-1297/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-1297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15601773725372196613.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-ssh18142884247230220580.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-1297/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-1297/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16735104257830075771.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-4280’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4282 in /w/workspace/gexfoundry_device-sdk-go_PR-1297 [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-1297 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 Merge succeeded, producing 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 Checking out Revision 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 (PR-1297) > 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/1297/head:refs/remotes/origin/PR-1297 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 # 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 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 # timeout=10 Commit message: "feat: Add resource, command, and device tags to reading/event" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-01T17:56:10.806Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-01T17:56:10.864Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-01T17:56:10.879Z] ========================================================= [2023-02-01T17:56:10.879Z] EdgeX Global Pipelines Version Info [2023-02-01T17:56:10.879Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f710fefc090deba9ea54f8f0370f16e2f81db460 # timeout=10 [2023-02-01T17:56:11.597Z] ------------------- [2023-02-01T17:56:11.597Z] stable info: [2023-02-01T17:56:11.597Z] ------------------- [2023-02-01T17:56:11.597Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-01T17:56:11.597Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-01T17:56:11.597Z] Message: update stable to v1.0.244 [2023-02-01T17:56:12.170Z] ------------------- [2023-02-01T17:56:12.170Z] experimental info: [2023-02-01T17:56:12.170Z] ------------------- [2023-02-01T17:56:12.170Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-01T17:56:12.170Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-01T17:56:12.170Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-01T17:56:12.342Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-01T17:56:12.355Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-01T17:56:12.363Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-01T17:56:12.373Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-01T17:56:12.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-01T17:56:12.392Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-01T17:56:12.403Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-01T17:56:12.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-01T17:56:12.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-01T17:56:12.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-01T17:56:12.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-01T17:56:12.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-01T17:56:12.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-01T17:56:12.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-01T17:56:12.511Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-01T17:56:12.525Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-01T17:56:12.536Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-01T17:56:12.552Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-01T17:56:12.563Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-01T17:56:12.573Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-01T17:56:12.583Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-01T17:56:12.591Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-02-01T17:56:12.600Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-01T17:56:12.608Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-01T17:56:12.621Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-01T17:56:12.634Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-01T17:56:12.647Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-01T17:56:12.659Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1297 [Pipeline] echo [2023-02-01T17:56:12.673Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1297 [Pipeline] echo [2023-02-01T17:56:12.685Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1297 [Pipeline] echo [2023-02-01T17:56:12.697Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 [Pipeline] echo [2023-02-01T17:56:12.709Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ccb044 [Pipeline] echo [2023-02-01T17:56:12.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T17:56:12.764Z] provisioning config files... [2023-02-01T17:56:12.778Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config1065975489949224386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:56:13.086Z] ---> docker-login.sh [2023-02-01T17:56:13.086Z] nexus3.edgexfoundry.org:10001 [2023-02-01T17:56:13.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:56:13.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:56:13.353Z] Configure a credential helper to remove this warning. See [2023-02-01T17:56:13.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:56:13.353Z] [2023-02-01T17:56:13.353Z] Login Succeeded [2023-02-01T17:56:13.353Z] nexus3.edgexfoundry.org:10002 [2023-02-01T17:56:13.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:56:13.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:56:13.617Z] Configure a credential helper to remove this warning. See [2023-02-01T17:56:13.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:56:13.617Z] [2023-02-01T17:56:13.617Z] Login Succeeded [2023-02-01T17:56:13.617Z] nexus3.edgexfoundry.org:10003 [2023-02-01T17:56:13.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:56:13.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:56:13.617Z] Configure a credential helper to remove this warning. See [2023-02-01T17:56:13.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:56:13.617Z] [2023-02-01T17:56:13.617Z] Login Succeeded [2023-02-01T17:56:13.617Z] nexus3.edgexfoundry.org:10004 [2023-02-01T17:56:13.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:56:13.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:56:13.878Z] Configure a credential helper to remove this warning. See [2023-02-01T17:56:13.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:56:13.878Z] [2023-02-01T17:56:13.878Z] Login Succeeded [2023-02-01T17:56:13.878Z] docker.io [2023-02-01T17:56:13.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:56:14.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:56:14.138Z] Configure a credential helper to remove this warning. See [2023-02-01T17:56:14.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:56:14.138Z] [2023-02-01T17:56:14.138Z] Login Succeeded [2023-02-01T17:56:14.138Z] ---> docker-login.sh ends [Pipeline] } [2023-02-01T17:56:14.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-01T17:56:14.498Z] + git rev-list -1 --merges 6ccb0446b35fbd22900ea8e849fc1f540abc96a9~1..6ccb0446b35fbd22900ea8e849fc1f540abc96a9 [Pipeline] echo [2023-02-01T17:56:14.545Z] -----------> git rev-list -1 --merges 6ccb0446b35fbd22900ea8e849fc1f540abc96a9~1..6ccb0446b35fbd22900ea8e849fc1f540abc96a9 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 [false] [Pipeline] sh [2023-02-01T17:56:14.845Z] + git log --format=format:%s -1 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 [Pipeline] echo [2023-02-01T17:56:14.862Z] ========================================================= [2023-02-01T17:56:14.862Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-01T17:56:14.862Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-01T17:56:15.189Z] + git log --format=format:%s -1 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 [Pipeline] echo [2023-02-01T17:56:15.202Z] [semverPrep] GIT_COMMIT: 6ccb0446b35fbd22900ea8e849fc1f540abc96a9, Commit Message: feat: Add resource, command, and device tags to reading/event [Pipeline] echo [2023-02-01T17:56:15.211Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-01T17:56:15.559Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-01T17:56:15.559Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-01T17:56:15.559Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-01T17:56:15.559Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-01T17:56:15.559Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-01T17:56:15.559Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-01T17:56:15.560Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:56:15.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-01T17:56:15.957Z] [2023-02-01T17:56:15.957Z] 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-01T17:56:16.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-01T17:56:16.261Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-01T17:56:16.261Z] b85a868b505f: Pulling fs layer [2023-02-01T17:56:16.261Z] e2be974225ed: Pulling fs layer [2023-02-01T17:56:16.261Z] 339a4e72a1f5: Pulling fs layer [2023-02-01T17:56:16.261Z] 988bab9f4d93: Pulling fs layer [2023-02-01T17:56:16.261Z] 1469e6f7b9e6: Pulling fs layer [2023-02-01T17:56:16.261Z] eaf3925da568: Pulling fs layer [2023-02-01T17:56:16.261Z] bab4dde63d76: Pulling fs layer [2023-02-01T17:56:16.261Z] bde34c3a00c8: Pulling fs layer [2023-02-01T17:56:16.261Z] b352a97aabf1: Pulling fs layer [2023-02-01T17:56:16.261Z] 4872d77fe225: Pulling fs layer [2023-02-01T17:56:16.261Z] 5851b861e8e6: Pulling fs layer [2023-02-01T17:56:16.261Z] b352a97aabf1: Waiting [2023-02-01T17:56:16.261Z] 4872d77fe225: Waiting [2023-02-01T17:56:16.261Z] 5851b861e8e6: Waiting [2023-02-01T17:56:16.261Z] 988bab9f4d93: Waiting [2023-02-01T17:56:16.261Z] eaf3925da568: Waiting [2023-02-01T17:56:16.261Z] 1469e6f7b9e6: Waiting [2023-02-01T17:56:16.261Z] bab4dde63d76: Waiting [2023-02-01T17:56:16.261Z] bde34c3a00c8: Waiting [2023-02-01T17:56:16.261Z] e2be974225ed: Verifying Checksum [2023-02-01T17:56:16.261Z] e2be974225ed: Download complete [2023-02-01T17:56:16.261Z] 988bab9f4d93: Verifying Checksum [2023-02-01T17:56:16.261Z] 988bab9f4d93: Download complete [2023-02-01T17:56:16.527Z] 1469e6f7b9e6: Verifying Checksum [2023-02-01T17:56:16.527Z] 1469e6f7b9e6: Download complete [2023-02-01T17:56:16.527Z] eaf3925da568: Verifying Checksum [2023-02-01T17:56:16.527Z] eaf3925da568: Download complete [2023-02-01T17:56:16.527Z] 339a4e72a1f5: Verifying Checksum [2023-02-01T17:56:16.527Z] 339a4e72a1f5: Download complete [2023-02-01T17:56:16.527Z] bde34c3a00c8: Verifying Checksum [2023-02-01T17:56:16.527Z] bde34c3a00c8: Download complete [2023-02-01T17:56:16.787Z] b352a97aabf1: Download complete [2023-02-01T17:56:16.787Z] 4872d77fe225: Download complete [2023-02-01T17:56:16.787Z] b85a868b505f: Verifying Checksum [2023-02-01T17:56:16.787Z] b85a868b505f: Download complete [2023-02-01T17:56:16.787Z] 5851b861e8e6: Download complete [2023-02-01T17:56:17.352Z] bab4dde63d76: Verifying Checksum [2023-02-01T17:56:17.352Z] bab4dde63d76: Download complete [2023-02-01T17:56:18.290Z] b85a868b505f: Pull complete [2023-02-01T17:56:18.290Z] e2be974225ed: Pull complete [2023-02-01T17:56:18.859Z] 339a4e72a1f5: Pull complete [2023-02-01T17:56:18.859Z] 988bab9f4d93: Pull complete [2023-02-01T17:56:19.118Z] 1469e6f7b9e6: Pull complete [2023-02-01T17:56:19.118Z] eaf3925da568: Pull complete [2023-02-01T17:56:21.088Z] bab4dde63d76: Pull complete [2023-02-01T17:56:21.088Z] bde34c3a00c8: Pull complete [2023-02-01T17:56:21.088Z] b352a97aabf1: Pull complete [2023-02-01T17:56:21.352Z] 4872d77fe225: Pull complete [2023-02-01T17:56:21.352Z] 5851b861e8e6: Pull complete [2023-02-01T17:56:21.352Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-01T17:56:21.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-01T17:56:21.352Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T17:56:21.441Z] prd-ubuntu20.04-docker-8c-8g-4282 does not seem to be running inside a container [2023-02-01T17:56:21.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-01T17:56:22.541Z] $ docker top ea33f153744993cb99964274bd72dd37ead5635f702e72cf137f20cacd1a4462 -eo pid,comm [2023-02-01T17:56:22.607Z] 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-01T17:56:22.607Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-01T17:56:22.643Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-01T17:56:22.643Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-01T17:56:22.761Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-01T17:56:22.754Z] $ docker exec ea33f153744993cb99964274bd72dd37ead5635f702e72cf137f20cacd1a4462 ssh-agent [2023-02-01T17:56:22.904Z] SSH_AUTH_SOCK=/tmp/ssh-H0rvuea9Cexc/agent.33 [2023-02-01T17:56:22.904Z] SSH_AGENT_PID=39 [2023-02-01T17:56:22.912Z] Running ssh-add (command line suppressed) [2023-02-01T17:56:23.017Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_12307374372801921822.key (/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_12307374372801921822.key) [2023-02-01T17:56:23.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-01T17:56:23.325Z] + git tag --points-at HEAD [Pipeline] } [2023-02-01T17:56:23.327Z] $ docker exec --env ******** --env ******** ea33f153744993cb99964274bd72dd37ead5635f702e72cf137f20cacd1a4462 ssh-agent -k [2023-02-01T17:56:23.440Z] unset SSH_AUTH_SOCK; [2023-02-01T17:56:23.441Z] unset SSH_AGENT_PID; [2023-02-01T17:56:23.441Z] echo Agent pid 39 killed; [2023-02-01T17:56:23.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-01T17:56:23.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-01T17:56:23.485Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-01T17:56:23.595Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-01T17:56:23.588Z] $ docker exec ea33f153744993cb99964274bd72dd37ead5635f702e72cf137f20cacd1a4462 ssh-agent [2023-02-01T17:56:23.711Z] SSH_AUTH_SOCK=/tmp/ssh-1St6k9iJPgeI/agent.71 [2023-02-01T17:56:23.711Z] SSH_AGENT_PID=78 [2023-02-01T17:56:23.716Z] Running ssh-add (command line suppressed) [2023-02-01T17:56:23.827Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_6002989157160335938.key (/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_6002989157160335938.key) [2023-02-01T17:56:23.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-01T17:56:24.136Z] + git semver init [2023-02-01T17:56:24.397Z] 2023-02-01 17:56:24,302 [run_init] DEBUG init version:0.0.0 force:False [2023-02-01T17:56:24.397Z] 2023-02-01 17:56:24,303 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver [2023-02-01T17:56:24.397Z] 2023-02-01 17:56:24,303 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver [2023-02-01T17:56:24.397Z] 2023-02-01 17:56:24,304 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297, universal_newlines=False, shell=None, istream=None) [2023-02-01T17:56:25.337Z] 2023-02-01 17:56:25,208 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.git/info/exclude [2023-02-01T17:56:25.337Z] 2023-02-01 17:56:25,208 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 with force:False [2023-02-01T17:56:25.337Z] 2023-02-01 17:56:25,208 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 [2023-02-01T17:56:25.337Z] 2023-02-01 17:56:25,213 [execute] INFO git cat-file --batch-check [2023-02-01T17:56:25.337Z] 2023-02-01 17:56:25,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver, universal_newlines=False, shell=None, istream=) [2023-02-01T17:56:25.337Z] 2023-02-01 17:56:25,221 [execute] INFO git cat-file --batch [2023-02-01T17:56:25.337Z] 2023-02-01 17:56:25,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver, universal_newlines=False, shell=None, istream=) [2023-02-01T17:56:25.337Z] 2023-02-01 17:56:25,228 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 [2023-02-01T17:56:25.337Z] 0.0.0 [Pipeline] } [2023-02-01T17:56:25.339Z] $ docker exec --env ******** --env ******** ea33f153744993cb99964274bd72dd37ead5635f702e72cf137f20cacd1a4462 ssh-agent -k [2023-02-01T17:56:25.458Z] unset SSH_AUTH_SOCK; [2023-02-01T17:56:25.459Z] unset SSH_AGENT_PID; [2023-02-01T17:56:25.459Z] echo Agent pid 78 killed; [2023-02-01T17:56:25.476Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-01T17:56:25.791Z] + git semver [Pipeline] } [2023-02-01T17:56:26.055Z] $ docker stop --time=1 ea33f153744993cb99964274bd72dd37ead5635f702e72cf137f20cacd1a4462 [2023-02-01T17:56:27.336Z] $ docker rm -f --volumes ea33f153744993cb99964274bd72dd37ead5635f702e72cf137f20cacd1a4462 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-01T17:56:27.693Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-01T17:56:27.923Z] Stashed 1 file(s) [Pipeline] echo [2023-02-01T17:56:27.927Z] [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-01T17:56:28.116Z] provisioning config files... [2023-02-01T17:56:28.125Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config11997467395186822995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:56:28.422Z] ---> docker-login.sh [2023-02-01T17:56:28.422Z] nexus3.edgexfoundry.org:10001 [2023-02-01T17:56:28.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:56:28.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:56:28.422Z] Configure a credential helper to remove this warning. See [2023-02-01T17:56:28.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:56:28.422Z] [2023-02-01T17:56:28.422Z] Login Succeeded [2023-02-01T17:56:28.422Z] nexus3.edgexfoundry.org:10002 [2023-02-01T17:56:28.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:56:28.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:56:28.422Z] Configure a credential helper to remove this warning. See [2023-02-01T17:56:28.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:56:28.422Z] [2023-02-01T17:56:28.422Z] Login Succeeded [2023-02-01T17:56:28.422Z] nexus3.edgexfoundry.org:10003 [2023-02-01T17:56:28.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:56:28.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:56:28.682Z] Configure a credential helper to remove this warning. See [2023-02-01T17:56:28.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:56:28.682Z] [2023-02-01T17:56:28.682Z] Login Succeeded [2023-02-01T17:56:28.682Z] nexus3.edgexfoundry.org:10004 [2023-02-01T17:56:28.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:56:28.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:56:28.682Z] Configure a credential helper to remove this warning. See [2023-02-01T17:56:28.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:56:28.682Z] [2023-02-01T17:56:28.682Z] Login Succeeded [2023-02-01T17:56:28.682Z] docker.io [2023-02-01T17:56:28.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:56:29.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:56:29.205Z] Configure a credential helper to remove this warning. See [2023-02-01T17:56:29.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:56:29.205Z] [2023-02-01T17:56:29.205Z] Login Succeeded [2023-02-01T17:56:29.205Z] ---> docker-login.sh ends [Pipeline] } [2023-02-01T17:56:29.214Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-01T17:56:29.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T17:56:29.277Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T17:56:29.283Z] ========================================================= [2023-02-01T17:56:29.283Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-01T17:56:29.283Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:56:29.600Z] + 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-01T17:56:29.600Z] Sending build context to Docker daemon 10.57MB [2023-02-01T17:56:29.600Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T17:56:29.600Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-01T17:56:29.600Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-01T17:56:29.600Z] 213ec9aee27d: Pulling fs layer [2023-02-01T17:56:29.600Z] 4583459ba037: Pulling fs layer [2023-02-01T17:56:29.600Z] 93c1e223e6f2: Pulling fs layer [2023-02-01T17:56:29.600Z] 53926ce57604: Pulling fs layer [2023-02-01T17:56:29.600Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-01T17:56:29.600Z] 22ff95d597cd: Pulling fs layer [2023-02-01T17:56:29.600Z] 12d6caf4c0d1: Pulling fs layer [2023-02-01T17:56:29.600Z] 96b7cbca73a9: Pulling fs layer [2023-02-01T17:56:29.600Z] a7acece74701: Pulling fs layer [2023-02-01T17:56:29.600Z] 53926ce57604: Waiting [2023-02-01T17:56:29.600Z] 21b2b0c7a3f4: Waiting [2023-02-01T17:56:29.600Z] 96b7cbca73a9: Waiting [2023-02-01T17:56:29.600Z] a7acece74701: Waiting [2023-02-01T17:56:29.600Z] 22ff95d597cd: Waiting [2023-02-01T17:56:29.600Z] 12d6caf4c0d1: Waiting [2023-02-01T17:56:29.865Z] 93c1e223e6f2: Verifying Checksum [2023-02-01T17:56:29.865Z] 93c1e223e6f2: Download complete [2023-02-01T17:56:29.865Z] 4583459ba037: Verifying Checksum [2023-02-01T17:56:29.865Z] 4583459ba037: Download complete [2023-02-01T17:56:29.865Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-01T17:56:29.865Z] 21b2b0c7a3f4: Download complete [2023-02-01T17:56:29.865Z] 22ff95d597cd: Download complete [2023-02-01T17:56:29.865Z] 213ec9aee27d: Download complete [2023-02-01T17:56:29.865Z] 12d6caf4c0d1: Download complete [2023-02-01T17:56:30.136Z] 213ec9aee27d: Pull complete [2023-02-01T17:56:30.136Z] 4583459ba037: Pull complete [2023-02-01T17:56:30.136Z] 93c1e223e6f2: Pull complete [2023-02-01T17:56:31.154Z] 53926ce57604: Verifying Checksum [2023-02-01T17:56:31.154Z] 53926ce57604: Download complete [2023-02-01T17:56:31.154Z] a7acece74701: Verifying Checksum [2023-02-01T17:56:31.154Z] a7acece74701: Download complete [2023-02-01T17:56:31.154Z] 96b7cbca73a9: Verifying Checksum [2023-02-01T17:56:31.154Z] 96b7cbca73a9: Download complete [2023-02-01T17:56:35.345Z] 53926ce57604: Pull complete [2023-02-01T17:56:35.345Z] 21b2b0c7a3f4: Pull complete [2023-02-01T17:56:35.345Z] 22ff95d597cd: Pull complete [2023-02-01T17:56:35.345Z] 12d6caf4c0d1: Pull complete [2023-02-01T17:56:37.246Z] 96b7cbca73a9: Pull complete [2023-02-01T17:56:38.178Z] a7acece74701: Pull complete [2023-02-01T17:56:38.178Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-01T17:56:38.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-01T17:56:38.178Z] ---> db6d94c90886 [2023-02-01T17:56:38.178Z] Step 3/10 : ARG MAKE=make build [2023-02-01T17:56:39.558Z] ---> Running in 260537fc38bd [2023-02-01T17:56:39.558Z] Removing intermediate container 260537fc38bd [2023-02-01T17:56:39.558Z] ---> 2cbc0acce344 [2023-02-01T17:56:39.559Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-01T17:56:39.559Z] ---> Running in 0262eb540e2b [2023-02-01T17:56:39.559Z] Removing intermediate container 0262eb540e2b [2023-02-01T17:56:39.559Z] ---> fa3917534c30 [2023-02-01T17:56:39.559Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-01T17:56:39.559Z] ---> Running in c53b44940256 [2023-02-01T17:56:39.559Z] Removing intermediate container c53b44940256 [2023-02-01T17:56:39.559Z] ---> 1932bfdf878b [2023-02-01T17:56:39.559Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-01T17:56:39.559Z] ---> Running in bc4f1b606296 [2023-02-01T17:56:39.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-01T17:56:40.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-01T17:56:40.335Z] OK: 211 MiB in 51 packages [2023-02-01T17:56:40.595Z] Removing intermediate container bc4f1b606296 [2023-02-01T17:56:40.595Z] ---> 6912bafc3ee3 [2023-02-01T17:56:40.595Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-01T17:56:40.595Z] ---> 55bff3bd33f0 [2023-02-01T17:56:40.595Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T17:56:40.595Z] ---> Running in 1fb8f76a073f [2023-02-01T17:56:43.059Z] Still waiting to schedule task [2023-02-01T17:56:43.060Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4281’ is offline [2023-02-01T17:57:12.699Z] Removing intermediate container 1fb8f76a073f [2023-02-01T17:57:12.699Z] ---> 4c04a620f9d4 [2023-02-01T17:57:12.699Z] Step 9/10 : COPY . . [2023-02-01T17:57:12.699Z] ---> c8278378f54f [2023-02-01T17:57:12.699Z] Step 10/10 : RUN ${MAKE} [2023-02-01T17:57:12.699Z] ---> Running in c4205c0841ec [2023-02-01T17:57:12.699Z] noop [2023-02-01T17:57:12.699Z] Removing intermediate container c4205c0841ec [2023-02-01T17:57:12.699Z] ---> 38b62b1ae767 [2023-02-01T17:57:12.699Z] Successfully built 38b62b1ae767 [2023-02-01T17:57:12.699Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:57:13.018Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-01T17:57:13.019Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T17:57:13.093Z] prd-ubuntu20.04-docker-8c-8g-4282 does not seem to be running inside a container [2023-02-01T17:57:13.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-01T17:57:13.498Z] $ docker top a46b6ff9db9bd1916bab8f46beffc473143686328b6e9b548dd0dd098dc02fa5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T17:57:13.840Z] + go version [2023-02-01T17:57:13.840Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-01T17:57:13.861Z] $ docker stop --time=1 a46b6ff9db9bd1916bab8f46beffc473143686328b6e9b548dd0dd098dc02fa5 [2023-02-01T17:57:15.120Z] $ docker rm -f --volumes a46b6ff9db9bd1916bab8f46beffc473143686328b6e9b548dd0dd098dc02fa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:57:15.521Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-01T17:57:15.521Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T17:57:15.608Z] prd-ubuntu20.04-docker-8c-8g-4282 does not seem to be running inside a container [2023-02-01T17:57:15.650Z] $ 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-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-01T17:57:15.988Z] $ docker top 115a83e26819f52dd410dd332a3afee4974096ee009c531f67609823d810755c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T17:57:16.329Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1297 [Pipeline] fileExists [Pipeline] sh [2023-02-01T17:57:16.633Z] + make test [2023-02-01T17:57:16.633Z] go test -race -coverprofile=coverage.out ./... [2023-02-01T17:57:23.205Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-01T17:57:38.083Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements [2023-02-01T17:57:38.083Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.082s coverage: 78.9% of statements [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-01T17:57:38.083Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.093s coverage: 79.7% of statements [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-01T17:57:38.083Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.116s coverage: 60.6% of statements [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-02-01T17:57:38.083Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.106s coverage: 65.2% of statements [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-01T17:57:38.083Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.750s coverage: 89.2% of statements [2023-02-01T17:57:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-01T17:57:38.342Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.6% of statements [2023-02-01T17:57:38.342Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-01T17:57:56.430Z] 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-01T17:57:56.430Z] GO111MODULE=on go vet ./... [2023-02-01T17:57:57.371Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-01T17:57:57.371Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-01T17:57:57.371Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-01T17:57:57.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-01T17:57:57.410Z] $ docker stop --time=1 115a83e26819f52dd410dd332a3afee4974096ee009c531f67609823d810755c [2023-02-01T17:57:59.242Z] $ docker rm -f --volumes 115a83e26819f52dd410dd332a3afee4974096ee009c531f67609823d810755c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-01T17:57:59.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-01T17:57:59.790Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-01T17:58:00.293Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-01T17:58:00.576Z] + ls -al . [2023-02-01T17:58:00.576Z] total 272 [2023-02-01T17:58:00.576Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 1 17:57 . [2023-02-01T17:58:00.576Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:56 .. [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 17:56 .dockerignore [2023-02-01T17:58:00.576Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 17:57 .git [2023-02-01T17:58:00.576Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:56 .github [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 1 17:56 .gitignore [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 1 17:56 .golangci.yml [2023-02-01T17:58:00.576Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 17:56 .semver [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 1 17:56 CHANGELOG.md [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 1 17:56 GOVERNANCE.md [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 1 17:56 Jenkinsfile [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 17:56 LICENSE [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 1 17:56 Makefile [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 1 17:56 OWNERS.md [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 1 17:56 README.md [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 17:56 VERSION [2023-02-01T17:58:00.576Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:56 bin [2023-02-01T17:58:00.576Z] -rw-r--r-- 1 jenkins jenkins 101918 Feb 1 17:57 coverage.out [2023-02-01T17:58:00.576Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 17:56 example [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 3307 Feb 1 17:56 go.mod [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 34396 Feb 1 17:56 go.sum [2023-02-01T17:58:00.576Z] drwxrwxr-x 14 jenkins jenkins 4096 Feb 1 17:56 internal [2023-02-01T17:58:00.576Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:56 openapi [2023-02-01T17:58:00.576Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 1 17:56 pkg [2023-02-01T17:58:00.576Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:56 snap [2023-02-01T17:58:00.576Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 17:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:58:00.894Z] + 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=6ccb0446b35fbd22900ea8e849fc1f540abc96a9 --label arch=amd64 --label version=0.0.0 . [2023-02-01T17:58:00.894Z] Sending build context to Docker daemon 10.68MB [2023-02-01T17:58:00.894Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T17:58:00.894Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-01T17:58:00.894Z] ---> 38b62b1ae767 [2023-02-01T17:58:00.894Z] Step 3/23 : ARG MAKE=make build [2023-02-01T17:58:00.894Z] ---> Running in 130970d14729 [2023-02-01T17:58:01.155Z] Removing intermediate container 130970d14729 [2023-02-01T17:58:01.155Z] ---> 1035e14386f1 [2023-02-01T17:58:01.155Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-01T17:58:01.155Z] ---> Running in eaded37fff56 [2023-02-01T17:58:01.155Z] Removing intermediate container eaded37fff56 [2023-02-01T17:58:01.155Z] ---> 83e099419db1 [2023-02-01T17:58:01.155Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-01T17:58:01.155Z] ---> Running in a278cecb5762 [2023-02-01T17:58:01.155Z] Removing intermediate container a278cecb5762 [2023-02-01T17:58:01.155Z] ---> 614332edbeb3 [2023-02-01T17:58:01.155Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-01T17:58:01.155Z] ---> Running in 80dd0681a7b1 [2023-02-01T17:58:01.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-01T17:58:01.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-01T17:58:01.987Z] OK: 211 MiB in 51 packages [2023-02-01T17:58:02.245Z] Removing intermediate container 80dd0681a7b1 [2023-02-01T17:58:02.245Z] ---> 6b519e768d9e [2023-02-01T17:58:02.245Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-01T17:58:02.505Z] ---> 82667bd85f0f [2023-02-01T17:58:02.505Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T17:58:02.505Z] ---> Running in fa65132f60e6 [2023-02-01T17:58:03.443Z] Removing intermediate container fa65132f60e6 [2023-02-01T17:58:03.443Z] ---> 31d00bd17be7 [2023-02-01T17:58:03.443Z] Step 9/23 : COPY . . [2023-02-01T17:58:03.703Z] ---> 4a3a4436944f [2023-02-01T17:58:03.703Z] Step 10/23 : RUN ${MAKE} [2023-02-01T17:58:03.703Z] ---> Running in 7050e9a8f1d2 [2023-02-01T17:58:03.962Z] 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-01T17:58:18.339Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4283 in /w/workspace/gexfoundry_device-sdk-go_PR-1297 [Pipeline] { [Pipeline] ws [2023-02-01T17:58:18.354Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-02-01T17:58:18.400Z] The recommended git tool is: git [2023-02-01T17:58:22.056Z] Removing intermediate container 7050e9a8f1d2 [2023-02-01T17:58:22.056Z] ---> ac4987ee2dff [2023-02-01T17:58:22.056Z] Step 11/23 : FROM alpine:3.16 [2023-02-01T17:58:22.056Z] 3.16: Pulling from library/alpine [2023-02-01T17:58:22.056Z] ca7dd9ec2225: Pulling fs layer [2023-02-01T17:58:22.056Z] ca7dd9ec2225: Verifying Checksum [2023-02-01T17:58:22.056Z] ca7dd9ec2225: Download complete [2023-02-01T17:58:22.056Z] ca7dd9ec2225: Pull complete [2023-02-01T17:58:22.056Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-01T17:58:22.056Z] Status: Downloaded newer image for alpine:3.16 [2023-02-01T17:58:22.056Z] ---> bfe296a52501 [2023-02-01T17:58:22.056Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-01T17:58:22.314Z] ---> Running in 418d09ffac7a [2023-02-01T17:58:22.314Z] Removing intermediate container 418d09ffac7a [2023-02-01T17:58:22.314Z] ---> b655d7cc1062 [2023-02-01T17:58:22.314Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-01T17:58:22.314Z] ---> Running in 21d37f915ff0 [2023-02-01T17:58:22.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-01T17:58:22.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-01T17:58:23.088Z] OK: 6 MiB in 14 packages [2023-02-01T17:58:23.346Z] Removing intermediate container 21d37f915ff0 [2023-02-01T17:58:23.346Z] ---> ad14ece4aa4a [2023-02-01T17:58:23.346Z] Step 14/23 : WORKDIR / [2023-02-01T17:58:23.346Z] ---> Running in d3c4a9b40e91 [2023-02-01T17:58:23.346Z] Removing intermediate container d3c4a9b40e91 [2023-02-01T17:58:23.346Z] ---> b69e8b98e6af [2023-02-01T17:58:23.346Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-01T17:58:23.604Z] ---> 5c85dacbf32b [2023-02-01T17:58:23.604Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-01T17:58:23.862Z] ---> 0bfd5b10ece1 [2023-02-01T17:58:23.862Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-01T17:58:23.864Z] using credential edgex-jenkins-ssh [2023-02-01T17:58:23.890Z] Cloning the remote Git repository [2023-02-01T17:58:24.121Z] ---> 4068c80af532 [2023-02-01T17:58:24.121Z] Step 18/23 : EXPOSE 59999 [2023-02-01T17:58:24.121Z] ---> Running in a51b489782f5 [2023-02-01T17:58:24.121Z] Removing intermediate container a51b489782f5 [2023-02-01T17:58:24.121Z] ---> 0ffa3a6354e0 [2023-02-01T17:58:24.121Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-01T17:58:24.121Z] ---> Running in 853600a04b58 [2023-02-01T17:58:24.380Z] Removing intermediate container 853600a04b58 [2023-02-01T17:58:24.380Z] ---> 69b9524e3312 [2023-02-01T17:58:24.380Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-01T17:58:24.380Z] ---> Running in e9ab16640207 [2023-02-01T17:58:24.380Z] Removing intermediate container e9ab16640207 [2023-02-01T17:58:24.380Z] ---> 5fa003c18d18 [2023-02-01T17:58:24.380Z] Step 21/23 : LABEL arch=amd64 [2023-02-01T17:58:24.380Z] ---> Running in e45c264a4ada [2023-02-01T17:58:24.380Z] Removing intermediate container e45c264a4ada [2023-02-01T17:58:24.380Z] ---> 20715bd81554 [2023-02-01T17:58:24.380Z] Step 22/23 : LABEL git_sha=6ccb0446b35fbd22900ea8e849fc1f540abc96a9 [2023-02-01T17:58:24.380Z] ---> Running in d3f9b3cab4c2 [2023-02-01T17:58:23.937Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-01T17:58:24.015Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-02-01T17:58:24.166Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-01T17:58:24.167Z] > git --version # timeout=10 [2023-02-01T17:58:24.190Z] > git --version # 'git version 2.25.1' [2023-02-01T17:58:24.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-01T17:58:24.247Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-01T17:58:24.641Z] Removing intermediate container d3f9b3cab4c2 [2023-02-01T17:58:24.641Z] ---> b9da99b944cb [2023-02-01T17:58:24.641Z] Step 23/23 : LABEL version=0.0.0 [2023-02-01T17:58:24.641Z] ---> Running in 019f4ad0a662 [2023-02-01T17:58:24.641Z] Removing intermediate container 019f4ad0a662 [2023-02-01T17:58:24.641Z] ---> 920e97010961 [2023-02-01T17:58:24.641Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-01T17:58:24.641Z] Successfully built 920e97010961 [2023-02-01T17:58:24.641Z] 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-01T17:58:25.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T17:58:25.102Z] [2023-02-01T17:58:25.102Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:58:25.415Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T17:58:25.415Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-01T17:58:25.415Z] 5eb5b503b376: Pulling fs layer [2023-02-01T17:58:25.415Z] 5c69ac0246d0: Pulling fs layer [2023-02-01T17:58:25.415Z] ec43610c2a17: Pulling fs layer [2023-02-01T17:58:25.415Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-01T17:58:25.415Z] 33b1e0a273af: Pulling fs layer [2023-02-01T17:58:25.415Z] 5d3b04190fa2: Pulling fs layer [2023-02-01T17:58:25.415Z] 2f39f015ded8: Pulling fs layer [2023-02-01T17:58:25.415Z] 3a2ae6a8a46f: Waiting [2023-02-01T17:58:25.415Z] 33b1e0a273af: Waiting [2023-02-01T17:58:25.415Z] 5d3b04190fa2: Waiting [2023-02-01T17:58:25.415Z] 2f39f015ded8: Waiting [2023-02-01T17:58:25.415Z] 5c69ac0246d0: Verifying Checksum [2023-02-01T17:58:25.415Z] 5c69ac0246d0: Download complete [2023-02-01T17:58:25.415Z] 3a2ae6a8a46f: Download complete [2023-02-01T17:58:25.683Z] 33b1e0a273af: Verifying Checksum [2023-02-01T17:58:25.683Z] 33b1e0a273af: Download complete [2023-02-01T17:58:25.683Z] 5d3b04190fa2: Download complete [2023-02-01T17:58:25.683Z] ec43610c2a17: Verifying Checksum [2023-02-01T17:58:25.683Z] ec43610c2a17: Download complete [2023-02-01T17:58:25.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-01T17:58:25.856Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-01T17:58:25.949Z] 5eb5b503b376: Download complete [2023-02-01T17:58:26.521Z] 2f39f015ded8: Verifying Checksum [2023-02-01T17:58:26.521Z] 2f39f015ded8: Download complete [2023-02-01T17:58:27.088Z] 5eb5b503b376: Pull complete [2023-02-01T17:58:26.736Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-01T17:58:26.782Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-01T17:58:26.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-01T17:58:26.800Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1297/head:refs/remotes/origin/PR-1297 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-01T17:58:27.347Z] 5c69ac0246d0: Pull complete [2023-02-01T17:58:27.437Z] Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 [2023-02-01T17:58:27.605Z] ec43610c2a17: Pull complete [2023-02-01T17:58:27.605Z] 3a2ae6a8a46f: Pull complete [2023-02-01T17:58:27.685Z] Merge succeeded, producing 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 [2023-02-01T17:58:27.685Z] Checking out Revision 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 (PR-1297) [2023-02-01T17:58:27.863Z] 33b1e0a273af: Pull complete [2023-02-01T17:58:27.863Z] 5d3b04190fa2: Pull complete [2023-02-01T17:58:27.456Z] > git config core.sparsecheckout # timeout=10 [2023-02-01T17:58:27.476Z] > git checkout -f 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 # timeout=10 [2023-02-01T17:58:27.589Z] > git remote # timeout=10 [2023-02-01T17:58:27.606Z] > git config --get remote.origin.url # timeout=10 [2023-02-01T17:58:27.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-01T17:58:27.640Z] > git merge 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 [2023-02-01T17:58:27.667Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-01T17:58:27.692Z] > git config core.sparsecheckout # timeout=10 [2023-02-01T17:58:27.706Z] > git checkout -f 6ccb0446b35fbd22900ea8e849fc1f540abc96a9 # timeout=10 [2023-02-01T17:58:31.232Z] Commit message: "feat: Add resource, command, and device tags to reading/event" [2023-02-01T17:58:31.567Z] [2023-02-01T17:58:31.567Z] GitHub has been notified of this commit’s build result [2023-02-01T17:58:31.567Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-01T17:58:32.051Z] 2f39f015ded8: Pull complete [2023-02-01T17:58:32.052Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-01T17:58:32.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T17:58:32.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T17:58:32.118Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-01T17:58:32.118Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-01T17:58:32.118Z] Dload Upload Total Spent Left Speed [2023-02-01T17:58:32.118Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [2023-02-01T17:58:32.145Z] prd-ubuntu20.04-docker-8c-8g-4282 does not seem to be running inside a container [2023-02-01T17:58:32.187Z] $ 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-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@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-01T17:58:33.188Z] $ docker top cea014c3d82f979c4c351a3807589fa45610b86eac77a5aa6e929c120b995b6a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:58:33.566Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-01T17:58:33.644Z] ---> job-cost.sh [2023-02-01T17:58:33.644Z] lf-activate-venv: SKIPPING [2023-02-01T17:58:33.644Z] INFO: No Stack... [2023-02-01T17:58:33.899Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-01T17:58:33.899Z] + sudo tee /etc/docker/daemon.new [2023-02-01T17:58:33.899Z] { [2023-02-01T17:58:33.899Z] "registry-mirrors": [ [2023-02-01T17:58:33.899Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-01T17:58:33.899Z] ], [2023-02-01T17:58:33.899Z] "bip": "10.250.0.254/24", [2023-02-01T17:58:33.899Z] "hosts": [ [2023-02-01T17:58:33.899Z] "tcp://0.0.0.0:5555", [2023-02-01T17:58:33.899Z] "unix:///var/run/docker.sock" [2023-02-01T17:58:33.899Z] ], [2023-02-01T17:58:33.899Z] "mtu": 1458, [2023-02-01T17:58:33.899Z] "selinux-enabled": true, [2023-02-01T17:58:33.899Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-01T17:58:33.899Z] } [2023-02-01T17:58:33.904Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2023-02-01T17:58:34.233Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-01T17:58:34.472Z] INFO: Archiving Costs [Pipeline] sh [2023-02-01T17:58:34.559Z] + sudo service docker restart [2023-02-01T17:58:34.761Z] + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/cost.csv [2023-02-01T17:58:34.761Z] cut -d, -f6 [Pipeline] lock [2023-02-01T17:58:34.775Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1297-4-stack-cost] [2023-02-01T17:58:34.782Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-4-stack-cost] did not exist. Created. [2023-02-01T17:58:34.782Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1297-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-01T17:58:35.078Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-01T17:58:35.108Z] Stashed 1 file(s) [Pipeline] } [2023-02-01T17:58:35.114Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-01T17:58:35.141Z] $ docker stop --time=1 cea014c3d82f979c4c351a3807589fa45610b86eac77a5aa6e929c120b995b6a [2023-02-01T17:58:36.290Z] $ docker rm -f --volumes cea014c3d82f979c4c351a3807589fa45610b86eac77a5aa6e929c120b995b6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T17:58:52.839Z] provisioning config files... [2023-02-01T17:58:52.868Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6700565397931018546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:58:53.222Z] ---> docker-login.sh [2023-02-01T17:58:53.222Z] nexus3.edgexfoundry.org:10001 [2023-02-01T17:58:53.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:58:53.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:58:53.765Z] Configure a credential helper to remove this warning. See [2023-02-01T17:58:53.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:58:53.765Z] [2023-02-01T17:58:53.765Z] Login Succeeded [2023-02-01T17:58:53.765Z] nexus3.edgexfoundry.org:10002 [2023-02-01T17:58:54.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:58:54.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:58:54.309Z] Configure a credential helper to remove this warning. See [2023-02-01T17:58:54.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:58:54.309Z] [2023-02-01T17:58:54.309Z] Login Succeeded [2023-02-01T17:58:54.309Z] nexus3.edgexfoundry.org:10003 [2023-02-01T17:58:54.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:58:54.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:58:54.581Z] Configure a credential helper to remove this warning. See [2023-02-01T17:58:54.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:58:54.581Z] [2023-02-01T17:58:54.581Z] Login Succeeded [2023-02-01T17:58:54.581Z] nexus3.edgexfoundry.org:10004 [2023-02-01T17:58:54.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:58:54.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:58:54.853Z] Configure a credential helper to remove this warning. See [2023-02-01T17:58:54.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:58:54.853Z] [2023-02-01T17:58:54.853Z] Login Succeeded [2023-02-01T17:58:54.853Z] docker.io [2023-02-01T17:58:55.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:58:55.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:58:55.398Z] Configure a credential helper to remove this warning. See [2023-02-01T17:58:55.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:58:55.398Z] [2023-02-01T17:58:55.398Z] Login Succeeded [2023-02-01T17:58:55.398Z] ---> docker-login.sh ends [Pipeline] } [2023-02-01T17:58:55.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-01T17:58:55.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T17:58:55.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T17:58:55.715Z] ========================================================= [2023-02-01T17:58:55.715Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-01T17:58:55.715Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:58:56.065Z] + 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-01T17:58:56.661Z] Sending build context to Docker daemon 5.722MB [2023-02-01T17:58:56.661Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T17:58:56.661Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-01T17:58:56.661Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-01T17:58:56.661Z] 9b18e9b68314: Pulling fs layer [2023-02-01T17:58:56.661Z] 35d82f9e3411: Pulling fs layer [2023-02-01T17:58:56.661Z] e16973657156: Pulling fs layer [2023-02-01T17:58:56.661Z] fc693d55d65f: Pulling fs layer [2023-02-01T17:58:56.661Z] 7e9fc2657dce: Pulling fs layer [2023-02-01T17:58:56.661Z] dda99020689f: Pulling fs layer [2023-02-01T17:58:56.661Z] db1c61fa0a46: Pulling fs layer [2023-02-01T17:58:56.661Z] 891c053d2c06: Pulling fs layer [2023-02-01T17:58:56.661Z] fc693d55d65f: Waiting [2023-02-01T17:58:56.661Z] 7e9fc2657dce: Waiting [2023-02-01T17:58:56.661Z] dda99020689f: Waiting [2023-02-01T17:58:56.661Z] db1c61fa0a46: Waiting [2023-02-01T17:58:56.661Z] 891c053d2c06: Waiting [2023-02-01T17:58:56.661Z] e16973657156: Verifying Checksum [2023-02-01T17:58:56.661Z] e16973657156: Download complete [2023-02-01T17:58:56.661Z] 35d82f9e3411: Verifying Checksum [2023-02-01T17:58:56.661Z] 35d82f9e3411: Download complete [2023-02-01T17:58:56.661Z] 7e9fc2657dce: Verifying Checksum [2023-02-01T17:58:56.661Z] 7e9fc2657dce: Download complete [2023-02-01T17:58:56.933Z] dda99020689f: Verifying Checksum [2023-02-01T17:58:56.933Z] dda99020689f: Download complete [2023-02-01T17:58:56.933Z] 9b18e9b68314: Verifying Checksum [2023-02-01T17:58:56.933Z] 9b18e9b68314: Download complete [2023-02-01T17:58:57.903Z] 9b18e9b68314: Pull complete [2023-02-01T17:58:57.903Z] 891c053d2c06: Verifying Checksum [2023-02-01T17:58:57.903Z] 891c053d2c06: Download complete [2023-02-01T17:58:58.498Z] 35d82f9e3411: Pull complete [2023-02-01T17:58:58.776Z] e16973657156: Pull complete [2023-02-01T17:58:59.370Z] db1c61fa0a46: Verifying Checksum [2023-02-01T17:58:59.370Z] db1c61fa0a46: Download complete [2023-02-01T17:58:59.958Z] fc693d55d65f: Download complete [2023-02-01T17:59:12.315Z] fc693d55d65f: Pull complete [2023-02-01T17:59:12.315Z] 7e9fc2657dce: Pull complete [2023-02-01T17:59:12.315Z] dda99020689f: Pull complete [2023-02-01T17:59:17.683Z] db1c61fa0a46: Pull complete [2023-02-01T17:59:19.656Z] 891c053d2c06: Pull complete [2023-02-01T17:59:19.656Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-01T17:59:19.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-01T17:59:19.656Z] ---> f96f9c87975a [2023-02-01T17:59:19.656Z] Step 3/10 : ARG MAKE=make build [2023-02-01T17:59:21.675Z] ---> Running in 09eac81144fe [2023-02-01T17:59:21.675Z] Removing intermediate container 09eac81144fe [2023-02-01T17:59:21.675Z] ---> 87752797a2f6 [2023-02-01T17:59:21.675Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-01T17:59:21.675Z] ---> Running in 090417828c9e [2023-02-01T17:59:21.942Z] Removing intermediate container 090417828c9e [2023-02-01T17:59:21.942Z] ---> 272a3fa935d1 [2023-02-01T17:59:21.942Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-01T17:59:22.211Z] ---> Running in 4232aa4d0a0e [2023-02-01T17:59:22.481Z] Removing intermediate container 4232aa4d0a0e [2023-02-01T17:59:22.481Z] ---> e0dc5e402498 [2023-02-01T17:59:22.481Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-01T17:59:22.481Z] ---> Running in 1bb2438e7f4e [2023-02-01T17:59:23.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-01T17:59:23.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-01T17:59:24.860Z] OK: 221 MiB in 51 packages [2023-02-01T17:59:25.826Z] Removing intermediate container 1bb2438e7f4e [2023-02-01T17:59:25.826Z] ---> e1db9bda9d52 [2023-02-01T17:59:25.826Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-01T17:59:27.778Z] ---> fd009c4e56f6 [2023-02-01T17:59:27.778Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T17:59:27.778Z] ---> Running in d753e5427b91 [2023-02-01T18:00:49.437Z] Removing intermediate container d753e5427b91 [2023-02-01T18:00:49.437Z] ---> 4020cd1553d6 [2023-02-01T18:00:49.437Z] Step 9/10 : COPY . . [2023-02-01T18:00:49.437Z] ---> fd6637c27561 [2023-02-01T18:00:49.437Z] Step 10/10 : RUN ${MAKE} [2023-02-01T18:00:49.437Z] ---> Running in ecb58c7f9d8a [2023-02-01T18:00:49.437Z] noop [2023-02-01T18:00:49.437Z] Removing intermediate container ecb58c7f9d8a [2023-02-01T18:00:49.437Z] ---> 85327a4973f9 [2023-02-01T18:00:49.437Z] Successfully built 85327a4973f9 [2023-02-01T18:00:49.437Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T18:00:49.788Z] + docker inspect -f . ci-base-image-arm64 [2023-02-01T18:00:49.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T18:00:49.986Z] prd-ubuntu20.04-docker-arm64-4c-16g-4283 does not seem to be running inside a container [2023-02-01T18:00:50.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-01T18:00:51.323Z] $ docker top e0b22ec63ed0762d6b2cf7340e51f08c878710a9e3786714c2432656025fa230 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T18:00:52.148Z] + go version [2023-02-01T18:00:52.148Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-01T18:00:52.173Z] $ docker stop --time=1 e0b22ec63ed0762d6b2cf7340e51f08c878710a9e3786714c2432656025fa230 [2023-02-01T18:00:53.806Z] $ docker rm -f --volumes e0b22ec63ed0762d6b2cf7340e51f08c878710a9e3786714c2432656025fa230 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T18:00:54.328Z] + docker inspect -f . ci-base-image-arm64 [2023-02-01T18:00:54.329Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T18:00:54.506Z] prd-ubuntu20.04-docker-arm64-4c-16g-4283 does not seem to be running inside a container [2023-02-01T18:00:54.571Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-01T18:00:55.737Z] $ docker top 5a1f78aabf9447693ec090a1d02c4252f41f2421f03d84863aa0c0aa834fadd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T18:00:56.250Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-02-01T18:00:57.172Z] + make test [2023-02-01T18:00:57.172Z] go test -race -coverprofile=coverage.out ./... [2023-02-01T18:01:29.416Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-01T18:03:21.078Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-01T18:03:21.078Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-01T18:03:21.078Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-01T18:03:21.078Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-01T18:03:21.078Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-01T18:03:33.397Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.439s coverage: 27.6% of statements [2023-02-01T18:03:33.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.409s coverage: 78.9% of statements [2023-02-01T18:03:33.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-01T18:03:43.740Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.431s coverage: 79.7% of statements [2023-02-01T18:03:43.740Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-01T18:03:43.740Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-01T18:03:44.701Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.745s coverage: 60.6% of statements [2023-02-01T18:03:44.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-01T18:03:44.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-01T18:03:44.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-01T18:03:44.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-02-01T18:03:45.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.466s coverage: 65.2% of statements [2023-02-01T18:03:45.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-01T18:03:45.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-01T18:03:46.700Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.573s coverage: 89.2% of statements [2023-02-01T18:03:46.700Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-01T18:03:46.700Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.331s coverage: 4.6% of statements [2023-02-01T18:03:46.700Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-01T18:03:47.301Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-01T18:03:47.301Z] GO111MODULE=on go vet ./... [2023-02-01T18:05:24.013Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-01T18:05:24.013Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-01T18:05:24.013Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-01T18:05:24.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-01T18:05:24.051Z] $ docker stop --time=1 5a1f78aabf9447693ec090a1d02c4252f41f2421f03d84863aa0c0aa834fadd7 [2023-02-01T18:05:25.908Z] $ docker rm -f --volumes 5a1f78aabf9447693ec090a1d02c4252f41f2421f03d84863aa0c0aa834fadd7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-01T18:05:27.261Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-01T18:05:27.296Z] Warning: overwriting stash ‘coverage-report’ [2023-02-01T18:05:27.955Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-01T18:05:28.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-01T18:05:28.677Z] + ls -al . [2023-02-01T18:05:28.677Z] total 268 [2023-02-01T18:05:28.677Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 18:00 . [2023-02-01T18:05:28.677Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:58 .. [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 17:58 .dockerignore [2023-02-01T18:05:28.677Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 17:58 .git [2023-02-01T18:05:28.677Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:58 .github [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 1 17:58 .gitignore [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 1 17:58 .golangci.yml [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 1 17:58 CHANGELOG.md [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 1 17:58 GOVERNANCE.md [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 1 17:58 Jenkinsfile [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 17:58 LICENSE [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 1 17:58 Makefile [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 1 17:58 OWNERS.md [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 1 17:58 README.md [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 17:56 VERSION [2023-02-01T18:05:28.677Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:58 bin [2023-02-01T18:05:28.677Z] -rw-r--r-- 1 jenkins jenkins 101918 Feb 1 18:03 coverage.out [2023-02-01T18:05:28.677Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 17:58 example [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 3307 Feb 1 17:58 go.mod [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 34396 Feb 1 17:58 go.sum [2023-02-01T18:05:28.677Z] drwxrwxr-x 14 jenkins jenkins 4096 Feb 1 17:58 internal [2023-02-01T18:05:28.677Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:58 openapi [2023-02-01T18:05:28.677Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 1 17:58 pkg [2023-02-01T18:05:28.677Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:58 snap [2023-02-01T18:05:28.677Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 17:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T18:05:29.015Z] + 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=6ccb0446b35fbd22900ea8e849fc1f540abc96a9 --label arch=arm64 --label version=0.0.0 . [2023-02-01T18:05:29.598Z] Sending build context to Docker daemon 5.825MB [2023-02-01T18:05:29.598Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T18:05:29.598Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-01T18:05:29.598Z] ---> 85327a4973f9 [2023-02-01T18:05:29.598Z] Step 3/23 : ARG MAKE=make build [2023-02-01T18:05:29.598Z] ---> Running in 703d3f6635a4 [2023-02-01T18:05:29.871Z] Removing intermediate container 703d3f6635a4 [2023-02-01T18:05:29.871Z] ---> 230ac5482e56 [2023-02-01T18:05:29.871Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-01T18:05:29.871Z] ---> Running in f7c0a9269427 [2023-02-01T18:05:30.141Z] Removing intermediate container f7c0a9269427 [2023-02-01T18:05:30.141Z] ---> 896f44cff52c [2023-02-01T18:05:30.141Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-01T18:05:30.414Z] ---> Running in 2678576c9591 [2023-02-01T18:05:30.681Z] Removing intermediate container 2678576c9591 [2023-02-01T18:05:30.681Z] ---> 0d26810b9ab5 [2023-02-01T18:05:30.681Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-01T18:05:30.681Z] ---> Running in ece8fa73ace8 [2023-02-01T18:05:31.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-01T18:05:31.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-01T18:05:32.879Z] OK: 221 MiB in 51 packages [2023-02-01T18:05:33.842Z] Removing intermediate container ece8fa73ace8 [2023-02-01T18:05:33.842Z] ---> 010f7b359fa4 [2023-02-01T18:05:33.842Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-01T18:05:34.109Z] ---> 6d4f0611cbd4 [2023-02-01T18:05:34.109Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T18:05:34.109Z] ---> Running in 9767f5c34360 [2023-02-01T18:05:36.715Z] Removing intermediate container 9767f5c34360 [2023-02-01T18:05:36.715Z] ---> 59b87072439f [2023-02-01T18:05:36.715Z] Step 9/23 : COPY . . [2023-02-01T18:05:38.124Z] ---> efe10b6a867d [2023-02-01T18:05:38.124Z] Step 10/23 : RUN ${MAKE} [2023-02-01T18:05:38.124Z] ---> Running in 4008c620a2b5 [2023-02-01T18:05:39.086Z] 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-01T18:07:45.739Z] Removing intermediate container 4008c620a2b5 [2023-02-01T18:07:45.739Z] ---> bb401770aba9 [2023-02-01T18:07:45.739Z] Step 11/23 : FROM alpine:3.16 [2023-02-01T18:07:45.739Z] 3.16: Pulling from library/alpine [2023-02-01T18:07:45.739Z] 6875df1f5354: Pulling fs layer [2023-02-01T18:07:45.739Z] 6875df1f5354: Verifying Checksum [2023-02-01T18:07:45.739Z] 6875df1f5354: Download complete [2023-02-01T18:07:45.739Z] 6875df1f5354: Pull complete [2023-02-01T18:07:45.739Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-01T18:07:45.739Z] Status: Downloaded newer image for alpine:3.16 [2023-02-01T18:07:45.739Z] ---> 2b4661558fb8 [2023-02-01T18:07:45.739Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-01T18:07:45.739Z] ---> Running in 7323ea01f061 [2023-02-01T18:07:45.739Z] Removing intermediate container 7323ea01f061 [2023-02-01T18:07:45.739Z] ---> df8ce5c1e4d6 [2023-02-01T18:07:45.739Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-01T18:07:45.739Z] ---> Running in 2ec9ea30bb1c [2023-02-01T18:07:45.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-01T18:07:45.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-01T18:07:45.739Z] OK: 5 MiB in 14 packages [2023-02-01T18:07:45.739Z] Removing intermediate container 2ec9ea30bb1c [2023-02-01T18:07:45.739Z] ---> 7be7e4d9c606 [2023-02-01T18:07:45.739Z] Step 14/23 : WORKDIR / [2023-02-01T18:07:45.739Z] ---> Running in ffc07b676afa [2023-02-01T18:07:45.739Z] Removing intermediate container ffc07b676afa [2023-02-01T18:07:45.739Z] ---> 8670ba4c475c [2023-02-01T18:07:45.739Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-01T18:07:45.739Z] ---> 6ae1d9a5d2d8 [2023-02-01T18:07:45.739Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-01T18:07:45.739Z] ---> f612b46a7929 [2023-02-01T18:07:45.739Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-01T18:07:45.739Z] ---> ec6a3fc7ac36 [2023-02-01T18:07:45.739Z] Step 18/23 : EXPOSE 59999 [2023-02-01T18:07:45.739Z] ---> Running in de88a8c3659f [2023-02-01T18:07:45.739Z] Removing intermediate container de88a8c3659f [2023-02-01T18:07:45.739Z] ---> 85f65df8c81b [2023-02-01T18:07:45.739Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-01T18:07:45.739Z] ---> Running in 5462c5745ec4 [2023-02-01T18:07:45.739Z] Removing intermediate container 5462c5745ec4 [2023-02-01T18:07:45.739Z] ---> db52ec36ec84 [2023-02-01T18:07:45.739Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-01T18:07:45.739Z] ---> Running in a3d242c93db9 [2023-02-01T18:07:45.739Z] Removing intermediate container a3d242c93db9 [2023-02-01T18:07:45.739Z] ---> 9e2b0b457743 [2023-02-01T18:07:45.739Z] Step 21/23 : LABEL arch=arm64 [2023-02-01T18:07:45.739Z] ---> Running in 0fb15665f3a8 [2023-02-01T18:07:45.739Z] Removing intermediate container 0fb15665f3a8 [2023-02-01T18:07:45.739Z] ---> fcf7d1f52e2b [2023-02-01T18:07:45.739Z] Step 22/23 : LABEL git_sha=6ccb0446b35fbd22900ea8e849fc1f540abc96a9 [2023-02-01T18:07:45.739Z] ---> Running in 75e6ad8527a8 [2023-02-01T18:07:45.739Z] Removing intermediate container 75e6ad8527a8 [2023-02-01T18:07:45.739Z] ---> 384562c37e59 [2023-02-01T18:07:45.739Z] Step 23/23 : LABEL version=0.0.0 [2023-02-01T18:07:45.739Z] ---> Running in 09210dbe3532 [2023-02-01T18:07:45.739Z] Removing intermediate container 09210dbe3532 [2023-02-01T18:07:45.739Z] ---> ae187febe5e2 [2023-02-01T18:07:45.739Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-01T18:07:45.739Z] Successfully built ae187febe5e2 [2023-02-01T18:07:45.739Z] 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-01T18:07:46.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-01T18:07:46.180Z] [2023-02-01T18:07:46.180Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T18:07:46.508Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-01T18:07:46.508Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-01T18:07:46.508Z] 8998bd30e6a1: Pulling fs layer [2023-02-01T18:07:46.508Z] 04944245beec: Pulling fs layer [2023-02-01T18:07:46.508Z] 699f458cf7ca: Pulling fs layer [2023-02-01T18:07:46.508Z] 765212b225bb: Pulling fs layer [2023-02-01T18:07:46.508Z] f23df028b6ca: Pulling fs layer [2023-02-01T18:07:46.508Z] d65c8cfc05b1: Pulling fs layer [2023-02-01T18:07:46.508Z] 2437ff75d9bd: Pulling fs layer [2023-02-01T18:07:46.508Z] 765212b225bb: Waiting [2023-02-01T18:07:46.508Z] d65c8cfc05b1: Waiting [2023-02-01T18:07:46.508Z] 2437ff75d9bd: Waiting [2023-02-01T18:07:46.508Z] f23df028b6ca: Waiting [2023-02-01T18:07:46.787Z] 04944245beec: Verifying Checksum [2023-02-01T18:07:46.787Z] 04944245beec: Download complete [2023-02-01T18:07:46.787Z] 765212b225bb: Download complete [2023-02-01T18:07:46.787Z] f23df028b6ca: Download complete [2023-02-01T18:07:46.787Z] d65c8cfc05b1: Verifying Checksum [2023-02-01T18:07:46.787Z] d65c8cfc05b1: Download complete [2023-02-01T18:07:47.057Z] 699f458cf7ca: Verifying Checksum [2023-02-01T18:07:47.057Z] 699f458cf7ca: Download complete [2023-02-01T18:07:47.324Z] 8998bd30e6a1: Verifying Checksum [2023-02-01T18:07:47.324Z] 8998bd30e6a1: Download complete [2023-02-01T18:07:49.261Z] 2437ff75d9bd: Verifying Checksum [2023-02-01T18:07:49.261Z] 2437ff75d9bd: Download complete [2023-02-01T18:07:51.193Z] 8998bd30e6a1: Pull complete [2023-02-01T18:07:51.193Z] 04944245beec: Pull complete [2023-02-01T18:07:52.594Z] 699f458cf7ca: Pull complete [2023-02-01T18:07:52.594Z] 765212b225bb: Pull complete [2023-02-01T18:07:53.172Z] f23df028b6ca: Pull complete [2023-02-01T18:07:53.437Z] d65c8cfc05b1: Pull complete [2023-02-01T18:08:05.726Z] 2437ff75d9bd: Pull complete [2023-02-01T18:08:05.726Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-01T18:08:05.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-01T18:08:05.726Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T18:08:05.906Z] prd-ubuntu20.04-docker-arm64-4c-16g-4283 does not seem to be running inside a container [2023-02-01T18:08:05.966Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-01T18:08:08.389Z] $ docker top 902bc61510729046d843dc5a5a1f81f500326117010952cb49a78ee7fbaea1ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T18:08:08.868Z] ---> job-cost.sh [2023-02-01T18:08:09.131Z] lf-activate-venv: SKIPPING [2023-02-01T18:08:09.131Z] INFO: No Stack... [2023-02-01T18:08:09.395Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-01T18:08:10.348Z] INFO: Archiving Costs [Pipeline] sh [2023-02-01T18:08:10.660Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-02-01T18:08:10.660Z] + cut -d, -f6 [Pipeline] lock [2023-02-01T18:08:10.719Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1297-4-stack-cost] [2023-02-01T18:08:10.725Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-4-stack-cost] did not exist. Created. [2023-02-01T18:08:10.725Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1297-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-01T18:08:11.057Z] /w/workspace/device-sdk-go/4@tmp/durable-6e89661b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-01T18:08:11.384Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-01T18:08:11.409Z] Warning: overwriting stash ‘stack-cost’ [2023-02-01T18:08:11.470Z] Stashed 1 file(s) [Pipeline] } [2023-02-01T18:08:11.477Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-01T18:08:11.496Z] $ docker stop --time=1 902bc61510729046d843dc5a5a1f81f500326117010952cb49a78ee7fbaea1ef [2023-02-01T18:08:13.549Z] $ docker rm -f --volumes 902bc61510729046d843dc5a5a1f81f500326117010952cb49a78ee7fbaea1ef [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-01T18:08:13.878Z] provisioning config files... [2023-02-01T18:08:13.886Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config4580217947528674512tmp [Pipeline] { [Pipeline] sh [2023-02-01T18:08:14.170Z] + set +x [2023-02-01T18:08:14.170Z] + curl -s https://codecov.io/bash [2023-02-01T18:08:14.170Z] + bash -s -- [2023-02-01T18:08:14.170Z] [2023-02-01T18:08:14.170Z] _____ _ [2023-02-01T18:08:14.170Z] / ____| | | [2023-02-01T18:08:14.170Z] | | ___ __| | ___ ___ _____ __ [2023-02-01T18:08:14.170Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-01T18:08:14.170Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-01T18:08:14.170Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-01T18:08:14.170Z] Bash-1.0.6 [2023-02-01T18:08:14.170Z] [2023-02-01T18:08:14.170Z] [2023-02-01T18:08:14.170Z] ==> git version 2.25.1 found [2023-02-01T18:08:14.170Z] ==> 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-01T18:08:14.170Z] Release-Date: 2020-01-08 [2023-02-01T18:08:14.170Z] 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-01T18:08:14.170Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-01T18:08:14.170Z] ==> Jenkins CI detected. [2023-02-01T18:08:14.170Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1297 [2023-02-01T18:08:14.170Z] project root: . [2023-02-01T18:08:14.170Z] --> token set from env [2023-02-01T18:08:14.170Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-01T18:08:14.429Z] ==> Running gcov in . (disable via -X gcov) [2023-02-01T18:08:14.429Z] ==> Python coveragepy not found [2023-02-01T18:08:14.429Z] ==> Searching for coverage reports in: [2023-02-01T18:08:14.429Z] + . [2023-02-01T18:08:14.429Z] -> Found 1 reports [2023-02-01T18:08:14.429Z] ==> Detecting git/mercurial file structure [2023-02-01T18:08:14.429Z] ==> Reading reports [2023-02-01T18:08:14.429Z] + ./coverage.out bytes=101918 [2023-02-01T18:08:14.429Z] ==> Appending adjustments [2023-02-01T18:08:14.429Z] https://docs.codecov.io/docs/fixing-reports [2023-02-01T18:08:14.688Z] + Found adjustments [2023-02-01T18:08:14.688Z] ==> Gzipping contents [2023-02-01T18:08:14.688Z] 16K /tmp/codecov.P5qbrS.gz [2023-02-01T18:08:14.688Z] ==> Uploading reports [2023-02-01T18:08:14.688Z] url: https://codecov.io [2023-02-01T18:08:14.688Z] query: branch=PR-1297&commit=6ccb0446b35fbd22900ea8e849fc1f540abc96a9&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1297%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1297&job=&cmd_args= [2023-02-01T18:08:14.688Z] -> Pinging Codecov [2023-02-01T18:08:14.688Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1297&commit=6ccb0446b35fbd22900ea8e849fc1f540abc96a9&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1297%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1297&job=&cmd_args= [2023-02-01T18:08:14.946Z] -> Uploading to [2023-02-01T18:08:14.946Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-01/7E55EF52A471D76F132DFD9A03CDDE97/6ccb0446b35fbd22900ea8e849fc1f540abc96a9/fea57d43-8b08-4cf2-8d58-eafef1e37e9b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230201T180814Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=50f6e16a5b4bdc6392e76c32fa2f6452a1a75a396a0b6fe45e4c16ffaf24df5c [2023-02-01T18:08:14.946Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-01T18:08:14.946Z] Dload Upload Total Spent Left Speed [2023-02-01T18:08:15.514Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14905 0 0 100 14905 0 56033 --:--:-- --:--:-- --:--:-- 56033 [2023-02-01T18:08:15.514Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6ccb0446b35fbd22900ea8e849fc1f540abc96a9 [Pipeline] } [2023-02-01T18:08:15.521Z] 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-01T18:08:16.276Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives ] [2023-02-01T18:08:16.276Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives [2023-02-01T18:08:16.276Z] total 16 [2023-02-01T18:08:16.276Z] drwxr-xr-x 3 root root 4096 Feb 1 17:58 . [2023-02-01T18:08:16.276Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 1 17:58 .. [2023-02-01T18:08:16.276Z] drwxr-xr-x 2 root root 4096 Feb 1 17:58 cost [2023-02-01T18:08:16.276Z] -rw-r--r-- 1 root root 86 Feb 1 17:58 cost.csv [2023-02-01T18:08:16.276Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives [2023-02-01T18:08:16.276Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives [2023-02-01T18:08:16.276Z] total 16 [2023-02-01T18:08:16.276Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 17:58 . [2023-02-01T18:08:16.276Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 1 17:58 .. [2023-02-01T18:08:16.276Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 1 17:58 cost [2023-02-01T18:08:16.276Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 1 17:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-01T18:08:16.564Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T18:08:17.420Z] ---> package-listing.sh [2023-02-01T18:08:17.420Z] ++ facter osfamily [2023-02-01T18:08:17.420Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-01T18:08:17.678Z] + OS_FAMILY=debian [2023-02-01T18:08:17.678Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1297 [2023-02-01T18:08:17.679Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-01T18:08:17.679Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-01T18:08:17.679Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-01T18:08:17.679Z] + PACKAGES=/tmp/packages_start.txt [2023-02-01T18:08:17.679Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1297 ']' [2023-02-01T18:08:17.679Z] + PACKAGES=/tmp/packages_end.txt [2023-02-01T18:08:17.679Z] + case "${OS_FAMILY}" in [2023-02-01T18:08:17.679Z] + dpkg -l [2023-02-01T18:08:17.679Z] + grep '^ii' [2023-02-01T18:08:17.679Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-01T18:08:17.679Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-01T18:08:17.679Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-01T18:08:17.679Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1297 ']' [2023-02-01T18:08:17.679Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/ [2023-02-01T18:08:17.679Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/ [Pipeline] echo [2023-02-01T18:08:17.690Z] 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-1297/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-01T18:08:17.963Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T18:08:18.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T18:08:18.533Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T18:08:18.599Z] prd-ubuntu20.04-docker-8c-8g-4282 does not seem to be running inside a container [2023-02-01T18:08:18.644Z] $ 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-1297/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-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-01T18:08:18.821Z] $ docker top 660a81e64a683084b4b232e0ee941a09ac810db2add4b106e13580371913810c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T18:08:19.140Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-01T18:08:19.430Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-01T18:08:19.718Z] + ls /var/log/sa-host [2023-02-01T18:08:19.718Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T18:08:19.866Z] provisioning config files... [2023-02-01T18:08:19.874Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config8240354712804780865tmp [Pipeline] { [Pipeline] echo [2023-02-01T18:08:19.890Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T18:08:20.170Z] ---> create-netrc.sh [Pipeline] } [2023-02-01T18:08:20.177Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-01T18:08:20.508Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-01T18:08:20.517Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T18:08:20.797Z] ---> sudo-logs.sh [2023-02-01T18:08:20.798Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-01T18:08:20.825Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T18:08:21.104Z] ---> job-cost.sh [2023-02-01T18:08:21.104Z] lf-activate-venv: SKIPPING [2023-02-01T18:08:21.104Z] DEBUG: total: 0.2199999988079071 [2023-02-01T18:08:21.104Z] INFO: Retrieving Stack Cost... [2023-02-01T18:08:22.047Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-01T18:08:22.305Z] INFO: Archiving Costs [Pipeline] echo [2023-02-01T18:08:22.316Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T18:08:22.595Z] ---> logs-deploy.sh [2023-02-01T18:08:22.595Z] lf-activate-venv: SKIPPING [2023-02-01T18:08:22.595Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1297/4 [2023-02-01T18:08:22.595Z] INFO: archiving workspace using pattern(s): [2023-02-01T18:08:23.531Z] Archives upload complete. [2023-02-01T18:08:23.531Z] INFO: archiving logs to Nexus