Pull request #1343 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 bnevis-i for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 5827dcbf4716f89f27efa4d61bbd9e5ed358461d rather than 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a Obtained Jenkinsfile from 5827dcbf4716f89f27efa4d61bbd9e5ed358461d Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2744168259691892932.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-ssh17767687221988751981.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-1343/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-1343/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6041109218903068130.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-ssh5610088621217681152.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-1343/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-1343/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1179850440726759798.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-7081 in /w/workspace/gexfoundry_device-sdk-go_PR-1343 [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-1343 # 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/1343/head:refs/remotes/origin/PR-1343 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5827dcbf4716f89f27efa4d61bbd9e5ed358461d into PR head commit 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a Merge succeeded, producing 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a Checking out Revision 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a (PR-1343) > git config core.sparsecheckout # timeout=10 > git checkout -f 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5827dcbf4716f89f27efa4d61bbd9e5ed358461d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a # timeout=10 Commit message: "feat!: Apply JWT authentication to incoming calls" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-22T18:01:41.983Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-22T18:01:42.040Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-22T18:01:42.057Z] ========================================================= [2023-02-22T18:01:42.057Z] EdgeX Global Pipelines Version Info [2023-02-22T18:01:42.057Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-22T18:01:42.761Z] ------------------- [2023-02-22T18:01:42.761Z] stable info: [2023-02-22T18:01:42.761Z] ------------------- [2023-02-22T18:01:42.761Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-22T18:01:42.761Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T18:01:42.761Z] Message: update stable to v1.0.244 [2023-02-22T18:01:43.334Z] ------------------- [2023-02-22T18:01:43.334Z] experimental info: [2023-02-22T18:01:43.334Z] ------------------- [2023-02-22T18:01:43.334Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-22T18:01:43.334Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T18:01:43.334Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-22T18:01:43.506Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-22T18:01:43.518Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-22T18:01:43.531Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-22T18:01:43.543Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-22T18:01:43.554Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-22T18:01:43.566Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-22T18:01:43.578Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-22T18:01:43.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-22T18:01:43.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-22T18:01:43.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-22T18:01:43.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-22T18:01:43.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-22T18:01:43.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-22T18:01:43.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-22T18:01:43.683Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-22T18:01:43.695Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T18:01:43.710Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T18:01:43.721Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T18:01:43.735Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-22T18:01:43.753Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-22T18:01:43.762Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-22T18:01:43.773Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-22T18:01:43.785Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-22T18:01:43.800Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-22T18:01:43.811Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-22T18:01:43.824Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-22T18:01:43.841Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-22T18:01:43.858Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1343 [Pipeline] echo [2023-02-22T18:01:43.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1343 [Pipeline] echo [2023-02-22T18:01:43.887Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1343 [Pipeline] echo [2023-02-22T18:01:43.898Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [Pipeline] echo [2023-02-22T18:01:43.914Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b789ff [Pipeline] echo [2023-02-22T18:01:43.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T18:01:43.970Z] provisioning config files... [2023-02-22T18:01:43.983Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/config3538781640815072574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T18:01:44.289Z] ---> docker-login.sh [2023-02-22T18:01:44.289Z] nexus3.edgexfoundry.org:10001 [2023-02-22T18:01:44.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:01:44.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:01:44.561Z] Configure a credential helper to remove this warning. See [2023-02-22T18:01:44.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:01:44.561Z] [2023-02-22T18:01:44.561Z] Login Succeeded [2023-02-22T18:01:44.561Z] nexus3.edgexfoundry.org:10002 [2023-02-22T18:01:44.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:01:44.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:01:44.561Z] Configure a credential helper to remove this warning. See [2023-02-22T18:01:44.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:01:44.561Z] [2023-02-22T18:01:44.561Z] Login Succeeded [2023-02-22T18:01:44.561Z] nexus3.edgexfoundry.org:10003 [2023-02-22T18:01:44.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:01:44.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:01:44.839Z] Configure a credential helper to remove this warning. See [2023-02-22T18:01:44.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:01:44.839Z] [2023-02-22T18:01:44.839Z] Login Succeeded [2023-02-22T18:01:44.839Z] nexus3.edgexfoundry.org:10004 [2023-02-22T18:01:44.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:01:44.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:01:44.839Z] Configure a credential helper to remove this warning. See [2023-02-22T18:01:44.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:01:44.839Z] [2023-02-22T18:01:44.839Z] Login Succeeded [2023-02-22T18:01:44.839Z] docker.io [2023-02-22T18:01:44.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:01:45.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:01:45.412Z] Configure a credential helper to remove this warning. See [2023-02-22T18:01:45.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:01:45.412Z] [2023-02-22T18:01:45.412Z] Login Succeeded [2023-02-22T18:01:45.412Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T18:01:45.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-22T18:01:45.791Z] + git rev-list -1 --merges 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a~1..6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [Pipeline] echo [2023-02-22T18:01:45.840Z] -----------> git rev-list -1 --merges 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a~1..6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [false] [Pipeline] sh [2023-02-22T18:01:46.129Z] + git log --format=format:%s -1 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [Pipeline] echo [2023-02-22T18:01:46.145Z] ========================================================= [2023-02-22T18:01:46.145Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-22T18:01:46.145Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T18:01:46.458Z] + git log --format=format:%s -1 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [Pipeline] echo [2023-02-22T18:01:46.469Z] [semverPrep] GIT_COMMIT: 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a, Commit Message: feat!: Apply JWT authentication to incoming calls [Pipeline] echo [2023-02-22T18:01:46.480Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-22T18:01:46.824Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-22T18:01:46.824Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-22T18:01:46.824Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-22T18:01:46.824Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-22T18:01:46.824Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-22T18:01:46.824Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-22T18:01:46.824Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:01:47.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T18:01:47.172Z] [2023-02-22T18:01:47.172Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:01:47.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T18:01:47.474Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-22T18:01:47.474Z] b85a868b505f: Pulling fs layer [2023-02-22T18:01:47.474Z] e2be974225ed: Pulling fs layer [2023-02-22T18:01:47.474Z] 339a4e72a1f5: Pulling fs layer [2023-02-22T18:01:47.474Z] 988bab9f4d93: Pulling fs layer [2023-02-22T18:01:47.474Z] 1469e6f7b9e6: Pulling fs layer [2023-02-22T18:01:47.474Z] eaf3925da568: Pulling fs layer [2023-02-22T18:01:47.474Z] bab4dde63d76: Pulling fs layer [2023-02-22T18:01:47.474Z] bde34c3a00c8: Pulling fs layer [2023-02-22T18:01:47.474Z] b352a97aabf1: Pulling fs layer [2023-02-22T18:01:47.474Z] 4872d77fe225: Pulling fs layer [2023-02-22T18:01:47.474Z] 5851b861e8e6: Pulling fs layer [2023-02-22T18:01:47.474Z] bab4dde63d76: Waiting [2023-02-22T18:01:47.474Z] 4872d77fe225: Waiting [2023-02-22T18:01:47.474Z] b352a97aabf1: Waiting [2023-02-22T18:01:47.474Z] bde34c3a00c8: Waiting [2023-02-22T18:01:47.474Z] 1469e6f7b9e6: Waiting [2023-02-22T18:01:47.474Z] eaf3925da568: Waiting [2023-02-22T18:01:47.474Z] 988bab9f4d93: Waiting [2023-02-22T18:01:47.474Z] 5851b861e8e6: Waiting [2023-02-22T18:01:47.474Z] e2be974225ed: Verifying Checksum [2023-02-22T18:01:47.474Z] e2be974225ed: Download complete [2023-02-22T18:01:47.474Z] 988bab9f4d93: Verifying Checksum [2023-02-22T18:01:47.474Z] 988bab9f4d93: Download complete [2023-02-22T18:01:47.733Z] 1469e6f7b9e6: Verifying Checksum [2023-02-22T18:01:47.733Z] 1469e6f7b9e6: Download complete [2023-02-22T18:01:47.733Z] eaf3925da568: Download complete [2023-02-22T18:01:47.733Z] 339a4e72a1f5: Verifying Checksum [2023-02-22T18:01:47.733Z] 339a4e72a1f5: Download complete [2023-02-22T18:01:47.733Z] bde34c3a00c8: Verifying Checksum [2023-02-22T18:01:47.733Z] bde34c3a00c8: Download complete [2023-02-22T18:01:47.733Z] b352a97aabf1: Verifying Checksum [2023-02-22T18:01:47.733Z] b352a97aabf1: Download complete [2023-02-22T18:01:47.733Z] 4872d77fe225: Verifying Checksum [2023-02-22T18:01:47.733Z] 4872d77fe225: Download complete [2023-02-22T18:01:47.733Z] 5851b861e8e6: Verifying Checksum [2023-02-22T18:01:47.733Z] 5851b861e8e6: Download complete [2023-02-22T18:01:47.733Z] b85a868b505f: Download complete [2023-02-22T18:01:47.992Z] bab4dde63d76: Verifying Checksum [2023-02-22T18:01:47.993Z] bab4dde63d76: Download complete [2023-02-22T18:01:49.368Z] b85a868b505f: Pull complete [2023-02-22T18:01:49.368Z] e2be974225ed: Pull complete [2023-02-22T18:01:49.627Z] 339a4e72a1f5: Pull complete [2023-02-22T18:01:49.886Z] 988bab9f4d93: Pull complete [2023-02-22T18:01:50.144Z] 1469e6f7b9e6: Pull complete [2023-02-22T18:01:50.144Z] eaf3925da568: Pull complete [2023-02-22T18:01:52.113Z] bab4dde63d76: Pull complete [2023-02-22T18:01:52.113Z] bde34c3a00c8: Pull complete [2023-02-22T18:01:52.373Z] b352a97aabf1: Pull complete [2023-02-22T18:01:52.373Z] 4872d77fe225: Pull complete [2023-02-22T18:01:52.373Z] 5851b861e8e6: Pull complete [2023-02-22T18:01:52.373Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-22T18:01:52.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T18:01:52.373Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T18:01:52.460Z] prd-ubuntu20.04-docker-8c-8g-7081 does not seem to be running inside a container [2023-02-22T18:01:52.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-22T18:01:53.662Z] $ docker top e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db -eo pid,comm [2023-02-22T18:01:53.718Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-22T18:01:53.718Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-22T18:01:53.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T18:01:53.758Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T18:01:53.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T18:01:53.882Z] $ docker exec e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db ssh-agent [2023-02-22T18:01:53.988Z] SSH_AUTH_SOCK=/tmp/ssh-z2IYkmSFYbBW/agent.32 [2023-02-22T18:01:53.989Z] SSH_AGENT_PID=38 [2023-02-22T18:01:53.995Z] Running ssh-add (command line suppressed) [2023-02-22T18:01:54.105Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/private_key_7618381235965077882.key (/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/private_key_7618381235965077882.key) [2023-02-22T18:01:54.117Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T18:01:54.406Z] + git tag --points-at HEAD [Pipeline] } [2023-02-22T18:01:54.422Z] $ docker exec --env ******** --env ******** e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db ssh-agent -k [2023-02-22T18:01:54.518Z] unset SSH_AUTH_SOCK; [2023-02-22T18:01:54.519Z] unset SSH_AGENT_PID; [2023-02-22T18:01:54.519Z] echo Agent pid 38 killed; [2023-02-22T18:01:54.524Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-22T18:01:54.558Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T18:01:54.558Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T18:01:54.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T18:01:54.673Z] $ docker exec e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db ssh-agent [2023-02-22T18:01:54.788Z] SSH_AUTH_SOCK=/tmp/ssh-nN4fqEYkEG6p/agent.70 [2023-02-22T18:01:54.788Z] SSH_AGENT_PID=76 [2023-02-22T18:01:54.792Z] Running ssh-add (command line suppressed) [2023-02-22T18:01:54.902Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/private_key_8503980010628282131.key (/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/private_key_8503980010628282131.key) [2023-02-22T18:01:54.911Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T18:01:55.202Z] + git semver init [2023-02-22T18:01:55.461Z] 2023-02-22 18:01:55,383 [run_init] DEBUG init version:0.0.0 force:False [2023-02-22T18:01:55.461Z] 2023-02-22 18:01:55,384 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver [2023-02-22T18:01:55.461Z] 2023-02-22 18:01:55,384 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver [2023-02-22T18:01:55.461Z] 2023-02-22 18:01:55,384 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1343, universal_newlines=False, shell=None, istream=None) [2023-02-22T18:01:56.399Z] 2023-02-22 18:01:56,315 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343/.git/info/exclude [2023-02-22T18:01:56.399Z] 2023-02-22 18:01:56,316 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver/PR-1343 with force:False [2023-02-22T18:01:56.399Z] 2023-02-22 18:01:56,316 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver/PR-1343 [2023-02-22T18:01:56.399Z] 2023-02-22 18:01:56,320 [execute] INFO git cat-file --batch-check [2023-02-22T18:01:56.399Z] 2023-02-22 18:01:56,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T18:01:56.399Z] 2023-02-22 18:01:56,327 [execute] INFO git cat-file --batch [2023-02-22T18:01:56.399Z] 2023-02-22 18:01:56,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T18:01:56.400Z] 2023-02-22 18:01:56,332 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1343/.semver/PR-1343 [2023-02-22T18:01:56.400Z] 0.0.0 [Pipeline] } [2023-02-22T18:01:56.413Z] $ docker exec --env ******** --env ******** e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db ssh-agent -k [2023-02-22T18:01:56.515Z] unset SSH_AUTH_SOCK; [2023-02-22T18:01:56.515Z] unset SSH_AGENT_PID; [2023-02-22T18:01:56.515Z] echo Agent pid 76 killed; [2023-02-22T18:01:56.522Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-22T18:01:56.818Z] + git semver [Pipeline] } [2023-02-22T18:01:57.095Z] $ docker stop --time=1 e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db [2023-02-22T18:01:58.400Z] $ docker rm -f --volumes e14ff8bd25b407ea94efe6b5c06ad8e3aa6cb8525b771f946e15b58b481de3db [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T18:01:58.733Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-22T18:01:58.928Z] Stashed 1 file(s) [Pipeline] echo [2023-02-22T18:01:58.932Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T18:01:59.081Z] provisioning config files... [2023-02-22T18:01:59.091Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/config11963687015871931475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T18:01:59.384Z] ---> docker-login.sh [2023-02-22T18:01:59.385Z] nexus3.edgexfoundry.org:10001 [2023-02-22T18:01:59.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:01:59.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:01:59.385Z] Configure a credential helper to remove this warning. See [2023-02-22T18:01:59.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:01:59.385Z] [2023-02-22T18:01:59.385Z] Login Succeeded [2023-02-22T18:01:59.385Z] nexus3.edgexfoundry.org:10002 [2023-02-22T18:01:59.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:01:59.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:01:59.385Z] Configure a credential helper to remove this warning. See [2023-02-22T18:01:59.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:01:59.385Z] [2023-02-22T18:01:59.385Z] Login Succeeded [2023-02-22T18:01:59.385Z] nexus3.edgexfoundry.org:10003 [2023-02-22T18:01:59.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:01:59.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:01:59.644Z] Configure a credential helper to remove this warning. See [2023-02-22T18:01:59.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:01:59.644Z] [2023-02-22T18:01:59.644Z] Login Succeeded [2023-02-22T18:01:59.644Z] nexus3.edgexfoundry.org:10004 [2023-02-22T18:01:59.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:01:59.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:01:59.644Z] Configure a credential helper to remove this warning. See [2023-02-22T18:01:59.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:01:59.644Z] [2023-02-22T18:01:59.644Z] Login Succeeded [2023-02-22T18:01:59.644Z] docker.io [2023-02-22T18:01:59.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:01:59.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:01:59.902Z] Configure a credential helper to remove this warning. See [2023-02-22T18:01:59.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:01:59.902Z] [2023-02-22T18:01:59.902Z] Login Succeeded [2023-02-22T18:01:59.902Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T18:01:59.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T18:01:59.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T18:01:59.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T18:01:59.977Z] ========================================================= [2023-02-22T18:01:59.977Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-22T18:01:59.977Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:02:00.281Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-22T18:02:00.281Z] Sending build context to Docker daemon 10.56MB [2023-02-22T18:02:00.281Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T18:02:00.281Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-22T18:02:00.281Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-22T18:02:00.281Z] 213ec9aee27d: Pulling fs layer [2023-02-22T18:02:00.281Z] 4583459ba037: Pulling fs layer [2023-02-22T18:02:00.281Z] 93c1e223e6f2: Pulling fs layer [2023-02-22T18:02:00.281Z] 53926ce57604: Pulling fs layer [2023-02-22T18:02:00.281Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-22T18:02:00.281Z] 22ff95d597cd: Pulling fs layer [2023-02-22T18:02:00.281Z] 12d6caf4c0d1: Pulling fs layer [2023-02-22T18:02:00.281Z] 96b7cbca73a9: Pulling fs layer [2023-02-22T18:02:00.281Z] a7acece74701: Pulling fs layer [2023-02-22T18:02:00.281Z] 53926ce57604: Waiting [2023-02-22T18:02:00.281Z] 21b2b0c7a3f4: Waiting [2023-02-22T18:02:00.281Z] 12d6caf4c0d1: Waiting [2023-02-22T18:02:00.281Z] 96b7cbca73a9: Waiting [2023-02-22T18:02:00.281Z] a7acece74701: Waiting [2023-02-22T18:02:00.281Z] 22ff95d597cd: Waiting [2023-02-22T18:02:00.281Z] 93c1e223e6f2: Download complete [2023-02-22T18:02:00.282Z] 4583459ba037: Download complete [2023-02-22T18:02:00.545Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-22T18:02:00.545Z] 21b2b0c7a3f4: Download complete [2023-02-22T18:02:00.545Z] 22ff95d597cd: Verifying Checksum [2023-02-22T18:02:00.545Z] 22ff95d597cd: Download complete [2023-02-22T18:02:00.545Z] 213ec9aee27d: Verifying Checksum [2023-02-22T18:02:00.545Z] 213ec9aee27d: Download complete [2023-02-22T18:02:00.545Z] 12d6caf4c0d1: Download complete [2023-02-22T18:02:00.545Z] 213ec9aee27d: Pull complete [2023-02-22T18:02:00.816Z] 4583459ba037: Pull complete [2023-02-22T18:02:00.816Z] 93c1e223e6f2: Pull complete [2023-02-22T18:02:01.078Z] a7acece74701: Verifying Checksum [2023-02-22T18:02:01.078Z] a7acece74701: Download complete [2023-02-22T18:02:01.338Z] 53926ce57604: Verifying Checksum [2023-02-22T18:02:01.338Z] 53926ce57604: Download complete [2023-02-22T18:02:01.338Z] 96b7cbca73a9: Verifying Checksum [2023-02-22T18:02:01.338Z] 96b7cbca73a9: Download complete [2023-02-22T18:02:05.537Z] 53926ce57604: Pull complete [2023-02-22T18:02:05.537Z] 21b2b0c7a3f4: Pull complete [2023-02-22T18:02:05.537Z] 22ff95d597cd: Pull complete [2023-02-22T18:02:05.537Z] 12d6caf4c0d1: Pull complete [2023-02-22T18:02:07.434Z] 96b7cbca73a9: Pull complete [2023-02-22T18:02:08.369Z] a7acece74701: Pull complete [2023-02-22T18:02:08.369Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-22T18:02:08.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-22T18:02:08.369Z] ---> db6d94c90886 [2023-02-22T18:02:08.369Z] Step 3/10 : ARG MAKE=make build [2023-02-22T18:02:09.765Z] ---> Running in 00f8a2b474b1 [2023-02-22T18:02:10.028Z] Removing intermediate container 00f8a2b474b1 [2023-02-22T18:02:10.028Z] ---> 6fe5b0c20b91 [2023-02-22T18:02:10.028Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-22T18:02:10.028Z] ---> Running in a3f573d5fa85 [2023-02-22T18:02:10.028Z] Removing intermediate container a3f573d5fa85 [2023-02-22T18:02:10.028Z] ---> 3b95e1d9541b [2023-02-22T18:02:10.028Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-22T18:02:10.028Z] ---> Running in b3ff9254ee2d [2023-02-22T18:02:10.286Z] Removing intermediate container b3ff9254ee2d [2023-02-22T18:02:10.286Z] ---> 577d5ee80b3f [2023-02-22T18:02:10.286Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-22T18:02:10.286Z] ---> Running in d2e8569641a0 [2023-02-22T18:02:10.545Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T18:02:10.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T18:02:11.063Z] OK: 211 MiB in 51 packages [2023-02-22T18:02:11.998Z] Removing intermediate container d2e8569641a0 [2023-02-22T18:02:11.998Z] ---> bc70b1d34079 [2023-02-22T18:02:11.998Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-22T18:02:11.998Z] ---> aa092f7b9b57 [2023-02-22T18:02:11.998Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T18:02:11.998Z] ---> Running in 2638db94e79f [2023-02-22T18:02:14.031Z] Still waiting to schedule task [2023-02-22T18:02:14.031Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-22T18:02:50.717Z] Removing intermediate container 2638db94e79f [2023-02-22T18:02:50.717Z] ---> 871e523ed1c4 [2023-02-22T18:02:50.717Z] Step 9/10 : COPY . . [2023-02-22T18:02:50.717Z] ---> 1c7836fb8274 [2023-02-22T18:02:50.717Z] Step 10/10 : RUN ${MAKE} [2023-02-22T18:02:50.717Z] ---> Running in 3dded3e6daa0 [2023-02-22T18:02:50.717Z] noop [2023-02-22T18:02:50.717Z] Removing intermediate container 3dded3e6daa0 [2023-02-22T18:02:50.717Z] ---> cafefade7968 [2023-02-22T18:02:50.717Z] Successfully built cafefade7968 [2023-02-22T18:02:50.717Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:02:51.021Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T18:02:51.022Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T18:02:51.089Z] prd-ubuntu20.04-docker-8c-8g-7081 does not seem to be running inside a container [2023-02-22T18:02:51.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-22T18:02:51.495Z] $ docker top d8d2c408662beb7ad1f7b384df9eab14e555ac0f107adf00ca908c43bb1aa99e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T18:02:51.840Z] + go version [2023-02-22T18:02:51.840Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-22T18:02:51.854Z] $ docker stop --time=1 d8d2c408662beb7ad1f7b384df9eab14e555ac0f107adf00ca908c43bb1aa99e [2023-02-22T18:02:53.182Z] $ docker rm -f --volumes d8d2c408662beb7ad1f7b384df9eab14e555ac0f107adf00ca908c43bb1aa99e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:02:53.581Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T18:02:53.582Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T18:02:53.655Z] prd-ubuntu20.04-docker-8c-8g-7081 does not seem to be running inside a container [2023-02-22T18:02:53.688Z] $ 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-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-22T18:02:54.044Z] $ docker top 485f3fd9605e56d3c99a5e73e4567152f998a7d880e124d75192c335ba042a15 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T18:02:54.385Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1343 [Pipeline] fileExists [Pipeline] sh [2023-02-22T18:02:54.686Z] + make test [2023-02-22T18:02:54.686Z] go test -race -coverprofile=coverage.out ./... [2023-02-22T18:03:01.248Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-22T18:03:16.196Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-22T18:03:16.196Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-22T18:03:16.196Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-22T18:03:16.196Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-22T18:03:16.196Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-22T18:03:16.196Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.057s coverage: 27.6% of statements [2023-02-22T18:03:16.196Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.077s coverage: 78.9% of statements [2023-02-22T18:03:16.196Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-22T18:03:16.196Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.094s coverage: 86.0% of statements [2023-02-22T18:03:16.196Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-22T18:03:16.196Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-22T18:03:16.196Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.111s coverage: 77.4% of statements [2023-02-22T18:03:16.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-22T18:03:16.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-22T18:03:16.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-22T18:03:16.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.109s coverage: 65.2% of statements [2023-02-22T18:03:16.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-22T18:03:16.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-22T18:03:16.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.745s coverage: 89.2% of statements [2023-02-22T18:03:16.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-22T18:03:16.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.7% of statements [2023-02-22T18:03:16.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-22T18:03:34.271Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-22T18:03:34.271Z] GO111MODULE=on go vet ./... [2023-02-22T18:03:36.171Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-22T18:03:36.430Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-22T18:03:36.430Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-22T18:03:36.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-22T18:03:36.454Z] $ docker stop --time=1 485f3fd9605e56d3c99a5e73e4567152f998a7d880e124d75192c335ba042a15 [2023-02-22T18:03:38.363Z] $ docker rm -f --volumes 485f3fd9605e56d3c99a5e73e4567152f998a7d880e124d75192c335ba042a15 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T18:03:38.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-22T18:03:38.914Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-22T18:03:39.442Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-22T18:03:39.727Z] + ls -al . [2023-02-22T18:03:39.727Z] total 272 [2023-02-22T18:03:39.727Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 22 18:02 . [2023-02-22T18:03:39.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 18:01 .. [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 18:01 .dockerignore [2023-02-22T18:03:39.727Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 18:03 .git [2023-02-22T18:03:39.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 18:01 .github [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 18:01 .gitignore [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 18:01 .golangci.yml [2023-02-22T18:03:39.727Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 18:01 .semver [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 18:01 CHANGELOG.md [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 18:01 GOVERNANCE.md [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 18:01 Jenkinsfile [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 18:01 LICENSE [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 18:01 Makefile [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 18:01 OWNERS.md [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 18:01 README.md [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 18:01 VERSION [2023-02-22T18:03:39.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 18:01 bin [2023-02-22T18:03:39.727Z] -rw-r--r-- 1 jenkins jenkins 98530 Feb 22 18:03 coverage.out [2023-02-22T18:03:39.727Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 18:01 example [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 18:01 go.mod [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 18:01 go.sum [2023-02-22T18:03:39.727Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 18:01 internal [2023-02-22T18:03:39.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 18:01 openapi [2023-02-22T18:03:39.727Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 18:01 pkg [2023-02-22T18:03:39.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 18:01 snap [2023-02-22T18:03:39.727Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 18:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:03:40.035Z] + 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=6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a --label arch=amd64 --label version=0.0.0 . [2023-02-22T18:03:40.035Z] Sending build context to Docker daemon 10.66MB [2023-02-22T18:03:40.035Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T18:03:40.035Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-22T18:03:40.035Z] ---> cafefade7968 [2023-02-22T18:03:40.035Z] Step 3/23 : ARG MAKE=make build [2023-02-22T18:03:40.035Z] ---> Running in 0b15ff1d4c9c [2023-02-22T18:03:40.298Z] Removing intermediate container 0b15ff1d4c9c [2023-02-22T18:03:40.298Z] ---> ea87fbc2e8a0 [2023-02-22T18:03:40.298Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-22T18:03:40.298Z] ---> Running in 737074847cb9 [2023-02-22T18:03:40.298Z] Removing intermediate container 737074847cb9 [2023-02-22T18:03:40.298Z] ---> 961babf35246 [2023-02-22T18:03:40.298Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-22T18:03:40.298Z] ---> Running in ad68a779b281 [2023-02-22T18:03:40.557Z] Removing intermediate container ad68a779b281 [2023-02-22T18:03:40.557Z] ---> ad11859f36c1 [2023-02-22T18:03:40.557Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-22T18:03:40.557Z] ---> Running in 2335148976a9 [2023-02-22T18:03:40.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T18:03:41.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T18:03:41.333Z] OK: 211 MiB in 51 packages [2023-02-22T18:03:41.591Z] Removing intermediate container 2335148976a9 [2023-02-22T18:03:41.591Z] ---> 451411f7ecb6 [2023-02-22T18:03:41.591Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-22T18:03:41.591Z] ---> b4a78b0418ec [2023-02-22T18:03:41.591Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T18:03:41.850Z] ---> Running in d7efa51ad85d [2023-02-22T18:03:42.786Z] Removing intermediate container d7efa51ad85d [2023-02-22T18:03:42.786Z] ---> 63ff9ff856ca [2023-02-22T18:03:42.786Z] Step 9/23 : COPY . . [2023-02-22T18:03:43.043Z] ---> 9d0f09c7e128 [2023-02-22T18:03:43.043Z] Step 10/23 : RUN ${MAKE} [2023-02-22T18:03:43.043Z] ---> Running in a4521033cc89 [2023-02-22T18:03:43.302Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-22T18:04:01.368Z] Removing intermediate container a4521033cc89 [2023-02-22T18:04:01.368Z] ---> 040c7a1d83da [2023-02-22T18:04:01.368Z] Step 11/23 : FROM alpine:3.16 [2023-02-22T18:04:01.368Z] 3.16: Pulling from library/alpine [2023-02-22T18:04:01.625Z] ef5531b6e74e: Pulling fs layer [2023-02-22T18:04:01.883Z] ef5531b6e74e: Verifying Checksum [2023-02-22T18:04:01.883Z] ef5531b6e74e: Download complete [2023-02-22T18:04:02.141Z] ef5531b6e74e: Pull complete [2023-02-22T18:04:02.141Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-22T18:04:02.141Z] Status: Downloaded newer image for alpine:3.16 [2023-02-22T18:04:02.141Z] ---> dfd21b5a31f5 [2023-02-22T18:04:02.141Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-22T18:04:02.141Z] ---> Running in 5a8c77ad1377 [2023-02-22T18:04:02.401Z] Removing intermediate container 5a8c77ad1377 [2023-02-22T18:04:02.401Z] ---> 8ffa7160c263 [2023-02-22T18:04:02.401Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-22T18:04:02.401Z] ---> Running in c1e0b7f782d4 [2023-02-22T18:04:02.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T18:04:02.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T18:04:02.918Z] OK: 6 MiB in 14 packages [2023-02-22T18:04:03.175Z] Removing intermediate container c1e0b7f782d4 [2023-02-22T18:04:03.175Z] ---> 386a96b67680 [2023-02-22T18:04:03.175Z] Step 14/23 : WORKDIR / [2023-02-22T18:04:03.175Z] ---> Running in e05db24fea07 [2023-02-22T18:04:03.431Z] Removing intermediate container e05db24fea07 [2023-02-22T18:04:03.431Z] ---> b4dffcc5fcdb [2023-02-22T18:04:03.431Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-22T18:04:03.431Z] ---> 0bef18aeb075 [2023-02-22T18:04:03.431Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-22T18:04:04.000Z] ---> 7d45ef91996b [2023-02-22T18:04:04.000Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-22T18:04:04.263Z] ---> 4001a8c3238b [2023-02-22T18:04:04.263Z] Step 18/23 : EXPOSE 59999 [2023-02-22T18:04:04.263Z] ---> Running in a7cced9c73a0 [2023-02-22T18:04:04.263Z] Removing intermediate container a7cced9c73a0 [2023-02-22T18:04:04.263Z] ---> 2aa8abcbf6f9 [2023-02-22T18:04:04.263Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-22T18:04:04.263Z] ---> Running in ae472d968e4d [2023-02-22T18:04:04.263Z] Removing intermediate container ae472d968e4d [2023-02-22T18:04:04.263Z] ---> 381fe27f8ae2 [2023-02-22T18:04:04.263Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-22T18:04:04.521Z] ---> Running in 1c2133483093 [2023-02-22T18:04:04.521Z] Removing intermediate container 1c2133483093 [2023-02-22T18:04:04.521Z] ---> 07782268c32d [2023-02-22T18:04:04.521Z] Step 21/23 : LABEL arch=amd64 [2023-02-22T18:04:04.521Z] ---> Running in e943a8abd91e [2023-02-22T18:04:04.521Z] Removing intermediate container e943a8abd91e [2023-02-22T18:04:04.521Z] ---> e97e378652a8 [2023-02-22T18:04:04.521Z] Step 22/23 : LABEL git_sha=6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [2023-02-22T18:04:04.521Z] ---> Running in 47ea86974c3f [2023-02-22T18:04:04.779Z] Removing intermediate container 47ea86974c3f [2023-02-22T18:04:04.779Z] ---> 82003536dc53 [2023-02-22T18:04:04.779Z] Step 23/23 : LABEL version=0.0.0 [2023-02-22T18:04:04.779Z] ---> Running in 69ddf007f0ad [2023-02-22T18:04:04.779Z] Removing intermediate container 69ddf007f0ad [2023-02-22T18:04:04.779Z] ---> 9cccd7fad4da [2023-02-22T18:04:04.779Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-22T18:04:04.779Z] Successfully built 9cccd7fad4da [2023-02-22T18:04:04.779Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:04:05.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T18:04:05.214Z] [2023-02-22T18:04:05.214Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:04:05.513Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T18:04:05.513Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-22T18:04:05.513Z] 5eb5b503b376: Pulling fs layer [2023-02-22T18:04:05.513Z] 5c69ac0246d0: Pulling fs layer [2023-02-22T18:04:05.513Z] ec43610c2a17: Pulling fs layer [2023-02-22T18:04:05.513Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-22T18:04:05.513Z] 33b1e0a273af: Pulling fs layer [2023-02-22T18:04:05.513Z] 5d3b04190fa2: Pulling fs layer [2023-02-22T18:04:05.513Z] 2f39f015ded8: Pulling fs layer [2023-02-22T18:04:05.513Z] 3a2ae6a8a46f: Waiting [2023-02-22T18:04:05.513Z] 33b1e0a273af: Waiting [2023-02-22T18:04:05.513Z] 5d3b04190fa2: Waiting [2023-02-22T18:04:05.513Z] 2f39f015ded8: Waiting [2023-02-22T18:04:05.514Z] 5c69ac0246d0: Download complete [2023-02-22T18:04:05.514Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-22T18:04:05.514Z] 3a2ae6a8a46f: Download complete [2023-02-22T18:04:05.776Z] 33b1e0a273af: Verifying Checksum [2023-02-22T18:04:05.776Z] 33b1e0a273af: Download complete [2023-02-22T18:04:05.776Z] 5d3b04190fa2: Verifying Checksum [2023-02-22T18:04:05.776Z] 5d3b04190fa2: Download complete [2023-02-22T18:04:05.776Z] ec43610c2a17: Download complete [2023-02-22T18:04:05.776Z] 5eb5b503b376: Verifying Checksum [2023-02-22T18:04:05.776Z] 5eb5b503b376: Download complete [2023-02-22T18:04:06.346Z] 2f39f015ded8: Download complete [2023-02-22T18:04:06.911Z] 5eb5b503b376: Pull complete [2023-02-22T18:04:07.169Z] 5c69ac0246d0: Pull complete [2023-02-22T18:04:07.428Z] ec43610c2a17: Pull complete [2023-02-22T18:04:07.686Z] 3a2ae6a8a46f: Pull complete [2023-02-22T18:04:07.686Z] 33b1e0a273af: Pull complete [2023-02-22T18:04:07.944Z] 5d3b04190fa2: Pull complete [2023-02-22T18:04:12.127Z] 2f39f015ded8: Pull complete [2023-02-22T18:04:12.127Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-22T18:04:12.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T18:04:12.127Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T18:04:12.202Z] prd-ubuntu20.04-docker-8c-8g-7081 does not seem to be running inside a container [2023-02-22T18:04:12.235Z] $ 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-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@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-02-22T18:04:13.653Z] $ docker top bf9f9f94261af8108f84b4bd023203f4fa1c9d08ef8aba62fe94289470675b16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T18:04:14.024Z] ---> job-cost.sh [2023-02-22T18:04:14.024Z] lf-activate-venv: SKIPPING [2023-02-22T18:04:14.024Z] INFO: No Stack... [2023-02-22T18:04:14.283Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T18:04:14.543Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T18:04:14.831Z] + cut -d, -f6 [2023-02-22T18:04:14.831Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives/cost.csv [Pipeline] lock [2023-02-22T18:04:14.848Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] [2023-02-22T18:04:14.857Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] did not exist. Created. [2023-02-22T18:04:14.857Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-22T18:04:15.153Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-22T18:04:15.186Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T18:04:15.192Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T18:04:15.215Z] $ docker stop --time=1 bf9f9f94261af8108f84b4bd023203f4fa1c9d08ef8aba62fe94289470675b16 [2023-02-22T18:04:16.386Z] $ docker rm -f --volumes bf9f9f94261af8108f84b4bd023203f4fa1c9d08ef8aba62fe94289470675b16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-22T18:05:18.177Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7091 in /w/workspace/gexfoundry_device-sdk-go_PR-1343 [Pipeline] { [Pipeline] ws [2023-02-22T18:05:18.189Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-22T18:05:18.230Z] The recommended git tool is: git [2023-02-22T18:05:25.492Z] using credential edgex-jenkins-ssh [2023-02-22T18:05:25.516Z] Cloning the remote Git repository [2023-02-22T18:05:25.583Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-22T18:05:25.680Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-22T18:05:25.877Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-22T18:05:25.879Z] > git --version # timeout=10 [2023-02-22T18:05:25.902Z] > git --version # 'git version 2.25.1' [2023-02-22T18:05:25.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T18:05:25.974Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T18:05:28.887Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-22T18:05:28.913Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T18:05:30.863Z] Merging remotes/origin/main commit 5827dcbf4716f89f27efa4d61bbd9e5ed358461d into PR head commit 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [2023-02-22T18:05:31.153Z] Merge succeeded, producing 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [2023-02-22T18:05:31.154Z] Checking out Revision 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a (PR-1343) [2023-02-22T18:05:30.027Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-22T18:05:30.079Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-22T18:05:30.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T18:05:30.099Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1343/head:refs/remotes/origin/PR-1343 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-22T18:05:30.886Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T18:05:30.922Z] > git checkout -f 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a # timeout=10 [2023-02-22T18:05:31.045Z] > git remote # timeout=10 [2023-02-22T18:05:31.064Z] > git config --get remote.origin.url # timeout=10 [2023-02-22T18:05:31.083Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T18:05:31.099Z] > git merge 5827dcbf4716f89f27efa4d61bbd9e5ed358461d # timeout=10 [2023-02-22T18:05:31.129Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-22T18:05:31.164Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T18:05:31.182Z] > git checkout -f 6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a # timeout=10 [2023-02-22T18:05:34.832Z] Commit message: "feat!: Apply JWT authentication to incoming calls" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T18:05:35.825Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-22T18:05:35.826Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T18:05:35.826Z] Dload Upload Total Spent Left Speed [2023-02-22T18:05:35.826Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2023-02-22T18:05:36.624Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-22T18:05:36.979Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-22T18:05:36.979Z] + sudo tee /etc/docker/daemon.new [2023-02-22T18:05:36.979Z] { [2023-02-22T18:05:36.979Z] "registry-mirrors": [ [2023-02-22T18:05:36.979Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-22T18:05:36.979Z] ], [2023-02-22T18:05:36.979Z] "bip": "10.250.0.254/24", [2023-02-22T18:05:36.979Z] "hosts": [ [2023-02-22T18:05:36.979Z] "tcp://0.0.0.0:5555", [2023-02-22T18:05:36.979Z] "unix:///var/run/docker.sock" [2023-02-22T18:05:36.979Z] ], [2023-02-22T18:05:36.979Z] "mtu": 1458, [2023-02-22T18:05:36.979Z] "selinux-enabled": true, [2023-02-22T18:05:36.979Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-22T18:05:36.979Z] } [Pipeline] sh [2023-02-22T18:05:37.339Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-22T18:05:37.696Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T18:05:55.992Z] provisioning config files... [2023-02-22T18:05:56.023Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config10250420451421102001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T18:05:56.396Z] ---> docker-login.sh [2023-02-22T18:05:56.396Z] nexus3.edgexfoundry.org:10001 [2023-02-22T18:05:56.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:05:57.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:05:57.267Z] Configure a credential helper to remove this warning. See [2023-02-22T18:05:57.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:05:57.267Z] [2023-02-22T18:05:57.267Z] Login Succeeded [2023-02-22T18:05:57.267Z] nexus3.edgexfoundry.org:10002 [2023-02-22T18:05:57.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:05:57.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:05:57.543Z] Configure a credential helper to remove this warning. See [2023-02-22T18:05:57.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:05:57.543Z] [2023-02-22T18:05:57.543Z] Login Succeeded [2023-02-22T18:05:57.543Z] nexus3.edgexfoundry.org:10003 [2023-02-22T18:05:57.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:05:58.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:05:58.087Z] Configure a credential helper to remove this warning. See [2023-02-22T18:05:58.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:05:58.087Z] [2023-02-22T18:05:58.087Z] Login Succeeded [2023-02-22T18:05:58.087Z] nexus3.edgexfoundry.org:10004 [2023-02-22T18:05:58.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:05:58.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:05:58.447Z] Configure a credential helper to remove this warning. See [2023-02-22T18:05:58.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:05:58.447Z] [2023-02-22T18:05:58.447Z] Login Succeeded [2023-02-22T18:05:58.447Z] docker.io [2023-02-22T18:05:58.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T18:05:58.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T18:05:58.991Z] Configure a credential helper to remove this warning. See [2023-02-22T18:05:58.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T18:05:58.991Z] [2023-02-22T18:05:58.991Z] Login Succeeded [2023-02-22T18:05:58.991Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T18:05:59.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T18:05:59.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T18:05:59.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T18:05:59.407Z] ========================================================= [2023-02-22T18:05:59.407Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-22T18:05:59.407Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:05:59.760Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-22T18:06:00.030Z] Sending build context to Docker daemon 5.686MB [2023-02-22T18:06:00.307Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T18:06:00.307Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-22T18:06:00.307Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-22T18:06:00.307Z] 9b18e9b68314: Pulling fs layer [2023-02-22T18:06:00.307Z] 35d82f9e3411: Pulling fs layer [2023-02-22T18:06:00.307Z] e16973657156: Pulling fs layer [2023-02-22T18:06:00.307Z] fc693d55d65f: Pulling fs layer [2023-02-22T18:06:00.307Z] 7e9fc2657dce: Pulling fs layer [2023-02-22T18:06:00.307Z] dda99020689f: Pulling fs layer [2023-02-22T18:06:00.307Z] db1c61fa0a46: Pulling fs layer [2023-02-22T18:06:00.307Z] 891c053d2c06: Pulling fs layer [2023-02-22T18:06:00.307Z] fc693d55d65f: Waiting [2023-02-22T18:06:00.307Z] dda99020689f: Waiting [2023-02-22T18:06:00.307Z] db1c61fa0a46: Waiting [2023-02-22T18:06:00.307Z] 7e9fc2657dce: Waiting [2023-02-22T18:06:00.307Z] 891c053d2c06: Waiting [2023-02-22T18:06:00.307Z] e16973657156: Download complete [2023-02-22T18:06:00.307Z] 35d82f9e3411: Verifying Checksum [2023-02-22T18:06:00.307Z] 35d82f9e3411: Download complete [2023-02-22T18:06:00.307Z] 7e9fc2657dce: Verifying Checksum [2023-02-22T18:06:00.307Z] 7e9fc2657dce: Download complete [2023-02-22T18:06:00.589Z] dda99020689f: Verifying Checksum [2023-02-22T18:06:00.589Z] dda99020689f: Download complete [2023-02-22T18:06:00.589Z] 9b18e9b68314: Verifying Checksum [2023-02-22T18:06:00.589Z] 9b18e9b68314: Download complete [2023-02-22T18:06:02.019Z] 9b18e9b68314: Pull complete [2023-02-22T18:06:02.019Z] 891c053d2c06: Verifying Checksum [2023-02-22T18:06:02.019Z] 891c053d2c06: Download complete [2023-02-22T18:06:02.292Z] 35d82f9e3411: Pull complete [2023-02-22T18:06:02.570Z] e16973657156: Pull complete [2023-02-22T18:06:04.033Z] db1c61fa0a46: Verifying Checksum [2023-02-22T18:06:04.033Z] db1c61fa0a46: Download complete [2023-02-22T18:06:04.303Z] fc693d55d65f: Verifying Checksum [2023-02-22T18:06:04.303Z] fc693d55d65f: Download complete [2023-02-22T18:06:16.660Z] fc693d55d65f: Pull complete [2023-02-22T18:06:16.660Z] 7e9fc2657dce: Pull complete [2023-02-22T18:06:16.660Z] dda99020689f: Pull complete [2023-02-22T18:06:22.043Z] db1c61fa0a46: Pull complete [2023-02-22T18:06:24.649Z] 891c053d2c06: Pull complete [2023-02-22T18:06:24.649Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-22T18:06:24.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-22T18:06:24.649Z] ---> f96f9c87975a [2023-02-22T18:06:24.649Z] Step 3/10 : ARG MAKE=make build [2023-02-22T18:06:26.610Z] ---> Running in e464864778d7 [2023-02-22T18:06:26.610Z] Removing intermediate container e464864778d7 [2023-02-22T18:06:26.610Z] ---> 1871ad872f71 [2023-02-22T18:06:26.610Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-22T18:06:26.879Z] ---> Running in 642590ace340 [2023-02-22T18:06:27.148Z] Removing intermediate container 642590ace340 [2023-02-22T18:06:27.148Z] ---> debace8bc02a [2023-02-22T18:06:27.148Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-22T18:06:27.148Z] ---> Running in d6823f92dcfc [2023-02-22T18:06:27.423Z] Removing intermediate container d6823f92dcfc [2023-02-22T18:06:27.423Z] ---> 8c9ebb350ef7 [2023-02-22T18:06:27.423Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-22T18:06:27.695Z] ---> Running in d8e350dd29d1 [2023-02-22T18:06:29.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T18:06:29.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T18:06:30.818Z] OK: 221 MiB in 51 packages [2023-02-22T18:06:31.410Z] Removing intermediate container d8e350dd29d1 [2023-02-22T18:06:31.410Z] ---> 0986b9734242 [2023-02-22T18:06:31.410Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-22T18:06:32.009Z] ---> 7c040789c75e [2023-02-22T18:06:32.009Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T18:06:32.293Z] ---> Running in a430bed92e0f [2023-02-22T18:07:54.012Z] Removing intermediate container a430bed92e0f [2023-02-22T18:07:54.012Z] ---> a04d71f6e69f [2023-02-22T18:07:54.012Z] Step 9/10 : COPY . . [2023-02-22T18:07:54.012Z] ---> 80e15cb99f36 [2023-02-22T18:07:54.012Z] Step 10/10 : RUN ${MAKE} [2023-02-22T18:07:54.012Z] ---> Running in 5b6c30ec2f82 [2023-02-22T18:07:54.281Z] noop [2023-02-22T18:07:55.253Z] Removing intermediate container 5b6c30ec2f82 [2023-02-22T18:07:55.253Z] ---> 48a2a1bc7c6c [2023-02-22T18:07:55.253Z] Successfully built 48a2a1bc7c6c [2023-02-22T18:07:55.253Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:07:55.619Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T18:07:55.619Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T18:07:55.841Z] prd-ubuntu20.04-docker-arm64-4c-16g-7091 does not seem to be running inside a container [2023-02-22T18:07:55.922Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-22T18:07:57.226Z] $ docker top 5ce3d93f55dd2511d9ca5249f2ccf1b7716beb8378d1044421792d3b03fe476e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T18:07:58.082Z] + go version [2023-02-22T18:07:58.082Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-22T18:07:58.105Z] $ docker stop --time=1 5ce3d93f55dd2511d9ca5249f2ccf1b7716beb8378d1044421792d3b03fe476e [2023-02-22T18:07:59.792Z] $ docker rm -f --volumes 5ce3d93f55dd2511d9ca5249f2ccf1b7716beb8378d1044421792d3b03fe476e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:08:00.337Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T18:08:00.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T18:08:00.532Z] prd-ubuntu20.04-docker-arm64-4c-16g-7091 does not seem to be running inside a container [2023-02-22T18:08:00.614Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-22T18:08:01.873Z] $ docker top d47aa13d9a2a6da9cbb2e5785f880a98ed1ca8c136b463d0c7de5ffdcd80688e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T18:08:02.685Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-22T18:08:03.353Z] + make test [2023-02-22T18:08:03.353Z] go test -race -coverprofile=coverage.out ./... [2023-02-22T18:08:50.263Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-22T18:11:27.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-22T18:11:27.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-22T18:11:27.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-22T18:11:27.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-22T18:11:27.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-22T18:11:27.073Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.263s coverage: 27.6% of statements [2023-02-22T18:11:27.073Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.315s coverage: 78.9% of statements [2023-02-22T18:11:27.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-22T18:11:31.343Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.537s coverage: 86.0% of statements [2023-02-22T18:11:31.343Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-22T18:11:31.343Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-22T18:11:33.327Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.550s coverage: 77.4% of statements [2023-02-22T18:11:33.327Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-22T18:11:33.327Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-22T18:11:33.327Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-22T18:11:33.327Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.491s coverage: 65.2% of statements [2023-02-22T18:11:33.327Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-22T18:11:33.327Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-22T18:11:34.750Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.560s coverage: 89.2% of statements [2023-02-22T18:11:34.750Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-22T18:11:34.750Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.321s coverage: 4.7% of statements [2023-02-22T18:11:34.750Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-22T18:11:35.336Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-22T18:11:35.336Z] GO111MODULE=on go vet ./... [2023-02-22T18:13:27.100Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-22T18:13:27.100Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-22T18:13:27.100Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-22T18:13:27.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-22T18:13:27.137Z] $ docker stop --time=1 d47aa13d9a2a6da9cbb2e5785f880a98ed1ca8c136b463d0c7de5ffdcd80688e [2023-02-22T18:13:30.188Z] $ docker rm -f --volumes d47aa13d9a2a6da9cbb2e5785f880a98ed1ca8c136b463d0c7de5ffdcd80688e [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T18:13:31.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-22T18:13:31.716Z] Warning: overwriting stash ‘coverage-report’ [2023-02-22T18:13:32.356Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T18:13:32.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-22T18:13:33.067Z] + ls -al . [2023-02-22T18:13:33.067Z] total 268 [2023-02-22T18:13:33.067Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 18:08 . [2023-02-22T18:13:33.067Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 18:05 .. [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 18:05 .dockerignore [2023-02-22T18:13:33.067Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 18:05 .git [2023-02-22T18:13:33.067Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 18:05 .github [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 18:05 .gitignore [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 18:05 .golangci.yml [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 18:05 CHANGELOG.md [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 18:05 GOVERNANCE.md [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 18:05 Jenkinsfile [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 18:05 LICENSE [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 18:05 Makefile [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 18:05 OWNERS.md [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 18:05 README.md [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 18:01 VERSION [2023-02-22T18:13:33.067Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 18:05 bin [2023-02-22T18:13:33.067Z] -rw-r--r-- 1 jenkins jenkins 98530 Feb 22 18:11 coverage.out [2023-02-22T18:13:33.067Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 18:05 example [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 18:05 go.mod [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 18:05 go.sum [2023-02-22T18:13:33.067Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 18:05 internal [2023-02-22T18:13:33.067Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 18:05 openapi [2023-02-22T18:13:33.067Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 18:05 pkg [2023-02-22T18:13:33.067Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 18:05 snap [2023-02-22T18:13:33.067Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 18:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:13:33.456Z] + 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=6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a --label arch=arm64 --label version=0.0.0 . [2023-02-22T18:13:33.725Z] Sending build context to Docker daemon 5.785MB [2023-02-22T18:13:33.993Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T18:13:33.993Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-22T18:13:33.993Z] ---> 48a2a1bc7c6c [2023-02-22T18:13:33.993Z] Step 3/23 : ARG MAKE=make build [2023-02-22T18:13:33.993Z] ---> Running in 12370949e207 [2023-02-22T18:13:34.264Z] Removing intermediate container 12370949e207 [2023-02-22T18:13:34.264Z] ---> d41efa3c67d9 [2023-02-22T18:13:34.264Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-22T18:13:34.536Z] ---> Running in b990ed8395e6 [2023-02-22T18:13:34.817Z] Removing intermediate container b990ed8395e6 [2023-02-22T18:13:34.817Z] ---> 23e839865dbf [2023-02-22T18:13:34.817Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-22T18:13:34.817Z] ---> Running in 15c04851d003 [2023-02-22T18:13:35.096Z] Removing intermediate container 15c04851d003 [2023-02-22T18:13:35.096Z] ---> 88817aa9de03 [2023-02-22T18:13:35.096Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-22T18:13:35.375Z] ---> Running in 5866db8a2330 [2023-02-22T18:13:36.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T18:13:36.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T18:13:38.062Z] OK: 221 MiB in 51 packages [2023-02-22T18:13:38.650Z] Removing intermediate container 5866db8a2330 [2023-02-22T18:13:38.650Z] ---> 4601bf52dd3a [2023-02-22T18:13:38.650Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-22T18:13:39.237Z] ---> 9a7bc4b73cbd [2023-02-22T18:13:39.237Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T18:13:39.237Z] ---> Running in f07efd091e32 [2023-02-22T18:13:43.499Z] Removing intermediate container f07efd091e32 [2023-02-22T18:13:43.499Z] ---> c28f660c7d54 [2023-02-22T18:13:43.499Z] Step 9/23 : COPY . . [2023-02-22T18:13:44.460Z] ---> 69123c89f5c6 [2023-02-22T18:13:44.460Z] Step 10/23 : RUN ${MAKE} [2023-02-22T18:13:44.460Z] ---> Running in 1ad1964e7bf2 [2023-02-22T18:13:45.427Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-22T18:15:53.569Z] Removing intermediate container 1ad1964e7bf2 [2023-02-22T18:15:53.569Z] ---> 7b9f2c5e6e85 [2023-02-22T18:15:53.569Z] Step 11/23 : FROM alpine:3.16 [2023-02-22T18:15:53.569Z] 3.16: Pulling from library/alpine [2023-02-22T18:15:53.569Z] 3760b48202b3: Pulling fs layer [2023-02-22T18:15:53.569Z] 3760b48202b3: Verifying Checksum [2023-02-22T18:15:53.569Z] 3760b48202b3: Download complete [2023-02-22T18:15:53.569Z] 3760b48202b3: Pull complete [2023-02-22T18:15:53.569Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-22T18:15:53.569Z] Status: Downloaded newer image for alpine:3.16 [2023-02-22T18:15:53.569Z] ---> 4c81e5bf8899 [2023-02-22T18:15:53.570Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-22T18:15:53.570Z] ---> Running in e6ea722622dd [2023-02-22T18:15:53.570Z] Removing intermediate container e6ea722622dd [2023-02-22T18:15:53.570Z] ---> 58e62151be70 [2023-02-22T18:15:53.570Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-22T18:15:53.570Z] ---> Running in 3d45fc5d5a98 [2023-02-22T18:15:53.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T18:15:53.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T18:15:53.570Z] OK: 5 MiB in 14 packages [2023-02-22T18:15:54.537Z] Removing intermediate container 3d45fc5d5a98 [2023-02-22T18:15:54.537Z] ---> 10b61ca4a50e [2023-02-22T18:15:54.537Z] Step 14/23 : WORKDIR / [2023-02-22T18:15:54.537Z] ---> Running in 35cfc7592fcd [2023-02-22T18:15:54.804Z] Removing intermediate container 35cfc7592fcd [2023-02-22T18:15:54.804Z] ---> ff76658d8766 [2023-02-22T18:15:54.804Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-22T18:15:55.392Z] ---> 65f76afd098e [2023-02-22T18:15:55.392Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-22T18:15:56.809Z] ---> f02fb33d82fd [2023-02-22T18:15:56.809Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-22T18:15:57.395Z] ---> e84cb9e21639 [2023-02-22T18:15:57.395Z] Step 18/23 : EXPOSE 59999 [2023-02-22T18:15:57.395Z] ---> Running in adb38d320b90 [2023-02-22T18:15:57.663Z] Removing intermediate container adb38d320b90 [2023-02-22T18:15:57.663Z] ---> a8c29d305b93 [2023-02-22T18:15:57.663Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-22T18:15:57.931Z] ---> Running in 47c21c569e8b [2023-02-22T18:15:58.197Z] Removing intermediate container 47c21c569e8b [2023-02-22T18:15:58.198Z] ---> 155a181c306b [2023-02-22T18:15:58.198Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-22T18:15:58.198Z] ---> Running in 90c4c428a0b3 [2023-02-22T18:15:58.466Z] Removing intermediate container 90c4c428a0b3 [2023-02-22T18:15:58.466Z] ---> a63da9085acd [2023-02-22T18:15:58.466Z] Step 21/23 : LABEL arch=arm64 [2023-02-22T18:15:58.466Z] ---> Running in 385c84db9ffd [2023-02-22T18:15:59.053Z] Removing intermediate container 385c84db9ffd [2023-02-22T18:15:59.053Z] ---> 4ccd4c50a093 [2023-02-22T18:15:59.053Z] Step 22/23 : LABEL git_sha=6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [2023-02-22T18:15:59.053Z] ---> Running in 33ef8daa8134 [2023-02-22T18:15:59.320Z] Removing intermediate container 33ef8daa8134 [2023-02-22T18:15:59.320Z] ---> afd5c0473381 [2023-02-22T18:15:59.320Z] Step 23/23 : LABEL version=0.0.0 [2023-02-22T18:15:59.320Z] ---> Running in bbfe6f74c87e [2023-02-22T18:15:59.590Z] Removing intermediate container bbfe6f74c87e [2023-02-22T18:15:59.590Z] ---> 20a68b039ae2 [2023-02-22T18:15:59.590Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-22T18:15:59.590Z] Successfully built 20a68b039ae2 [2023-02-22T18:15:59.861Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:16:00.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T18:16:00.297Z] [2023-02-22T18:16:00.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:16:00.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T18:16:00.628Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-22T18:16:00.628Z] 8998bd30e6a1: Pulling fs layer [2023-02-22T18:16:00.628Z] 04944245beec: Pulling fs layer [2023-02-22T18:16:00.628Z] 699f458cf7ca: Pulling fs layer [2023-02-22T18:16:00.628Z] 765212b225bb: Pulling fs layer [2023-02-22T18:16:00.628Z] f23df028b6ca: Pulling fs layer [2023-02-22T18:16:00.628Z] d65c8cfc05b1: Pulling fs layer [2023-02-22T18:16:00.628Z] 2437ff75d9bd: Pulling fs layer [2023-02-22T18:16:00.628Z] f23df028b6ca: Waiting [2023-02-22T18:16:00.628Z] d65c8cfc05b1: Waiting [2023-02-22T18:16:00.628Z] 2437ff75d9bd: Waiting [2023-02-22T18:16:00.628Z] 765212b225bb: Waiting [2023-02-22T18:16:00.896Z] 04944245beec: Verifying Checksum [2023-02-22T18:16:00.896Z] 04944245beec: Download complete [2023-02-22T18:16:00.896Z] 765212b225bb: Verifying Checksum [2023-02-22T18:16:00.896Z] 765212b225bb: Download complete [2023-02-22T18:16:00.896Z] f23df028b6ca: Download complete [2023-02-22T18:16:00.896Z] d65c8cfc05b1: Download complete [2023-02-22T18:16:01.167Z] 699f458cf7ca: Verifying Checksum [2023-02-22T18:16:01.167Z] 699f458cf7ca: Download complete [2023-02-22T18:16:01.437Z] 8998bd30e6a1: Verifying Checksum [2023-02-22T18:16:01.437Z] 8998bd30e6a1: Download complete [2023-02-22T18:16:04.035Z] 2437ff75d9bd: Verifying Checksum [2023-02-22T18:16:04.035Z] 2437ff75d9bd: Download complete [2023-02-22T18:16:06.776Z] 8998bd30e6a1: Pull complete [2023-02-22T18:16:06.776Z] 04944245beec: Pull complete [2023-02-22T18:16:08.722Z] 699f458cf7ca: Pull complete [2023-02-22T18:16:08.722Z] 765212b225bb: Pull complete [2023-02-22T18:16:09.681Z] f23df028b6ca: Pull complete [2023-02-22T18:16:09.947Z] d65c8cfc05b1: Pull complete [2023-02-22T18:16:23.413Z] 2437ff75d9bd: Pull complete [2023-02-22T18:16:23.413Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-22T18:16:23.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T18:16:23.413Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T18:16:23.622Z] prd-ubuntu20.04-docker-arm64-4c-16g-7091 does not seem to be running inside a container [2023-02-22T18:16:23.696Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-22T18:16:26.391Z] $ docker top 797f780d52d6d5885e566702b7a2772a4fe85459afa682ae3f56b30eb2f5e973 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T18:16:27.238Z] ---> job-cost.sh [2023-02-22T18:16:27.238Z] lf-activate-venv: SKIPPING [2023-02-22T18:16:27.238Z] INFO: No Stack... [2023-02-22T18:16:27.504Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-22T18:16:28.462Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T18:16:29.119Z] + cut -d, -f6 [2023-02-22T18:16:29.119Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2023-02-22T18:16:29.154Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] [2023-02-22T18:16:29.163Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] did not exist. Created. [2023-02-22T18:16:29.163Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-22T18:16:29.509Z] /w/workspace/device-sdk-go/2@tmp/durable-99b218f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-22T18:16:30.173Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-22T18:16:30.195Z] Warning: overwriting stash ‘stack-cost’ [2023-02-22T18:16:30.274Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T18:16:30.283Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1343-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T18:16:30.302Z] $ docker stop --time=1 797f780d52d6d5885e566702b7a2772a4fe85459afa682ae3f56b30eb2f5e973 [2023-02-22T18:16:31.813Z] $ docker rm -f --volumes 797f780d52d6d5885e566702b7a2772a4fe85459afa682ae3f56b30eb2f5e973 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-22T18:16:32.222Z] provisioning config files... [2023-02-22T18:16:32.229Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/config7215971373580073339tmp [Pipeline] { [Pipeline] sh [2023-02-22T18:16:32.525Z] + set +x [2023-02-22T18:16:32.525Z] + curl -s https://codecov.io/bash [2023-02-22T18:16:32.525Z] + bash -s -- [2023-02-22T18:16:32.525Z] [2023-02-22T18:16:32.525Z] _____ _ [2023-02-22T18:16:32.525Z] / ____| | | [2023-02-22T18:16:32.525Z] | | ___ __| | ___ ___ _____ __ [2023-02-22T18:16:32.525Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-22T18:16:32.525Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-22T18:16:32.525Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-22T18:16:32.525Z] Bash-1.0.6 [2023-02-22T18:16:32.525Z] [2023-02-22T18:16:32.525Z] [2023-02-22T18:16:32.525Z] ==> git version 2.25.1 found [2023-02-22T18:16:32.525Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-22T18:16:32.525Z] Release-Date: 2020-01-08 [2023-02-22T18:16:32.525Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-22T18:16:32.525Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-22T18:16:32.525Z] ==> Jenkins CI detected. [2023-02-22T18:16:32.525Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1343 [2023-02-22T18:16:32.525Z] project root: . [2023-02-22T18:16:32.525Z] --> token set from env [2023-02-22T18:16:32.525Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-22T18:16:32.525Z] ==> Running gcov in . (disable via -X gcov) [2023-02-22T18:16:32.525Z] ==> Python coveragepy not found [2023-02-22T18:16:32.525Z] ==> Searching for coverage reports in: [2023-02-22T18:16:32.525Z] + . [2023-02-22T18:16:32.525Z] -> Found 1 reports [2023-02-22T18:16:32.525Z] ==> Detecting git/mercurial file structure [2023-02-22T18:16:32.525Z] ==> Reading reports [2023-02-22T18:16:32.525Z] + ./coverage.out bytes=98530 [2023-02-22T18:16:32.525Z] ==> Appending adjustments [2023-02-22T18:16:32.525Z] https://docs.codecov.io/docs/fixing-reports [2023-02-22T18:16:32.784Z] + Found adjustments [2023-02-22T18:16:32.784Z] ==> Gzipping contents [2023-02-22T18:16:32.784Z] 16K /tmp/codecov.4yZIM2.gz [2023-02-22T18:16:32.784Z] ==> Uploading reports [2023-02-22T18:16:32.784Z] url: https://codecov.io [2023-02-22T18:16:32.784Z] query: branch=PR-1343&commit=6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1343%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1343&job=&cmd_args= [2023-02-22T18:16:32.784Z] -> Pinging Codecov [2023-02-22T18:16:32.784Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1343&commit=6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1343%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1343&job=&cmd_args= [2023-02-22T18:16:33.044Z] -> Uploading to [2023-02-22T18:16:33.044Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-22/7E55EF52A471D76F132DFD9A03CDDE97/6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a/80e76fcf-4380-4dde-acad-989e7dbca1cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230222T181632Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e388bb344b01217527799e7f6c4e5512b2d56619043a0f73922ac01674545103 [2023-02-22T18:16:33.044Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T18:16:33.044Z] Dload Upload Total Spent Left Speed [2023-02-22T18:16:33.302Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14352 0 0 100 14352 0 51074 --:--:-- --:--:-- --:--:-- 51074 [2023-02-22T18:16:33.302Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6b789ff6b65bf8ce5ee7cf161f2a2b5cd5d60a1a [Pipeline] } [2023-02-22T18:16:33.310Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-22T18:16:33.995Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives ] [2023-02-22T18:16:33.995Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives [2023-02-22T18:16:33.995Z] total 16 [2023-02-22T18:16:33.995Z] drwxr-xr-x 3 root root 4096 Feb 22 18:04 . [2023-02-22T18:16:33.995Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 18:04 .. [2023-02-22T18:16:33.995Z] drwxr-xr-x 2 root root 4096 Feb 22 18:04 cost [2023-02-22T18:16:33.995Z] -rw-r--r-- 1 root root 86 Feb 22 18:04 cost.csv [2023-02-22T18:16:33.995Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives [2023-02-22T18:16:33.995Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives [2023-02-22T18:16:33.995Z] total 16 [2023-02-22T18:16:33.995Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 18:04 . [2023-02-22T18:16:33.995Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 18:04 .. [2023-02-22T18:16:33.995Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 18:04 cost [2023-02-22T18:16:33.995Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 22 18:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-22T18:16:34.286Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T18:16:35.138Z] ---> package-listing.sh [2023-02-22T18:16:35.138Z] ++ facter osfamily [2023-02-22T18:16:35.138Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-22T18:16:35.398Z] + OS_FAMILY=debian [2023-02-22T18:16:35.398Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1343 [2023-02-22T18:16:35.398Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-22T18:16:35.398Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-22T18:16:35.398Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-22T18:16:35.398Z] + PACKAGES=/tmp/packages_start.txt [2023-02-22T18:16:35.398Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1343 ']' [2023-02-22T18:16:35.398Z] + PACKAGES=/tmp/packages_end.txt [2023-02-22T18:16:35.398Z] + case "${OS_FAMILY}" in [2023-02-22T18:16:35.398Z] + dpkg -l [2023-02-22T18:16:35.398Z] + grep '^ii' [2023-02-22T18:16:35.398Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-22T18:16:35.398Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-22T18:16:35.398Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-22T18:16:35.398Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1343 ']' [2023-02-22T18:16:35.398Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives/ [2023-02-22T18:16:35.398Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1343/archives/ [Pipeline] echo [2023-02-22T18:16:35.409Z] 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-1343/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-22T18:16:35.687Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T18:16:36.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T18:16:36.245Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T18:16:36.317Z] prd-ubuntu20.04-docker-8c-8g-7081 does not seem to be running inside a container [2023-02-22T18:16:36.350Z] $ 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-1343/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-1343 -v /w/workspace/gexfoundry_device-sdk-go_PR-1343:/w/workspace/gexfoundry_device-sdk-go_PR-1343:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-22T18:16:36.577Z] $ docker top 673dc91cdee1eeb7f6aad783795bdc9fc9325bdf4a394dc916c93a6d8e5219a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T18:16:36.917Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-22T18:16:37.204Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-22T18:16:37.492Z] + ls /var/log/sa-host [2023-02-22T18:16:37.492Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T18:16:37.624Z] provisioning config files... [2023-02-22T18:16:37.632Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1343@tmp/config17098302149377001279tmp [Pipeline] { [Pipeline] echo [2023-02-22T18:16:37.647Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T18:16:37.930Z] ---> create-netrc.sh [Pipeline] } [2023-02-22T18:16:37.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-22T18:16:38.272Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-22T18:16:38.281Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T18:16:38.566Z] ---> sudo-logs.sh [2023-02-22T18:16:38.566Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-22T18:16:38.595Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T18:16:38.877Z] ---> job-cost.sh [2023-02-22T18:16:38.877Z] lf-activate-venv: SKIPPING [2023-02-22T18:16:38.877Z] DEBUG: total: 0.2199999988079071 [2023-02-22T18:16:38.877Z] INFO: Retrieving Stack Cost... [2023-02-22T18:16:39.135Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T18:16:39.395Z] INFO: Archiving Costs [Pipeline] echo [2023-02-22T18:16:39.667Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T18:16:39.951Z] ---> logs-deploy.sh [2023-02-22T18:16:39.951Z] lf-activate-venv: SKIPPING [2023-02-22T18:16:39.951Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1343/2 [2023-02-22T18:16:39.951Z] INFO: archiving workspace using pattern(s): [2023-02-22T18:16:40.887Z] Archives upload complete. [2023-02-22T18:16:40.887Z] INFO: archiving logs to Nexus