Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 15e83892f451e2fa3bbee6901e4c3548de020a12+775e2b56bedf8d4ad3f90164e245819fbdab1870 (342452811cd9f151f650c863e5e63398eaaba702) 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-ssh5825003293154403575.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-ssh17691282809067747111.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-1290/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-1290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9380603625580619999.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-ssh7442891200693239375.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-1290/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-1290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13779753710417138139.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4388 in /w/workspace/gexfoundry_device-sdk-go_PR-1290 [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-1290 # 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/1290/head:refs/remotes/origin/PR-1290 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 775e2b56bedf8d4ad3f90164e245819fbdab1870 into PR head commit 15e83892f451e2fa3bbee6901e4c3548de020a12 Merge succeeded, producing 64e666492f6d531cd061cdc9548039d856bce399 Checking out Revision 64e666492f6d531cd061cdc9548039d856bce399 (PR-1290) > git config core.sparsecheckout # timeout=10 > git checkout -f 15e83892f451e2fa3bbee6901e4c3548de020a12 # 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 775e2b56bedf8d4ad3f90164e245819fbdab1870 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 64e666492f6d531cd061cdc9548039d856bce399 # timeout=10 Commit message: "Merge commit '775e2b56bedf8d4ad3f90164e245819fbdab1870' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk e4f2b0acf5ecb8ba9963deb76ad421a5e4ed8b74 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-02T18:42:03.676Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-02T18:42:03.735Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-02T18:42:03.760Z] ========================================================= [2023-02-02T18:42:03.760Z] EdgeX Global Pipelines Version Info [2023-02-02T18:42:03.760Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:42:04.472Z] ------------------- [2023-02-02T18:42:04.472Z] stable info: [2023-02-02T18:42:04.472Z] ------------------- [2023-02-02T18:42:04.472Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-02T18:42:04.472Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-02T18:42:04.472Z] Message: update stable to v1.0.244 [2023-02-02T18:42:05.040Z] ------------------- [2023-02-02T18:42:05.040Z] experimental info: [2023-02-02T18:42:05.040Z] ------------------- [2023-02-02T18:42:05.040Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-02T18:42:05.040Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-02T18:42:05.040Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-02T18:42:05.198Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-02T18:42:05.211Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-02T18:42:05.221Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-02T18:42:05.231Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-02T18:42:05.241Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-02T18:42:05.252Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-02T18:42:05.263Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-02T18:42:05.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-02T18:42:05.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-02T18:42:05.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-02T18:42:05.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-02T18:42:05.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-02T18:42:05.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-02T18:42:05.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-02T18:42:05.337Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-02T18:42:05.345Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-02T18:42:05.353Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-02T18:42:05.362Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-02T18:42:05.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-02T18:42:05.378Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-02T18:42:05.386Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-02T18:42:05.398Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-02T18:42:05.409Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-02T18:42:05.427Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-02T18:42:05.443Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-02T18:42:05.454Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-02T18:42:05.466Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-02T18:42:05.479Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1290 [Pipeline] echo [2023-02-02T18:42:05.491Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1290 [Pipeline] echo [2023-02-02T18:42:05.508Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1290 [Pipeline] echo [2023-02-02T18:42:05.518Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 64e666492f6d531cd061cdc9548039d856bce399 [Pipeline] echo [2023-02-02T18:42:05.532Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 64e6664 [Pipeline] echo [2023-02-02T18:42:05.544Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-02T18:42:05.588Z] provisioning config files... [2023-02-02T18:42:05.597Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config1043211927995388599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:42:05.903Z] ---> docker-login.sh [2023-02-02T18:42:05.903Z] nexus3.edgexfoundry.org:10001 [2023-02-02T18:42:06.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:42:06.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:42:06.162Z] Configure a credential helper to remove this warning. See [2023-02-02T18:42:06.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:42:06.162Z] [2023-02-02T18:42:06.162Z] Login Succeeded [2023-02-02T18:42:06.162Z] nexus3.edgexfoundry.org:10002 [2023-02-02T18:42:06.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:42:06.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:42:06.162Z] Configure a credential helper to remove this warning. See [2023-02-02T18:42:06.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:42:06.162Z] [2023-02-02T18:42:06.162Z] Login Succeeded [2023-02-02T18:42:06.162Z] nexus3.edgexfoundry.org:10003 [2023-02-02T18:42:06.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:42:06.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:42:06.422Z] Configure a credential helper to remove this warning. See [2023-02-02T18:42:06.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:42:06.422Z] [2023-02-02T18:42:06.422Z] Login Succeeded [2023-02-02T18:42:06.422Z] nexus3.edgexfoundry.org:10004 [2023-02-02T18:42:06.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:42:06.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:42:06.422Z] Configure a credential helper to remove this warning. See [2023-02-02T18:42:06.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:42:06.422Z] [2023-02-02T18:42:06.422Z] Login Succeeded [2023-02-02T18:42:06.422Z] docker.io [2023-02-02T18:42:06.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:42:06.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:42:06.939Z] Configure a credential helper to remove this warning. See [2023-02-02T18:42:06.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:42:06.939Z] [2023-02-02T18:42:06.939Z] Login Succeeded [2023-02-02T18:42:06.939Z] ---> docker-login.sh ends [Pipeline] } [2023-02-02T18:42:06.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-02T18:42:07.298Z] + git rev-list -1 --merges 64e666492f6d531cd061cdc9548039d856bce399~1..64e666492f6d531cd061cdc9548039d856bce399 [Pipeline] echo [2023-02-02T18:42:07.339Z] -----------> git rev-list -1 --merges 64e666492f6d531cd061cdc9548039d856bce399~1..64e666492f6d531cd061cdc9548039d856bce399 64e666492f6d531cd061cdc9548039d856bce399 [2023-02-02T18:42:07.339Z] 64e666492f6d531cd061cdc9548039d856bce399 [false] [Pipeline] sh [2023-02-02T18:42:07.624Z] + git log --format=format:%s -1 64e666492f6d531cd061cdc9548039d856bce399 [Pipeline] echo [2023-02-02T18:42:07.639Z] ========================================================= [2023-02-02T18:42:07.639Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-02T18:42:07.639Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-02T18:42:07.956Z] + git log --format=format:%s -1 64e666492f6d531cd061cdc9548039d856bce399 [Pipeline] echo [2023-02-02T18:42:07.968Z] [semverPrep] GIT_COMMIT: 64e666492f6d531cd061cdc9548039d856bce399, Commit Message: Merge commit '775e2b56bedf8d4ad3f90164e245819fbdab1870' into HEAD [Pipeline] echo [2023-02-02T18:42:07.979Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-02T18:42:08.320Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-02T18:42:08.320Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-02T18:42:08.320Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-02T18:42:08.320Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-02T18:42:08.320Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-02T18:42:08.320Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-02T18:42:08.320Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:42:08.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-02T18:42:08.657Z] [2023-02-02T18:42:08.657Z] 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-02T18:42:08.960Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-02T18:42:08.960Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-02T18:42:08.960Z] b85a868b505f: Pulling fs layer [2023-02-02T18:42:08.960Z] e2be974225ed: Pulling fs layer [2023-02-02T18:42:08.960Z] 339a4e72a1f5: Pulling fs layer [2023-02-02T18:42:08.960Z] 988bab9f4d93: Pulling fs layer [2023-02-02T18:42:08.960Z] 1469e6f7b9e6: Pulling fs layer [2023-02-02T18:42:08.960Z] eaf3925da568: Pulling fs layer [2023-02-02T18:42:08.960Z] bab4dde63d76: Pulling fs layer [2023-02-02T18:42:08.960Z] bde34c3a00c8: Pulling fs layer [2023-02-02T18:42:08.960Z] b352a97aabf1: Pulling fs layer [2023-02-02T18:42:08.960Z] 4872d77fe225: Pulling fs layer [2023-02-02T18:42:08.960Z] 5851b861e8e6: Pulling fs layer [2023-02-02T18:42:08.960Z] 1469e6f7b9e6: Waiting [2023-02-02T18:42:08.960Z] 5851b861e8e6: Waiting [2023-02-02T18:42:08.960Z] bde34c3a00c8: Waiting [2023-02-02T18:42:08.960Z] bab4dde63d76: Waiting [2023-02-02T18:42:08.960Z] 4872d77fe225: Waiting [2023-02-02T18:42:08.960Z] 988bab9f4d93: Waiting [2023-02-02T18:42:08.960Z] eaf3925da568: Waiting [2023-02-02T18:42:08.960Z] b352a97aabf1: Waiting [2023-02-02T18:42:08.960Z] e2be974225ed: Download complete [2023-02-02T18:42:08.960Z] 988bab9f4d93: Verifying Checksum [2023-02-02T18:42:08.960Z] 988bab9f4d93: Download complete [2023-02-02T18:42:09.221Z] 1469e6f7b9e6: Verifying Checksum [2023-02-02T18:42:09.221Z] 1469e6f7b9e6: Download complete [2023-02-02T18:42:09.221Z] eaf3925da568: Verifying Checksum [2023-02-02T18:42:09.221Z] eaf3925da568: Download complete [2023-02-02T18:42:09.221Z] 339a4e72a1f5: Verifying Checksum [2023-02-02T18:42:09.221Z] 339a4e72a1f5: Download complete [2023-02-02T18:42:09.221Z] bde34c3a00c8: Verifying Checksum [2023-02-02T18:42:09.221Z] bde34c3a00c8: Download complete [2023-02-02T18:42:09.483Z] b352a97aabf1: Download complete [2023-02-02T18:42:09.483Z] 4872d77fe225: Verifying Checksum [2023-02-02T18:42:09.483Z] 4872d77fe225: Download complete [2023-02-02T18:42:09.483Z] 5851b861e8e6: Verifying Checksum [2023-02-02T18:42:09.483Z] 5851b861e8e6: Download complete [2023-02-02T18:42:09.483Z] b85a868b505f: Verifying Checksum [2023-02-02T18:42:09.483Z] b85a868b505f: Download complete [2023-02-02T18:42:09.741Z] bab4dde63d76: Verifying Checksum [2023-02-02T18:42:09.741Z] bab4dde63d76: Download complete [2023-02-02T18:42:10.676Z] b85a868b505f: Pull complete [2023-02-02T18:42:10.676Z] e2be974225ed: Pull complete [2023-02-02T18:42:11.244Z] 339a4e72a1f5: Pull complete [2023-02-02T18:42:11.244Z] 988bab9f4d93: Pull complete [2023-02-02T18:42:11.516Z] 1469e6f7b9e6: Pull complete [2023-02-02T18:42:11.516Z] eaf3925da568: Pull complete [2023-02-02T18:42:13.417Z] bab4dde63d76: Pull complete [2023-02-02T18:42:13.417Z] bde34c3a00c8: Pull complete [2023-02-02T18:42:13.417Z] b352a97aabf1: Pull complete [2023-02-02T18:42:13.417Z] 4872d77fe225: Pull complete [2023-02-02T18:42:13.417Z] 5851b861e8e6: Pull complete [2023-02-02T18:42:13.417Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-02T18:42:13.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-02T18:42:13.417Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:42:13.492Z] prd-ubuntu20.04-docker-8c-8g-4388 does not seem to be running inside a container [2023-02-02T18:42:13.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@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-02T18:42:15.752Z] $ docker top 7dac235ac0d68eefe9fcc571eb37764096f35d5edd34994eeb16e714a1e3cbb4 -eo pid,comm [2023-02-02T18:42:15.802Z] 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-02T18:42:15.802Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-02T18:42:15.840Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-02T18:42:15.840Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-02T18:42:15.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-02T18:42:15.961Z] $ docker exec 7dac235ac0d68eefe9fcc571eb37764096f35d5edd34994eeb16e714a1e3cbb4 ssh-agent [2023-02-02T18:42:16.106Z] SSH_AUTH_SOCK=/tmp/ssh-ZnILbGeOg1kN/agent.33 [2023-02-02T18:42:16.106Z] SSH_AGENT_PID=39 [2023-02-02T18:42:16.124Z] Running ssh-add (command line suppressed) [2023-02-02T18:42:16.231Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_9068991686054613412.key (/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_9068991686054613412.key) [2023-02-02T18:42:16.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-02T18:42:16.529Z] + git tag --points-at HEAD [Pipeline] } [2023-02-02T18:42:16.547Z] $ docker exec --env ******** --env ******** 7dac235ac0d68eefe9fcc571eb37764096f35d5edd34994eeb16e714a1e3cbb4 ssh-agent -k [2023-02-02T18:42:16.641Z] unset SSH_AUTH_SOCK; [2023-02-02T18:42:16.644Z] unset SSH_AGENT_PID; [2023-02-02T18:42:16.644Z] echo Agent pid 39 killed; [2023-02-02T18:42:16.647Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-02T18:42:16.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-02T18:42:16.670Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-02T18:42:16.793Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-02T18:42:16.800Z] $ docker exec 7dac235ac0d68eefe9fcc571eb37764096f35d5edd34994eeb16e714a1e3cbb4 ssh-agent [2023-02-02T18:42:16.926Z] SSH_AUTH_SOCK=/tmp/ssh-10UPaLDgRVZG/agent.71 [2023-02-02T18:42:16.926Z] SSH_AGENT_PID=77 [2023-02-02T18:42:16.950Z] Running ssh-add (command line suppressed) [2023-02-02T18:42:17.058Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_6436014544444601205.key (/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_6436014544444601205.key) [2023-02-02T18:42:17.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-02T18:42:17.365Z] + git semver init [2023-02-02T18:42:17.624Z] 2023-02-02 18:42:17,573 [run_init] DEBUG init version:0.0.0 force:False [2023-02-02T18:42:17.624Z] 2023-02-02 18:42:17,575 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver [2023-02-02T18:42:17.624Z] 2023-02-02 18:42:17,576 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver [2023-02-02T18:42:17.624Z] 2023-02-02 18:42:17,577 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290, universal_newlines=False, shell=None, istream=None) [2023-02-02T18:42:19.004Z] 2023-02-02 18:42:18,647 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.git/info/exclude [2023-02-02T18:42:19.004Z] 2023-02-02 18:42:18,648 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 with force:False [2023-02-02T18:42:19.004Z] 2023-02-02 18:42:18,648 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 [2023-02-02T18:42:19.004Z] 2023-02-02 18:42:18,651 [execute] INFO git cat-file --batch-check [2023-02-02T18:42:19.004Z] 2023-02-02 18:42:18,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver, universal_newlines=False, shell=None, istream=) [2023-02-02T18:42:19.004Z] 2023-02-02 18:42:18,657 [execute] INFO git cat-file --batch [2023-02-02T18:42:19.004Z] 2023-02-02 18:42:18,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver, universal_newlines=False, shell=None, istream=) [2023-02-02T18:42:19.004Z] 2023-02-02 18:42:18,663 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 [2023-02-02T18:42:19.004Z] 0.0.0 [Pipeline] } [2023-02-02T18:42:19.017Z] $ docker exec --env ******** --env ******** 7dac235ac0d68eefe9fcc571eb37764096f35d5edd34994eeb16e714a1e3cbb4 ssh-agent -k [2023-02-02T18:42:19.107Z] unset SSH_AUTH_SOCK; [2023-02-02T18:42:19.107Z] unset SSH_AGENT_PID; [2023-02-02T18:42:19.108Z] echo Agent pid 77 killed; [2023-02-02T18:42:19.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-02T18:42:19.411Z] + git semver [Pipeline] } [2023-02-02T18:42:19.687Z] $ docker stop --time=1 7dac235ac0d68eefe9fcc571eb37764096f35d5edd34994eeb16e714a1e3cbb4 [2023-02-02T18:42:20.955Z] $ docker rm -f --volumes 7dac235ac0d68eefe9fcc571eb37764096f35d5edd34994eeb16e714a1e3cbb4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-02T18:42:21.289Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-02T18:42:21.480Z] Stashed 1 file(s) [Pipeline] echo [2023-02-02T18:42:21.484Z] [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-02T18:42:21.645Z] provisioning config files... [2023-02-02T18:42:21.652Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config16824217050951632386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:42:21.944Z] ---> docker-login.sh [2023-02-02T18:42:21.944Z] nexus3.edgexfoundry.org:10001 [2023-02-02T18:42:21.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:42:21.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:42:21.944Z] Configure a credential helper to remove this warning. See [2023-02-02T18:42:21.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:42:21.944Z] [2023-02-02T18:42:21.944Z] Login Succeeded [2023-02-02T18:42:21.944Z] nexus3.edgexfoundry.org:10002 [2023-02-02T18:42:21.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:42:21.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:42:21.944Z] Configure a credential helper to remove this warning. See [2023-02-02T18:42:21.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:42:21.944Z] [2023-02-02T18:42:21.944Z] Login Succeeded [2023-02-02T18:42:21.944Z] nexus3.edgexfoundry.org:10003 [2023-02-02T18:42:22.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:42:22.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:42:22.204Z] Configure a credential helper to remove this warning. See [2023-02-02T18:42:22.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:42:22.204Z] [2023-02-02T18:42:22.204Z] Login Succeeded [2023-02-02T18:42:22.204Z] nexus3.edgexfoundry.org:10004 [2023-02-02T18:42:22.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:42:22.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:42:22.204Z] Configure a credential helper to remove this warning. See [2023-02-02T18:42:22.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:42:22.204Z] [2023-02-02T18:42:22.204Z] Login Succeeded [2023-02-02T18:42:22.204Z] docker.io [2023-02-02T18:42:22.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:42:22.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:42:22.463Z] Configure a credential helper to remove this warning. See [2023-02-02T18:42:22.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:42:22.463Z] [2023-02-02T18:42:22.463Z] Login Succeeded [2023-02-02T18:42:22.463Z] ---> docker-login.sh ends [Pipeline] } [2023-02-02T18:42:22.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-02T18:42:22.529Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T18:42:22.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T18:42:22.548Z] ========================================================= [2023-02-02T18:42:22.548Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-02T18:42:22.548Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:42:22.851Z] + 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-02T18:42:22.852Z] Sending build context to Docker daemon 10.48MB [2023-02-02T18:42:22.852Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T18:42:22.852Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-02T18:42:22.852Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-02T18:42:22.852Z] 213ec9aee27d: Pulling fs layer [2023-02-02T18:42:22.852Z] 4583459ba037: Pulling fs layer [2023-02-02T18:42:22.852Z] 93c1e223e6f2: Pulling fs layer [2023-02-02T18:42:22.852Z] 53926ce57604: Pulling fs layer [2023-02-02T18:42:22.852Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-02T18:42:22.852Z] 22ff95d597cd: Pulling fs layer [2023-02-02T18:42:22.852Z] 12d6caf4c0d1: Pulling fs layer [2023-02-02T18:42:22.852Z] 96b7cbca73a9: Pulling fs layer [2023-02-02T18:42:22.852Z] a7acece74701: Pulling fs layer [2023-02-02T18:42:22.852Z] 53926ce57604: Waiting [2023-02-02T18:42:22.852Z] 21b2b0c7a3f4: Waiting [2023-02-02T18:42:22.852Z] 22ff95d597cd: Waiting [2023-02-02T18:42:22.852Z] 96b7cbca73a9: Waiting [2023-02-02T18:42:22.852Z] a7acece74701: Waiting [2023-02-02T18:42:22.852Z] 12d6caf4c0d1: Waiting [2023-02-02T18:42:23.115Z] 93c1e223e6f2: Verifying Checksum [2023-02-02T18:42:23.115Z] 93c1e223e6f2: Download complete [2023-02-02T18:42:23.115Z] 4583459ba037: Download complete [2023-02-02T18:42:23.115Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-02T18:42:23.115Z] 21b2b0c7a3f4: Download complete [2023-02-02T18:42:23.115Z] 22ff95d597cd: Download complete [2023-02-02T18:42:23.115Z] 213ec9aee27d: Verifying Checksum [2023-02-02T18:42:23.115Z] 213ec9aee27d: Download complete [2023-02-02T18:42:23.115Z] 12d6caf4c0d1: Download complete [2023-02-02T18:42:23.115Z] 213ec9aee27d: Pull complete [2023-02-02T18:42:23.385Z] 4583459ba037: Pull complete [2023-02-02T18:42:23.385Z] 93c1e223e6f2: Pull complete [2023-02-02T18:42:24.401Z] a7acece74701: Verifying Checksum [2023-02-02T18:42:24.401Z] a7acece74701: Download complete [2023-02-02T18:42:24.663Z] 53926ce57604: Verifying Checksum [2023-02-02T18:42:24.663Z] 53926ce57604: Download complete [2023-02-02T18:42:24.663Z] 96b7cbca73a9: Verifying Checksum [2023-02-02T18:42:24.663Z] 96b7cbca73a9: Download complete [2023-02-02T18:42:27.945Z] 53926ce57604: Pull complete [2023-02-02T18:42:27.945Z] 21b2b0c7a3f4: Pull complete [2023-02-02T18:42:27.945Z] 22ff95d597cd: Pull complete [2023-02-02T18:42:27.945Z] 12d6caf4c0d1: Pull complete [2023-02-02T18:42:29.858Z] 96b7cbca73a9: Pull complete [2023-02-02T18:42:30.422Z] a7acece74701: Pull complete [2023-02-02T18:42:30.422Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-02T18:42:30.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-02T18:42:30.422Z] ---> db6d94c90886 [2023-02-02T18:42:30.422Z] Step 3/10 : ARG MAKE=make build [2023-02-02T18:42:35.774Z] ---> Running in 6d4002921218 [2023-02-02T18:42:35.774Z] Removing intermediate container 6d4002921218 [2023-02-02T18:42:35.774Z] ---> 162a83aa2a92 [2023-02-02T18:42:35.774Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-02T18:42:35.774Z] ---> Running in eaa905861e09 [2023-02-02T18:42:35.774Z] Removing intermediate container eaa905861e09 [2023-02-02T18:42:35.774Z] ---> 9cc8e289cce7 [2023-02-02T18:42:35.774Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-02T18:42:35.774Z] ---> Running in 2374b2c9a94d [2023-02-02T18:42:35.774Z] Removing intermediate container 2374b2c9a94d [2023-02-02T18:42:35.774Z] ---> 41091957428e [2023-02-02T18:42:35.774Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-02T18:42:35.774Z] ---> Running in 7696d4090de7 [2023-02-02T18:42:35.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-02T18:42:35.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-02T18:42:36.032Z] OK: 211 MiB in 51 packages [2023-02-02T18:42:36.294Z] Removing intermediate container 7696d4090de7 [2023-02-02T18:42:36.294Z] ---> 35a5a4939089 [2023-02-02T18:42:36.294Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-02T18:42:36.294Z] ---> a62d3224fe8d [2023-02-02T18:42:36.294Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T18:42:36.552Z] ---> Running in cf56c377dc02 [2023-02-02T18:42:36.596Z] Still waiting to schedule task [2023-02-02T18:42:36.597Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-02T18:43:08.643Z] Removing intermediate container cf56c377dc02 [2023-02-02T18:43:08.643Z] ---> 5ca41af49f19 [2023-02-02T18:43:08.643Z] Step 9/10 : COPY . . [2023-02-02T18:43:08.643Z] ---> eccbf3e06bdd [2023-02-02T18:43:08.643Z] Step 10/10 : RUN ${MAKE} [2023-02-02T18:43:08.643Z] ---> Running in b617f34562ff [2023-02-02T18:43:08.643Z] noop [2023-02-02T18:43:08.643Z] Removing intermediate container b617f34562ff [2023-02-02T18:43:08.643Z] ---> 3e46bd2fe780 [2023-02-02T18:43:08.643Z] Successfully built 3e46bd2fe780 [2023-02-02T18:43:08.643Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:43:08.953Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-02T18:43:08.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:43:09.029Z] prd-ubuntu20.04-docker-8c-8g-4388 does not seem to be running inside a container [2023-02-02T18:43:09.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@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-02T18:43:09.387Z] $ docker top f67b1b33d23d6b18d52fbddbd746d5a0fd7981bd40d0b331b34aa3e26a03ec90 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T18:43:09.730Z] + go version [2023-02-02T18:43:09.730Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-02T18:43:09.744Z] $ docker stop --time=1 f67b1b33d23d6b18d52fbddbd746d5a0fd7981bd40d0b331b34aa3e26a03ec90 [2023-02-02T18:43:10.995Z] $ docker rm -f --volumes f67b1b33d23d6b18d52fbddbd746d5a0fd7981bd40d0b331b34aa3e26a03ec90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:43:11.375Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-02T18:43:11.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:43:11.442Z] prd-ubuntu20.04-docker-8c-8g-4388 does not seem to be running inside a container [2023-02-02T18:43:11.475Z] $ 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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@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-02T18:43:11.812Z] $ docker top 87787619f8f26db2b4b2b9861abde7439218890ca77361a69fb8c29c071970df -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T18:43:12.163Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1290 [Pipeline] fileExists [Pipeline] sh [2023-02-02T18:43:12.457Z] + make test [2023-02-02T18:43:12.457Z] go test -race -coverprofile=coverage.out ./... [2023-02-02T18:43:19.009Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-02T18:43:31.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.047s coverage: 27.6% of statements [2023-02-02T18:43:31.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.073s coverage: 78.9% of statements [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-02T18:43:31.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.087s coverage: 70.2% of statements [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-02T18:43:31.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.110s coverage: 59.8% of statements [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-02T18:43:31.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 65.1% of statements [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-02T18:43:31.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.729s coverage: 89.2% of statements [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-02T18:43:31.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements [2023-02-02T18:43:31.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-02T18:43:46.052Z] 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-02T18:43:46.052Z] GO111MODULE=on go vet ./... [2023-02-02T18:43:46.983Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-02T18:43:46.983Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-02T18:43:46.983Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-02T18:43:47.253Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-02T18:43:47.269Z] $ docker stop --time=1 87787619f8f26db2b4b2b9861abde7439218890ca77361a69fb8c29c071970df [2023-02-02T18:43:49.990Z] $ docker rm -f --volumes 87787619f8f26db2b4b2b9861abde7439218890ca77361a69fb8c29c071970df [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-02T18:43:50.457Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-02T18:43:50.510Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-02T18:43:50.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-02T18:43:51.258Z] + ls -al . [2023-02-02T18:43:51.258Z] total 272 [2023-02-02T18:43:51.258Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 2 18:43 . [2023-02-02T18:43:51.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 18:41 .. [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 18:42 .dockerignore [2023-02-02T18:43:51.258Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 18:43 .git [2023-02-02T18:43:51.258Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 18:42 .github [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 2 18:42 .gitignore [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 2 18:42 .golangci.yml [2023-02-02T18:43:51.258Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 18:42 .semver [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 2 18:42 CHANGELOG.md [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 18:42 GOVERNANCE.md [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 2 18:42 Jenkinsfile [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 18:42 LICENSE [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 2 18:42 Makefile [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 2 18:42 OWNERS.md [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 2 18:42 README.md [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 18:42 VERSION [2023-02-02T18:43:51.258Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 18:42 bin [2023-02-02T18:43:51.258Z] -rw-r--r-- 1 jenkins jenkins 99762 Feb 2 18:43 coverage.out [2023-02-02T18:43:51.258Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 18:42 example [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 3307 Feb 2 18:42 go.mod [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 34396 Feb 2 18:42 go.sum [2023-02-02T18:43:51.258Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 2 18:42 internal [2023-02-02T18:43:51.258Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 18:42 openapi [2023-02-02T18:43:51.258Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 2 18:42 pkg [2023-02-02T18:43:51.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 18:42 snap [2023-02-02T18:43:51.258Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:43:51.559Z] + 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=64e666492f6d531cd061cdc9548039d856bce399 --label arch=amd64 --label version=0.0.0 . [2023-02-02T18:43:51.559Z] Sending build context to Docker daemon 10.58MB [2023-02-02T18:43:51.559Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T18:43:51.559Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-02T18:43:51.559Z] ---> 3e46bd2fe780 [2023-02-02T18:43:51.559Z] Step 3/23 : ARG MAKE=make build [2023-02-02T18:43:51.559Z] ---> Running in ce52a719e641 [2023-02-02T18:43:51.817Z] Removing intermediate container ce52a719e641 [2023-02-02T18:43:51.817Z] ---> 52f04481f579 [2023-02-02T18:43:51.817Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-02T18:43:51.817Z] ---> Running in e731382a6a4d [2023-02-02T18:43:51.817Z] Removing intermediate container e731382a6a4d [2023-02-02T18:43:51.817Z] ---> 9e979dc9c878 [2023-02-02T18:43:51.817Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-02T18:43:51.817Z] ---> Running in a988b8b723f3 [2023-02-02T18:43:51.817Z] Removing intermediate container a988b8b723f3 [2023-02-02T18:43:51.817Z] ---> a3b2eacfbff3 [2023-02-02T18:43:51.817Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-02T18:43:51.817Z] ---> Running in 6f548e5f33a7 [2023-02-02T18:43:52.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-02T18:43:52.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-02T18:43:52.330Z] OK: 211 MiB in 51 packages [2023-02-02T18:43:52.895Z] Removing intermediate container 6f548e5f33a7 [2023-02-02T18:43:52.895Z] ---> 64faa863e8fe [2023-02-02T18:43:52.895Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-02T18:43:52.895Z] ---> 54d871d29505 [2023-02-02T18:43:52.895Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T18:43:52.895Z] ---> Running in f5bfdef21e5d [2023-02-02T18:43:53.830Z] Removing intermediate container f5bfdef21e5d [2023-02-02T18:43:53.830Z] ---> 1fc362f2823e [2023-02-02T18:43:53.830Z] Step 9/23 : COPY . . [2023-02-02T18:43:54.088Z] ---> 8bd03268e27d [2023-02-02T18:43:54.088Z] Step 10/23 : RUN ${MAKE} [2023-02-02T18:43:54.088Z] ---> Running in dc3f6fea6771 [2023-02-02T18:43:54.348Z] 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-02T18:44:12.418Z] Removing intermediate container dc3f6fea6771 [2023-02-02T18:44:12.418Z] ---> c4f6b415b561 [2023-02-02T18:44:12.418Z] Step 11/23 : FROM alpine:3.16 [2023-02-02T18:44:12.418Z] 3.16: Pulling from library/alpine [2023-02-02T18:44:12.418Z] ca7dd9ec2225: Pulling fs layer [2023-02-02T18:44:12.677Z] ca7dd9ec2225: Verifying Checksum [2023-02-02T18:44:12.677Z] ca7dd9ec2225: Download complete [2023-02-02T18:44:12.677Z] ca7dd9ec2225: Pull complete [2023-02-02T18:44:12.677Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-02T18:44:12.677Z] Status: Downloaded newer image for alpine:3.16 [2023-02-02T18:44:12.677Z] ---> bfe296a52501 [2023-02-02T18:44:12.677Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-02T18:44:12.677Z] ---> Running in 279a5950f60e [2023-02-02T18:44:12.937Z] Removing intermediate container 279a5950f60e [2023-02-02T18:44:12.937Z] ---> 32d339153821 [2023-02-02T18:44:12.937Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-02T18:44:12.937Z] ---> Running in 2d6c8635362f [2023-02-02T18:44:13.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-02T18:44:13.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-02T18:44:13.455Z] OK: 6 MiB in 14 packages [2023-02-02T18:44:13.713Z] Removing intermediate container 2d6c8635362f [2023-02-02T18:44:13.713Z] ---> c6082801953f [2023-02-02T18:44:13.713Z] Step 14/23 : WORKDIR / [2023-02-02T18:44:13.713Z] ---> Running in efdbe7cfd4b5 [2023-02-02T18:44:13.713Z] Removing intermediate container efdbe7cfd4b5 [2023-02-02T18:44:13.713Z] ---> 248138583db4 [2023-02-02T18:44:13.713Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-02T18:44:13.971Z] ---> 5f9fcc46270d [2023-02-02T18:44:13.971Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-02T18:44:14.540Z] ---> d5462dd76088 [2023-02-02T18:44:14.540Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-02T18:44:14.540Z] ---> 19eba686e1d9 [2023-02-02T18:44:14.540Z] Step 18/23 : EXPOSE 59999 [2023-02-02T18:44:14.540Z] ---> Running in bb02f37a43d0 [2023-02-02T18:44:14.540Z] Removing intermediate container bb02f37a43d0 [2023-02-02T18:44:14.540Z] ---> a99949a8f7d5 [2023-02-02T18:44:14.540Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-02T18:44:14.800Z] ---> Running in 3032b43707ce [2023-02-02T18:44:14.800Z] Removing intermediate container 3032b43707ce [2023-02-02T18:44:14.800Z] ---> 152d6c52d5b4 [2023-02-02T18:44:14.800Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-02T18:44:14.800Z] ---> Running in 96aaa46b013e [2023-02-02T18:44:14.800Z] Removing intermediate container 96aaa46b013e [2023-02-02T18:44:14.800Z] ---> a5d5c34be658 [2023-02-02T18:44:14.800Z] Step 21/23 : LABEL arch=amd64 [2023-02-02T18:44:14.800Z] ---> Running in e6a43fbc9bce [2023-02-02T18:44:14.800Z] Removing intermediate container e6a43fbc9bce [2023-02-02T18:44:14.800Z] ---> efea0fe8416d [2023-02-02T18:44:14.800Z] Step 22/23 : LABEL git_sha=64e666492f6d531cd061cdc9548039d856bce399 [2023-02-02T18:44:15.060Z] ---> Running in a4377a9af904 [2023-02-02T18:44:15.060Z] Removing intermediate container a4377a9af904 [2023-02-02T18:44:15.060Z] ---> 79486a834f24 [2023-02-02T18:44:15.060Z] Step 23/23 : LABEL version=0.0.0 [2023-02-02T18:44:15.060Z] ---> Running in 412c8dc43608 [2023-02-02T18:44:15.060Z] Removing intermediate container 412c8dc43608 [2023-02-02T18:44:15.060Z] ---> 12c38f586252 [2023-02-02T18:44:15.060Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-02T18:44:15.060Z] Successfully built 12c38f586252 [2023-02-02T18:44:15.060Z] 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-02T18:44:15.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T18:44:15.527Z] [2023-02-02T18:44:15.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:44:15.841Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T18:44:15.841Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-02T18:44:15.841Z] 5eb5b503b376: Pulling fs layer [2023-02-02T18:44:15.841Z] 5c69ac0246d0: Pulling fs layer [2023-02-02T18:44:15.841Z] ec43610c2a17: Pulling fs layer [2023-02-02T18:44:15.841Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-02T18:44:15.841Z] 33b1e0a273af: Pulling fs layer [2023-02-02T18:44:15.841Z] 5d3b04190fa2: Pulling fs layer [2023-02-02T18:44:15.841Z] 2f39f015ded8: Pulling fs layer [2023-02-02T18:44:15.841Z] 5d3b04190fa2: Waiting [2023-02-02T18:44:15.841Z] 33b1e0a273af: Waiting [2023-02-02T18:44:15.841Z] 2f39f015ded8: Waiting [2023-02-02T18:44:15.841Z] 3a2ae6a8a46f: Waiting [2023-02-02T18:44:15.841Z] 5c69ac0246d0: Download complete [2023-02-02T18:44:15.841Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-02T18:44:15.841Z] 3a2ae6a8a46f: Download complete [2023-02-02T18:44:16.433Z] ec43610c2a17: Verifying Checksum [2023-02-02T18:44:16.433Z] ec43610c2a17: Download complete [2023-02-02T18:44:16.433Z] 5d3b04190fa2: Download complete [2023-02-02T18:44:16.433Z] 33b1e0a273af: Verifying Checksum [2023-02-02T18:44:16.433Z] 33b1e0a273af: Download complete [2023-02-02T18:44:16.433Z] 5eb5b503b376: Download complete [2023-02-02T18:44:17.368Z] 2f39f015ded8: Download complete [2023-02-02T18:44:17.627Z] 5eb5b503b376: Pull complete [2023-02-02T18:44:17.627Z] 5c69ac0246d0: Pull complete [2023-02-02T18:44:18.195Z] ec43610c2a17: Pull complete [2023-02-02T18:44:18.195Z] 3a2ae6a8a46f: Pull complete [2023-02-02T18:44:18.453Z] 33b1e0a273af: Pull complete [2023-02-02T18:44:18.453Z] 5d3b04190fa2: Pull complete [2023-02-02T18:44:22.643Z] 2f39f015ded8: Pull complete [2023-02-02T18:44:22.643Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-02T18:44:22.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T18:44:22.643Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:44:22.717Z] prd-ubuntu20.04-docker-8c-8g-4388 does not seem to be running inside a container [2023-02-02T18:44:22.761Z] $ 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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@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-02T18:44:26.098Z] $ docker top 8fa756548b50aa83017047e42c6f4cb7b823e481cde54eb7d144c76a132d8b7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:44:26.447Z] ---> job-cost.sh [2023-02-02T18:44:26.447Z] lf-activate-venv: SKIPPING [2023-02-02T18:44:26.447Z] INFO: No Stack... [2023-02-02T18:44:26.706Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-02T18:44:27.275Z] INFO: Archiving Costs [Pipeline] sh [2023-02-02T18:44:27.565Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/cost.csv [2023-02-02T18:44:27.565Z] + cut -d, -f6 [Pipeline] lock [2023-02-02T18:44:27.583Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1290-3-stack-cost] [2023-02-02T18:44:27.591Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-3-stack-cost] did not exist. Created. [2023-02-02T18:44:27.591Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1290-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-02T18:44:27.891Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-02T18:44:27.917Z] Stashed 1 file(s) [Pipeline] } [2023-02-02T18:44:27.923Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-02T18:44:27.943Z] $ docker stop --time=1 8fa756548b50aa83017047e42c6f4cb7b823e481cde54eb7d144c76a132d8b7d [2023-02-02T18:44:29.204Z] $ docker rm -f --volumes 8fa756548b50aa83017047e42c6f4cb7b823e481cde54eb7d144c76a132d8b7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-02T18:44:54.719Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4391 in /w/workspace/gexfoundry_device-sdk-go_PR-1290 [Pipeline] { [Pipeline] ws [2023-02-02T18:44:54.735Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-02-02T18:44:54.777Z] The recommended git tool is: git [2023-02-02T18:45:00.326Z] using credential edgex-jenkins-ssh [2023-02-02T18:45:00.344Z] Cloning the remote Git repository [2023-02-02T18:45:00.399Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-02T18:45:00.493Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-02-02T18:45:00.659Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-02T18:45:00.660Z] > git --version # timeout=10 [2023-02-02T18:45:00.684Z] > git --version # 'git version 2.25.1' [2023-02-02T18:45:00.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-02T18:45:00.756Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-02T18:45:02.374Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-02T18:45:02.408Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-02T18:45:03.267Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-02T18:45:03.306Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-02T18:45:03.307Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-02T18:45:03.322Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1290/head:refs/remotes/origin/PR-1290 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-02T18:45:04.044Z] Merging remotes/origin/main commit 775e2b56bedf8d4ad3f90164e245819fbdab1870 into PR head commit 15e83892f451e2fa3bbee6901e4c3548de020a12 [2023-02-02T18:45:04.385Z] Merge succeeded, producing fd948a9cc64558fe92d2fba2af556c8796dfa4ff [2023-02-02T18:45:04.385Z] Checking out Revision fd948a9cc64558fe92d2fba2af556c8796dfa4ff (PR-1290) [2023-02-02T18:45:04.067Z] > git config core.sparsecheckout # timeout=10 [2023-02-02T18:45:04.085Z] > git checkout -f 15e83892f451e2fa3bbee6901e4c3548de020a12 # timeout=10 [2023-02-02T18:45:04.200Z] > git remote # timeout=10 [2023-02-02T18:45:04.218Z] > git config --get remote.origin.url # timeout=10 [2023-02-02T18:45:04.246Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-02T18:45:04.259Z] > git merge 775e2b56bedf8d4ad3f90164e245819fbdab1870 # timeout=10 [2023-02-02T18:45:04.371Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-02T18:45:04.397Z] > git config core.sparsecheckout # timeout=10 [2023-02-02T18:45:04.416Z] > git checkout -f fd948a9cc64558fe92d2fba2af556c8796dfa4ff # timeout=10 [2023-02-02T18:45:07.996Z] Commit message: "Merge commit '775e2b56bedf8d4ad3f90164e245819fbdab1870' into HEAD" [2023-02-02T18:45:08.031Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-02T18:45:09.318Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-02T18:45:09.318Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-02T18:45:09.318Z] Dload Upload Total Spent Left Speed [2023-02-02T18:45:09.318Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [2023-02-02T18:45:08.012Z] > git rev-list --no-walk e4f2b0acf5ecb8ba9963deb76ad421a5e4ed8b74 # timeout=10 [Pipeline] sh [2023-02-02T18:45:10.091Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-02T18:45:10.429Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-02T18:45:10.429Z] + sudo tee /etc/docker/daemon.new [2023-02-02T18:45:10.429Z] { [2023-02-02T18:45:10.429Z] "registry-mirrors": [ [2023-02-02T18:45:10.429Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-02T18:45:10.429Z] ], [2023-02-02T18:45:10.429Z] "bip": "10.250.0.254/24", [2023-02-02T18:45:10.429Z] "hosts": [ [2023-02-02T18:45:10.429Z] "tcp://0.0.0.0:5555", [2023-02-02T18:45:10.429Z] "unix:///var/run/docker.sock" [2023-02-02T18:45:10.429Z] ], [2023-02-02T18:45:10.429Z] "mtu": 1458, [2023-02-02T18:45:10.429Z] "selinux-enabled": true, [2023-02-02T18:45:10.429Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-02T18:45:10.429Z] } [Pipeline] sh [2023-02-02T18:45:10.760Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-02T18:45:11.105Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-02T18:45:29.381Z] provisioning config files... [2023-02-02T18:45:29.411Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config10328969457987273064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:45:29.766Z] ---> docker-login.sh [2023-02-02T18:45:29.766Z] nexus3.edgexfoundry.org:10001 [2023-02-02T18:45:30.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:45:30.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:45:30.357Z] Configure a credential helper to remove this warning. See [2023-02-02T18:45:30.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:45:30.357Z] [2023-02-02T18:45:30.630Z] Login Succeeded [2023-02-02T18:45:30.630Z] nexus3.edgexfoundry.org:10002 [2023-02-02T18:45:30.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:45:30.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:45:30.902Z] Configure a credential helper to remove this warning. See [2023-02-02T18:45:30.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:45:30.902Z] [2023-02-02T18:45:30.902Z] Login Succeeded [2023-02-02T18:45:30.902Z] nexus3.edgexfoundry.org:10003 [2023-02-02T18:45:31.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:45:31.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:45:31.172Z] Configure a credential helper to remove this warning. See [2023-02-02T18:45:31.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:45:31.172Z] [2023-02-02T18:45:31.172Z] Login Succeeded [2023-02-02T18:45:31.172Z] nexus3.edgexfoundry.org:10004 [2023-02-02T18:45:31.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:45:31.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:45:31.717Z] Configure a credential helper to remove this warning. See [2023-02-02T18:45:31.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:45:31.717Z] [2023-02-02T18:45:31.717Z] Login Succeeded [2023-02-02T18:45:31.717Z] docker.io [2023-02-02T18:45:31.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-02T18:45:32.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-02T18:45:32.256Z] Configure a credential helper to remove this warning. See [2023-02-02T18:45:32.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-02T18:45:32.256Z] [2023-02-02T18:45:32.256Z] Login Succeeded [2023-02-02T18:45:32.256Z] ---> docker-login.sh ends [Pipeline] } [2023-02-02T18:45:32.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-02T18:45:32.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T18:45:32.564Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-02T18:45:32.577Z] ========================================================= [2023-02-02T18:45:32.577Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-02T18:45:32.577Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:45:32.933Z] + 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-02T18:45:33.203Z] Sending build context to Docker daemon 5.635MB [2023-02-02T18:45:33.472Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T18:45:33.472Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-02T18:45:33.472Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-02T18:45:33.472Z] 9b18e9b68314: Pulling fs layer [2023-02-02T18:45:33.472Z] 35d82f9e3411: Pulling fs layer [2023-02-02T18:45:33.472Z] e16973657156: Pulling fs layer [2023-02-02T18:45:33.472Z] fc693d55d65f: Pulling fs layer [2023-02-02T18:45:33.472Z] 7e9fc2657dce: Pulling fs layer [2023-02-02T18:45:33.472Z] dda99020689f: Pulling fs layer [2023-02-02T18:45:33.472Z] db1c61fa0a46: Pulling fs layer [2023-02-02T18:45:33.472Z] 891c053d2c06: Pulling fs layer [2023-02-02T18:45:33.472Z] fc693d55d65f: Waiting [2023-02-02T18:45:33.472Z] 7e9fc2657dce: Waiting [2023-02-02T18:45:33.472Z] dda99020689f: Waiting [2023-02-02T18:45:33.472Z] db1c61fa0a46: Waiting [2023-02-02T18:45:33.472Z] 891c053d2c06: Waiting [2023-02-02T18:45:33.472Z] e16973657156: Verifying Checksum [2023-02-02T18:45:33.472Z] e16973657156: Download complete [2023-02-02T18:45:33.472Z] 35d82f9e3411: Verifying Checksum [2023-02-02T18:45:33.472Z] 35d82f9e3411: Download complete [2023-02-02T18:45:33.746Z] 7e9fc2657dce: Download complete [2023-02-02T18:45:33.746Z] dda99020689f: Verifying Checksum [2023-02-02T18:45:33.746Z] dda99020689f: Download complete [2023-02-02T18:45:33.746Z] 9b18e9b68314: Verifying Checksum [2023-02-02T18:45:33.746Z] 9b18e9b68314: Download complete [2023-02-02T18:45:34.738Z] 9b18e9b68314: Pull complete [2023-02-02T18:45:34.738Z] 891c053d2c06: Verifying Checksum [2023-02-02T18:45:34.738Z] 891c053d2c06: Download complete [2023-02-02T18:45:35.008Z] 35d82f9e3411: Pull complete [2023-02-02T18:45:35.276Z] e16973657156: Pull complete [2023-02-02T18:45:35.865Z] db1c61fa0a46: Verifying Checksum [2023-02-02T18:45:35.865Z] db1c61fa0a46: Download complete [2023-02-02T18:45:36.458Z] fc693d55d65f: Verifying Checksum [2023-02-02T18:45:36.458Z] fc693d55d65f: Download complete [2023-02-02T18:45:48.791Z] fc693d55d65f: Pull complete [2023-02-02T18:45:48.791Z] 7e9fc2657dce: Pull complete [2023-02-02T18:45:48.791Z] dda99020689f: Pull complete [2023-02-02T18:45:55.452Z] db1c61fa0a46: Pull complete [2023-02-02T18:45:56.893Z] 891c053d2c06: Pull complete [2023-02-02T18:45:56.893Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-02T18:45:56.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-02T18:45:56.893Z] ---> f96f9c87975a [2023-02-02T18:45:56.893Z] Step 3/10 : ARG MAKE=make build [2023-02-02T18:45:58.850Z] ---> Running in 9ebd660104fe [2023-02-02T18:45:59.129Z] Removing intermediate container 9ebd660104fe [2023-02-02T18:45:59.129Z] ---> 53dc999f3ef9 [2023-02-02T18:45:59.129Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-02T18:45:59.129Z] ---> Running in f3a07f717c09 [2023-02-02T18:45:59.712Z] Removing intermediate container f3a07f717c09 [2023-02-02T18:45:59.712Z] ---> 9e1a8b62a0b4 [2023-02-02T18:45:59.712Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-02T18:45:59.712Z] ---> Running in 5caa454d560f [2023-02-02T18:45:59.980Z] Removing intermediate container 5caa454d560f [2023-02-02T18:45:59.981Z] ---> 33faca0a5873 [2023-02-02T18:45:59.981Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-02T18:46:00.247Z] ---> Running in 40ecc0eef221 [2023-02-02T18:46:01.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-02T18:46:01.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-02T18:46:02.627Z] OK: 221 MiB in 51 packages [2023-02-02T18:46:03.585Z] Removing intermediate container 40ecc0eef221 [2023-02-02T18:46:03.585Z] ---> 3e32d018ec49 [2023-02-02T18:46:03.585Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-02T18:46:04.166Z] ---> 896fc8da1a0c [2023-02-02T18:46:04.166Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T18:46:04.166Z] ---> Running in 1982678ca7ae [2023-02-02T18:47:26.900Z] Removing intermediate container 1982678ca7ae [2023-02-02T18:47:26.900Z] ---> 06d6e2c1568c [2023-02-02T18:47:26.900Z] Step 9/10 : COPY . . [2023-02-02T18:47:26.900Z] ---> 6df831ee3f24 [2023-02-02T18:47:26.900Z] Step 10/10 : RUN ${MAKE} [2023-02-02T18:47:26.900Z] ---> Running in 16d146dc7b52 [2023-02-02T18:47:26.900Z] noop [2023-02-02T18:47:26.900Z] Removing intermediate container 16d146dc7b52 [2023-02-02T18:47:26.900Z] ---> 693c35f3dede [2023-02-02T18:47:26.900Z] Successfully built 693c35f3dede [2023-02-02T18:47:26.900Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:47:27.262Z] + docker inspect -f . ci-base-image-arm64 [2023-02-02T18:47:27.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:47:27.471Z] prd-ubuntu20.04-docker-arm64-4c-16g-4391 does not seem to be running inside a container [2023-02-02T18:47:27.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-02T18:47:28.798Z] $ docker top 6d5d0297bdc324973430ea928ee2535b100d181a083548962ec6250249a34540 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T18:47:29.624Z] + go version [2023-02-02T18:47:29.624Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-02T18:47:29.644Z] $ docker stop --time=1 6d5d0297bdc324973430ea928ee2535b100d181a083548962ec6250249a34540 [2023-02-02T18:47:31.225Z] $ docker rm -f --volumes 6d5d0297bdc324973430ea928ee2535b100d181a083548962ec6250249a34540 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:47:31.778Z] + docker inspect -f . ci-base-image-arm64 [2023-02-02T18:47:31.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:47:31.952Z] prd-ubuntu20.04-docker-arm64-4c-16g-4391 does not seem to be running inside a container [2023-02-02T18:47:32.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-02T18:47:33.121Z] $ docker top 8773e22d4d7f26fb8f30a5b418a616bb45bb944069977304d460afef33a61830 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T18:47:33.608Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-02-02T18:47:33.938Z] + make test [2023-02-02T18:47:33.939Z] go test -race -coverprofile=coverage.out ./... [2023-02-02T18:48:12.839Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-02T18:50:34.557Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-02T18:50:34.557Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-02T18:50:34.557Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-02T18:50:34.557Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-02T18:50:34.557Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-02T18:50:36.509Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.274s coverage: 27.6% of statements [2023-02-02T18:50:37.929Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.331s coverage: 78.9% of statements [2023-02-02T18:50:37.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-02T18:50:37.929Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.514s coverage: 70.2% of statements [2023-02-02T18:50:37.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-02T18:50:37.929Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-02T18:50:48.030Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.572s coverage: 59.8% of statements [2023-02-02T18:50:48.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-02T18:50:48.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-02T18:50:48.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-02T18:50:48.030Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.436s coverage: 65.1% of statements [2023-02-02T18:50:48.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-02T18:50:48.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-02T18:50:48.030Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.566s coverage: 89.2% of statements [2023-02-02T18:50:48.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-02T18:50:48.030Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.286s coverage: 4.7% of statements [2023-02-02T18:50:48.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-02T18:50:48.030Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-02T18:50:48.030Z] GO111MODULE=on go vet ./... [2023-02-02T18:52:24.726Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-02T18:52:24.996Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-02T18:52:25.266Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-02T18:52:25.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-02T18:52:25.566Z] $ docker stop --time=1 8773e22d4d7f26fb8f30a5b418a616bb45bb944069977304d460afef33a61830 [2023-02-02T18:52:27.477Z] $ docker rm -f --volumes 8773e22d4d7f26fb8f30a5b418a616bb45bb944069977304d460afef33a61830 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-02T18:52:28.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-02T18:52:28.952Z] Warning: overwriting stash ‘coverage-report’ [2023-02-02T18:52:29.569Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-02T18:52:29.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-02T18:52:30.275Z] + ls -al . [2023-02-02T18:52:30.276Z] total 268 [2023-02-02T18:52:30.276Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 18:47 . [2023-02-02T18:52:30.276Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 18:45 .. [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 18:45 .dockerignore [2023-02-02T18:52:30.276Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 18:45 .git [2023-02-02T18:52:30.276Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 18:45 .github [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 2 18:45 .gitignore [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 2 18:45 .golangci.yml [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 2 18:45 CHANGELOG.md [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 2 18:45 GOVERNANCE.md [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 2 18:45 Jenkinsfile [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 18:45 LICENSE [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 2 18:45 Makefile [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 2 18:45 OWNERS.md [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 2 18:45 README.md [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 18:42 VERSION [2023-02-02T18:52:30.276Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 18:45 bin [2023-02-02T18:52:30.276Z] -rw-r--r-- 1 jenkins jenkins 99762 Feb 2 18:50 coverage.out [2023-02-02T18:52:30.276Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 18:45 example [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 3307 Feb 2 18:45 go.mod [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 34396 Feb 2 18:45 go.sum [2023-02-02T18:52:30.276Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 2 18:45 internal [2023-02-02T18:52:30.276Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 2 18:45 openapi [2023-02-02T18:52:30.276Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 2 18:45 pkg [2023-02-02T18:52:30.276Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 18:45 snap [2023-02-02T18:52:30.276Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:52:30.713Z] + 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=fd948a9cc64558fe92d2fba2af556c8796dfa4ff --label arch=arm64 --label version=0.0.0 . [2023-02-02T18:52:31.314Z] Sending build context to Docker daemon 5.735MB [2023-02-02T18:52:31.314Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-02T18:52:31.314Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-02T18:52:31.314Z] ---> 693c35f3dede [2023-02-02T18:52:31.314Z] Step 3/23 : ARG MAKE=make build [2023-02-02T18:52:33.295Z] ---> Running in 97f64d9f8224 [2023-02-02T18:52:33.619Z] Removing intermediate container 97f64d9f8224 [2023-02-02T18:52:33.619Z] ---> 1a9f446ed1d7 [2023-02-02T18:52:33.619Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-02T18:52:33.619Z] ---> Running in 923af4421a90 [2023-02-02T18:52:34.222Z] Removing intermediate container 923af4421a90 [2023-02-02T18:52:34.222Z] ---> e4d2ca7fc9c5 [2023-02-02T18:52:34.222Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-02T18:52:34.222Z] ---> Running in 6885f3ee33e9 [2023-02-02T18:52:34.492Z] Removing intermediate container 6885f3ee33e9 [2023-02-02T18:52:34.492Z] ---> 23b7933fb053 [2023-02-02T18:52:34.492Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-02T18:52:34.492Z] ---> Running in cfa5153f0a11 [2023-02-02T18:52:35.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-02T18:52:35.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-02T18:52:37.336Z] OK: 221 MiB in 51 packages [2023-02-02T18:52:37.921Z] Removing intermediate container cfa5153f0a11 [2023-02-02T18:52:37.921Z] ---> 53eb4424bbc6 [2023-02-02T18:52:37.921Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-02T18:52:38.507Z] ---> a105f87256bc [2023-02-02T18:52:38.507Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-02T18:52:38.775Z] ---> Running in d8d601b6d0b0 [2023-02-02T18:52:41.355Z] Removing intermediate container d8d601b6d0b0 [2023-02-02T18:52:41.355Z] ---> 5b28240dbfd7 [2023-02-02T18:52:41.355Z] Step 9/23 : COPY . . [2023-02-02T18:52:42.782Z] ---> 5f8c86f653e5 [2023-02-02T18:52:42.782Z] Step 10/23 : RUN ${MAKE} [2023-02-02T18:52:42.782Z] ---> Running in 4a5958040454 [2023-02-02T18:52:43.742Z] 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-02T18:55:05.468Z] Removing intermediate container 4a5958040454 [2023-02-02T18:55:05.468Z] ---> fc66ad1c6654 [2023-02-02T18:55:05.468Z] Step 11/23 : FROM alpine:3.16 [2023-02-02T18:55:05.468Z] 3.16: Pulling from library/alpine [2023-02-02T18:55:05.468Z] 6875df1f5354: Pulling fs layer [2023-02-02T18:55:05.468Z] 6875df1f5354: Verifying Checksum [2023-02-02T18:55:05.468Z] 6875df1f5354: Download complete [2023-02-02T18:55:05.468Z] 6875df1f5354: Pull complete [2023-02-02T18:55:05.468Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-02T18:55:05.468Z] Status: Downloaded newer image for alpine:3.16 [2023-02-02T18:55:05.468Z] ---> 2b4661558fb8 [2023-02-02T18:55:05.468Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-02T18:55:05.468Z] ---> Running in 60acd421cb3f [2023-02-02T18:55:05.468Z] Removing intermediate container 60acd421cb3f [2023-02-02T18:55:05.468Z] ---> af4079d98011 [2023-02-02T18:55:05.468Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-02T18:55:05.468Z] ---> Running in 4ee8a7ee0ede [2023-02-02T18:55:05.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-02T18:55:05.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-02T18:55:05.468Z] OK: 5 MiB in 14 packages [2023-02-02T18:55:05.468Z] Removing intermediate container 4ee8a7ee0ede [2023-02-02T18:55:05.468Z] ---> d2babc039ec8 [2023-02-02T18:55:05.468Z] Step 14/23 : WORKDIR / [2023-02-02T18:55:05.468Z] ---> Running in 8e8b0e9fc8ac [2023-02-02T18:55:05.468Z] Removing intermediate container 8e8b0e9fc8ac [2023-02-02T18:55:05.468Z] ---> 9f56bf583017 [2023-02-02T18:55:05.468Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-02T18:55:05.468Z] ---> 773159e9c96f [2023-02-02T18:55:05.468Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-02T18:55:05.468Z] ---> a448932fe496 [2023-02-02T18:55:05.468Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-02T18:55:05.468Z] ---> 863e66724ffd [2023-02-02T18:55:05.468Z] Step 18/23 : EXPOSE 59999 [2023-02-02T18:55:05.468Z] ---> Running in df97d7e041b9 [2023-02-02T18:55:05.468Z] Removing intermediate container df97d7e041b9 [2023-02-02T18:55:05.468Z] ---> 73910a24d4f8 [2023-02-02T18:55:05.468Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-02T18:55:05.468Z] ---> Running in 789d4fc81c88 [2023-02-02T18:55:05.468Z] Removing intermediate container 789d4fc81c88 [2023-02-02T18:55:05.468Z] ---> cfbf6de6aecf [2023-02-02T18:55:05.468Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-02T18:55:05.468Z] ---> Running in f098c981d391 [2023-02-02T18:55:05.468Z] Removing intermediate container f098c981d391 [2023-02-02T18:55:05.468Z] ---> 666fc288d5e2 [2023-02-02T18:55:05.468Z] Step 21/23 : LABEL arch=arm64 [2023-02-02T18:55:05.468Z] ---> Running in c8fea5c16a35 [2023-02-02T18:55:05.468Z] Removing intermediate container c8fea5c16a35 [2023-02-02T18:55:05.468Z] ---> afe2771e848e [2023-02-02T18:55:05.468Z] Step 22/23 : LABEL git_sha=fd948a9cc64558fe92d2fba2af556c8796dfa4ff [2023-02-02T18:55:05.468Z] ---> Running in a8046cfc56bf [2023-02-02T18:55:05.468Z] Removing intermediate container a8046cfc56bf [2023-02-02T18:55:05.468Z] ---> df6d08edbfd2 [2023-02-02T18:55:05.468Z] Step 23/23 : LABEL version=0.0.0 [2023-02-02T18:55:05.468Z] ---> Running in 7f01dae6e66e [2023-02-02T18:55:05.468Z] Removing intermediate container 7f01dae6e66e [2023-02-02T18:55:05.468Z] ---> 039ada89f4bf [2023-02-02T18:55:05.468Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-02T18:55:05.468Z] Successfully built 039ada89f4bf [2023-02-02T18:55:05.468Z] 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-02T18:55:05.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-02T18:55:05.870Z] [2023-02-02T18:55:05.870Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:55:06.198Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-02T18:55:06.198Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-02T18:55:06.198Z] 8998bd30e6a1: Pulling fs layer [2023-02-02T18:55:06.198Z] 04944245beec: Pulling fs layer [2023-02-02T18:55:06.198Z] 699f458cf7ca: Pulling fs layer [2023-02-02T18:55:06.198Z] 765212b225bb: Pulling fs layer [2023-02-02T18:55:06.198Z] f23df028b6ca: Pulling fs layer [2023-02-02T18:55:06.198Z] d65c8cfc05b1: Pulling fs layer [2023-02-02T18:55:06.198Z] 2437ff75d9bd: Pulling fs layer [2023-02-02T18:55:06.198Z] 765212b225bb: Waiting [2023-02-02T18:55:06.198Z] f23df028b6ca: Waiting [2023-02-02T18:55:06.198Z] d65c8cfc05b1: Waiting [2023-02-02T18:55:06.198Z] 2437ff75d9bd: Waiting [2023-02-02T18:55:06.467Z] 04944245beec: Download complete [2023-02-02T18:55:06.467Z] 765212b225bb: Verifying Checksum [2023-02-02T18:55:06.467Z] 765212b225bb: Download complete [2023-02-02T18:55:06.467Z] f23df028b6ca: Download complete [2023-02-02T18:55:06.734Z] d65c8cfc05b1: Verifying Checksum [2023-02-02T18:55:06.734Z] d65c8cfc05b1: Download complete [2023-02-02T18:55:06.734Z] 699f458cf7ca: Verifying Checksum [2023-02-02T18:55:06.734Z] 699f458cf7ca: Download complete [2023-02-02T18:55:07.019Z] 8998bd30e6a1: Verifying Checksum [2023-02-02T18:55:07.019Z] 8998bd30e6a1: Download complete [2023-02-02T18:55:09.600Z] 2437ff75d9bd: Verifying Checksum [2023-02-02T18:55:09.600Z] 2437ff75d9bd: Download complete [2023-02-02T18:55:11.003Z] 8998bd30e6a1: Pull complete [2023-02-02T18:55:11.273Z] 04944245beec: Pull complete [2023-02-02T18:55:12.679Z] 699f458cf7ca: Pull complete [2023-02-02T18:55:12.945Z] 765212b225bb: Pull complete [2023-02-02T18:55:13.528Z] f23df028b6ca: Pull complete [2023-02-02T18:55:13.794Z] d65c8cfc05b1: Pull complete [2023-02-02T18:55:28.776Z] 2437ff75d9bd: Pull complete [2023-02-02T18:55:28.776Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-02T18:55:28.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-02T18:55:28.776Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:55:28.972Z] prd-ubuntu20.04-docker-arm64-4c-16g-4391 does not seem to be running inside a container [2023-02-02T18:55:29.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-02T18:55:31.893Z] $ docker top 258dd7b3e91e352ecf3115e47627d671c8fb33febf0670cf991f397e820b5d5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:55:32.717Z] ---> job-cost.sh [2023-02-02T18:55:32.717Z] lf-activate-venv: SKIPPING [2023-02-02T18:55:32.717Z] INFO: No Stack... [2023-02-02T18:55:33.298Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-02T18:55:33.881Z] INFO: Archiving Costs [Pipeline] sh [2023-02-02T18:55:34.521Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-02-02T18:55:34.521Z] + cut -d, -f6 [Pipeline] lock [2023-02-02T18:55:34.587Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1290-3-stack-cost] [2023-02-02T18:55:34.593Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-3-stack-cost] did not exist. Created. [2023-02-02T18:55:34.593Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1290-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-02T18:55:35.251Z] /w/workspace/device-sdk-go/3@tmp/durable-e66e1edb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-02T18:55:35.905Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-02T18:55:35.927Z] Warning: overwriting stash ‘stack-cost’ [2023-02-02T18:55:35.999Z] Stashed 1 file(s) [Pipeline] } [2023-02-02T18:55:36.006Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-02T18:55:36.023Z] $ docker stop --time=1 258dd7b3e91e352ecf3115e47627d671c8fb33febf0670cf991f397e820b5d5c [2023-02-02T18:55:37.579Z] $ docker rm -f --volumes 258dd7b3e91e352ecf3115e47627d671c8fb33febf0670cf991f397e820b5d5c [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-02T18:55:38.016Z] provisioning config files... [2023-02-02T18:55:38.024Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config10783848039207427236tmp [Pipeline] { [Pipeline] sh [2023-02-02T18:55:38.311Z] + set +x [2023-02-02T18:55:38.311Z] + bash -s -- [2023-02-02T18:55:38.311Z] + curl -s https://codecov.io/bash [2023-02-02T18:55:38.311Z] [2023-02-02T18:55:38.311Z] _____ _ [2023-02-02T18:55:38.311Z] / ____| | | [2023-02-02T18:55:38.311Z] | | ___ __| | ___ ___ _____ __ [2023-02-02T18:55:38.311Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-02T18:55:38.311Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-02T18:55:38.311Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-02T18:55:38.311Z] Bash-1.0.6 [2023-02-02T18:55:38.311Z] [2023-02-02T18:55:38.311Z] [2023-02-02T18:55:38.311Z] ==> git version 2.25.1 found [2023-02-02T18:55:38.311Z] ==> 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-02T18:55:38.311Z] Release-Date: 2020-01-08 [2023-02-02T18:55:38.311Z] 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-02T18:55:38.311Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-02T18:55:38.311Z] ==> Jenkins CI detected. [2023-02-02T18:55:38.311Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1290 [2023-02-02T18:55:38.311Z] project root: . [2023-02-02T18:55:38.311Z] --> token set from env [2023-02-02T18:55:38.311Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-02T18:55:38.311Z] ==> Running gcov in . (disable via -X gcov) [2023-02-02T18:55:38.311Z] ==> Python coveragepy not found [2023-02-02T18:55:38.311Z] ==> Searching for coverage reports in: [2023-02-02T18:55:38.311Z] + . [2023-02-02T18:55:38.311Z] -> Found 1 reports [2023-02-02T18:55:38.311Z] ==> Detecting git/mercurial file structure [2023-02-02T18:55:38.311Z] ==> Reading reports [2023-02-02T18:55:38.311Z] + ./coverage.out bytes=99762 [2023-02-02T18:55:38.311Z] ==> Appending adjustments [2023-02-02T18:55:38.311Z] https://docs.codecov.io/docs/fixing-reports [2023-02-02T18:55:38.570Z] + Found adjustments [2023-02-02T18:55:38.570Z] ==> Gzipping contents [2023-02-02T18:55:38.570Z] 16K /tmp/codecov.8azer8.gz [2023-02-02T18:55:38.570Z] ==> Uploading reports [2023-02-02T18:55:38.570Z] url: https://codecov.io [2023-02-02T18:55:38.570Z] query: branch=PR-1290&commit=64e666492f6d531cd061cdc9548039d856bce399&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1290%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1290&job=&cmd_args= [2023-02-02T18:55:38.570Z] -> Pinging Codecov [2023-02-02T18:55:38.570Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1290&commit=64e666492f6d531cd061cdc9548039d856bce399&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1290%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1290&job=&cmd_args= [2023-02-02T18:55:39.136Z] -> Uploading to [2023-02-02T18:55:39.136Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-02/7E55EF52A471D76F132DFD9A03CDDE97/64e666492f6d531cd061cdc9548039d856bce399/098900a6-89da-4905-a178-e72fc270e268.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230202T185538Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69af8a00cb7ed4d464db99b5bed3d806de3a71bd0b36634bc1b02dd9952f9b98 [2023-02-02T18:55:39.136Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-02T18:55:39.136Z] Dload Upload Total Spent Left Speed [2023-02-02T18:55:39.395Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14387 0 0 100 14387 0 55548 --:--:-- --:--:-- --:--:-- 55548 [2023-02-02T18:55:39.395Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/64e666492f6d531cd061cdc9548039d856bce399 [Pipeline] } [2023-02-02T18:55:39.401Z] 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-02T18:55:40.114Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives ] [2023-02-02T18:55:40.115Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-02-02T18:55:40.115Z] total 16 [2023-02-02T18:55:40.115Z] drwxr-xr-x 3 root root 4096 Feb 2 18:44 . [2023-02-02T18:55:40.115Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 2 18:44 .. [2023-02-02T18:55:40.115Z] drwxr-xr-x 2 root root 4096 Feb 2 18:44 cost [2023-02-02T18:55:40.115Z] -rw-r--r-- 1 root root 86 Feb 2 18:44 cost.csv [2023-02-02T18:55:40.115Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-02-02T18:55:40.115Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-02-02T18:55:40.115Z] total 16 [2023-02-02T18:55:40.115Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 2 18:44 . [2023-02-02T18:55:40.115Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 2 18:44 .. [2023-02-02T18:55:40.115Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 2 18:44 cost [2023-02-02T18:55:40.115Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 2 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:55:40.402Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:55:41.253Z] ---> package-listing.sh [2023-02-02T18:55:41.253Z] ++ facter osfamily [2023-02-02T18:55:41.253Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-02T18:55:41.511Z] + OS_FAMILY=debian [2023-02-02T18:55:41.511Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1290 [2023-02-02T18:55:41.511Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-02T18:55:41.511Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-02T18:55:41.511Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-02T18:55:41.511Z] + PACKAGES=/tmp/packages_start.txt [2023-02-02T18:55:41.511Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1290 ']' [2023-02-02T18:55:41.511Z] + PACKAGES=/tmp/packages_end.txt [2023-02-02T18:55:41.511Z] + case "${OS_FAMILY}" in [2023-02-02T18:55:41.511Z] + dpkg -l [2023-02-02T18:55:41.511Z] + grep '^ii' [2023-02-02T18:55:41.511Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-02T18:55:41.511Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-02T18:55:41.511Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-02T18:55:41.511Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1290 ']' [2023-02-02T18:55:41.511Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/ [2023-02-02T18:55:41.511Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/ [Pipeline] echo [2023-02-02T18:55:41.521Z] 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-1290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-02T18:55:41.794Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-02T18:55:42.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-02T18:55:42.350Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-02T18:55:42.414Z] prd-ubuntu20.04-docker-8c-8g-4388 does not seem to be running inside a container [2023-02-02T18:55:42.451Z] $ 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-1290/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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@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-02T18:55:42.623Z] $ docker top 26b7306050d229b42a3e2023b18c9c62ef91b1b0431d12939332db3aad384864 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-02T18:55:42.950Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-02T18:55:43.233Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-02T18:55:43.515Z] + ls /var/log/sa-host [2023-02-02T18:55:43.515Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-02T18:55:43.624Z] provisioning config files... [2023-02-02T18:55:43.631Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config14256221110819732335tmp [Pipeline] { [Pipeline] echo [2023-02-02T18:55:43.640Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:55:43.920Z] ---> create-netrc.sh [Pipeline] } [2023-02-02T18:55:43.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:55:44.251Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-02T18:55:44.261Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:55:44.542Z] ---> sudo-logs.sh [2023-02-02T18:55:44.543Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-02T18:55:44.573Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:55:44.857Z] ---> job-cost.sh [2023-02-02T18:55:44.857Z] lf-activate-venv: SKIPPING [2023-02-02T18:55:44.857Z] DEBUG: total: 0.2199999988079071 [2023-02-02T18:55:44.857Z] INFO: Retrieving Stack Cost... [2023-02-02T18:55:45.424Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-02T18:55:45.683Z] INFO: Archiving Costs [Pipeline] echo [2023-02-02T18:55:45.696Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-02T18:55:45.980Z] ---> logs-deploy.sh [2023-02-02T18:55:45.980Z] lf-activate-venv: SKIPPING [2023-02-02T18:55:45.980Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1290/3 [2023-02-02T18:55:45.980Z] INFO: archiving workspace using pattern(s): [2023-02-02T18:55:46.916Z] Archives upload complete. [2023-02-02T18:55:46.916Z] INFO: archiving logs to Nexus