Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1+f03d932b600fd46a3b503f339d4d9f330fd6c1ce (127309ef1635db811886a8442a219fae70321974) 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-ssh2377292234664816554.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-ssh1499793309595743131.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-1325/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-1325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1126237543877170882.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-ssh17044647755144090196.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-1325/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-1325/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3492390244798337642.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6488 in /w/workspace/gexfoundry_device-sdk-go_PR-1325 [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-1325 # 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/1325/head:refs/remotes/origin/PR-1325 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f03d932b600fd46a3b503f339d4d9f330fd6c1ce into PR head commit 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 Merge succeeded, producing e4f7a9d1294fa09daac50895bd41831f30d29d70 Checking out Revision e4f7a9d1294fa09daac50895bd41831f30d29d70 (PR-1325) > git config core.sparsecheckout # timeout=10 > git checkout -f 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 # 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 f03d932b600fd46a3b503f339d4d9f330fd6c1ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4f7a9d1294fa09daac50895bd41831f30d29d70 # timeout=10 Commit message: "Merge commit 'f03d932b600fd46a3b503f339d4d9f330fd6c1ce' into HEAD" > git rev-list --no-walk 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T18:41:28.827Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T18:41:28.891Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T18:41:28.906Z] ========================================================= [2023-02-17T18:41:28.906Z] EdgeX Global Pipelines Version Info [2023-02-17T18:41:28.906Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-17T18:41:29.622Z] ------------------- [2023-02-17T18:41:29.622Z] stable info: [2023-02-17T18:41:29.622Z] ------------------- [2023-02-17T18:41:29.622Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T18:41:29.622Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T18:41:29.622Z] Message: update stable to v1.0.244 [2023-02-17T18:41:30.195Z] ------------------- [2023-02-17T18:41:30.195Z] experimental info: [2023-02-17T18:41:30.195Z] ------------------- [2023-02-17T18:41:30.195Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T18:41:30.195Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T18:41:30.195Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T18:41:30.344Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-17T18:41:30.353Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-17T18:41:30.369Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T18:41:30.381Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T18:41:30.393Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T18:41:30.406Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T18:41:30.421Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T18:41:30.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-17T18:41:30.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T18:41:30.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T18:41:30.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T18:41:30.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-17T18:41:30.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T18:41:30.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T18:41:30.530Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T18:41:30.542Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T18:41:30.554Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T18:41:30.565Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T18:41:30.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T18:41:30.590Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T18:41:30.608Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-17T18:41:30.618Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-17T18:41:30.628Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T18:41:30.641Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T18:41:30.653Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T18:41:30.664Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T18:41:30.678Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T18:41:30.690Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1325 [Pipeline] echo [2023-02-17T18:41:30.703Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1325 [Pipeline] echo [2023-02-17T18:41:30.719Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1325 [Pipeline] echo [2023-02-17T18:41:30.737Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4f7a9d1294fa09daac50895bd41831f30d29d70 [Pipeline] echo [2023-02-17T18:41:30.754Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4f7a9d [Pipeline] echo [2023-02-17T18:41:30.768Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T18:41:30.815Z] provisioning config files... [2023-02-17T18:41:30.828Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config294538612907316971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T18:41:31.132Z] ---> docker-login.sh [2023-02-17T18:41:31.132Z] nexus3.edgexfoundry.org:10001 [2023-02-17T18:41:31.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:41:31.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:41:31.392Z] Configure a credential helper to remove this warning. See [2023-02-17T18:41:31.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:41:31.392Z] [2023-02-17T18:41:31.392Z] Login Succeeded [2023-02-17T18:41:31.392Z] nexus3.edgexfoundry.org:10002 [2023-02-17T18:41:31.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:41:31.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:41:31.658Z] Configure a credential helper to remove this warning. See [2023-02-17T18:41:31.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:41:31.658Z] [2023-02-17T18:41:31.658Z] Login Succeeded [2023-02-17T18:41:31.658Z] nexus3.edgexfoundry.org:10003 [2023-02-17T18:41:31.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:41:31.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:41:31.658Z] Configure a credential helper to remove this warning. See [2023-02-17T18:41:31.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:41:31.658Z] [2023-02-17T18:41:31.658Z] Login Succeeded [2023-02-17T18:41:31.658Z] nexus3.edgexfoundry.org:10004 [2023-02-17T18:41:31.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:41:31.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:41:31.919Z] Configure a credential helper to remove this warning. See [2023-02-17T18:41:31.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:41:31.919Z] [2023-02-17T18:41:31.919Z] Login Succeeded [2023-02-17T18:41:31.919Z] docker.io [2023-02-17T18:41:31.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:41:32.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:41:32.179Z] Configure a credential helper to remove this warning. See [2023-02-17T18:41:32.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:41:32.179Z] [2023-02-17T18:41:32.179Z] Login Succeeded [2023-02-17T18:41:32.179Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T18:41:32.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T18:41:32.577Z] + git rev-list -1 --merges e4f7a9d1294fa09daac50895bd41831f30d29d70~1..e4f7a9d1294fa09daac50895bd41831f30d29d70 [Pipeline] echo [2023-02-17T18:41:32.624Z] -----------> git rev-list -1 --merges e4f7a9d1294fa09daac50895bd41831f30d29d70~1..e4f7a9d1294fa09daac50895bd41831f30d29d70 e4f7a9d1294fa09daac50895bd41831f30d29d70 [2023-02-17T18:41:32.624Z] e4f7a9d1294fa09daac50895bd41831f30d29d70 [false] [Pipeline] sh [2023-02-17T18:41:32.911Z] + git log --format=format:%s -1 e4f7a9d1294fa09daac50895bd41831f30d29d70 [Pipeline] echo [2023-02-17T18:41:32.926Z] ========================================================= [2023-02-17T18:41:32.926Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T18:41:32.926Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T18:41:33.270Z] + git log --format=format:%s -1 e4f7a9d1294fa09daac50895bd41831f30d29d70 [Pipeline] echo [2023-02-17T18:41:33.280Z] [semverPrep] GIT_COMMIT: e4f7a9d1294fa09daac50895bd41831f30d29d70, Commit Message: Merge commit 'f03d932b600fd46a3b503f339d4d9f330fd6c1ce' into HEAD [Pipeline] echo [2023-02-17T18:41:33.292Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T18:41:33.656Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T18:41:33.656Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T18:41:33.656Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T18:41:33.656Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T18:41:33.656Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-17T18:41:33.656Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-17T18:41:33.656Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T18:41:34.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T18:41:34.077Z] [2023-02-17T18:41:34.077Z] 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-17T18:41:34.382Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T18:41:34.382Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T18:41:34.382Z] b85a868b505f: Pulling fs layer [2023-02-17T18:41:34.382Z] e2be974225ed: Pulling fs layer [2023-02-17T18:41:34.382Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T18:41:34.382Z] 988bab9f4d93: Pulling fs layer [2023-02-17T18:41:34.382Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T18:41:34.382Z] eaf3925da568: Pulling fs layer [2023-02-17T18:41:34.382Z] bab4dde63d76: Pulling fs layer [2023-02-17T18:41:34.382Z] bde34c3a00c8: Pulling fs layer [2023-02-17T18:41:34.382Z] b352a97aabf1: Pulling fs layer [2023-02-17T18:41:34.382Z] 4872d77fe225: Pulling fs layer [2023-02-17T18:41:34.382Z] 5851b861e8e6: Pulling fs layer [2023-02-17T18:41:34.382Z] 988bab9f4d93: Waiting [2023-02-17T18:41:34.382Z] bab4dde63d76: Waiting [2023-02-17T18:41:34.382Z] bde34c3a00c8: Waiting [2023-02-17T18:41:34.382Z] 1469e6f7b9e6: Waiting [2023-02-17T18:41:34.382Z] b352a97aabf1: Waiting [2023-02-17T18:41:34.382Z] eaf3925da568: Waiting [2023-02-17T18:41:34.382Z] 4872d77fe225: Waiting [2023-02-17T18:41:34.382Z] 5851b861e8e6: Waiting [2023-02-17T18:41:34.382Z] e2be974225ed: Download complete [2023-02-17T18:41:34.382Z] 988bab9f4d93: Verifying Checksum [2023-02-17T18:41:34.382Z] 988bab9f4d93: Download complete [2023-02-17T18:41:34.648Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T18:41:34.648Z] 1469e6f7b9e6: Download complete [2023-02-17T18:41:34.648Z] eaf3925da568: Verifying Checksum [2023-02-17T18:41:34.648Z] eaf3925da568: Download complete [2023-02-17T18:41:34.648Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T18:41:34.648Z] 339a4e72a1f5: Download complete [2023-02-17T18:41:34.648Z] bde34c3a00c8: Verifying Checksum [2023-02-17T18:41:34.648Z] bde34c3a00c8: Download complete [2023-02-17T18:41:34.909Z] b352a97aabf1: Download complete [2023-02-17T18:41:34.909Z] 4872d77fe225: Download complete [2023-02-17T18:41:34.909Z] 5851b861e8e6: Verifying Checksum [2023-02-17T18:41:34.909Z] 5851b861e8e6: Download complete [2023-02-17T18:41:34.909Z] b85a868b505f: Verifying Checksum [2023-02-17T18:41:34.909Z] b85a868b505f: Download complete [2023-02-17T18:41:35.170Z] bab4dde63d76: Verifying Checksum [2023-02-17T18:41:35.170Z] bab4dde63d76: Download complete [2023-02-17T18:41:36.107Z] b85a868b505f: Pull complete [2023-02-17T18:41:36.367Z] e2be974225ed: Pull complete [2023-02-17T18:41:36.980Z] 339a4e72a1f5: Pull complete [2023-02-17T18:41:36.980Z] 988bab9f4d93: Pull complete [2023-02-17T18:41:37.239Z] 1469e6f7b9e6: Pull complete [2023-02-17T18:41:37.239Z] eaf3925da568: Pull complete [2023-02-17T18:41:39.146Z] bab4dde63d76: Pull complete [2023-02-17T18:41:39.146Z] bde34c3a00c8: Pull complete [2023-02-17T18:41:39.146Z] b352a97aabf1: Pull complete [2023-02-17T18:41:39.146Z] 4872d77fe225: Pull complete [2023-02-17T18:41:39.406Z] 5851b861e8e6: Pull complete [2023-02-17T18:41:39.406Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T18:41:39.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T18:41:39.406Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T18:41:39.490Z] prd-ubuntu20.04-docker-8c-8g-6488 does not seem to be running inside a container [2023-02-17T18:41:39.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T18:41:40.652Z] $ docker top 25eec4841cbea2ed607391cef4562cac8af4b4409ca25f657bf9ef1df73d4d97 -eo pid,comm [2023-02-17T18:41:40.720Z] 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-17T18:41:40.720Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T18:41:40.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T18:41:40.758Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T18:41:40.869Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T18:41:40.860Z] $ docker exec 25eec4841cbea2ed607391cef4562cac8af4b4409ca25f657bf9ef1df73d4d97 ssh-agent [2023-02-17T18:41:40.989Z] SSH_AUTH_SOCK=/tmp/ssh-pOQC16xqZuQ0/agent.32 [2023-02-17T18:41:40.989Z] SSH_AGENT_PID=38 [2023-02-17T18:41:40.995Z] Running ssh-add (command line suppressed) [2023-02-17T18:41:41.096Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_7819776967572516563.key (/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_7819776967572516563.key) [2023-02-17T18:41:41.121Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T18:41:41.407Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T18:41:41.411Z] $ docker exec --env ******** --env ******** 25eec4841cbea2ed607391cef4562cac8af4b4409ca25f657bf9ef1df73d4d97 ssh-agent -k [2023-02-17T18:41:41.515Z] unset SSH_AUTH_SOCK; [2023-02-17T18:41:41.515Z] unset SSH_AGENT_PID; [2023-02-17T18:41:41.516Z] echo Agent pid 38 killed; [2023-02-17T18:41:41.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T18:41:41.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T18:41:41.566Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T18:41:41.669Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T18:41:41.660Z] $ docker exec 25eec4841cbea2ed607391cef4562cac8af4b4409ca25f657bf9ef1df73d4d97 ssh-agent [2023-02-17T18:41:41.789Z] SSH_AUTH_SOCK=/tmp/ssh-yQ7XgROpJVoZ/agent.70 [2023-02-17T18:41:41.789Z] SSH_AGENT_PID=76 [2023-02-17T18:41:41.794Z] Running ssh-add (command line suppressed) [2023-02-17T18:41:41.880Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_6976601455091377949.key (/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_6976601455091377949.key) [2023-02-17T18:41:41.911Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T18:41:42.198Z] + git semver init [2023-02-17T18:41:42.457Z] 2023-02-17 18:41:42,368 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T18:41:42.457Z] 2023-02-17 18:41:42,369 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver [2023-02-17T18:41:42.457Z] 2023-02-17 18:41:42,369 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver [2023-02-17T18:41:42.457Z] 2023-02-17 18:41:42,370 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325, universal_newlines=False, shell=None, istream=None) [2023-02-17T18:41:43.393Z] 2023-02-17 18:41:43,293 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.git/info/exclude [2023-02-17T18:41:43.393Z] 2023-02-17 18:41:43,294 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 with force:False [2023-02-17T18:41:43.393Z] 2023-02-17 18:41:43,294 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 [2023-02-17T18:41:43.393Z] 2023-02-17 18:41:43,298 [execute] INFO git cat-file --batch-check [2023-02-17T18:41:43.393Z] 2023-02-17 18:41:43,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T18:41:43.393Z] 2023-02-17 18:41:43,306 [execute] INFO git cat-file --batch [2023-02-17T18:41:43.394Z] 2023-02-17 18:41:43,307 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T18:41:43.394Z] 2023-02-17 18:41:43,313 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 [2023-02-17T18:41:43.394Z] 0.0.0 [Pipeline] } [2023-02-17T18:41:43.392Z] $ docker exec --env ******** --env ******** 25eec4841cbea2ed607391cef4562cac8af4b4409ca25f657bf9ef1df73d4d97 ssh-agent -k [2023-02-17T18:41:43.489Z] unset SSH_AUTH_SOCK; [2023-02-17T18:41:43.489Z] unset SSH_AGENT_PID; [2023-02-17T18:41:43.490Z] echo Agent pid 76 killed; [2023-02-17T18:41:43.510Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T18:41:43.815Z] + git semver [Pipeline] } [2023-02-17T18:41:44.078Z] $ docker stop --time=1 25eec4841cbea2ed607391cef4562cac8af4b4409ca25f657bf9ef1df73d4d97 [2023-02-17T18:41:45.403Z] $ docker rm -f --volumes 25eec4841cbea2ed607391cef4562cac8af4b4409ca25f657bf9ef1df73d4d97 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T18:41:45.745Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T18:41:45.928Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T18:41:45.931Z] [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-17T18:41:46.063Z] provisioning config files... [2023-02-17T18:41:46.070Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config13721573614820393922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T18:41:46.367Z] ---> docker-login.sh [2023-02-17T18:41:46.367Z] nexus3.edgexfoundry.org:10001 [2023-02-17T18:41:46.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:41:46.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:41:46.367Z] Configure a credential helper to remove this warning. See [2023-02-17T18:41:46.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:41:46.367Z] [2023-02-17T18:41:46.367Z] Login Succeeded [2023-02-17T18:41:46.367Z] nexus3.edgexfoundry.org:10002 [2023-02-17T18:41:46.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:41:46.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:41:46.367Z] Configure a credential helper to remove this warning. See [2023-02-17T18:41:46.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:41:46.367Z] [2023-02-17T18:41:46.367Z] Login Succeeded [2023-02-17T18:41:46.367Z] nexus3.edgexfoundry.org:10003 [2023-02-17T18:41:46.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:41:46.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:41:46.626Z] Configure a credential helper to remove this warning. See [2023-02-17T18:41:46.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:41:46.626Z] [2023-02-17T18:41:46.626Z] Login Succeeded [2023-02-17T18:41:46.626Z] nexus3.edgexfoundry.org:10004 [2023-02-17T18:41:46.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:41:46.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:41:46.626Z] Configure a credential helper to remove this warning. See [2023-02-17T18:41:46.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:41:46.626Z] [2023-02-17T18:41:46.626Z] Login Succeeded [2023-02-17T18:41:46.626Z] docker.io [2023-02-17T18:41:46.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:41:47.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:41:47.145Z] Configure a credential helper to remove this warning. See [2023-02-17T18:41:47.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:41:47.145Z] [2023-02-17T18:41:47.145Z] Login Succeeded [2023-02-17T18:41:47.145Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T18:41:47.152Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T18:41:47.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T18:41:47.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T18:41:47.246Z] ========================================================= [2023-02-17T18:41:47.246Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T18:41:47.246Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T18:41:47.563Z] + 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-17T18:41:47.563Z] Sending build context to Docker daemon 10.58MB [2023-02-17T18:41:47.563Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T18:41:47.563Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T18:41:47.563Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T18:41:47.563Z] 213ec9aee27d: Pulling fs layer [2023-02-17T18:41:47.563Z] 4583459ba037: Pulling fs layer [2023-02-17T18:41:47.563Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T18:41:47.563Z] 53926ce57604: Pulling fs layer [2023-02-17T18:41:47.563Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T18:41:47.563Z] 53926ce57604: Waiting [2023-02-17T18:41:47.563Z] 22ff95d597cd: Pulling fs layer [2023-02-17T18:41:47.563Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T18:41:47.563Z] 21b2b0c7a3f4: Waiting [2023-02-17T18:41:47.563Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T18:41:47.563Z] a7acece74701: Pulling fs layer [2023-02-17T18:41:47.563Z] 12d6caf4c0d1: Waiting [2023-02-17T18:41:47.563Z] a7acece74701: Waiting [2023-02-17T18:41:47.563Z] 96b7cbca73a9: Waiting [2023-02-17T18:41:47.563Z] 93c1e223e6f2: Download complete [2023-02-17T18:41:47.828Z] 4583459ba037: Verifying Checksum [2023-02-17T18:41:47.828Z] 4583459ba037: Download complete [2023-02-17T18:41:47.828Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T18:41:47.828Z] 21b2b0c7a3f4: Download complete [2023-02-17T18:41:47.828Z] 22ff95d597cd: Verifying Checksum [2023-02-17T18:41:47.828Z] 22ff95d597cd: Download complete [2023-02-17T18:41:47.828Z] 213ec9aee27d: Download complete [2023-02-17T18:41:47.828Z] 12d6caf4c0d1: Download complete [2023-02-17T18:41:48.100Z] 213ec9aee27d: Pull complete [2023-02-17T18:41:48.100Z] 4583459ba037: Pull complete [2023-02-17T18:41:48.100Z] 93c1e223e6f2: Pull complete [2023-02-17T18:41:49.156Z] a7acece74701: Download complete [2023-02-17T18:41:49.433Z] 53926ce57604: Verifying Checksum [2023-02-17T18:41:49.433Z] 53926ce57604: Download complete [2023-02-17T18:41:49.694Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T18:41:49.694Z] 96b7cbca73a9: Download complete [2023-02-17T18:41:52.975Z] 53926ce57604: Pull complete [2023-02-17T18:41:52.975Z] 21b2b0c7a3f4: Pull complete [2023-02-17T18:41:53.233Z] 22ff95d597cd: Pull complete [2023-02-17T18:41:53.233Z] 12d6caf4c0d1: Pull complete [2023-02-17T18:41:55.131Z] 96b7cbca73a9: Pull complete [2023-02-17T18:41:56.086Z] a7acece74701: Pull complete [2023-02-17T18:41:56.086Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T18:41:56.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T18:41:56.086Z] ---> db6d94c90886 [2023-02-17T18:41:56.086Z] Step 3/10 : ARG MAKE=make build [2023-02-17T18:41:57.461Z] ---> Running in c8d78c473817 [2023-02-17T18:41:57.461Z] Removing intermediate container c8d78c473817 [2023-02-17T18:41:57.461Z] ---> de12d1cd9252 [2023-02-17T18:41:57.461Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-17T18:41:57.461Z] ---> Running in fc265cb6e20e [2023-02-17T18:41:57.461Z] Removing intermediate container fc265cb6e20e [2023-02-17T18:41:57.461Z] ---> e790ee07358b [2023-02-17T18:41:57.461Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T18:41:57.461Z] ---> Running in 34973afd0439 [2023-02-17T18:41:57.461Z] Removing intermediate container 34973afd0439 [2023-02-17T18:41:57.461Z] ---> 8e77fe923ae7 [2023-02-17T18:41:57.461Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-17T18:41:57.461Z] ---> Running in a4b0d4d6b1ff [2023-02-17T18:41:57.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T18:41:57.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T18:41:58.236Z] OK: 211 MiB in 51 packages [2023-02-17T18:41:58.496Z] Removing intermediate container a4b0d4d6b1ff [2023-02-17T18:41:58.496Z] ---> b813478c7729 [2023-02-17T18:41:58.496Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T18:41:58.755Z] ---> 4e59d669334b [2023-02-17T18:41:58.755Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T18:41:58.755Z] ---> Running in a957c6d3ee9c [2023-02-17T18:42:01.032Z] Still waiting to schedule task [2023-02-17T18:42:01.032Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-17T18:42:25.328Z] Removing intermediate container a957c6d3ee9c [2023-02-17T18:42:25.328Z] ---> fa53caa41290 [2023-02-17T18:42:25.328Z] Step 9/10 : COPY . . [2023-02-17T18:42:25.587Z] ---> 5f8c1d11d0fd [2023-02-17T18:42:25.588Z] Step 10/10 : RUN ${MAKE} [2023-02-17T18:42:25.846Z] ---> Running in fd1a41ff84f6 [2023-02-17T18:42:26.105Z] noop [2023-02-17T18:42:26.363Z] Removing intermediate container fd1a41ff84f6 [2023-02-17T18:42:26.363Z] ---> fca3983897dd [2023-02-17T18:42:26.363Z] Successfully built fca3983897dd [2023-02-17T18:42:26.363Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T18:42:26.676Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T18:42:26.676Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T18:42:26.752Z] prd-ubuntu20.04-docker-8c-8g-6488 does not seem to be running inside a container [2023-02-17T18:42:26.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T18:42:27.114Z] $ docker top 75000bb0080819391d0c3fb4ffb67eca44a23738ad2724bb79e094db6b42434e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T18:42:27.453Z] + go version [2023-02-17T18:42:27.453Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T18:42:27.470Z] $ docker stop --time=1 75000bb0080819391d0c3fb4ffb67eca44a23738ad2724bb79e094db6b42434e [2023-02-17T18:42:28.747Z] $ docker rm -f --volumes 75000bb0080819391d0c3fb4ffb67eca44a23738ad2724bb79e094db6b42434e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T18:42:29.151Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T18:42:29.151Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T18:42:29.216Z] prd-ubuntu20.04-docker-8c-8g-6488 does not seem to be running inside a container [2023-02-17T18:42:29.251Z] $ 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-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T18:42:29.566Z] $ docker top 893541a348d74e5b5bcb9ac135af0adde122687ea8260e655d313658d1d4e44f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T18:42:29.900Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1325 [Pipeline] fileExists [Pipeline] sh [2023-02-17T18:42:30.197Z] + make test [2023-02-17T18:42:30.197Z] go test -race -coverprofile=coverage.out ./... [2023-02-17T18:42:36.757Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-17T18:42:48.951Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-17T18:42:48.951Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-17T18:42:48.951Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-17T18:42:48.951Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-17T18:42:48.951Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-17T18:42:48.951Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements [2023-02-17T18:42:48.951Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.087s coverage: 78.9% of statements [2023-02-17T18:42:48.951Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-17T18:42:48.951Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.123s coverage: 86.0% of statements [2023-02-17T18:42:48.951Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-17T18:42:48.951Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-17T18:42:49.209Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 74.7% of statements [2023-02-17T18:42:49.209Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-17T18:42:52.498Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.074s coverage: 15.5% of statements [2023-02-17T18:42:52.498Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-17T18:42:52.498Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.097s coverage: 65.2% of statements [2023-02-17T18:42:52.498Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-17T18:42:52.498Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-17T18:42:52.498Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.780s coverage: 89.2% of statements [2023-02-17T18:42:52.498Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-17T18:42:52.498Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 4.6% of statements [2023-02-17T18:42:52.498Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-17T18:43:10.572Z] 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-17T18:43:10.572Z] GO111MODULE=on go vet ./... [2023-02-17T18:43:11.137Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T18:43:11.137Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T18:43:11.137Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T18:43:11.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T18:43:11.175Z] $ docker stop --time=1 893541a348d74e5b5bcb9ac135af0adde122687ea8260e655d313658d1d4e44f [2023-02-17T18:43:12.996Z] $ docker rm -f --volumes 893541a348d74e5b5bcb9ac135af0adde122687ea8260e655d313658d1d4e44f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T18:43:13.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T18:43:13.528Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T18:43:14.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T18:43:14.329Z] + ls -al . [2023-02-17T18:43:14.329Z] total 284 [2023-02-17T18:43:14.329Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 18:42 . [2023-02-17T18:43:14.329Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 18:41 .. [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 18:41 .dockerignore [2023-02-17T18:43:14.329Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 18:42 .git [2023-02-17T18:43:14.329Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 18:41 .github [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 18:41 .gitignore [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 18:41 .golangci.yml [2023-02-17T18:43:14.329Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 18:41 .semver [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 18:41 CHANGELOG.md [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 18:41 GOVERNANCE.md [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 18:41 Jenkinsfile [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 18:41 LICENSE [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 18:41 Makefile [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 18:41 OWNERS.md [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 18:41 README.md [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 18:41 VERSION [2023-02-17T18:43:14.329Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 18:41 bin [2023-02-17T18:43:14.329Z] -rw-r--r-- 1 jenkins jenkins 111046 Feb 17 18:42 coverage.out [2023-02-17T18:43:14.329Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 18:41 example [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 18:41 go.mod [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 18:41 go.sum [2023-02-17T18:43:14.329Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 18:41 internal [2023-02-17T18:43:14.329Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 18:41 openapi [2023-02-17T18:43:14.329Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 18:41 pkg [2023-02-17T18:43:14.329Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 18:41 snap [2023-02-17T18:43:14.329Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T18:43:14.636Z] + 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=e4f7a9d1294fa09daac50895bd41831f30d29d70 --label arch=amd64 --label version=0.0.0 . [2023-02-17T18:43:14.636Z] Sending build context to Docker daemon 10.69MB [2023-02-17T18:43:14.636Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T18:43:14.636Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-17T18:43:14.636Z] ---> fca3983897dd [2023-02-17T18:43:14.636Z] Step 3/23 : ARG MAKE=make build [2023-02-17T18:43:14.636Z] ---> Running in 12bca4808207 [2023-02-17T18:43:14.894Z] Removing intermediate container 12bca4808207 [2023-02-17T18:43:14.894Z] ---> b4dec6288245 [2023-02-17T18:43:14.894Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-17T18:43:14.894Z] ---> Running in eb8df2ccc715 [2023-02-17T18:43:14.894Z] Removing intermediate container eb8df2ccc715 [2023-02-17T18:43:14.894Z] ---> 4f0435ec2f0e [2023-02-17T18:43:14.894Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T18:43:14.894Z] ---> Running in 9ed564b986a8 [2023-02-17T18:43:14.894Z] Removing intermediate container 9ed564b986a8 [2023-02-17T18:43:14.894Z] ---> 52d62d9d97a6 [2023-02-17T18:43:14.894Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-17T18:43:14.894Z] ---> Running in ebdacadf9a54 [2023-02-17T18:43:15.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T18:43:15.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T18:43:15.669Z] OK: 211 MiB in 51 packages [2023-02-17T18:43:15.927Z] Removing intermediate container ebdacadf9a54 [2023-02-17T18:43:15.927Z] ---> 17a8d3cc794b [2023-02-17T18:43:15.927Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-17T18:43:16.188Z] ---> 61bb0e9ecb1e [2023-02-17T18:43:16.188Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T18:43:16.188Z] ---> Running in 7da5f2436d3e [2023-02-17T18:43:17.127Z] Removing intermediate container 7da5f2436d3e [2023-02-17T18:43:17.127Z] ---> 6ee348bf765a [2023-02-17T18:43:17.127Z] Step 9/23 : COPY . . [2023-02-17T18:43:17.385Z] ---> 339efdee9493 [2023-02-17T18:43:17.385Z] Step 10/23 : RUN ${MAKE} [2023-02-17T18:43:17.385Z] ---> Running in f86bf6a2bbfe [2023-02-17T18:43:17.643Z] 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-17T18:43:35.720Z] Removing intermediate container f86bf6a2bbfe [2023-02-17T18:43:35.720Z] ---> c722769c8c34 [2023-02-17T18:43:35.720Z] Step 11/23 : FROM alpine:3.16 [2023-02-17T18:43:35.720Z] 3.16: Pulling from library/alpine [2023-02-17T18:43:35.720Z] ef5531b6e74e: Pulling fs layer [2023-02-17T18:43:35.720Z] ef5531b6e74e: Verifying Checksum [2023-02-17T18:43:35.720Z] ef5531b6e74e: Download complete [2023-02-17T18:43:35.720Z] ef5531b6e74e: Pull complete [2023-02-17T18:43:35.720Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T18:43:35.720Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T18:43:35.720Z] ---> dfd21b5a31f5 [2023-02-17T18:43:35.720Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T18:43:35.720Z] ---> Running in b05fb5df703a [2023-02-17T18:43:35.720Z] Removing intermediate container b05fb5df703a [2023-02-17T18:43:35.720Z] ---> 1021565f8907 [2023-02-17T18:43:35.721Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-17T18:43:35.721Z] ---> Running in 3538f20776c3 [2023-02-17T18:43:35.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T18:43:35.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T18:43:36.057Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6489 in /w/workspace/gexfoundry_device-sdk-go_PR-1325 [Pipeline] { [Pipeline] ws [2023-02-17T18:43:36.069Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2023-02-17T18:43:36.101Z] The recommended git tool is: git [2023-02-17T18:43:36.237Z] OK: 6 MiB in 14 packages [2023-02-17T18:43:36.801Z] Removing intermediate container 3538f20776c3 [2023-02-17T18:43:36.801Z] ---> a1c46c0aac2e [2023-02-17T18:43:36.801Z] Step 14/23 : WORKDIR / [2023-02-17T18:43:36.801Z] ---> Running in 9fc460f07fdd [2023-02-17T18:43:36.801Z] Removing intermediate container 9fc460f07fdd [2023-02-17T18:43:36.801Z] ---> 4b04e421b232 [2023-02-17T18:43:36.801Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-17T18:43:36.802Z] ---> cb721a4418c8 [2023-02-17T18:43:36.802Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-17T18:43:37.367Z] ---> 04552fc9e2b8 [2023-02-17T18:43:37.368Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-17T18:43:37.627Z] ---> e57271c3131a [2023-02-17T18:43:37.627Z] Step 18/23 : EXPOSE 59999 [2023-02-17T18:43:37.627Z] ---> Running in 5506e62903ef [2023-02-17T18:43:37.627Z] Removing intermediate container 5506e62903ef [2023-02-17T18:43:37.627Z] ---> 025398a2bf84 [2023-02-17T18:43:37.627Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-17T18:43:37.627Z] ---> Running in 8333204e9285 [2023-02-17T18:43:37.627Z] Removing intermediate container 8333204e9285 [2023-02-17T18:43:37.627Z] ---> d2e348bf1c17 [2023-02-17T18:43:37.627Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T18:43:37.627Z] ---> Running in 3c2303e0e433 [2023-02-17T18:43:37.887Z] Removing intermediate container 3c2303e0e433 [2023-02-17T18:43:37.887Z] ---> 3c86e50b5bb2 [2023-02-17T18:43:37.887Z] Step 21/23 : LABEL arch=amd64 [2023-02-17T18:43:37.887Z] ---> Running in f2716d6fe99e [2023-02-17T18:43:37.887Z] Removing intermediate container f2716d6fe99e [2023-02-17T18:43:37.887Z] ---> d98f64d4e684 [2023-02-17T18:43:37.887Z] Step 22/23 : LABEL git_sha=e4f7a9d1294fa09daac50895bd41831f30d29d70 [2023-02-17T18:43:37.887Z] ---> Running in d9df8b5d5306 [2023-02-17T18:43:37.887Z] Removing intermediate container d9df8b5d5306 [2023-02-17T18:43:37.887Z] ---> 5fecb7f0cd3d [2023-02-17T18:43:37.887Z] Step 23/23 : LABEL version=0.0.0 [2023-02-17T18:43:37.887Z] ---> Running in 5ed3efc1b5f8 [2023-02-17T18:43:38.146Z] Removing intermediate container 5ed3efc1b5f8 [2023-02-17T18:43:38.146Z] ---> 8d2e257b38d7 [2023-02-17T18:43:38.146Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T18:43:38.146Z] Successfully built 8d2e257b38d7 [2023-02-17T18:43:38.146Z] 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-17T18:43:38.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T18:43:38.597Z] [2023-02-17T18:43:38.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T18:43:38.908Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T18:43:38.908Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T18:43:38.908Z] 5eb5b503b376: Pulling fs layer [2023-02-17T18:43:38.908Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T18:43:38.908Z] ec43610c2a17: Pulling fs layer [2023-02-17T18:43:38.908Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T18:43:38.908Z] 33b1e0a273af: Pulling fs layer [2023-02-17T18:43:38.908Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T18:43:38.908Z] 2f39f015ded8: Pulling fs layer [2023-02-17T18:43:38.908Z] 5d3b04190fa2: Waiting [2023-02-17T18:43:38.908Z] 2f39f015ded8: Waiting [2023-02-17T18:43:38.908Z] 3a2ae6a8a46f: Waiting [2023-02-17T18:43:38.908Z] 33b1e0a273af: Waiting [2023-02-17T18:43:38.908Z] 5c69ac0246d0: Download complete [2023-02-17T18:43:38.908Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-17T18:43:38.908Z] 3a2ae6a8a46f: Download complete [2023-02-17T18:43:39.176Z] 33b1e0a273af: Verifying Checksum [2023-02-17T18:43:39.176Z] 33b1e0a273af: Download complete [2023-02-17T18:43:39.176Z] 5d3b04190fa2: Verifying Checksum [2023-02-17T18:43:39.176Z] 5d3b04190fa2: Download complete [2023-02-17T18:43:39.176Z] ec43610c2a17: Verifying Checksum [2023-02-17T18:43:39.176Z] ec43610c2a17: Download complete [2023-02-17T18:43:39.435Z] 5eb5b503b376: Download complete [2023-02-17T18:43:40.001Z] 2f39f015ded8: Download complete [2023-02-17T18:43:40.566Z] 5eb5b503b376: Pull complete [2023-02-17T18:43:40.566Z] 5c69ac0246d0: Pull complete [2023-02-17T18:43:40.823Z] ec43610c2a17: Pull complete [2023-02-17T18:43:41.081Z] 3a2ae6a8a46f: Pull complete [2023-02-17T18:43:41.081Z] 33b1e0a273af: Pull complete [2023-02-17T18:43:41.340Z] 5d3b04190fa2: Pull complete [2023-02-17T18:43:42.201Z] using credential edgex-jenkins-ssh [2023-02-17T18:43:42.220Z] Cloning the remote Git repository [2023-02-17T18:43:42.270Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T18:43:42.358Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2023-02-17T18:43:42.512Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T18:43:42.513Z] > git --version # timeout=10 [2023-02-17T18:43:42.531Z] > git --version # 'git version 2.25.1' [2023-02-17T18:43:42.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T18:43:42.596Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T18:43:44.202Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-17T18:43:44.225Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T18:43:45.535Z] 2f39f015ded8: Pull complete [2023-02-17T18:43:45.535Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T18:43:45.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T18:43:45.535Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T18:43:45.616Z] prd-ubuntu20.04-docker-8c-8g-6488 does not seem to be running inside a container [2023-02-17T18:43:45.657Z] $ 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-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T18:43:45.896Z] Merging remotes/origin/main commit f03d932b600fd46a3b503f339d4d9f330fd6c1ce into PR head commit 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 [2023-02-17T18:43:46.211Z] Merge succeeded, producing 8740cac6adde13c314af0724902fd23fd6435801 [2023-02-17T18:43:46.211Z] Checking out Revision 8740cac6adde13c314af0724902fd23fd6435801 (PR-1325) [2023-02-17T18:43:45.096Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-17T18:43:45.148Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-17T18:43:45.149Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T18:43:45.165Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1325/head:refs/remotes/origin/PR-1325 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T18:43:45.918Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T18:43:45.940Z] > git checkout -f 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 # timeout=10 [2023-02-17T18:43:46.045Z] > git remote # timeout=10 [2023-02-17T18:43:46.073Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T18:43:46.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T18:43:46.102Z] > git merge f03d932b600fd46a3b503f339d4d9f330fd6c1ce # timeout=10 [2023-02-17T18:43:46.192Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T18:43:46.222Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T18:43:46.239Z] > git checkout -f 8740cac6adde13c314af0724902fd23fd6435801 # timeout=10 [2023-02-17T18:43:46.641Z] $ docker top 97096b57c150c8425cd75a9e5c34b20e1f92e62edfe54e95b0f4f2ed52a5cd86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T18:43:47.029Z] ---> job-cost.sh [2023-02-17T18:43:47.029Z] lf-activate-venv: SKIPPING [2023-02-17T18:43:47.029Z] INFO: No Stack... [2023-02-17T18:43:49.562Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T18:43:49.728Z] Commit message: "Merge commit 'f03d932b600fd46a3b503f339d4d9f330fd6c1ce' into HEAD" [2023-02-17T18:43:49.739Z] > git rev-list --no-walk 0d14b0def67a2c62d60bd49d6fc7fb0eff007de1 # timeout=10 [2023-02-17T18:43:50.129Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T18:43:50.204Z] [2023-02-17T18:43:50.204Z] GitHub has been notified of this commit’s build result [2023-02-17T18:43:50.204Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T18:43:50.418Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/cost.csv [2023-02-17T18:43:50.418Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T18:43:50.430Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1325-5-stack-cost] [2023-02-17T18:43:50.438Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-5-stack-cost] did not exist. Created. [2023-02-17T18:43:50.438Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1325-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T18:43:50.699Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T18:43:50.699Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T18:43:50.699Z] Dload Upload Total Spent Left Speed [2023-02-17T18:43:50.699Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [2023-02-17T18:43:50.730Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T18:43:50.761Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T18:43:50.767Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T18:43:50.791Z] $ docker stop --time=1 97096b57c150c8425cd75a9e5c34b20e1f92e62edfe54e95b0f4f2ed52a5cd86 [2023-02-17T18:43:51.938Z] $ docker rm -f --volumes 97096b57c150c8425cd75a9e5c34b20e1f92e62edfe54e95b0f4f2ed52a5cd86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T18:43:52.299Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T18:43:52.625Z] + + sudo tee /etc/docker/daemon.newsudo [2023-02-17T18:43:52.625Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T18:43:52.625Z] { [2023-02-17T18:43:52.625Z] "registry-mirrors": [ [2023-02-17T18:43:52.625Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T18:43:52.625Z] ], [2023-02-17T18:43:52.625Z] "bip": "10.250.0.254/24", [2023-02-17T18:43:52.625Z] "hosts": [ [2023-02-17T18:43:52.625Z] "tcp://0.0.0.0:5555", [2023-02-17T18:43:52.625Z] "unix:///var/run/docker.sock" [2023-02-17T18:43:52.625Z] ], [2023-02-17T18:43:52.625Z] "mtu": 1458, [2023-02-17T18:43:52.625Z] "selinux-enabled": true, [2023-02-17T18:43:52.625Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T18:43:52.625Z] } [Pipeline] sh [2023-02-17T18:43:52.959Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T18:43:53.293Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T18:44:11.561Z] provisioning config files... [2023-02-17T18:44:11.586Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config893388254994329094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T18:44:11.935Z] ---> docker-login.sh [2023-02-17T18:44:11.935Z] nexus3.edgexfoundry.org:10001 [2023-02-17T18:44:12.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:44:12.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:44:12.522Z] Configure a credential helper to remove this warning. See [2023-02-17T18:44:12.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:44:12.522Z] [2023-02-17T18:44:12.522Z] Login Succeeded [2023-02-17T18:44:12.522Z] nexus3.edgexfoundry.org:10002 [2023-02-17T18:44:12.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:44:12.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:44:12.791Z] Configure a credential helper to remove this warning. See [2023-02-17T18:44:12.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:44:12.791Z] [2023-02-17T18:44:12.791Z] Login Succeeded [2023-02-17T18:44:12.791Z] nexus3.edgexfoundry.org:10003 [2023-02-17T18:44:13.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:44:13.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:44:13.329Z] Configure a credential helper to remove this warning. See [2023-02-17T18:44:13.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:44:13.329Z] [2023-02-17T18:44:13.329Z] Login Succeeded [2023-02-17T18:44:13.329Z] nexus3.edgexfoundry.org:10004 [2023-02-17T18:44:13.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:44:13.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:44:13.598Z] Configure a credential helper to remove this warning. See [2023-02-17T18:44:13.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:44:13.598Z] [2023-02-17T18:44:13.598Z] Login Succeeded [2023-02-17T18:44:13.598Z] docker.io [2023-02-17T18:44:13.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T18:44:14.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T18:44:14.136Z] Configure a credential helper to remove this warning. See [2023-02-17T18:44:14.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T18:44:14.136Z] [2023-02-17T18:44:14.136Z] Login Succeeded [2023-02-17T18:44:14.136Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T18:44:14.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T18:44:14.400Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T18:44:14.419Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T18:44:14.434Z] ========================================================= [2023-02-17T18:44:14.434Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T18:44:14.434Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T18:44:14.771Z] + 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-17T18:44:15.042Z] Sending build context to Docker daemon 5.707MB [2023-02-17T18:44:15.316Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T18:44:15.316Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-17T18:44:15.316Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T18:44:15.316Z] 9b18e9b68314: Pulling fs layer [2023-02-17T18:44:15.316Z] 35d82f9e3411: Pulling fs layer [2023-02-17T18:44:15.316Z] e16973657156: Pulling fs layer [2023-02-17T18:44:15.316Z] fc693d55d65f: Pulling fs layer [2023-02-17T18:44:15.316Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T18:44:15.316Z] dda99020689f: Pulling fs layer [2023-02-17T18:44:15.316Z] db1c61fa0a46: Pulling fs layer [2023-02-17T18:44:15.316Z] 891c053d2c06: Pulling fs layer [2023-02-17T18:44:15.316Z] dda99020689f: Waiting [2023-02-17T18:44:15.316Z] db1c61fa0a46: Waiting [2023-02-17T18:44:15.316Z] 891c053d2c06: Waiting [2023-02-17T18:44:15.316Z] fc693d55d65f: Waiting [2023-02-17T18:44:15.316Z] 7e9fc2657dce: Waiting [2023-02-17T18:44:15.316Z] e16973657156: Download complete [2023-02-17T18:44:15.316Z] 35d82f9e3411: Verifying Checksum [2023-02-17T18:44:15.316Z] 35d82f9e3411: Download complete [2023-02-17T18:44:15.316Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T18:44:15.316Z] 7e9fc2657dce: Download complete [2023-02-17T18:44:15.584Z] dda99020689f: Verifying Checksum [2023-02-17T18:44:15.584Z] dda99020689f: Download complete [2023-02-17T18:44:15.584Z] 9b18e9b68314: Verifying Checksum [2023-02-17T18:44:16.378Z] 9b18e9b68314: Pull complete [2023-02-17T18:44:16.378Z] 891c053d2c06: Verifying Checksum [2023-02-17T18:44:16.378Z] 891c053d2c06: Download complete [2023-02-17T18:44:16.986Z] 35d82f9e3411: Pull complete [2023-02-17T18:44:17.257Z] e16973657156: Pull complete [2023-02-17T18:44:17.844Z] db1c61fa0a46: Verifying Checksum [2023-02-17T18:44:17.844Z] db1c61fa0a46: Download complete [2023-02-17T18:44:18.432Z] fc693d55d65f: Verifying Checksum [2023-02-17T18:44:18.432Z] fc693d55d65f: Download complete [2023-02-17T18:44:30.769Z] fc693d55d65f: Pull complete [2023-02-17T18:44:30.769Z] 7e9fc2657dce: Pull complete [2023-02-17T18:44:30.769Z] dda99020689f: Pull complete [2023-02-17T18:44:37.441Z] db1c61fa0a46: Pull complete [2023-02-17T18:44:38.864Z] 891c053d2c06: Pull complete [2023-02-17T18:44:38.864Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T18:44:38.864Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T18:44:38.864Z] ---> f96f9c87975a [2023-02-17T18:44:38.864Z] Step 3/10 : ARG MAKE=make build [2023-02-17T18:44:40.812Z] ---> Running in ee682b611cec [2023-02-17T18:44:40.812Z] Removing intermediate container ee682b611cec [2023-02-17T18:44:40.812Z] ---> c85004470490 [2023-02-17T18:44:40.812Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-17T18:44:41.087Z] ---> Running in e504572bf5dc [2023-02-17T18:44:41.356Z] Removing intermediate container e504572bf5dc [2023-02-17T18:44:41.356Z] ---> bfccdd60de13 [2023-02-17T18:44:41.356Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T18:44:41.356Z] ---> Running in de2eed474f8d [2023-02-17T18:44:41.623Z] Removing intermediate container de2eed474f8d [2023-02-17T18:44:41.623Z] ---> 1d541da9f1ea [2023-02-17T18:44:41.623Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-17T18:44:41.623Z] ---> Running in 8fe5cb7be455 [2023-02-17T18:44:43.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T18:44:43.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T18:44:43.991Z] OK: 221 MiB in 51 packages [2023-02-17T18:44:44.952Z] Removing intermediate container 8fe5cb7be455 [2023-02-17T18:44:44.952Z] ---> 7adcd68d7c54 [2023-02-17T18:44:44.952Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-17T18:44:45.538Z] ---> ac4f1761ca2e [2023-02-17T18:44:45.538Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T18:44:45.538Z] ---> Running in 4f3f18fab875 [2023-02-17T18:46:07.181Z] Removing intermediate container 4f3f18fab875 [2023-02-17T18:46:07.181Z] ---> f018cba17708 [2023-02-17T18:46:07.182Z] Step 9/10 : COPY . . [2023-02-17T18:46:07.182Z] ---> a18c52d6b33b [2023-02-17T18:46:07.182Z] Step 10/10 : RUN ${MAKE} [2023-02-17T18:46:07.182Z] ---> Running in a45cdce6fce1 [2023-02-17T18:46:07.182Z] noop [2023-02-17T18:46:07.182Z] Removing intermediate container a45cdce6fce1 [2023-02-17T18:46:07.182Z] ---> 290bda2b0f57 [2023-02-17T18:46:07.182Z] Successfully built 290bda2b0f57 [2023-02-17T18:46:07.182Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T18:46:07.544Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T18:46:07.544Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T18:46:07.733Z] prd-ubuntu20.04-docker-arm64-4c-16g-6489 does not seem to be running inside a container [2023-02-17T18:46:07.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T18:46:09.043Z] $ docker top b29eefeebc4b2a0139d13f6dd455f5cffc225cf562f3b0332d54d4430b5f7b1d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T18:46:09.867Z] + go version [2023-02-17T18:46:09.867Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T18:46:09.889Z] $ docker stop --time=1 b29eefeebc4b2a0139d13f6dd455f5cffc225cf562f3b0332d54d4430b5f7b1d [2023-02-17T18:46:11.552Z] $ docker rm -f --volumes b29eefeebc4b2a0139d13f6dd455f5cffc225cf562f3b0332d54d4430b5f7b1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T18:46:12.098Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T18:46:12.098Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T18:46:12.281Z] prd-ubuntu20.04-docker-arm64-4c-16g-6489 does not seem to be running inside a container [2023-02-17T18:46:12.353Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T18:46:13.523Z] $ docker top c37c5ba2557eac41cf367d9d66655b23e8a91c2a928beac69ef6620738f9e673 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T18:46:14.036Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2023-02-17T18:46:14.956Z] + make test [2023-02-17T18:46:14.956Z] go test -race -coverprofile=coverage.out ./... [2023-02-17T18:46:47.667Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-17T18:48:39.362Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-17T18:48:39.362Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-17T18:48:39.362Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-17T18:48:39.362Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-17T18:48:39.362Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-17T18:48:46.010Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.428s coverage: 27.6% of statements [2023-02-17T18:48:46.010Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.266s coverage: 78.9% of statements [2023-02-17T18:48:46.010Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-17T18:48:51.359Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.392s coverage: 86.0% of statements [2023-02-17T18:48:51.359Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-17T18:48:51.359Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-17T18:48:52.920Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.491s coverage: 74.7% of statements [2023-02-17T18:48:52.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-17T18:48:52.920Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.298s coverage: 15.5% of statements [2023-02-17T18:48:52.920Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-17T18:48:55.081Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.522s coverage: 65.2% of statements [2023-02-17T18:48:55.081Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-17T18:48:55.081Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-17T18:48:56.051Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.334s coverage: 89.2% of statements [2023-02-17T18:48:56.052Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-17T18:48:56.052Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.245s coverage: 4.6% of statements [2023-02-17T18:48:56.052Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-17T18:48:57.018Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T18:48:57.018Z] GO111MODULE=on go vet ./... [2023-02-17T18:50:18.664Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T18:50:18.664Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T18:50:18.664Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T18:50:18.688Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T18:50:18.703Z] $ docker stop --time=1 c37c5ba2557eac41cf367d9d66655b23e8a91c2a928beac69ef6620738f9e673 [2023-02-17T18:50:20.586Z] $ docker rm -f --volumes c37c5ba2557eac41cf367d9d66655b23e8a91c2a928beac69ef6620738f9e673 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T18:50:21.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T18:50:21.847Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T18:50:22.396Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T18:50:22.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T18:50:23.117Z] + ls -al . [2023-02-17T18:50:23.118Z] total 280 [2023-02-17T18:50:23.118Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 18:46 . [2023-02-17T18:50:23.118Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 18:43 .. [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 18:43 .dockerignore [2023-02-17T18:50:23.118Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 18:43 .git [2023-02-17T18:50:23.118Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 18:43 .github [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 18:43 .gitignore [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 18:43 .golangci.yml [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 18:43 CHANGELOG.md [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 18:43 GOVERNANCE.md [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 18:43 Jenkinsfile [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 18:43 LICENSE [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 18:43 Makefile [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 18:43 OWNERS.md [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 18:43 README.md [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 18:41 VERSION [2023-02-17T18:50:23.118Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 18:43 bin [2023-02-17T18:50:23.118Z] -rw-r--r-- 1 jenkins jenkins 111045 Feb 17 18:48 coverage.out [2023-02-17T18:50:23.118Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 18:43 example [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 18:43 go.mod [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 18:43 go.sum [2023-02-17T18:50:23.118Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 18:43 internal [2023-02-17T18:50:23.118Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 18:43 openapi [2023-02-17T18:50:23.118Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 18:43 pkg [2023-02-17T18:50:23.118Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 18:43 snap [2023-02-17T18:50:23.118Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T18:50:23.456Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8740cac6adde13c314af0724902fd23fd6435801 --label arch=arm64 --label version=0.0.0 . [2023-02-17T18:50:23.721Z] Sending build context to Docker daemon 5.818MB [2023-02-17T18:50:23.721Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T18:50:23.721Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-17T18:50:23.721Z] ---> 290bda2b0f57 [2023-02-17T18:50:23.721Z] Step 3/23 : ARG MAKE=make build [2023-02-17T18:50:23.988Z] ---> Running in 202b2ee2196b [2023-02-17T18:50:24.254Z] Removing intermediate container 202b2ee2196b [2023-02-17T18:50:24.254Z] ---> e34376be6b1c [2023-02-17T18:50:24.254Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-17T18:50:24.254Z] ---> Running in 3b6476ce58da [2023-02-17T18:50:24.519Z] Removing intermediate container 3b6476ce58da [2023-02-17T18:50:24.519Z] ---> 56a6ef2c5a50 [2023-02-17T18:50:24.519Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-17T18:50:24.786Z] ---> Running in f9ed69abfd0c [2023-02-17T18:50:24.786Z] Removing intermediate container f9ed69abfd0c [2023-02-17T18:50:24.786Z] ---> 82733423f3f1 [2023-02-17T18:50:24.786Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-17T18:50:25.051Z] ---> Running in babea8c2b799 [2023-02-17T18:50:26.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T18:50:26.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T18:50:27.228Z] OK: 221 MiB in 51 packages [2023-02-17T18:50:27.812Z] Removing intermediate container babea8c2b799 [2023-02-17T18:50:27.812Z] ---> a7a458bb3097 [2023-02-17T18:50:27.812Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-17T18:50:28.397Z] ---> 3653aeb6dd99 [2023-02-17T18:50:28.397Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T18:50:28.397Z] ---> Running in de2039faeba3 [2023-02-17T18:50:30.981Z] Removing intermediate container de2039faeba3 [2023-02-17T18:50:30.981Z] ---> 515a1195e5b8 [2023-02-17T18:50:30.981Z] Step 9/23 : COPY . . [2023-02-17T18:50:31.949Z] ---> b8f7bfbd8752 [2023-02-17T18:50:31.949Z] Step 10/23 : RUN ${MAKE} [2023-02-17T18:50:31.949Z] ---> Running in f04eff2141ce [2023-02-17T18:50:32.910Z] 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-17T18:52:39.591Z] Removing intermediate container f04eff2141ce [2023-02-17T18:52:39.591Z] ---> ce1988d51129 [2023-02-17T18:52:39.591Z] Step 11/23 : FROM alpine:3.16 [2023-02-17T18:52:39.591Z] 3.16: Pulling from library/alpine [2023-02-17T18:52:39.591Z] 3760b48202b3: Pulling fs layer [2023-02-17T18:52:39.591Z] 3760b48202b3: Verifying Checksum [2023-02-17T18:52:39.591Z] 3760b48202b3: Download complete [2023-02-17T18:52:39.591Z] 3760b48202b3: Pull complete [2023-02-17T18:52:39.591Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T18:52:39.591Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T18:52:39.591Z] ---> 4c81e5bf8899 [2023-02-17T18:52:39.591Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T18:52:39.591Z] ---> Running in 52078d8dd269 [2023-02-17T18:52:39.591Z] Removing intermediate container 52078d8dd269 [2023-02-17T18:52:39.591Z] ---> f9b6be9b2110 [2023-02-17T18:52:39.591Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-17T18:52:39.591Z] ---> Running in 6c389f1fc69c [2023-02-17T18:52:39.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T18:52:39.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T18:52:39.591Z] OK: 5 MiB in 14 packages [2023-02-17T18:52:39.591Z] Removing intermediate container 6c389f1fc69c [2023-02-17T18:52:39.591Z] ---> d5dd7e37b612 [2023-02-17T18:52:39.591Z] Step 14/23 : WORKDIR / [2023-02-17T18:52:39.591Z] ---> Running in a056698e5c9f [2023-02-17T18:52:39.591Z] Removing intermediate container a056698e5c9f [2023-02-17T18:52:39.591Z] ---> 87e9441298a9 [2023-02-17T18:52:39.591Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-17T18:52:39.591Z] ---> a57ccf68c9e5 [2023-02-17T18:52:39.591Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-17T18:52:39.591Z] ---> 9321d726e3f2 [2023-02-17T18:52:39.591Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-17T18:52:39.591Z] ---> 7bc889f0ef52 [2023-02-17T18:52:39.591Z] Step 18/23 : EXPOSE 59999 [2023-02-17T18:52:39.591Z] ---> Running in 0ee5b22ef4b6 [2023-02-17T18:52:39.591Z] Removing intermediate container 0ee5b22ef4b6 [2023-02-17T18:52:39.591Z] ---> 901f18821ba6 [2023-02-17T18:52:39.591Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-17T18:52:39.591Z] ---> Running in 1bb9a3148729 [2023-02-17T18:52:39.591Z] Removing intermediate container 1bb9a3148729 [2023-02-17T18:52:39.591Z] ---> be2aae3405be [2023-02-17T18:52:39.591Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T18:52:39.591Z] ---> Running in 61109f75c970 [2023-02-17T18:52:39.591Z] Removing intermediate container 61109f75c970 [2023-02-17T18:52:39.591Z] ---> 83e7881e5ac8 [2023-02-17T18:52:39.591Z] Step 21/23 : LABEL arch=arm64 [2023-02-17T18:52:39.591Z] ---> Running in b915794a4dd3 [2023-02-17T18:52:39.591Z] Removing intermediate container b915794a4dd3 [2023-02-17T18:52:39.591Z] ---> 39bc6064bdda [2023-02-17T18:52:39.591Z] Step 22/23 : LABEL git_sha=8740cac6adde13c314af0724902fd23fd6435801 [2023-02-17T18:52:39.591Z] ---> Running in 209f61c78ae8 [2023-02-17T18:52:39.591Z] Removing intermediate container 209f61c78ae8 [2023-02-17T18:52:39.591Z] ---> 06cc44d01db8 [2023-02-17T18:52:39.591Z] Step 23/23 : LABEL version=0.0.0 [2023-02-17T18:52:39.591Z] ---> Running in 088b330bc11a [2023-02-17T18:52:39.591Z] Removing intermediate container 088b330bc11a [2023-02-17T18:52:39.591Z] ---> e5a266d23a04 [2023-02-17T18:52:39.591Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T18:52:39.591Z] Successfully built e5a266d23a04 [2023-02-17T18:52:39.591Z] 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-17T18:52:40.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T18:52:40.036Z] [2023-02-17T18:52:40.036Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T18:52:40.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T18:52:40.364Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T18:52:40.364Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T18:52:40.364Z] 04944245beec: Pulling fs layer [2023-02-17T18:52:40.364Z] 699f458cf7ca: Pulling fs layer [2023-02-17T18:52:40.364Z] 765212b225bb: Pulling fs layer [2023-02-17T18:52:40.364Z] f23df028b6ca: Pulling fs layer [2023-02-17T18:52:40.364Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T18:52:40.364Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T18:52:40.364Z] f23df028b6ca: Waiting [2023-02-17T18:52:40.364Z] d65c8cfc05b1: Waiting [2023-02-17T18:52:40.364Z] 2437ff75d9bd: Waiting [2023-02-17T18:52:40.364Z] 765212b225bb: Waiting [2023-02-17T18:52:40.632Z] 04944245beec: Verifying Checksum [2023-02-17T18:52:40.632Z] 04944245beec: Download complete [2023-02-17T18:52:40.632Z] 765212b225bb: Verifying Checksum [2023-02-17T18:52:40.632Z] 765212b225bb: Download complete [2023-02-17T18:52:40.632Z] f23df028b6ca: Verifying Checksum [2023-02-17T18:52:40.632Z] f23df028b6ca: Download complete [2023-02-17T18:52:40.632Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T18:52:40.632Z] d65c8cfc05b1: Download complete [2023-02-17T18:52:40.904Z] 699f458cf7ca: Verifying Checksum [2023-02-17T18:52:40.904Z] 699f458cf7ca: Download complete [2023-02-17T18:52:41.171Z] 8998bd30e6a1: Verifying Checksum [2023-02-17T18:52:41.171Z] 8998bd30e6a1: Download complete [2023-02-17T18:52:43.754Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T18:52:43.754Z] 2437ff75d9bd: Download complete [2023-02-17T18:52:45.160Z] 8998bd30e6a1: Pull complete [2023-02-17T18:52:45.428Z] 04944245beec: Pull complete [2023-02-17T18:52:46.841Z] 699f458cf7ca: Pull complete [2023-02-17T18:52:47.108Z] 765212b225bb: Pull complete [2023-02-17T18:52:47.693Z] f23df028b6ca: Pull complete [2023-02-17T18:52:47.959Z] d65c8cfc05b1: Pull complete [2023-02-17T18:53:02.953Z] 2437ff75d9bd: Pull complete [2023-02-17T18:53:02.953Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T18:53:02.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T18:53:02.953Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T18:53:03.153Z] prd-ubuntu20.04-docker-arm64-4c-16g-6489 does not seem to be running inside a container [2023-02-17T18:53:03.221Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-17T18:53:05.842Z] $ docker top 056a388cc9ff37f6da9eae89ec18a4ca858ff69cfadef62a167f12b7342aea81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T18:53:06.361Z] ---> job-cost.sh [2023-02-17T18:53:06.630Z] lf-activate-venv: SKIPPING [2023-02-17T18:53:06.630Z] INFO: No Stack... [2023-02-17T18:53:07.209Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T18:53:07.789Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T18:53:08.105Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2023-02-17T18:53:08.105Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T18:53:08.402Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1325-5-stack-cost] [2023-02-17T18:53:08.408Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-5-stack-cost] did not exist. Created. [2023-02-17T18:53:08.408Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1325-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T18:53:08.740Z] /w/workspace/device-sdk-go/5@tmp/durable-53ad3032/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T18:53:09.066Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T18:53:09.088Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T18:53:09.150Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T18:53:09.158Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T18:53:09.180Z] $ docker stop --time=1 056a388cc9ff37f6da9eae89ec18a4ca858ff69cfadef62a167f12b7342aea81 [2023-02-17T18:53:10.669Z] $ docker rm -f --volumes 056a388cc9ff37f6da9eae89ec18a4ca858ff69cfadef62a167f12b7342aea81 [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-17T18:53:11.070Z] provisioning config files... [2023-02-17T18:53:11.077Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config6852729386818089007tmp [Pipeline] { [Pipeline] sh [2023-02-17T18:53:11.368Z] + set +x [2023-02-17T18:53:11.368Z] + bash -s -- [2023-02-17T18:53:11.368Z] + curl -s https://codecov.io/bash [2023-02-17T18:53:11.368Z] [2023-02-17T18:53:11.368Z] _____ _ [2023-02-17T18:53:11.368Z] / ____| | | [2023-02-17T18:53:11.368Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T18:53:11.368Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T18:53:11.368Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T18:53:11.368Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T18:53:11.368Z] Bash-1.0.6 [2023-02-17T18:53:11.368Z] [2023-02-17T18:53:11.368Z] [2023-02-17T18:53:11.368Z] ==> git version 2.25.1 found [2023-02-17T18:53:11.368Z] ==> 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-17T18:53:11.368Z] Release-Date: 2020-01-08 [2023-02-17T18:53:11.368Z] 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-17T18:53:11.368Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T18:53:11.368Z] ==> Jenkins CI detected. [2023-02-17T18:53:11.368Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1325 [2023-02-17T18:53:11.368Z] project root: . [2023-02-17T18:53:11.368Z] --> token set from env [2023-02-17T18:53:11.368Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T18:53:11.368Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T18:53:11.368Z] ==> Python coveragepy not found [2023-02-17T18:53:11.368Z] ==> Searching for coverage reports in: [2023-02-17T18:53:11.368Z] + . [2023-02-17T18:53:11.368Z] -> Found 1 reports [2023-02-17T18:53:11.368Z] ==> Detecting git/mercurial file structure [2023-02-17T18:53:11.368Z] ==> Reading reports [2023-02-17T18:53:11.627Z] + ./coverage.out bytes=111045 [2023-02-17T18:53:11.627Z] ==> Appending adjustments [2023-02-17T18:53:11.627Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T18:53:11.886Z] + Found adjustments [2023-02-17T18:53:11.886Z] ==> Gzipping contents [2023-02-17T18:53:11.886Z] 16K /tmp/codecov.HFdFvj.gz [2023-02-17T18:53:11.886Z] ==> Uploading reports [2023-02-17T18:53:11.886Z] url: https://codecov.io [2023-02-17T18:53:11.886Z] query: branch=PR-1325&commit=e4f7a9d1294fa09daac50895bd41831f30d29d70&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1325%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1325&job=&cmd_args= [2023-02-17T18:53:11.886Z] -> Pinging Codecov [2023-02-17T18:53:11.886Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1325&commit=e4f7a9d1294fa09daac50895bd41831f30d29d70&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1325%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1325&job=&cmd_args= [2023-02-17T18:53:12.144Z] -> Uploading to [2023-02-17T18:53:12.144Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/7E55EF52A471D76F132DFD9A03CDDE97/e4f7a9d1294fa09daac50895bd41831f30d29d70/c063d04f-44b8-4281-b57e-283169cc99e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T185311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=73e7b2904304e340d6e139d614b3e8b034a25c0e91e73e1081c5f7b58adc82f0 [2023-02-17T18:53:12.144Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T18:53:12.144Z] Dload Upload Total Spent Left Speed [2023-02-17T18:53:12.404Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15376 0 0 100 15376 0 49922 --:--:-- --:--:-- --:--:-- 49922 [2023-02-17T18:53:12.404Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e4f7a9d1294fa09daac50895bd41831f30d29d70 [Pipeline] } [2023-02-17T18:53:12.411Z] 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-17T18:53:13.140Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives ] [2023-02-17T18:53:13.140Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-17T18:53:13.140Z] total 16 [2023-02-17T18:53:13.140Z] drwxr-xr-x 3 root root 4096 Feb 17 18:43 . [2023-02-17T18:53:13.140Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 18:43 .. [2023-02-17T18:53:13.140Z] drwxr-xr-x 2 root root 4096 Feb 17 18:43 cost [2023-02-17T18:53:13.140Z] -rw-r--r-- 1 root root 86 Feb 17 18:43 cost.csv [2023-02-17T18:53:13.140Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-17T18:53:13.140Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-17T18:53:13.140Z] total 16 [2023-02-17T18:53:13.140Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 18:43 . [2023-02-17T18:53:13.140Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 18:43 .. [2023-02-17T18:53:13.140Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 18:43 cost [2023-02-17T18:53:13.140Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 17 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T18:53:13.434Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T18:53:14.287Z] ---> package-listing.sh [2023-02-17T18:53:14.287Z] ++ facter osfamily [2023-02-17T18:53:14.287Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T18:53:14.545Z] + OS_FAMILY=debian [2023-02-17T18:53:14.545Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1325 [2023-02-17T18:53:14.545Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T18:53:14.545Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T18:53:14.545Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T18:53:14.545Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T18:53:14.545Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1325 ']' [2023-02-17T18:53:14.545Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T18:53:14.545Z] + case "${OS_FAMILY}" in [2023-02-17T18:53:14.545Z] + dpkg -l [2023-02-17T18:53:14.545Z] + grep '^ii' [2023-02-17T18:53:14.545Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T18:53:14.545Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T18:53:14.545Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T18:53:14.545Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1325 ']' [2023-02-17T18:53:14.545Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/ [2023-02-17T18:53:14.545Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/ [Pipeline] echo [2023-02-17T18:53:14.555Z] 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-1325/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T18:53:14.830Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T18:53:15.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T18:53:15.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T18:53:15.450Z] prd-ubuntu20.04-docker-8c-8g-6488 does not seem to be running inside a container [2023-02-17T18:53:15.498Z] $ 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-1325/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-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T18:53:15.691Z] $ docker top 80676ecd65ef20efdcbac0eb9147abd823e728e6f8cb1bca2613bae3e77cef8f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T18:53:16.017Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T18:53:16.302Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T18:53:16.587Z] + ls /var/log/sa-host [2023-02-17T18:53:16.587Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T18:53:16.735Z] provisioning config files... [2023-02-17T18:53:16.743Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config2076767759528998634tmp [Pipeline] { [Pipeline] echo [2023-02-17T18:53:16.755Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T18:53:17.037Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T18:53:17.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T18:53:17.382Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T18:53:17.393Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T18:53:17.676Z] ---> sudo-logs.sh [2023-02-17T18:53:17.676Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T18:53:17.699Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T18:53:17.985Z] ---> job-cost.sh [2023-02-17T18:53:17.985Z] lf-activate-venv: SKIPPING [2023-02-17T18:53:17.985Z] DEBUG: total: 0.2199999988079071 [2023-02-17T18:53:17.985Z] INFO: Retrieving Stack Cost... [2023-02-17T18:53:23.256Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T18:53:23.256Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T18:53:23.269Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T18:53:23.553Z] ---> logs-deploy.sh [2023-02-17T18:53:23.553Z] lf-activate-venv: SKIPPING [2023-02-17T18:53:23.553Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1325/5 [2023-02-17T18:53:23.553Z] INFO: archiving workspace using pattern(s): [2023-02-17T18:53:24.487Z] Archives upload complete. [2023-02-17T18:53:24.487Z] INFO: archiving logs to Nexus