Pull request #1279 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 rather than 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 Obtained Jenkinsfile from 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 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-ssh17261499972771873798.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-ssh14968759814722495156.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-1279/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-1279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1551677040302708856.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-ssh18044045686427239960.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-1279/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-1279/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12114639228382656487.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2038’ Running on prd-ubuntu20.04-docker-8c-8g-2040 in /w/workspace/gexfoundry_device-sdk-go_PR-1279 [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-1279 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1279/head:refs/remotes/origin/PR-1279 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 into PR head commit 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 Merge succeeded, producing 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 Checking out Revision 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 (PR-1279) > git config core.sparsecheckout # timeout=10 > git checkout -f 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 # 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 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 # timeout=10 Commit message: "build(deps): use correct versions of go-mod-messaging and go-mod-core-contracts" First time build. Skipping changelog. > git rev-list --no-walk 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-12T11:00:16.253Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-12T11:00:16.309Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-12T11:00:16.334Z] ========================================================= [2023-01-12T11:00:16.334Z] EdgeX Global Pipelines Version Info [2023-01-12T11:00:16.334Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-12T11:00:17.050Z] ------------------- [2023-01-12T11:00:17.050Z] stable info: [2023-01-12T11:00:17.050Z] ------------------- [2023-01-12T11:00:17.050Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-12T11:00:17.050Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-12T11:00:17.050Z] Message: update stable to v1.0.244 [2023-01-12T11:00:17.617Z] ------------------- [2023-01-12T11:00:17.617Z] experimental info: [2023-01-12T11:00:17.617Z] ------------------- [2023-01-12T11:00:17.617Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-12T11:00:17.617Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-12T11:00:17.617Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-12T11:00:17.816Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-12T11:00:17.826Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-12T11:00:17.838Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-12T11:00:17.851Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-12T11:00:17.863Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-12T11:00:17.874Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-12T11:00:17.887Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-12T11:00:17.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-12T11:00:17.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-12T11:00:17.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-12T11:00:17.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-12T11:00:17.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-12T11:00:17.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-12T11:00:17.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-12T11:00:17.988Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-12T11:00:17.999Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-12T11:00:18.012Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-12T11:00:18.024Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-12T11:00:18.036Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-12T11:00:18.049Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-12T11:00:18.062Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-12T11:00:18.081Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-12T11:00:18.095Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-12T11:00:18.105Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-12T11:00:18.117Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-12T11:00:18.128Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-12T11:00:18.140Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-12T11:00:18.149Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1279 [Pipeline] echo [2023-01-12T11:00:18.158Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1279 [Pipeline] echo [2023-01-12T11:00:18.166Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1279 [Pipeline] echo [2023-01-12T11:00:18.175Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [Pipeline] echo [2023-01-12T11:00:18.193Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87ddf45 [Pipeline] echo [2023-01-12T11:00:18.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-12T11:00:18.251Z] provisioning config files... [2023-01-12T11:00:18.267Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config9442351696845411958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T11:00:18.572Z] ---> docker-login.sh [2023-01-12T11:00:18.572Z] nexus3.edgexfoundry.org:10001 [2023-01-12T11:00:19.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:00:19.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:00:19.149Z] Configure a credential helper to remove this warning. See [2023-01-12T11:00:19.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:00:19.149Z] [2023-01-12T11:00:19.149Z] Login Succeeded [2023-01-12T11:00:19.149Z] nexus3.edgexfoundry.org:10002 [2023-01-12T11:00:19.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:00:19.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:00:19.410Z] Configure a credential helper to remove this warning. See [2023-01-12T11:00:19.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:00:19.410Z] [2023-01-12T11:00:19.410Z] Login Succeeded [2023-01-12T11:00:19.410Z] nexus3.edgexfoundry.org:10003 [2023-01-12T11:00:19.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:00:19.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:00:19.410Z] Configure a credential helper to remove this warning. See [2023-01-12T11:00:19.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:00:19.410Z] [2023-01-12T11:00:19.410Z] Login Succeeded [2023-01-12T11:00:19.410Z] nexus3.edgexfoundry.org:10004 [2023-01-12T11:00:19.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:00:19.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:00:19.673Z] Configure a credential helper to remove this warning. See [2023-01-12T11:00:19.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:00:19.673Z] [2023-01-12T11:00:19.673Z] Login Succeeded [2023-01-12T11:00:19.673Z] docker.io [2023-01-12T11:00:19.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:00:19.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:00:19.934Z] Configure a credential helper to remove this warning. See [2023-01-12T11:00:19.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:00:19.934Z] [2023-01-12T11:00:19.934Z] Login Succeeded [2023-01-12T11:00:19.934Z] ---> docker-login.sh ends [Pipeline] } [2023-01-12T11:00:19.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-12T11:00:20.311Z] + git rev-list -1 --merges 87ddf450d52ca3162354f7bb75cf9b94dc78eb11~1..87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [Pipeline] echo [2023-01-12T11:00:20.388Z] -----------> git rev-list -1 --merges 87ddf450d52ca3162354f7bb75cf9b94dc78eb11~1..87ddf450d52ca3162354f7bb75cf9b94dc78eb11 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [false] [Pipeline] sh [2023-01-12T11:00:20.681Z] + git log --format=format:%s -1 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [Pipeline] echo [2023-01-12T11:00:20.715Z] ========================================================= [2023-01-12T11:00:20.715Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-12T11:00:20.715Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-12T11:00:21.033Z] + git log --format=format:%s -1 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [Pipeline] echo [2023-01-12T11:00:21.044Z] [semverPrep] GIT_COMMIT: 87ddf450d52ca3162354f7bb75cf9b94dc78eb11, Commit Message: build(deps): use correct versions of go-mod-messaging and go-mod-core-contracts [Pipeline] echo [2023-01-12T11:00:21.053Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-12T11:00:21.438Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-12T11:00:21.438Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-12T11:00:21.438Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-12T11:00:21.438Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-12T11:00:21.438Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-12T11:00:21.438Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-12T11:00:21.438Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T11:00:21.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-12T11:00:21.803Z] [2023-01-12T11:00:21.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T11:00:22.139Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-12T11:00:22.139Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-12T11:00:22.139Z] b85a868b505f: Pulling fs layer [2023-01-12T11:00:22.139Z] e2be974225ed: Pulling fs layer [2023-01-12T11:00:22.139Z] 339a4e72a1f5: Pulling fs layer [2023-01-12T11:00:22.139Z] 988bab9f4d93: Pulling fs layer [2023-01-12T11:00:22.139Z] 1469e6f7b9e6: Pulling fs layer [2023-01-12T11:00:22.139Z] eaf3925da568: Pulling fs layer [2023-01-12T11:00:22.139Z] bab4dde63d76: Pulling fs layer [2023-01-12T11:00:22.139Z] bde34c3a00c8: Pulling fs layer [2023-01-12T11:00:22.139Z] b352a97aabf1: Pulling fs layer [2023-01-12T11:00:22.139Z] 4872d77fe225: Pulling fs layer [2023-01-12T11:00:22.139Z] 5851b861e8e6: Pulling fs layer [2023-01-12T11:00:22.139Z] 1469e6f7b9e6: Waiting [2023-01-12T11:00:22.139Z] eaf3925da568: Waiting [2023-01-12T11:00:22.139Z] bab4dde63d76: Waiting [2023-01-12T11:00:22.139Z] bde34c3a00c8: Waiting [2023-01-12T11:00:22.139Z] b352a97aabf1: Waiting [2023-01-12T11:00:22.139Z] 4872d77fe225: Waiting [2023-01-12T11:00:22.139Z] 988bab9f4d93: Waiting [2023-01-12T11:00:22.139Z] 5851b861e8e6: Waiting [2023-01-12T11:00:22.139Z] e2be974225ed: Verifying Checksum [2023-01-12T11:00:22.139Z] e2be974225ed: Download complete [2023-01-12T11:00:22.139Z] 988bab9f4d93: Verifying Checksum [2023-01-12T11:00:22.139Z] 988bab9f4d93: Download complete [2023-01-12T11:00:22.402Z] 339a4e72a1f5: Verifying Checksum [2023-01-12T11:00:22.402Z] 339a4e72a1f5: Download complete [2023-01-12T11:00:22.402Z] eaf3925da568: Download complete [2023-01-12T11:00:22.402Z] 1469e6f7b9e6: Verifying Checksum [2023-01-12T11:00:22.402Z] 1469e6f7b9e6: Download complete [2023-01-12T11:00:22.402Z] bde34c3a00c8: Verifying Checksum [2023-01-12T11:00:22.402Z] bde34c3a00c8: Download complete [2023-01-12T11:00:22.402Z] b352a97aabf1: Verifying Checksum [2023-01-12T11:00:22.402Z] b352a97aabf1: Download complete [2023-01-12T11:00:22.402Z] 4872d77fe225: Verifying Checksum [2023-01-12T11:00:22.402Z] 4872d77fe225: Download complete [2023-01-12T11:00:22.402Z] b85a868b505f: Verifying Checksum [2023-01-12T11:00:22.402Z] b85a868b505f: Download complete [2023-01-12T11:00:22.402Z] 5851b861e8e6: Verifying Checksum [2023-01-12T11:00:22.402Z] 5851b861e8e6: Download complete [2023-01-12T11:00:22.975Z] bab4dde63d76: Verifying Checksum [2023-01-12T11:00:22.975Z] bab4dde63d76: Download complete [2023-01-12T11:00:23.914Z] b85a868b505f: Pull complete [2023-01-12T11:00:23.914Z] e2be974225ed: Pull complete [2023-01-12T11:00:24.484Z] 339a4e72a1f5: Pull complete [2023-01-12T11:00:24.484Z] 988bab9f4d93: Pull complete [2023-01-12T11:00:24.743Z] 1469e6f7b9e6: Pull complete [2023-01-12T11:00:25.001Z] eaf3925da568: Pull complete [2023-01-12T11:00:26.906Z] bab4dde63d76: Pull complete [2023-01-12T11:00:26.906Z] bde34c3a00c8: Pull complete [2023-01-12T11:00:27.166Z] b352a97aabf1: Pull complete [2023-01-12T11:00:27.166Z] 4872d77fe225: Pull complete [2023-01-12T11:00:27.166Z] 5851b861e8e6: Pull complete [2023-01-12T11:00:27.166Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-12T11:00:27.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-12T11:00:27.166Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T11:00:27.249Z] prd-ubuntu20.04-docker-8c-8g-2040 does not seem to be running inside a container [2023-01-12T11:00:27.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-12T11:00:29.176Z] $ docker top c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 -eo pid,comm [2023-01-12T11:00:29.230Z] 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-01-12T11:00:29.230Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-12T11:00:29.275Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-12T11:00:29.275Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-12T11:00:29.404Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-12T11:00:29.407Z] $ docker exec c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 ssh-agent [2023-01-12T11:00:29.526Z] SSH_AUTH_SOCK=/tmp/ssh-Ab1boUg92wmG/agent.32 [2023-01-12T11:00:29.526Z] SSH_AGENT_PID=38 [2023-01-12T11:00:29.533Z] Running ssh-add (command line suppressed) [2023-01-12T11:00:29.633Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_900627410632241569.key (/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_900627410632241569.key) [2023-01-12T11:00:29.648Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-12T11:00:29.937Z] + git tag --points-at HEAD [Pipeline] } [2023-01-12T11:00:29.947Z] $ docker exec --env ******** --env ******** c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 ssh-agent -k [2023-01-12T11:00:30.049Z] unset SSH_AUTH_SOCK; [2023-01-12T11:00:30.049Z] unset SSH_AGENT_PID; [2023-01-12T11:00:30.050Z] echo Agent pid 38 killed; [2023-01-12T11:00:30.062Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-12T11:00:30.089Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-12T11:00:30.089Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-12T11:00:30.206Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-12T11:00:30.209Z] $ docker exec c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 ssh-agent [2023-01-12T11:00:30.326Z] SSH_AUTH_SOCK=/tmp/ssh-WeBozHK4V3jr/agent.70 [2023-01-12T11:00:30.326Z] SSH_AGENT_PID=76 [2023-01-12T11:00:30.331Z] Running ssh-add (command line suppressed) [2023-01-12T11:00:30.455Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_5212303226682721173.key (/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_5212303226682721173.key) [2023-01-12T11:00:30.470Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-12T11:00:30.757Z] + git semver init [2023-01-12T11:00:31.017Z] 2023-01-12 11:00:30,971 [run_init] DEBUG init version:0.0.0 force:False [2023-01-12T11:00:31.017Z] 2023-01-12 11:00:30,971 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver [2023-01-12T11:00:31.017Z] 2023-01-12 11:00:30,972 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver [2023-01-12T11:00:31.017Z] 2023-01-12 11:00:30,972 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1279, universal_newlines=False, shell=None, istream=None) [2023-01-12T11:00:31.955Z] 2023-01-12 11:00:31,926 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.git/info/exclude [2023-01-12T11:00:31.955Z] 2023-01-12 11:00:31,927 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver/PR-1279 with force:False [2023-01-12T11:00:31.955Z] 2023-01-12 11:00:31,927 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver/PR-1279 [2023-01-12T11:00:31.955Z] 2023-01-12 11:00:31,932 [execute] INFO git cat-file --batch-check [2023-01-12T11:00:31.955Z] 2023-01-12 11:00:31,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver, universal_newlines=False, shell=None, istream=) [2023-01-12T11:00:31.955Z] 2023-01-12 11:00:31,940 [execute] INFO git cat-file --batch [2023-01-12T11:00:31.955Z] 2023-01-12 11:00:31,940 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver, universal_newlines=False, shell=None, istream=) [2023-01-12T11:00:31.955Z] 2023-01-12 11:00:31,946 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver/PR-1279 [2023-01-12T11:00:31.955Z] 0.0.0 [Pipeline] } [2023-01-12T11:00:32.224Z] $ docker exec --env ******** --env ******** c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 ssh-agent -k [2023-01-12T11:00:32.330Z] unset SSH_AUTH_SOCK; [2023-01-12T11:00:32.330Z] unset SSH_AGENT_PID; [2023-01-12T11:00:32.330Z] echo Agent pid 76 killed; [2023-01-12T11:00:32.341Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-12T11:00:32.653Z] + git semver [Pipeline] } [2023-01-12T11:00:32.926Z] $ docker stop --time=1 c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 [2023-01-12T11:00:34.371Z] $ docker rm -f --volumes c081a24034598603deb73f738146a3a6c5ef07970427d96249a334cf24a57ca2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-12T11:00:34.715Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-12T11:00:34.956Z] Stashed 1 file(s) [Pipeline] echo [2023-01-12T11:00:34.959Z] [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-01-12T11:00:35.118Z] provisioning config files... [2023-01-12T11:00:35.131Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config16590757415557467132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T11:00:35.429Z] ---> docker-login.sh [2023-01-12T11:00:35.429Z] nexus3.edgexfoundry.org:10001 [2023-01-12T11:00:35.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:00:35.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:00:35.429Z] Configure a credential helper to remove this warning. See [2023-01-12T11:00:35.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:00:35.429Z] [2023-01-12T11:00:35.429Z] Login Succeeded [2023-01-12T11:00:35.429Z] nexus3.edgexfoundry.org:10002 [2023-01-12T11:00:35.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:00:35.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:00:35.429Z] Configure a credential helper to remove this warning. See [2023-01-12T11:00:35.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:00:35.429Z] [2023-01-12T11:00:35.429Z] Login Succeeded [2023-01-12T11:00:35.429Z] nexus3.edgexfoundry.org:10003 [2023-01-12T11:00:35.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:00:35.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:00:35.688Z] Configure a credential helper to remove this warning. See [2023-01-12T11:00:35.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:00:35.688Z] [2023-01-12T11:00:35.688Z] Login Succeeded [2023-01-12T11:00:35.688Z] nexus3.edgexfoundry.org:10004 [2023-01-12T11:00:35.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:00:35.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:00:35.688Z] Configure a credential helper to remove this warning. See [2023-01-12T11:00:35.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:00:35.688Z] [2023-01-12T11:00:35.688Z] Login Succeeded [2023-01-12T11:00:35.688Z] docker.io [2023-01-12T11:00:35.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:00:36.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:00:36.206Z] Configure a credential helper to remove this warning. See [2023-01-12T11:00:36.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:00:36.206Z] [2023-01-12T11:00:36.206Z] Login Succeeded [2023-01-12T11:00:36.206Z] ---> docker-login.sh ends [Pipeline] } [2023-01-12T11:00:36.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-12T11:00:36.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T11:00:36.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T11:00:36.295Z] ========================================================= [2023-01-12T11:00:36.295Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-12T11:00:36.295Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T11:00:36.609Z] + 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-01-12T11:00:36.609Z] Sending build context to Docker daemon 10.5MB [2023-01-12T11:00:36.609Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T11:00:36.609Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-12T11:00:36.868Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-12T11:00:36.868Z] 213ec9aee27d: Pulling fs layer [2023-01-12T11:00:36.868Z] 4583459ba037: Pulling fs layer [2023-01-12T11:00:36.868Z] 93c1e223e6f2: Pulling fs layer [2023-01-12T11:00:36.868Z] 53926ce57604: Pulling fs layer [2023-01-12T11:00:36.868Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-12T11:00:36.868Z] 22ff95d597cd: Pulling fs layer [2023-01-12T11:00:36.868Z] 12d6caf4c0d1: Pulling fs layer [2023-01-12T11:00:36.868Z] 96b7cbca73a9: Pulling fs layer [2023-01-12T11:00:36.868Z] a7acece74701: Pulling fs layer [2023-01-12T11:00:36.868Z] 96b7cbca73a9: Waiting [2023-01-12T11:00:36.868Z] 53926ce57604: Waiting [2023-01-12T11:00:36.868Z] 21b2b0c7a3f4: Waiting [2023-01-12T11:00:36.868Z] 93c1e223e6f2: Verifying Checksum [2023-01-12T11:00:36.868Z] 93c1e223e6f2: Download complete [2023-01-12T11:00:36.868Z] 4583459ba037: Verifying Checksum [2023-01-12T11:00:36.868Z] 4583459ba037: Download complete [2023-01-12T11:00:36.868Z] 21b2b0c7a3f4: Download complete [2023-01-12T11:00:36.868Z] 22ff95d597cd: Verifying Checksum [2023-01-12T11:00:36.868Z] 22ff95d597cd: Download complete [2023-01-12T11:00:36.868Z] 213ec9aee27d: Verifying Checksum [2023-01-12T11:00:36.868Z] 213ec9aee27d: Download complete [2023-01-12T11:00:36.868Z] 12d6caf4c0d1: Download complete [2023-01-12T11:00:37.127Z] 213ec9aee27d: Pull complete [2023-01-12T11:00:37.127Z] 4583459ba037: Pull complete [2023-01-12T11:00:37.127Z] 93c1e223e6f2: Pull complete [2023-01-12T11:00:37.385Z] a7acece74701: Verifying Checksum [2023-01-12T11:00:37.385Z] a7acece74701: Download complete [2023-01-12T11:00:37.953Z] 53926ce57604: Verifying Checksum [2023-01-12T11:00:37.953Z] 53926ce57604: Download complete [2023-01-12T11:00:37.953Z] 96b7cbca73a9: Verifying Checksum [2023-01-12T11:00:37.953Z] 96b7cbca73a9: Download complete [2023-01-12T11:00:42.171Z] 53926ce57604: Pull complete [2023-01-12T11:00:42.171Z] 21b2b0c7a3f4: Pull complete [2023-01-12T11:00:42.171Z] 22ff95d597cd: Pull complete [2023-01-12T11:00:42.171Z] 12d6caf4c0d1: Pull complete [2023-01-12T11:00:44.112Z] 96b7cbca73a9: Pull complete [2023-01-12T11:00:44.681Z] a7acece74701: Pull complete [2023-01-12T11:00:44.681Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-12T11:00:44.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-12T11:00:44.681Z] ---> db6d94c90886 [2023-01-12T11:00:44.681Z] Step 3/10 : ARG MAKE=make build [2023-01-12T11:00:48.882Z] ---> Running in d391a8223390 [2023-01-12T11:00:48.882Z] Removing intermediate container d391a8223390 [2023-01-12T11:00:48.882Z] ---> a50f1b9ab11a [2023-01-12T11:00:48.882Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-12T11:00:48.882Z] ---> Running in b8735df75693 [2023-01-12T11:00:48.882Z] Removing intermediate container b8735df75693 [2023-01-12T11:00:48.882Z] ---> c466ebf067a2 [2023-01-12T11:00:48.882Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-12T11:00:49.141Z] ---> Running in 712b879e3d71 [2023-01-12T11:00:49.141Z] Removing intermediate container 712b879e3d71 [2023-01-12T11:00:49.141Z] ---> b70891d49f67 [2023-01-12T11:00:49.141Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-12T11:00:49.141Z] ---> Running in 24dfc5e70ea0 [2023-01-12T11:00:49.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-12T11:00:49.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-12T11:00:49.922Z] OK: 211 MiB in 51 packages [2023-01-12T11:00:50.070Z] Still waiting to schedule task [2023-01-12T11:00:50.071Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2039’ [2023-01-12T11:00:50.501Z] Removing intermediate container 24dfc5e70ea0 [2023-01-12T11:00:50.501Z] ---> e4dc6160d23b [2023-01-12T11:00:50.502Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-12T11:00:50.502Z] ---> a540ba4db059 [2023-01-12T11:00:50.502Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T11:00:50.765Z] ---> Running in c1ee6d91b734 [2023-01-12T11:01:12.720Z] Removing intermediate container c1ee6d91b734 [2023-01-12T11:01:12.720Z] ---> 61e86333046b [2023-01-12T11:01:12.720Z] Step 9/10 : COPY . . [2023-01-12T11:01:12.720Z] ---> 7f8b9d717cdf [2023-01-12T11:01:12.720Z] Step 10/10 : RUN ${MAKE} [2023-01-12T11:01:12.720Z] ---> Running in 31e8429e3c37 [2023-01-12T11:01:12.720Z] noop [2023-01-12T11:01:12.720Z] Removing intermediate container 31e8429e3c37 [2023-01-12T11:01:12.720Z] ---> 6bff90221c4a [2023-01-12T11:01:12.720Z] Successfully built 6bff90221c4a [2023-01-12T11:01:12.720Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T11:01:13.038Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-12T11:01:13.038Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T11:01:13.113Z] prd-ubuntu20.04-docker-8c-8g-2040 does not seem to be running inside a container [2023-01-12T11:01:13.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-12T11:01:13.725Z] $ docker top e2971b704e997d52b992957adbc577a5562d70788787a2b6f99cfc7b9a188745 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T11:01:14.069Z] + go version [2023-01-12T11:01:14.069Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-12T11:01:14.079Z] $ docker stop --time=1 e2971b704e997d52b992957adbc577a5562d70788787a2b6f99cfc7b9a188745 [2023-01-12T11:01:15.392Z] $ docker rm -f --volumes e2971b704e997d52b992957adbc577a5562d70788787a2b6f99cfc7b9a188745 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T11:01:15.821Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-12T11:01:15.821Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T11:01:15.898Z] prd-ubuntu20.04-docker-8c-8g-2040 does not seem to be running inside a container [2023-01-12T11:01:15.929Z] $ 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-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-12T11:01:16.290Z] $ docker top f1136548e284b1320027f5665068e9fb5e4363d1133d2b512c4d318fb7ebb4e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T11:01:16.639Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1279 [Pipeline] fileExists [Pipeline] sh [2023-01-12T11:01:16.931Z] + make test [2023-01-12T11:01:16.931Z] go test -race -coverprofile=coverage.out ./... [2023-01-12T11:01:23.523Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-12T11:01:38.393Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-12T11:01:38.393Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-12T11:01:38.393Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-12T11:01:38.393Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-12T11:01:38.393Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-12T11:01:38.393Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-01-12T11:01:38.393Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.088s coverage: 78.9% of statements [2023-01-12T11:01:38.393Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-12T11:01:38.393Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.116s coverage: 73.6% of statements [2023-01-12T11:01:38.393Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-12T11:01:38.393Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-12T11:01:38.972Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.137s coverage: 54.4% of statements [2023-01-12T11:01:38.972Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-12T11:01:38.972Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-12T11:01:38.972Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-12T11:01:38.972Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-12T11:01:38.972Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.124s coverage: 65.1% of statements [2023-01-12T11:01:38.972Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-12T11:01:38.972Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-12T11:01:38.972Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.764s coverage: 89.2% of statements [2023-01-12T11:01:38.972Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-12T11:01:38.972Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.6% of statements [2023-01-12T11:01:38.972Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-12T11:01:57.074Z] 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-01-12T11:01:57.074Z] GO111MODULE=on go vet ./... [2023-01-12T11:01:59.609Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-12T11:01:59.609Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-12T11:01:59.609Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-12T11:01:59.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-12T11:01:59.898Z] $ docker stop --time=1 f1136548e284b1320027f5665068e9fb5e4363d1133d2b512c4d318fb7ebb4e4 [2023-01-12T11:02:03.360Z] $ docker rm -f --volumes f1136548e284b1320027f5665068e9fb5e4363d1133d2b512c4d318fb7ebb4e4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-12T11:02:03.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-12T11:02:03.949Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-12T11:02:04.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-12T11:02:04.878Z] + ls -al . [2023-01-12T11:02:04.878Z] total 280 [2023-01-12T11:02:04.878Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 12 11:01 . [2023-01-12T11:02:04.878Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 11:00 .. [2023-01-12T11:02:04.878Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 11:00 .dockerignore [2023-01-12T11:02:04.878Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 11:01 .git [2023-01-12T11:02:04.878Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 11:00 .github [2023-01-12T11:02:04.878Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 12 11:00 .gitignore [2023-01-12T11:02:04.878Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 12 11:00 .golangci.yml [2023-01-12T11:02:04.878Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 11:00 .semver [2023-01-12T11:02:04.878Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 12 11:00 CHANGELOG.md [2023-01-12T11:02:04.878Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 11:00 GOVERNANCE.md [2023-01-12T11:02:04.878Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 12 11:00 Jenkinsfile [2023-01-12T11:02:04.878Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 11:00 LICENSE [2023-01-12T11:02:04.878Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 12 11:00 Makefile [2023-01-12T11:02:04.878Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 12 11:00 OWNERS.md [2023-01-12T11:02:04.878Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 12 11:00 README.md [2023-01-12T11:02:04.878Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 11:00 VERSION [2023-01-12T11:02:04.878Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 11:00 bin [2023-01-12T11:02:04.878Z] -rw-r--r-- 1 jenkins jenkins 101913 Jan 12 11:01 coverage.out [2023-01-12T11:02:04.878Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 11:00 example [2023-01-12T11:02:04.878Z] -rw-rw-r-- 1 jenkins jenkins 3475 Jan 12 11:00 go.mod [2023-01-12T11:02:04.878Z] -rw-rw-r-- 1 jenkins jenkins 44595 Jan 12 11:00 go.sum [2023-01-12T11:02:04.879Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 12 11:00 internal [2023-01-12T11:02:04.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 11:00 openapi [2023-01-12T11:02:04.879Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 12 11:00 pkg [2023-01-12T11:02:04.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 11:00 snap [2023-01-12T11:02:04.879Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 11:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T11:02:05.187Z] + 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=87ddf450d52ca3162354f7bb75cf9b94dc78eb11 --label arch=amd64 --label version=0.0.0 . [2023-01-12T11:02:05.187Z] Sending build context to Docker daemon 10.6MB [2023-01-12T11:02:05.187Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T11:02:05.187Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-12T11:02:05.187Z] ---> 6bff90221c4a [2023-01-12T11:02:05.187Z] Step 3/23 : ARG MAKE=make build [2023-01-12T11:02:05.447Z] ---> Running in 68d34ce5d731 [2023-01-12T11:02:05.447Z] Removing intermediate container 68d34ce5d731 [2023-01-12T11:02:05.447Z] ---> 5701ea0f8df8 [2023-01-12T11:02:05.447Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-12T11:02:05.447Z] ---> Running in a75d3dbed0d7 [2023-01-12T11:02:05.447Z] Removing intermediate container a75d3dbed0d7 [2023-01-12T11:02:05.447Z] ---> fea352d5bc52 [2023-01-12T11:02:05.447Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-12T11:02:05.447Z] ---> Running in 851468bb602e [2023-01-12T11:02:05.706Z] Removing intermediate container 851468bb602e [2023-01-12T11:02:05.706Z] ---> 90bbf431c997 [2023-01-12T11:02:05.706Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-12T11:02:05.706Z] ---> Running in a110f8918428 [2023-01-12T11:02:05.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-12T11:02:05.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-12T11:02:06.224Z] OK: 211 MiB in 51 packages [2023-01-12T11:02:06.793Z] Removing intermediate container a110f8918428 [2023-01-12T11:02:06.793Z] ---> 987d1821d7b0 [2023-01-12T11:02:06.793Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-12T11:02:06.793Z] ---> 7d46b25f2ae2 [2023-01-12T11:02:06.793Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T11:02:07.052Z] ---> Running in 10fdc1dca97d [2023-01-12T11:02:08.430Z] Removing intermediate container 10fdc1dca97d [2023-01-12T11:02:08.430Z] ---> 7433baa6394a [2023-01-12T11:02:08.430Z] Step 9/23 : COPY . . [2023-01-12T11:02:08.704Z] ---> 847652d9c72f [2023-01-12T11:02:08.704Z] Step 10/23 : RUN ${MAKE} [2023-01-12T11:02:08.704Z] ---> Running in 6386361c5275 [2023-01-12T11:02:09.295Z] 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-01-12T11:02:31.258Z] Removing intermediate container 6386361c5275 [2023-01-12T11:02:31.258Z] ---> a3a7d03c76c7 [2023-01-12T11:02:31.258Z] Step 11/23 : FROM alpine:3.16 [2023-01-12T11:02:31.258Z] 3.16: Pulling from library/alpine [2023-01-12T11:02:31.258Z] ca7dd9ec2225: Pulling fs layer [2023-01-12T11:02:31.258Z] ca7dd9ec2225: Verifying Checksum [2023-01-12T11:02:31.258Z] ca7dd9ec2225: Download complete [2023-01-12T11:02:31.258Z] ca7dd9ec2225: Pull complete [2023-01-12T11:02:31.258Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-12T11:02:31.258Z] Status: Downloaded newer image for alpine:3.16 [2023-01-12T11:02:31.258Z] ---> bfe296a52501 [2023-01-12T11:02:31.258Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-12T11:02:31.258Z] ---> Running in 5633170315df [2023-01-12T11:02:31.258Z] Removing intermediate container 5633170315df [2023-01-12T11:02:31.258Z] ---> bddcb1d200b6 [2023-01-12T11:02:31.258Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-12T11:02:31.258Z] ---> Running in 8ce8cfc10efe [2023-01-12T11:02:31.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-12T11:02:31.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-12T11:02:32.034Z] OK: 6 MiB in 14 packages [2023-01-12T11:02:32.292Z] Removing intermediate container 8ce8cfc10efe [2023-01-12T11:02:32.292Z] ---> bdbd6d26bef1 [2023-01-12T11:02:32.292Z] Step 14/23 : WORKDIR / [2023-01-12T11:02:32.292Z] ---> Running in a77cc2723e0f [2023-01-12T11:02:32.292Z] Removing intermediate container a77cc2723e0f [2023-01-12T11:02:32.292Z] ---> 39f6ed839fd8 [2023-01-12T11:02:32.292Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-12T11:02:32.552Z] ---> 0797772b7647 [2023-01-12T11:02:32.552Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-12T11:02:33.118Z] ---> d42a627dad9c [2023-01-12T11:02:33.118Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-12T11:02:33.377Z] ---> d90930bce7cd [2023-01-12T11:02:33.377Z] Step 18/23 : EXPOSE 59999 [2023-01-12T11:02:33.377Z] ---> Running in 37c19c93dc82 [2023-01-12T11:02:33.377Z] Removing intermediate container 37c19c93dc82 [2023-01-12T11:02:33.377Z] ---> 969a623e3c49 [2023-01-12T11:02:33.377Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-12T11:02:33.377Z] ---> Running in d251c561165f [2023-01-12T11:02:33.377Z] Removing intermediate container d251c561165f [2023-01-12T11:02:33.377Z] ---> a47a287778d2 [2023-01-12T11:02:33.377Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-12T11:02:33.636Z] ---> Running in b0106d5dec6f [2023-01-12T11:02:33.636Z] Removing intermediate container b0106d5dec6f [2023-01-12T11:02:33.636Z] ---> a3d0f1a6eff2 [2023-01-12T11:02:33.636Z] Step 21/23 : LABEL arch=amd64 [2023-01-12T11:02:33.636Z] ---> Running in 2e76c3818370 [2023-01-12T11:02:33.636Z] Removing intermediate container 2e76c3818370 [2023-01-12T11:02:33.636Z] ---> 0660a3696767 [2023-01-12T11:02:33.636Z] Step 22/23 : LABEL git_sha=87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [2023-01-12T11:02:33.636Z] ---> Running in 5a7761337c36 [2023-01-12T11:02:33.894Z] Removing intermediate container 5a7761337c36 [2023-01-12T11:02:33.894Z] ---> 21084e9939c7 [2023-01-12T11:02:33.894Z] Step 23/23 : LABEL version=0.0.0 [2023-01-12T11:02:33.894Z] ---> Running in 81b17eb8c33b [2023-01-12T11:02:33.894Z] Removing intermediate container 81b17eb8c33b [2023-01-12T11:02:33.894Z] ---> 1c6af229b91f [2023-01-12T11:02:33.894Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-12T11:02:33.894Z] Successfully built 1c6af229b91f [2023-01-12T11:02:33.894Z] 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-01-12T11:02:34.339Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T11:02:34.339Z] [2023-01-12T11:02:34.339Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T11:02:34.642Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T11:02:34.642Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-12T11:02:34.642Z] 5eb5b503b376: Pulling fs layer [2023-01-12T11:02:34.642Z] 5c69ac0246d0: Pulling fs layer [2023-01-12T11:02:34.642Z] ec43610c2a17: Pulling fs layer [2023-01-12T11:02:34.642Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-12T11:02:34.642Z] 33b1e0a273af: Pulling fs layer [2023-01-12T11:02:34.642Z] 5d3b04190fa2: Pulling fs layer [2023-01-12T11:02:34.642Z] 2f39f015ded8: Pulling fs layer [2023-01-12T11:02:34.642Z] 5d3b04190fa2: Waiting [2023-01-12T11:02:34.642Z] 3a2ae6a8a46f: Waiting [2023-01-12T11:02:34.642Z] 2f39f015ded8: Waiting [2023-01-12T11:02:34.642Z] 33b1e0a273af: Waiting [2023-01-12T11:02:34.642Z] 5c69ac0246d0: Verifying Checksum [2023-01-12T11:02:34.642Z] 5c69ac0246d0: Download complete [2023-01-12T11:02:34.642Z] 3a2ae6a8a46f: Download complete [2023-01-12T11:02:34.903Z] 33b1e0a273af: Verifying Checksum [2023-01-12T11:02:34.903Z] 33b1e0a273af: Download complete [2023-01-12T11:02:34.903Z] ec43610c2a17: Verifying Checksum [2023-01-12T11:02:34.903Z] ec43610c2a17: Download complete [2023-01-12T11:02:34.903Z] 5d3b04190fa2: Verifying Checksum [2023-01-12T11:02:34.903Z] 5d3b04190fa2: Download complete [2023-01-12T11:02:34.903Z] 5eb5b503b376: Verifying Checksum [2023-01-12T11:02:34.903Z] 5eb5b503b376: Download complete [2023-01-12T11:02:35.470Z] 2f39f015ded8: Download complete [2023-01-12T11:02:36.037Z] 5eb5b503b376: Pull complete [2023-01-12T11:02:36.296Z] 5c69ac0246d0: Pull complete [2023-01-12T11:02:36.866Z] ec43610c2a17: Pull complete [2023-01-12T11:02:36.866Z] 3a2ae6a8a46f: Pull complete [2023-01-12T11:02:37.124Z] 33b1e0a273af: Pull complete [2023-01-12T11:02:37.124Z] 5d3b04190fa2: Pull complete [2023-01-12T11:02:42.393Z] 2f39f015ded8: Pull complete [2023-01-12T11:02:42.393Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-12T11:02:42.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T11:02:42.393Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T11:02:42.478Z] prd-ubuntu20.04-docker-8c-8g-2040 does not seem to be running inside a container [2023-01-12T11:02:42.508Z] $ 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-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@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-01-12T11:02:46.311Z] $ docker top ce76c217ff0b987ff026b828bd9c3c9505800720750245e53b87fa9168ee838b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T11:02:46.729Z] ---> job-cost.sh [2023-01-12T11:02:46.729Z] lf-activate-venv: SKIPPING [2023-01-12T11:02:46.729Z] INFO: No Stack... [2023-01-12T11:02:46.989Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-12T11:02:47.248Z] INFO: Archiving Costs [Pipeline] sh [2023-01-12T11:02:47.551Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives/cost.csv [2023-01-12T11:02:47.551Z] + cut -d, -f6 [Pipeline] lock [2023-01-12T11:02:47.565Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] [2023-01-12T11:02:47.571Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] did not exist. Created. [2023-01-12T11:02:47.572Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-12T11:02:47.875Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-12T11:02:47.908Z] Stashed 1 file(s) [Pipeline] } [2023-01-12T11:02:47.914Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-12T11:02:47.929Z] $ docker stop --time=1 ce76c217ff0b987ff026b828bd9c3c9505800720750245e53b87fa9168ee838b [2023-01-12T11:02:49.103Z] $ docker rm -f --volumes ce76c217ff0b987ff026b828bd9c3c9505800720750245e53b87fa9168ee838b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-12T11:04:31.035Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2041 in /w/workspace/gexfoundry_device-sdk-go_PR-1279 [Pipeline] { [Pipeline] ws [2023-01-12T11:04:31.048Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-01-12T11:04:31.103Z] The recommended git tool is: git [2023-01-12T11:04:39.436Z] using credential edgex-jenkins-ssh [2023-01-12T11:04:39.455Z] Cloning the remote Git repository [2023-01-12T11:04:39.522Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-12T11:04:39.620Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-01-12T11:04:39.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-12T11:04:39.871Z] > git --version # timeout=10 [2023-01-12T11:04:39.915Z] > git --version # 'git version 2.25.1' [2023-01-12T11:04:39.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-12T11:04:40.032Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-12T11:04:41.604Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-12T11:04:41.625Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-12T11:04:43.191Z] Merging remotes/origin/main commit 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 into PR head commit 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [2023-01-12T11:04:43.443Z] Merge succeeded, producing 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [2023-01-12T11:04:43.444Z] Checking out Revision 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 (PR-1279) [2023-01-12T11:04:42.470Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-12T11:04:42.514Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-12T11:04:42.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-12T11:04:42.532Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1279/head:refs/remotes/origin/PR-1279 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-12T11:04:43.213Z] > git config core.sparsecheckout # timeout=10 [2023-01-12T11:04:43.242Z] > git checkout -f 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 # timeout=10 [2023-01-12T11:04:43.346Z] > git remote # timeout=10 [2023-01-12T11:04:43.367Z] > git config --get remote.origin.url # timeout=10 [2023-01-12T11:04:43.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-12T11:04:43.398Z] > git merge 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 # timeout=10 [2023-01-12T11:04:43.426Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-12T11:04:43.454Z] > git config core.sparsecheckout # timeout=10 [2023-01-12T11:04:43.470Z] > git checkout -f 87ddf450d52ca3162354f7bb75cf9b94dc78eb11 # timeout=10 [2023-01-12T11:04:47.035Z] Commit message: "build(deps): use correct versions of go-mod-messaging and go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-12T11:04:47.981Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-12T11:04:47.981Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-12T11:04:47.981Z] Dload Upload Total Spent Left Speed [2023-01-12T11:04:47.981Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh [2023-01-12T11:04:48.731Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-12T11:04:49.062Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-12T11:04:49.062Z] + sudo tee /etc/docker/daemon.new [2023-01-12T11:04:49.062Z] { [2023-01-12T11:04:49.062Z] "registry-mirrors": [ [2023-01-12T11:04:49.062Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-12T11:04:49.062Z] ], [2023-01-12T11:04:49.062Z] "bip": "10.250.0.254/24", [2023-01-12T11:04:49.062Z] "hosts": [ [2023-01-12T11:04:49.062Z] "tcp://0.0.0.0:5555", [2023-01-12T11:04:49.062Z] "unix:///var/run/docker.sock" [2023-01-12T11:04:49.062Z] ], [2023-01-12T11:04:49.062Z] "mtu": 1458, [2023-01-12T11:04:49.062Z] "selinux-enabled": true, [2023-01-12T11:04:49.062Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-12T11:04:49.062Z] } [Pipeline] sh [2023-01-12T11:04:49.399Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-12T11:04:49.734Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-12T11:05:08.020Z] provisioning config files... [2023-01-12T11:05:08.052Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6290496516131658501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T11:05:08.411Z] ---> docker-login.sh [2023-01-12T11:05:08.411Z] nexus3.edgexfoundry.org:10001 [2023-01-12T11:05:08.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:05:09.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:05:09.272Z] Configure a credential helper to remove this warning. See [2023-01-12T11:05:09.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:05:09.272Z] [2023-01-12T11:05:09.272Z] Login Succeeded [2023-01-12T11:05:09.272Z] nexus3.edgexfoundry.org:10002 [2023-01-12T11:05:09.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:05:09.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:05:09.544Z] Configure a credential helper to remove this warning. See [2023-01-12T11:05:09.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:05:09.544Z] [2023-01-12T11:05:09.544Z] Login Succeeded [2023-01-12T11:05:09.544Z] nexus3.edgexfoundry.org:10003 [2023-01-12T11:05:09.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:05:09.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:05:09.815Z] Configure a credential helper to remove this warning. See [2023-01-12T11:05:09.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:05:09.815Z] [2023-01-12T11:05:09.815Z] Login Succeeded [2023-01-12T11:05:09.815Z] nexus3.edgexfoundry.org:10004 [2023-01-12T11:05:10.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:05:10.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:05:10.359Z] Configure a credential helper to remove this warning. See [2023-01-12T11:05:10.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:05:10.359Z] [2023-01-12T11:05:10.359Z] Login Succeeded [2023-01-12T11:05:10.359Z] docker.io [2023-01-12T11:05:10.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T11:05:10.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T11:05:10.902Z] Configure a credential helper to remove this warning. See [2023-01-12T11:05:10.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T11:05:10.902Z] [2023-01-12T11:05:10.902Z] Login Succeeded [2023-01-12T11:05:10.902Z] ---> docker-login.sh ends [Pipeline] } [2023-01-12T11:05:10.918Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-12T11:05:11.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T11:05:11.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T11:05:11.242Z] ========================================================= [2023-01-12T11:05:11.242Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-12T11:05:11.242Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T11:05:11.593Z] + 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-01-12T11:05:11.863Z] Sending build context to Docker daemon 5.667MB [2023-01-12T11:05:11.863Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T11:05:11.863Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-12T11:05:12.136Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-12T11:05:12.136Z] 9b18e9b68314: Pulling fs layer [2023-01-12T11:05:12.136Z] 35d82f9e3411: Pulling fs layer [2023-01-12T11:05:12.136Z] e16973657156: Pulling fs layer [2023-01-12T11:05:12.136Z] fc693d55d65f: Pulling fs layer [2023-01-12T11:05:12.136Z] 7e9fc2657dce: Pulling fs layer [2023-01-12T11:05:12.136Z] dda99020689f: Pulling fs layer [2023-01-12T11:05:12.136Z] db1c61fa0a46: Pulling fs layer [2023-01-12T11:05:12.136Z] 891c053d2c06: Pulling fs layer [2023-01-12T11:05:12.136Z] fc693d55d65f: Waiting [2023-01-12T11:05:12.136Z] 7e9fc2657dce: Waiting [2023-01-12T11:05:12.136Z] dda99020689f: Waiting [2023-01-12T11:05:12.136Z] db1c61fa0a46: Waiting [2023-01-12T11:05:12.136Z] 891c053d2c06: Waiting [2023-01-12T11:05:12.136Z] e16973657156: Verifying Checksum [2023-01-12T11:05:12.136Z] e16973657156: Download complete [2023-01-12T11:05:12.136Z] 35d82f9e3411: Verifying Checksum [2023-01-12T11:05:12.136Z] 35d82f9e3411: Download complete [2023-01-12T11:05:12.136Z] 7e9fc2657dce: Download complete [2023-01-12T11:05:12.136Z] dda99020689f: Verifying Checksum [2023-01-12T11:05:12.136Z] dda99020689f: Download complete [2023-01-12T11:05:12.136Z] 9b18e9b68314: Verifying Checksum [2023-01-12T11:05:12.136Z] 9b18e9b68314: Download complete [2023-01-12T11:05:13.108Z] 9b18e9b68314: Pull complete [2023-01-12T11:05:13.388Z] 891c053d2c06: Verifying Checksum [2023-01-12T11:05:13.389Z] 891c053d2c06: Download complete [2023-01-12T11:05:13.980Z] 35d82f9e3411: Pull complete [2023-01-12T11:05:14.250Z] e16973657156: Pull complete [2023-01-12T11:05:14.520Z] db1c61fa0a46: Verifying Checksum [2023-01-12T11:05:14.520Z] db1c61fa0a46: Download complete [2023-01-12T11:05:15.490Z] fc693d55d65f: Download complete [2023-01-12T11:05:27.831Z] fc693d55d65f: Pull complete [2023-01-12T11:05:27.831Z] 7e9fc2657dce: Pull complete [2023-01-12T11:05:27.831Z] dda99020689f: Pull complete [2023-01-12T11:05:33.186Z] db1c61fa0a46: Pull complete [2023-01-12T11:05:35.136Z] 891c053d2c06: Pull complete [2023-01-12T11:05:35.136Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-12T11:05:35.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-12T11:05:35.136Z] ---> f96f9c87975a [2023-01-12T11:05:35.136Z] Step 3/10 : ARG MAKE=make build [2023-01-12T11:05:38.496Z] ---> Running in ff2d5ac4d3d5 [2023-01-12T11:05:38.496Z] Removing intermediate container ff2d5ac4d3d5 [2023-01-12T11:05:38.496Z] ---> 93d633102832 [2023-01-12T11:05:38.496Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-12T11:05:38.496Z] ---> Running in a99ed1ff5344 [2023-01-12T11:05:38.496Z] Removing intermediate container a99ed1ff5344 [2023-01-12T11:05:38.496Z] ---> 605a73c60aef [2023-01-12T11:05:38.496Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-12T11:05:38.763Z] ---> Running in 60c3e04d33ce [2023-01-12T11:05:39.033Z] Removing intermediate container 60c3e04d33ce [2023-01-12T11:05:39.033Z] ---> f16ad1eac16f [2023-01-12T11:05:39.033Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-12T11:05:39.033Z] ---> Running in b744e8d9cf2d [2023-01-12T11:05:40.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-12T11:05:40.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-12T11:05:41.889Z] OK: 221 MiB in 51 packages [2023-01-12T11:05:42.854Z] Removing intermediate container b744e8d9cf2d [2023-01-12T11:05:42.854Z] ---> 56ab39b4b371 [2023-01-12T11:05:42.854Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-12T11:05:43.126Z] ---> 7c9f4d543721 [2023-01-12T11:05:43.126Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T11:05:43.126Z] ---> Running in 94d0472a34ae [2023-01-12T11:06:51.043Z] Removing intermediate container 94d0472a34ae [2023-01-12T11:06:51.043Z] ---> 9a60257d64c1 [2023-01-12T11:06:51.043Z] Step 9/10 : COPY . . [2023-01-12T11:06:51.043Z] ---> 477737e0beb9 [2023-01-12T11:06:51.043Z] Step 10/10 : RUN ${MAKE} [2023-01-12T11:06:51.043Z] ---> Running in 37a45e667453 [2023-01-12T11:06:51.043Z] noop [2023-01-12T11:06:51.043Z] Removing intermediate container 37a45e667453 [2023-01-12T11:06:51.043Z] ---> c30aa9f2f6eb [2023-01-12T11:06:51.043Z] Successfully built c30aa9f2f6eb [2023-01-12T11:06:51.043Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T11:06:51.396Z] + docker inspect -f . ci-base-image-arm64 [2023-01-12T11:06:51.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T11:06:51.574Z] prd-ubuntu20.04-docker-arm64-4c-16g-2041 does not seem to be running inside a container [2023-01-12T11:06:51.640Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-12T11:06:52.788Z] $ docker top 7f60df0d48e3ac4a1a5de2c96313831f3aa52daea1bade9366592e263335988d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T11:06:53.615Z] + go version [2023-01-12T11:06:53.615Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-12T11:06:53.634Z] $ docker stop --time=1 7f60df0d48e3ac4a1a5de2c96313831f3aa52daea1bade9366592e263335988d [2023-01-12T11:06:55.210Z] $ docker rm -f --volumes 7f60df0d48e3ac4a1a5de2c96313831f3aa52daea1bade9366592e263335988d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T11:06:55.768Z] + docker inspect -f . ci-base-image-arm64 [2023-01-12T11:06:55.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T11:06:55.960Z] prd-ubuntu20.04-docker-arm64-4c-16g-2041 does not seem to be running inside a container [2023-01-12T11:06:56.028Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-12T11:06:57.191Z] $ docker top ff090f02e5f66964dd193c509b3da63b2c99be976a58fdcbe3c1f60a2feeaf69 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T11:06:57.998Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-12T11:06:58.335Z] + make test [2023-01-12T11:06:58.335Z] go test -race -coverprofile=coverage.out ./... [2023-01-12T11:07:37.243Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-12T11:09:28.936Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-12T11:09:28.936Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-12T11:09:28.936Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-12T11:09:28.936Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-12T11:09:28.936Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-12T11:09:28.936Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.228s coverage: 27.6% of statements [2023-01-12T11:09:28.936Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.283s coverage: 78.9% of statements [2023-01-12T11:09:28.936Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-12T11:09:34.291Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.447s coverage: 73.6% of statements [2023-01-12T11:09:34.291Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-12T11:09:34.291Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-12T11:09:36.247Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.513s coverage: 54.4% of statements [2023-01-12T11:09:36.247Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-12T11:09:36.247Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-12T11:09:36.247Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-12T11:09:36.247Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-12T11:09:37.213Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.421s coverage: 65.1% of statements [2023-01-12T11:09:37.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-12T11:09:37.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-12T11:09:37.213Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.360s coverage: 89.2% of statements [2023-01-12T11:09:37.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-12T11:09:37.213Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.294s coverage: 4.6% of statements [2023-01-12T11:09:37.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-12T11:09:37.802Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-12T11:09:37.802Z] GO111MODULE=on go vet ./... [2023-01-12T11:11:14.774Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-12T11:11:14.774Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-12T11:11:14.774Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-12T11:11:14.801Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-12T11:11:14.812Z] $ docker stop --time=1 ff090f02e5f66964dd193c509b3da63b2c99be976a58fdcbe3c1f60a2feeaf69 [2023-01-12T11:11:17.057Z] $ docker rm -f --volumes ff090f02e5f66964dd193c509b3da63b2c99be976a58fdcbe3c1f60a2feeaf69 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-12T11:11:18.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-12T11:11:18.447Z] Warning: overwriting stash ‘coverage-report’ [2023-01-12T11:11:19.097Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-12T11:11:19.480Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-12T11:11:19.806Z] + ls -al . [2023-01-12T11:11:19.806Z] total 276 [2023-01-12T11:11:19.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 11:06 . [2023-01-12T11:11:19.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 11:04 .. [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 11:04 .dockerignore [2023-01-12T11:11:19.806Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 11:04 .git [2023-01-12T11:11:19.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 11:04 .github [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 12 11:04 .gitignore [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 12 11:04 .golangci.yml [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 12 11:04 CHANGELOG.md [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 11:04 GOVERNANCE.md [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 12 11:04 Jenkinsfile [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 11:04 LICENSE [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 12 11:04 Makefile [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 12 11:04 OWNERS.md [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 12 11:04 README.md [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 11:00 VERSION [2023-01-12T11:11:19.806Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 11:04 bin [2023-01-12T11:11:19.806Z] -rw-r--r-- 1 jenkins jenkins 101913 Jan 12 11:09 coverage.out [2023-01-12T11:11:19.806Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 11:04 example [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 3475 Jan 12 11:04 go.mod [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 44595 Jan 12 11:04 go.sum [2023-01-12T11:11:19.806Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 12 11:04 internal [2023-01-12T11:11:19.806Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 11:04 openapi [2023-01-12T11:11:19.806Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 12 11:04 pkg [2023-01-12T11:11:19.806Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 11:04 snap [2023-01-12T11:11:19.806Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T11:11:20.146Z] + 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=87ddf450d52ca3162354f7bb75cf9b94dc78eb11 --label arch=arm64 --label version=0.0.0 . [2023-01-12T11:11:20.735Z] Sending build context to Docker daemon 5.77MB [2023-01-12T11:11:20.735Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T11:11:20.735Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-12T11:11:20.735Z] ---> c30aa9f2f6eb [2023-01-12T11:11:20.735Z] Step 3/23 : ARG MAKE=make build [2023-01-12T11:11:20.735Z] ---> Running in 43fc9ac6bae9 [2023-01-12T11:11:21.011Z] Removing intermediate container 43fc9ac6bae9 [2023-01-12T11:11:21.011Z] ---> 89fb935ef434 [2023-01-12T11:11:21.011Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-12T11:11:21.282Z] ---> Running in 944c7fcccba2 [2023-01-12T11:11:21.550Z] Removing intermediate container 944c7fcccba2 [2023-01-12T11:11:21.550Z] ---> dfb8439c670c [2023-01-12T11:11:21.550Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-12T11:11:21.550Z] ---> Running in f282cd72254f [2023-01-12T11:11:21.826Z] Removing intermediate container f282cd72254f [2023-01-12T11:11:21.826Z] ---> e409ef0a22fc [2023-01-12T11:11:21.826Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-12T11:11:21.826Z] ---> Running in b5fe69a16fb1 [2023-01-12T11:11:23.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-12T11:11:23.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-12T11:11:24.245Z] OK: 221 MiB in 51 packages [2023-01-12T11:11:25.210Z] Removing intermediate container b5fe69a16fb1 [2023-01-12T11:11:25.210Z] ---> e2ab5b28039d [2023-01-12T11:11:25.210Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-12T11:11:25.799Z] ---> 09edd65cd3f4 [2023-01-12T11:11:25.799Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T11:11:25.799Z] ---> Running in 2c99e5293360 [2023-01-12T11:11:27.754Z] Removing intermediate container 2c99e5293360 [2023-01-12T11:11:27.754Z] ---> c26bfc5d0360 [2023-01-12T11:11:27.754Z] Step 9/23 : COPY . . [2023-01-12T11:11:29.707Z] ---> a110284cdd2f [2023-01-12T11:11:29.707Z] Step 10/23 : RUN ${MAKE} [2023-01-12T11:11:29.707Z] ---> Running in 18466017ce05 [2023-01-12T11:11:30.673Z] 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-01-12T11:13:37.375Z] Removing intermediate container 18466017ce05 [2023-01-12T11:13:37.375Z] ---> a543c44a36f7 [2023-01-12T11:13:37.375Z] Step 11/23 : FROM alpine:3.16 [2023-01-12T11:13:37.375Z] 3.16: Pulling from library/alpine [2023-01-12T11:13:37.375Z] 6875df1f5354: Pulling fs layer [2023-01-12T11:13:37.375Z] 6875df1f5354: Verifying Checksum [2023-01-12T11:13:37.375Z] 6875df1f5354: Download complete [2023-01-12T11:13:37.375Z] 6875df1f5354: Pull complete [2023-01-12T11:13:37.375Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-12T11:13:37.375Z] Status: Downloaded newer image for alpine:3.16 [2023-01-12T11:13:37.375Z] ---> 2b4661558fb8 [2023-01-12T11:13:37.375Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-12T11:13:37.375Z] ---> Running in 4de93006cab2 [2023-01-12T11:13:37.375Z] Removing intermediate container 4de93006cab2 [2023-01-12T11:13:37.375Z] ---> 46b92a4ccf5b [2023-01-12T11:13:37.375Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-12T11:13:37.375Z] ---> Running in 9feae9b73925 [2023-01-12T11:13:37.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-12T11:13:37.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-12T11:13:37.375Z] OK: 5 MiB in 14 packages [2023-01-12T11:13:37.375Z] Removing intermediate container 9feae9b73925 [2023-01-12T11:13:37.375Z] ---> 77828f8e1bb4 [2023-01-12T11:13:37.375Z] Step 14/23 : WORKDIR / [2023-01-12T11:13:37.375Z] ---> Running in 53bb1ba5e328 [2023-01-12T11:13:37.375Z] Removing intermediate container 53bb1ba5e328 [2023-01-12T11:13:37.375Z] ---> a7008260bab3 [2023-01-12T11:13:37.375Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-12T11:13:37.375Z] ---> 9c57f823544c [2023-01-12T11:13:37.375Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-12T11:13:37.375Z] ---> d013c10ea8ee [2023-01-12T11:13:37.375Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-12T11:13:37.375Z] ---> 8d08cde9be83 [2023-01-12T11:13:37.375Z] Step 18/23 : EXPOSE 59999 [2023-01-12T11:13:37.375Z] ---> Running in ce1b12b8c18f [2023-01-12T11:13:37.643Z] Removing intermediate container ce1b12b8c18f [2023-01-12T11:13:37.643Z] ---> c1a632647a6d [2023-01-12T11:13:37.643Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-12T11:13:37.643Z] ---> Running in ab50fa090f83 [2023-01-12T11:13:37.911Z] Removing intermediate container ab50fa090f83 [2023-01-12T11:13:37.911Z] ---> 50268097aae0 [2023-01-12T11:13:37.911Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-12T11:13:37.911Z] ---> Running in 35790b96322b [2023-01-12T11:13:38.179Z] Removing intermediate container 35790b96322b [2023-01-12T11:13:38.179Z] ---> 079545416046 [2023-01-12T11:13:38.179Z] Step 21/23 : LABEL arch=arm64 [2023-01-12T11:13:38.179Z] ---> Running in c15041377749 [2023-01-12T11:13:38.447Z] Removing intermediate container c15041377749 [2023-01-12T11:13:38.447Z] ---> da08525d024d [2023-01-12T11:13:38.447Z] Step 22/23 : LABEL git_sha=87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [2023-01-12T11:13:38.713Z] ---> Running in 5b12d307e4e8 [2023-01-12T11:13:38.980Z] Removing intermediate container 5b12d307e4e8 [2023-01-12T11:13:38.980Z] ---> aa240c9b4d0f [2023-01-12T11:13:38.980Z] Step 23/23 : LABEL version=0.0.0 [2023-01-12T11:13:38.980Z] ---> Running in bc6c4c205856 [2023-01-12T11:13:39.245Z] Removing intermediate container bc6c4c205856 [2023-01-12T11:13:39.245Z] ---> 2d738c67e36f [2023-01-12T11:13:39.245Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-12T11:13:39.245Z] Successfully built 2d738c67e36f [2023-01-12T11:13:39.245Z] 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-01-12T11:13:39.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-12T11:13:39.665Z] [2023-01-12T11:13:39.665Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T11:13:39.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-12T11:13:39.993Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-12T11:13:39.993Z] 8998bd30e6a1: Pulling fs layer [2023-01-12T11:13:39.993Z] 04944245beec: Pulling fs layer [2023-01-12T11:13:39.993Z] 699f458cf7ca: Pulling fs layer [2023-01-12T11:13:39.993Z] 765212b225bb: Pulling fs layer [2023-01-12T11:13:39.993Z] f23df028b6ca: Pulling fs layer [2023-01-12T11:13:39.993Z] 765212b225bb: Waiting [2023-01-12T11:13:39.993Z] d65c8cfc05b1: Pulling fs layer [2023-01-12T11:13:39.993Z] 2437ff75d9bd: Pulling fs layer [2023-01-12T11:13:39.993Z] d65c8cfc05b1: Waiting [2023-01-12T11:13:39.993Z] 2437ff75d9bd: Waiting [2023-01-12T11:13:39.993Z] f23df028b6ca: Waiting [2023-01-12T11:13:40.262Z] 04944245beec: Verifying Checksum [2023-01-12T11:13:40.262Z] 04944245beec: Download complete [2023-01-12T11:13:40.262Z] 765212b225bb: Verifying Checksum [2023-01-12T11:13:40.262Z] 765212b225bb: Download complete [2023-01-12T11:13:40.262Z] f23df028b6ca: Download complete [2023-01-12T11:13:40.262Z] d65c8cfc05b1: Verifying Checksum [2023-01-12T11:13:40.262Z] d65c8cfc05b1: Download complete [2023-01-12T11:13:40.531Z] 699f458cf7ca: Verifying Checksum [2023-01-12T11:13:40.531Z] 699f458cf7ca: Download complete [2023-01-12T11:13:40.800Z] 8998bd30e6a1: Verifying Checksum [2023-01-12T11:13:40.800Z] 8998bd30e6a1: Download complete [2023-01-12T11:13:42.749Z] 2437ff75d9bd: Verifying Checksum [2023-01-12T11:13:42.749Z] 2437ff75d9bd: Download complete [2023-01-12T11:13:44.691Z] 8998bd30e6a1: Pull complete [2023-01-12T11:13:44.957Z] 04944245beec: Pull complete [2023-01-12T11:13:45.918Z] 699f458cf7ca: Pull complete [2023-01-12T11:13:46.185Z] 765212b225bb: Pull complete [2023-01-12T11:13:47.143Z] f23df028b6ca: Pull complete [2023-01-12T11:13:47.143Z] d65c8cfc05b1: Pull complete [2023-01-12T11:14:02.128Z] 2437ff75d9bd: Pull complete [2023-01-12T11:14:02.128Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-12T11:14:02.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-12T11:14:02.128Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T11:14:02.313Z] prd-ubuntu20.04-docker-arm64-4c-16g-2041 does not seem to be running inside a container [2023-01-12T11:14:02.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-12T11:14:05.001Z] $ docker top 0b399c55a4642ebd8b4e99f09c8d06656deff8e4e560d7d22abc12f140237ee4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T11:14:05.511Z] ---> job-cost.sh [2023-01-12T11:14:05.776Z] lf-activate-venv: SKIPPING [2023-01-12T11:14:05.776Z] INFO: No Stack... [2023-01-12T11:14:06.734Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-12T11:14:07.317Z] INFO: Archiving Costs [Pipeline] sh [2023-01-12T11:14:07.637Z] + + catcut -d, /w/workspace/device-sdk-go/2/archives/cost.csv -f6 [2023-01-12T11:14:07.637Z] [Pipeline] lock [2023-01-12T11:14:07.674Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] [2023-01-12T11:14:07.681Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] did not exist. Created. [2023-01-12T11:14:07.681Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-12T11:14:08.018Z] /w/workspace/device-sdk-go/2@tmp/durable-37b9484f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-12T11:14:08.348Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-12T11:14:08.370Z] Warning: overwriting stash ‘stack-cost’ [2023-01-12T11:14:08.434Z] Stashed 1 file(s) [Pipeline] } [2023-01-12T11:14:08.440Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-12T11:14:08.456Z] $ docker stop --time=1 0b399c55a4642ebd8b4e99f09c8d06656deff8e4e560d7d22abc12f140237ee4 [2023-01-12T11:14:09.951Z] $ docker rm -f --volumes 0b399c55a4642ebd8b4e99f09c8d06656deff8e4e560d7d22abc12f140237ee4 [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-01-12T11:14:10.337Z] provisioning config files... [2023-01-12T11:14:10.345Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config4215646248844585346tmp [Pipeline] { [Pipeline] sh [2023-01-12T11:14:10.647Z] + set +x [2023-01-12T11:14:10.647Z] + bash -s -- [2023-01-12T11:14:10.647Z] + curl -s https://codecov.io/bash [2023-01-12T11:14:10.647Z] [2023-01-12T11:14:10.647Z] _____ _ [2023-01-12T11:14:10.647Z] / ____| | | [2023-01-12T11:14:10.647Z] | | ___ __| | ___ ___ _____ __ [2023-01-12T11:14:10.647Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-12T11:14:10.647Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-12T11:14:10.647Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-12T11:14:10.647Z] Bash-1.0.6 [2023-01-12T11:14:10.647Z] [2023-01-12T11:14:10.647Z] [2023-01-12T11:14:10.647Z] ==> git version 2.25.1 found [2023-01-12T11:14:10.647Z] ==> 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-01-12T11:14:10.647Z] Release-Date: 2020-01-08 [2023-01-12T11:14:10.647Z] 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-01-12T11:14:10.647Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-12T11:14:10.647Z] ==> Jenkins CI detected. [2023-01-12T11:14:10.647Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1279 [2023-01-12T11:14:10.647Z] project root: . [2023-01-12T11:14:10.647Z] --> token set from env [2023-01-12T11:14:10.647Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-12T11:14:10.647Z] ==> Running gcov in . (disable via -X gcov) [2023-01-12T11:14:10.647Z] ==> Python coveragepy not found [2023-01-12T11:14:10.647Z] ==> Searching for coverage reports in: [2023-01-12T11:14:10.647Z] + . [2023-01-12T11:14:10.647Z] -> Found 1 reports [2023-01-12T11:14:10.647Z] ==> Detecting git/mercurial file structure [2023-01-12T11:14:10.647Z] ==> Reading reports [2023-01-12T11:14:10.905Z] + ./coverage.out bytes=101913 [2023-01-12T11:14:10.905Z] ==> Appending adjustments [2023-01-12T11:14:10.905Z] https://docs.codecov.io/docs/fixing-reports [2023-01-12T11:14:11.163Z] + Found adjustments [2023-01-12T11:14:11.163Z] ==> Gzipping contents [2023-01-12T11:14:11.163Z] 16K /tmp/codecov.Hz8U5Q.gz [2023-01-12T11:14:11.163Z] ==> Uploading reports [2023-01-12T11:14:11.163Z] url: https://codecov.io [2023-01-12T11:14:11.163Z] query: branch=PR-1279&commit=87ddf450d52ca3162354f7bb75cf9b94dc78eb11&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1279%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1279&job=&cmd_args= [2023-01-12T11:14:11.163Z] -> Pinging Codecov [2023-01-12T11:14:11.163Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1279&commit=87ddf450d52ca3162354f7bb75cf9b94dc78eb11&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1279%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1279&job=&cmd_args= [2023-01-12T11:14:11.423Z] -> Uploading to [2023-01-12T11:14:11.423Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-12/7E55EF52A471D76F132DFD9A03CDDE97/87ddf450d52ca3162354f7bb75cf9b94dc78eb11/e26058da-af2f-4070-93cf-74b9c252ced1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230112T111411Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bc59f6cd839e03bfac3640379e09dda996cfd4ded3c88d42db56a73d87b720f1 [2023-01-12T11:14:11.423Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-12T11:14:11.423Z] Dload Upload Total Spent Left Speed [2023-01-12T11:14:11.682Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14751 0 0 100 14751 0 73024 --:--:-- --:--:-- --:--:-- 73024 [2023-01-12T11:14:11.682Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/87ddf450d52ca3162354f7bb75cf9b94dc78eb11 [Pipeline] } [2023-01-12T11:14:11.689Z] 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-01-12T11:14:12.379Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives ] [2023-01-12T11:14:12.379Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives [2023-01-12T11:14:12.379Z] total 16 [2023-01-12T11:14:12.379Z] drwxr-xr-x 3 root root 4096 Jan 12 11:02 . [2023-01-12T11:14:12.379Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 12 11:02 .. [2023-01-12T11:14:12.379Z] drwxr-xr-x 2 root root 4096 Jan 12 11:02 cost [2023-01-12T11:14:12.379Z] -rw-r--r-- 1 root root 86 Jan 12 11:02 cost.csv [2023-01-12T11:14:12.379Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives [2023-01-12T11:14:12.379Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives [2023-01-12T11:14:12.379Z] total 16 [2023-01-12T11:14:12.379Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 11:02 . [2023-01-12T11:14:12.379Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 12 11:02 .. [2023-01-12T11:14:12.379Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 12 11:02 cost [2023-01-12T11:14:12.379Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 12 11:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-12T11:14:12.670Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T11:14:13.532Z] ---> package-listing.sh [2023-01-12T11:14:13.532Z] ++ facter osfamily [2023-01-12T11:14:13.532Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-12T11:14:13.793Z] + OS_FAMILY=debian [2023-01-12T11:14:13.793Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1279 [2023-01-12T11:14:13.793Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-12T11:14:13.793Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-12T11:14:13.793Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-12T11:14:13.793Z] + PACKAGES=/tmp/packages_start.txt [2023-01-12T11:14:13.793Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1279 ']' [2023-01-12T11:14:13.793Z] + PACKAGES=/tmp/packages_end.txt [2023-01-12T11:14:13.793Z] + case "${OS_FAMILY}" in [2023-01-12T11:14:13.793Z] + dpkg -l [2023-01-12T11:14:13.793Z] + grep '^ii' [2023-01-12T11:14:13.793Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-12T11:14:13.793Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-12T11:14:13.793Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-12T11:14:13.793Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1279 ']' [2023-01-12T11:14:13.793Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives/ [2023-01-12T11:14:13.793Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives/ [Pipeline] echo [2023-01-12T11:14:13.804Z] 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-1279/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-12T11:14:14.079Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T11:14:14.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T11:14:14.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T11:14:14.707Z] prd-ubuntu20.04-docker-8c-8g-2040 does not seem to be running inside a container [2023-01-12T11:14:14.736Z] $ 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-1279/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-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-12T11:14:14.920Z] $ docker top 2527fec9705f7ad0186252c36123224560c1d9aea18aead41f20258a21e12234 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T11:14:15.257Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-12T11:14:15.538Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-12T11:14:15.826Z] + ls /var/log/sa-host [2023-01-12T11:14:15.826Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-12T11:14:15.964Z] provisioning config files... [2023-01-12T11:14:15.976Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config1757573082842767832tmp [Pipeline] { [Pipeline] echo [2023-01-12T11:14:15.991Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T11:14:16.273Z] ---> create-netrc.sh [Pipeline] } [2023-01-12T11:14:16.280Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-12T11:14:16.624Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-12T11:14:16.632Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T11:14:16.921Z] ---> sudo-logs.sh [2023-01-12T11:14:16.921Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-12T11:14:16.948Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T11:14:17.230Z] ---> job-cost.sh [2023-01-12T11:14:17.230Z] lf-activate-venv: SKIPPING [2023-01-12T11:14:17.230Z] DEBUG: total: 0.2199999988079071 [2023-01-12T11:14:17.230Z] INFO: Retrieving Stack Cost... [2023-01-12T11:14:17.796Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-12T11:14:18.054Z] INFO: Archiving Costs [Pipeline] echo [2023-01-12T11:14:18.068Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T11:14:18.347Z] ---> logs-deploy.sh [2023-01-12T11:14:18.347Z] lf-activate-venv: SKIPPING [2023-01-12T11:14:18.347Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1279/2 [2023-01-12T11:14:18.347Z] INFO: archiving workspace using pattern(s): [2023-01-12T11:14:19.281Z] Archives upload complete. [2023-01-12T11:14:19.281Z] INFO: archiving logs to Nexus