Pull request #1287 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec56420abc13348da71462991048d14e2481fb28+75769cbb60d148b1a5e0cc7835b599c46228d755 (47a9d32a9f5b08cefde80622f5abf351d27cbe44) 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-ssh5404416155120380943.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-ssh7546193324879172934.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5437463117227853081.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14054932331441897042.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh14828666179542995753.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17961618209363321959.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3314 in /w/workspace/gexfoundry_device-sdk-go_PR-1287 [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-1287 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 75769cbb60d148b1a5e0cc7835b599c46228d755 into PR head commit ec56420abc13348da71462991048d14e2481fb28 Merge succeeded, producing ec56420abc13348da71462991048d14e2481fb28 Checking out Revision ec56420abc13348da71462991048d14e2481fb28 (PR-1287) > 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/1287/head:refs/remotes/origin/PR-1287 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec56420abc13348da71462991048d14e2481fb28 # 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 75769cbb60d148b1a5e0cc7835b599c46228d755 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec56420abc13348da71462991048d14e2481fb28 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-23T02:16:06.270Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-23T02:16:06.464Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-23T02:16:06.600Z] ========================================================= [2023-01-23T02:16:06.600Z] EdgeX Global Pipelines Version Info [2023-01-23T02:16:06.600Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:16:07.383Z] ------------------- [2023-01-23T02:16:07.383Z] stable info: [2023-01-23T02:16:07.383Z] ------------------- [2023-01-23T02:16:07.383Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-23T02:16:07.383Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T02:16:07.383Z] Message: update stable to v1.0.244 [2023-01-23T02:16:07.954Z] ------------------- [2023-01-23T02:16:07.954Z] experimental info: [2023-01-23T02:16:07.954Z] ------------------- [2023-01-23T02:16:07.954Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-23T02:16:07.954Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T02:16:07.954Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-23T02:16:08.331Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-23T02:16:08.372Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-23T02:16:08.417Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-23T02:16:08.456Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-23T02:16:08.502Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-23T02:16:08.544Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-23T02:16:08.589Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-23T02:16:08.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-23T02:16:08.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-23T02:16:08.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-23T02:16:08.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-23T02:16:08.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-23T02:16:08.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-23T02:16:08.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-23T02:16:08.943Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T02:16:08.994Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T02:16:09.037Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T02:16:09.082Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T02:16:09.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-23T02:16:09.178Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-23T02:16:09.219Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-23T02:16:09.260Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-23T02:16:09.300Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-23T02:16:09.338Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-23T02:16:09.375Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-23T02:16:09.414Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-23T02:16:09.459Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-23T02:16:09.502Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1287 [Pipeline] echo [2023-01-23T02:16:09.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1287 [Pipeline] echo [2023-01-23T02:16:09.590Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1287 [Pipeline] echo [2023-01-23T02:16:09.633Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec56420abc13348da71462991048d14e2481fb28 [Pipeline] echo [2023-01-23T02:16:09.678Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec56420 [Pipeline] echo [2023-01-23T02:16:09.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T02:16:09.840Z] provisioning config files... [2023-01-23T02:16:09.855Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp/config2294449451781032475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:16:10.201Z] ---> docker-login.sh [2023-01-23T02:16:10.201Z] nexus3.edgexfoundry.org:10001 [2023-01-23T02:16:10.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:10.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:10.460Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:10.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:10.460Z] [2023-01-23T02:16:10.460Z] Login Succeeded [2023-01-23T02:16:10.460Z] nexus3.edgexfoundry.org:10002 [2023-01-23T02:16:10.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:10.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:10.720Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:10.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:10.720Z] [2023-01-23T02:16:10.720Z] Login Succeeded [2023-01-23T02:16:10.720Z] nexus3.edgexfoundry.org:10003 [2023-01-23T02:16:10.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:10.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:10.720Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:10.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:10.720Z] [2023-01-23T02:16:10.720Z] Login Succeeded [2023-01-23T02:16:10.720Z] nexus3.edgexfoundry.org:10004 [2023-01-23T02:16:10.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:10.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:10.980Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:10.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:10.980Z] [2023-01-23T02:16:10.980Z] Login Succeeded [2023-01-23T02:16:10.980Z] docker.io [2023-01-23T02:16:10.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:11.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:11.240Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:11.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:11.240Z] [2023-01-23T02:16:11.240Z] Login Succeeded [2023-01-23T02:16:11.240Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T02:16:11.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-23T02:16:11.896Z] + git rev-list -1 --merges ec56420abc13348da71462991048d14e2481fb28~1..ec56420abc13348da71462991048d14e2481fb28 [Pipeline] echo [2023-01-23T02:16:11.959Z] -----------> git rev-list -1 --merges ec56420abc13348da71462991048d14e2481fb28~1..ec56420abc13348da71462991048d14e2481fb28 ec56420abc13348da71462991048d14e2481fb28 [false] [Pipeline] sh [2023-01-23T02:16:12.270Z] + git log --format=format:%s -1 ec56420abc13348da71462991048d14e2481fb28 [Pipeline] echo [2023-01-23T02:16:12.303Z] ========================================================= [2023-01-23T02:16:12.303Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-23T02:16:12.303Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T02:16:12.738Z] + git log --format=format:%s -1 ec56420abc13348da71462991048d14e2481fb28 [Pipeline] echo [2023-01-23T02:16:12.773Z] [semverPrep] GIT_COMMIT: ec56420abc13348da71462991048d14e2481fb28, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-01-23T02:16:12.803Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-23T02:16:13.185Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-23T02:16:13.185Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-23T02:16:13.185Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-23T02:16:13.185Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-23T02:16:13.185Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2023-01-23T02:16:13.185Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-23T02:16:13.185Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:16:13.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T02:16:13.603Z] [2023-01-23T02:16:13.603Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:16:14.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T02:16:14.002Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-23T02:16:14.002Z] b85a868b505f: Pulling fs layer [2023-01-23T02:16:14.002Z] e2be974225ed: Pulling fs layer [2023-01-23T02:16:14.002Z] 339a4e72a1f5: Pulling fs layer [2023-01-23T02:16:14.002Z] 988bab9f4d93: Pulling fs layer [2023-01-23T02:16:14.002Z] 1469e6f7b9e6: Pulling fs layer [2023-01-23T02:16:14.002Z] eaf3925da568: Pulling fs layer [2023-01-23T02:16:14.002Z] bab4dde63d76: Pulling fs layer [2023-01-23T02:16:14.002Z] bde34c3a00c8: Pulling fs layer [2023-01-23T02:16:14.002Z] b352a97aabf1: Pulling fs layer [2023-01-23T02:16:14.002Z] 4872d77fe225: Pulling fs layer [2023-01-23T02:16:14.002Z] 5851b861e8e6: Pulling fs layer [2023-01-23T02:16:14.002Z] 988bab9f4d93: Waiting [2023-01-23T02:16:14.002Z] 1469e6f7b9e6: Waiting [2023-01-23T02:16:14.002Z] eaf3925da568: Waiting [2023-01-23T02:16:14.002Z] bab4dde63d76: Waiting [2023-01-23T02:16:14.002Z] bde34c3a00c8: Waiting [2023-01-23T02:16:14.002Z] b352a97aabf1: Waiting [2023-01-23T02:16:14.002Z] 4872d77fe225: Waiting [2023-01-23T02:16:14.002Z] 5851b861e8e6: Waiting [2023-01-23T02:16:14.268Z] e2be974225ed: Verifying Checksum [2023-01-23T02:16:14.268Z] e2be974225ed: Download complete [2023-01-23T02:16:14.268Z] 988bab9f4d93: Verifying Checksum [2023-01-23T02:16:14.268Z] 988bab9f4d93: Download complete [2023-01-23T02:16:14.853Z] 1469e6f7b9e6: Verifying Checksum [2023-01-23T02:16:14.853Z] 1469e6f7b9e6: Download complete [2023-01-23T02:16:14.853Z] eaf3925da568: Verifying Checksum [2023-01-23T02:16:14.853Z] eaf3925da568: Download complete [2023-01-23T02:16:14.853Z] b85a868b505f: Verifying Checksum [2023-01-23T02:16:14.853Z] b85a868b505f: Download complete [2023-01-23T02:16:14.853Z] bde34c3a00c8: Verifying Checksum [2023-01-23T02:16:14.853Z] bde34c3a00c8: Download complete [2023-01-23T02:16:16.255Z] b85a868b505f: Pull complete [2023-01-23T02:16:16.255Z] e2be974225ed: Pull complete [2023-01-23T02:16:16.520Z] b352a97aabf1: Download complete [2023-01-23T02:16:16.520Z] 4872d77fe225: Download complete [2023-01-23T02:16:16.520Z] 5851b861e8e6: Download complete [2023-01-23T02:16:16.520Z] 339a4e72a1f5: Verifying Checksum [2023-01-23T02:16:16.520Z] 339a4e72a1f5: Download complete [2023-01-23T02:16:16.780Z] bab4dde63d76: Verifying Checksum [2023-01-23T02:16:16.780Z] bab4dde63d76: Download complete [2023-01-23T02:16:17.041Z] 339a4e72a1f5: Pull complete [2023-01-23T02:16:17.041Z] 988bab9f4d93: Pull complete [2023-01-23T02:16:17.301Z] 1469e6f7b9e6: Pull complete [2023-01-23T02:16:17.562Z] eaf3925da568: Pull complete [2023-01-23T02:16:19.488Z] bab4dde63d76: Pull complete [2023-01-23T02:16:19.488Z] bde34c3a00c8: Pull complete [2023-01-23T02:16:19.746Z] b352a97aabf1: Pull complete [2023-01-23T02:16:19.746Z] 4872d77fe225: Pull complete [2023-01-23T02:16:19.746Z] 5851b861e8e6: Pull complete [2023-01-23T02:16:19.746Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-23T02:16:19.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T02:16:19.746Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:16:19.976Z] prd-ubuntu20.04-docker-8c-8g-3314 does not seem to be running inside a container [2023-01-23T02:16:20.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1287 -v /w/workspace/gexfoundry_device-sdk-go_PR-1287:/w/workspace/gexfoundry_device-sdk-go_PR-1287:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1287@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-23T02:16:21.409Z] $ docker top f0e08e73d7bd0be3837d69d48c05125ff55b474c9f8814025c14b6dbdbbf2ed3 -eo pid,comm [2023-01-23T02:16:21.473Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-23T02:16:21.473Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-23T02:16:21.600Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T02:16:21.600Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T02:16:21.713Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T02:16:21.719Z] $ docker exec f0e08e73d7bd0be3837d69d48c05125ff55b474c9f8814025c14b6dbdbbf2ed3 ssh-agent [2023-01-23T02:16:21.820Z] SSH_AUTH_SOCK=/tmp/ssh-aib3lsFjfy7z/agent.34 [2023-01-23T02:16:21.820Z] SSH_AGENT_PID=40 [2023-01-23T02:16:21.826Z] Running ssh-add (command line suppressed) [2023-01-23T02:16:21.930Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp/private_key_8955390713702714598.key (/w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp/private_key_8955390713702714598.key) [2023-01-23T02:16:21.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T02:16:22.270Z] + git tag --points-at HEAD [Pipeline] } [2023-01-23T02:16:22.298Z] $ docker exec --env ******** --env ******** f0e08e73d7bd0be3837d69d48c05125ff55b474c9f8814025c14b6dbdbbf2ed3 ssh-agent -k [2023-01-23T02:16:22.403Z] unset SSH_AUTH_SOCK; [2023-01-23T02:16:22.404Z] unset SSH_AGENT_PID; [2023-01-23T02:16:22.404Z] echo Agent pid 40 killed; [2023-01-23T02:16:22.412Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-23T02:16:22.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T02:16:22.500Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T02:16:22.620Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T02:16:22.626Z] $ docker exec f0e08e73d7bd0be3837d69d48c05125ff55b474c9f8814025c14b6dbdbbf2ed3 ssh-agent [2023-01-23T02:16:22.726Z] SSH_AUTH_SOCK=/tmp/ssh-6lWS4GZlCTmi/agent.73 [2023-01-23T02:16:22.726Z] SSH_AGENT_PID=79 [2023-01-23T02:16:22.732Z] Running ssh-add (command line suppressed) [2023-01-23T02:16:22.838Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp/private_key_17578391900207826156.key (/w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp/private_key_17578391900207826156.key) [2023-01-23T02:16:22.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T02:16:23.191Z] + git semver init [2023-01-23T02:16:23.450Z] 2023-01-23 02:16:23,376 [run_init] DEBUG init version:0.0.0 force:False [2023-01-23T02:16:23.450Z] 2023-01-23 02:16:23,377 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1287/.semver [2023-01-23T02:16:23.450Z] 2023-01-23 02:16:23,377 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1287/.semver [2023-01-23T02:16:23.450Z] 2023-01-23 02:16:23,377 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1287/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1287, universal_newlines=False, shell=None, istream=None) [2023-01-23T02:16:24.392Z] 2023-01-23 02:16:24,283 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1287/.git/info/exclude [2023-01-23T02:16:24.392Z] 2023-01-23 02:16:24,283 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1287/.semver/PR-1287 with force:False [2023-01-23T02:16:24.392Z] 2023-01-23 02:16:24,283 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1287/.semver/PR-1287 [2023-01-23T02:16:24.392Z] 2023-01-23 02:16:24,288 [execute] INFO git cat-file --batch-check [2023-01-23T02:16:24.392Z] 2023-01-23 02:16:24,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1287/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T02:16:24.392Z] 2023-01-23 02:16:24,299 [execute] INFO git cat-file --batch [2023-01-23T02:16:24.392Z] 2023-01-23 02:16:24,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1287/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T02:16:24.392Z] 2023-01-23 02:16:24,305 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1287/.semver/PR-1287 [2023-01-23T02:16:24.392Z] 0.0.0 [Pipeline] } [2023-01-23T02:16:24.423Z] $ docker exec --env ******** --env ******** f0e08e73d7bd0be3837d69d48c05125ff55b474c9f8814025c14b6dbdbbf2ed3 ssh-agent -k [2023-01-23T02:16:24.519Z] unset SSH_AUTH_SOCK; [2023-01-23T02:16:24.521Z] unset SSH_AGENT_PID; [2023-01-23T02:16:24.522Z] echo Agent pid 79 killed; [2023-01-23T02:16:24.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-23T02:16:24.950Z] + git semver [Pipeline] } [2023-01-23T02:16:25.237Z] $ docker stop --time=1 f0e08e73d7bd0be3837d69d48c05125ff55b474c9f8814025c14b6dbdbbf2ed3 [2023-01-23T02:16:26.589Z] $ docker rm -f --volumes f0e08e73d7bd0be3837d69d48c05125ff55b474c9f8814025c14b6dbdbbf2ed3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T02:16:26.982Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-23T02:16:27.262Z] Stashed 1 file(s) [Pipeline] echo [2023-01-23T02:16:27.280Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T02:16:27.877Z] provisioning config files... [2023-01-23T02:16:27.888Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp/config17409327776806852428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:16:28.233Z] ---> docker-login.sh [2023-01-23T02:16:28.233Z] nexus3.edgexfoundry.org:10001 [2023-01-23T02:16:28.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:28.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:28.233Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:28.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:28.233Z] [2023-01-23T02:16:28.233Z] Login Succeeded [2023-01-23T02:16:28.233Z] nexus3.edgexfoundry.org:10002 [2023-01-23T02:16:28.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:28.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:28.233Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:28.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:28.233Z] [2023-01-23T02:16:28.233Z] Login Succeeded [2023-01-23T02:16:28.233Z] nexus3.edgexfoundry.org:10003 [2023-01-23T02:16:28.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:28.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:28.492Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:28.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:28.492Z] [2023-01-23T02:16:28.492Z] Login Succeeded [2023-01-23T02:16:28.492Z] nexus3.edgexfoundry.org:10004 [2023-01-23T02:16:28.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:28.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:28.492Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:28.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:28.492Z] [2023-01-23T02:16:28.492Z] Login Succeeded [2023-01-23T02:16:28.492Z] docker.io [2023-01-23T02:16:28.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:28.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:28.754Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:28.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:28.754Z] [2023-01-23T02:16:28.754Z] Login Succeeded [2023-01-23T02:16:29.014Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T02:16:29.045Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T02:16:29.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T02:16:29.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T02:16:29.306Z] ========================================================= [2023-01-23T02:16:29.306Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-23T02:16:29.306Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:16:29.829Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-23T02:16:29.829Z] Sending build context to Docker daemon 10.53MB [2023-01-23T02:16:29.829Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T02:16:29.829Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-23T02:16:29.829Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-23T02:16:29.829Z] 213ec9aee27d: Pulling fs layer [2023-01-23T02:16:29.829Z] 4583459ba037: Pulling fs layer [2023-01-23T02:16:29.829Z] 93c1e223e6f2: Pulling fs layer [2023-01-23T02:16:29.829Z] 53926ce57604: Pulling fs layer [2023-01-23T02:16:29.829Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-23T02:16:29.829Z] 22ff95d597cd: Pulling fs layer [2023-01-23T02:16:29.829Z] 12d6caf4c0d1: Pulling fs layer [2023-01-23T02:16:29.829Z] 96b7cbca73a9: Pulling fs layer [2023-01-23T02:16:29.829Z] a7acece74701: Pulling fs layer [2023-01-23T02:16:29.829Z] 53926ce57604: Waiting [2023-01-23T02:16:29.829Z] 96b7cbca73a9: Waiting [2023-01-23T02:16:29.829Z] 21b2b0c7a3f4: Waiting [2023-01-23T02:16:29.829Z] 22ff95d597cd: Waiting [2023-01-23T02:16:29.829Z] 12d6caf4c0d1: Waiting [2023-01-23T02:16:29.829Z] 93c1e223e6f2: Verifying Checksum [2023-01-23T02:16:29.829Z] 93c1e223e6f2: Download complete [2023-01-23T02:16:30.096Z] 4583459ba037: Verifying Checksum [2023-01-23T02:16:30.096Z] 4583459ba037: Download complete [2023-01-23T02:16:30.096Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-23T02:16:30.096Z] 21b2b0c7a3f4: Download complete [2023-01-23T02:16:30.096Z] 22ff95d597cd: Verifying Checksum [2023-01-23T02:16:30.096Z] 22ff95d597cd: Download complete [2023-01-23T02:16:30.096Z] 213ec9aee27d: Download complete [2023-01-23T02:16:30.096Z] 12d6caf4c0d1: Download complete [2023-01-23T02:16:30.096Z] 213ec9aee27d: Pull complete [2023-01-23T02:16:30.364Z] 4583459ba037: Pull complete [2023-01-23T02:16:30.364Z] 93c1e223e6f2: Pull complete [2023-01-23T02:16:30.950Z] a7acece74701: Verifying Checksum [2023-01-23T02:16:30.950Z] a7acece74701: Download complete [2023-01-23T02:16:31.526Z] 53926ce57604: Verifying Checksum [2023-01-23T02:16:31.526Z] 53926ce57604: Download complete [2023-01-23T02:16:31.526Z] 96b7cbca73a9: Verifying Checksum [2023-01-23T02:16:31.526Z] 96b7cbca73a9: Download complete [2023-01-23T02:16:35.721Z] 53926ce57604: Pull complete [2023-01-23T02:16:35.721Z] 21b2b0c7a3f4: Pull complete [2023-01-23T02:16:35.721Z] 22ff95d597cd: Pull complete [2023-01-23T02:16:35.979Z] 12d6caf4c0d1: Pull complete [2023-01-23T02:16:37.876Z] 96b7cbca73a9: Pull complete [2023-01-23T02:16:38.817Z] a7acece74701: Pull complete [2023-01-23T02:16:38.817Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-23T02:16:38.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-23T02:16:38.817Z] ---> db6d94c90886 [2023-01-23T02:16:38.817Z] Step 3/10 : ARG MAKE=make build [2023-01-23T02:16:42.686Z] Still waiting to schedule task [2023-01-23T02:16:42.686Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3309’ [2023-01-23T02:16:43.032Z] ---> Running in 150b5213ad7d [2023-01-23T02:16:43.032Z] Removing intermediate container 150b5213ad7d [2023-01-23T02:16:43.032Z] ---> c2c546acd929 [2023-01-23T02:16:43.032Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-23T02:16:43.032Z] ---> Running in f5b2abd3c6da [2023-01-23T02:16:43.032Z] Removing intermediate container f5b2abd3c6da [2023-01-23T02:16:43.032Z] ---> e7bd822a3adf [2023-01-23T02:16:43.032Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-23T02:16:43.032Z] ---> Running in 7b21a7c1feb1 [2023-01-23T02:16:43.032Z] Removing intermediate container 7b21a7c1feb1 [2023-01-23T02:16:43.032Z] ---> 102ba8ecf319 [2023-01-23T02:16:43.032Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-23T02:16:43.032Z] ---> Running in 191efba7378c [2023-01-23T02:16:43.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T02:16:43.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T02:16:43.549Z] OK: 211 MiB in 51 packages [2023-01-23T02:16:43.809Z] Removing intermediate container 191efba7378c [2023-01-23T02:16:43.809Z] ---> 251ae94cee81 [2023-01-23T02:16:43.809Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-23T02:16:44.068Z] ---> 30fb50d5af77 [2023-01-23T02:16:44.068Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T02:16:44.068Z] ---> Running in 27e8541c08c6 [2023-01-23T02:17:22.934Z] Removing intermediate container 27e8541c08c6 [2023-01-23T02:17:22.934Z] ---> 28b933f27860 [2023-01-23T02:17:22.934Z] Step 9/10 : COPY . . [2023-01-23T02:17:22.934Z] ---> 01079bf0f688 [2023-01-23T02:17:22.934Z] Step 10/10 : RUN ${MAKE} [2023-01-23T02:17:22.934Z] ---> Running in c16e66f6a5f8 [2023-01-23T02:17:22.934Z] noop [2023-01-23T02:17:22.934Z] Removing intermediate container c16e66f6a5f8 [2023-01-23T02:17:22.934Z] ---> 0b16b5aa224e [2023-01-23T02:17:22.934Z] Successfully built 0b16b5aa224e [2023-01-23T02:17:22.934Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:17:23.408Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T02:17:23.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:17:23.557Z] prd-ubuntu20.04-docker-8c-8g-3314 does not seem to be running inside a container [2023-01-23T02:17:23.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1287 -v /w/workspace/gexfoundry_device-sdk-go_PR-1287:/w/workspace/gexfoundry_device-sdk-go_PR-1287:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1287@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 ******** ci-base-image-x86_64 cat [2023-01-23T02:17:23.917Z] $ docker top 2bc74be1c39a1d66c80af52ee0ef7749123c00581f3fce406eec3abb593402af -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T02:17:24.303Z] + go version [2023-01-23T02:17:24.303Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-23T02:17:24.335Z] $ docker stop --time=1 2bc74be1c39a1d66c80af52ee0ef7749123c00581f3fce406eec3abb593402af [2023-01-23T02:17:25.627Z] $ docker rm -f --volumes 2bc74be1c39a1d66c80af52ee0ef7749123c00581f3fce406eec3abb593402af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:17:26.363Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T02:17:26.363Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:17:26.526Z] prd-ubuntu20.04-docker-8c-8g-3314 does not seem to be running inside a container [2023-01-23T02:17:26.558Z] $ 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-1287 -v /w/workspace/gexfoundry_device-sdk-go_PR-1287:/w/workspace/gexfoundry_device-sdk-go_PR-1287:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1287@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 ******** ci-base-image-x86_64 cat [2023-01-23T02:17:26.902Z] $ docker top d180c128e8d8ef1268150896bdae76645fdb1e7a4cfa6eedf55cebf287fd350e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T02:17:27.295Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1287 [Pipeline] fileExists [Pipeline] sh [2023-01-23T02:17:27.644Z] + make test [2023-01-23T02:17:27.644Z] go test -race -coverprofile=coverage.out ./... [2023-01-23T02:17:34.243Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-23T02:17:49.156Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.059s coverage: 27.6% of statements [2023-01-23T02:17:49.156Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 78.9% of statements [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-23T02:17:49.156Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.140s coverage: 73.6% of statements [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-23T02:17:49.156Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.123s coverage: 60.6% of statements [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-23T02:17:49.156Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.096s coverage: 65.1% of statements [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-23T02:17:49.156Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.777s coverage: 89.2% of statements [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-23T02:17:49.156Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.6% of statements [2023-01-23T02:17:49.156Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-23T02:18:04.023Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-23T02:18:04.023Z] GO111MODULE=on go vet ./... [2023-01-23T02:18:04.958Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-23T02:18:04.958Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-23T02:18:04.958Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-23T02:18:05.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-23T02:18:05.282Z] $ docker stop --time=1 d180c128e8d8ef1268150896bdae76645fdb1e7a4cfa6eedf55cebf287fd350e [2023-01-23T02:18:09.202Z] $ docker rm -f --volumes d180c128e8d8ef1268150896bdae76645fdb1e7a4cfa6eedf55cebf287fd350e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T02:18:09.786Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-23T02:18:09.864Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-23T02:18:10.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-23T02:18:10.864Z] + ls -al . [2023-01-23T02:18:10.864Z] total 272 [2023-01-23T02:18:10.864Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 23 02:17 . [2023-01-23T02:18:10.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:16 .. [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 23 02:16 .dockerignore [2023-01-23T02:18:10.864Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 02:17 .git [2023-01-23T02:18:10.864Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:16 .github [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 23 02:16 .gitignore [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 23 02:16 .golangci.yml [2023-01-23T02:18:10.864Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 02:16 .semver [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 23 02:16 CHANGELOG.md [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 02:16 GOVERNANCE.md [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 23 02:16 Jenkinsfile [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 23 02:16 LICENSE [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 23 02:16 Makefile [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 23 02:16 OWNERS.md [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 23 02:16 README.md [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 02:16 VERSION [2023-01-23T02:18:10.864Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:16 bin [2023-01-23T02:18:10.864Z] -rw-r--r-- 1 jenkins jenkins 100832 Jan 23 02:17 coverage.out [2023-01-23T02:18:10.864Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 23 02:16 example [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 23 02:16 go.mod [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 23 02:16 go.sum [2023-01-23T02:18:10.864Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 23 02:16 internal [2023-01-23T02:18:10.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:16 openapi [2023-01-23T02:18:10.864Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 23 02:16 pkg [2023-01-23T02:18:10.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:16 snap [2023-01-23T02:18:10.864Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 23 02:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:18:11.270Z] + 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=ec56420abc13348da71462991048d14e2481fb28 --label arch=amd64 --label version=0.0.0 . [2023-01-23T02:18:11.270Z] Sending build context to Docker daemon 10.63MB [2023-01-23T02:18:11.270Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T02:18:11.270Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-23T02:18:11.270Z] ---> 0b16b5aa224e [2023-01-23T02:18:11.270Z] Step 3/23 : ARG MAKE=make build [2023-01-23T02:18:11.530Z] ---> Running in 92a463a6a82e [2023-01-23T02:18:11.530Z] Removing intermediate container 92a463a6a82e [2023-01-23T02:18:11.530Z] ---> afcbf04c7f3d [2023-01-23T02:18:11.530Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-23T02:18:11.530Z] ---> Running in c0edba2f646d [2023-01-23T02:18:11.530Z] Removing intermediate container c0edba2f646d [2023-01-23T02:18:11.530Z] ---> 03b6f010ef77 [2023-01-23T02:18:11.530Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-23T02:18:11.530Z] ---> Running in d5c896edd570 [2023-01-23T02:18:11.788Z] Removing intermediate container d5c896edd570 [2023-01-23T02:18:11.788Z] ---> cb93c9666347 [2023-01-23T02:18:11.788Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-23T02:18:11.788Z] ---> Running in 244440cf40b9 [2023-01-23T02:18:12.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T02:18:12.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T02:18:12.561Z] OK: 211 MiB in 51 packages [2023-01-23T02:18:12.820Z] Removing intermediate container 244440cf40b9 [2023-01-23T02:18:12.820Z] ---> 67daa607ac9d [2023-01-23T02:18:12.820Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-23T02:18:12.820Z] ---> 6e385f057ffc [2023-01-23T02:18:12.820Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T02:18:13.079Z] ---> Running in 6a5378349c88 [2023-01-23T02:18:13.645Z] Removing intermediate container 6a5378349c88 [2023-01-23T02:18:13.645Z] ---> 4219ff90c7fe [2023-01-23T02:18:13.645Z] Step 9/23 : COPY . . [2023-01-23T02:18:14.215Z] ---> 8a2b1c415584 [2023-01-23T02:18:14.215Z] Step 10/23 : RUN ${MAKE} [2023-01-23T02:18:14.215Z] ---> Running in c6b87948af1a [2023-01-23T02:18:14.472Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-01-23T02:18:36.395Z] Removing intermediate container c6b87948af1a [2023-01-23T02:18:36.395Z] ---> b7d994ce359d [2023-01-23T02:18:36.395Z] Step 11/23 : FROM alpine:3.16 [2023-01-23T02:18:36.395Z] 3.16: Pulling from library/alpine [2023-01-23T02:18:36.395Z] ca7dd9ec2225: Pulling fs layer [2023-01-23T02:18:36.395Z] ca7dd9ec2225: Verifying Checksum [2023-01-23T02:18:36.395Z] ca7dd9ec2225: Download complete [2023-01-23T02:18:36.395Z] ca7dd9ec2225: Pull complete [2023-01-23T02:18:36.395Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-23T02:18:36.395Z] Status: Downloaded newer image for alpine:3.16 [2023-01-23T02:18:36.395Z] ---> bfe296a52501 [2023-01-23T02:18:36.395Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-23T02:18:36.395Z] ---> Running in 0a73c74e540f [2023-01-23T02:18:36.395Z] Removing intermediate container 0a73c74e540f [2023-01-23T02:18:36.395Z] ---> a0a990e32204 [2023-01-23T02:18:36.395Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-23T02:18:36.395Z] ---> Running in 8d7a67afaec3 [2023-01-23T02:18:36.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T02:18:36.395Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T02:18:36.395Z] OK: 6 MiB in 14 packages [2023-01-23T02:18:36.395Z] Removing intermediate container 8d7a67afaec3 [2023-01-23T02:18:36.395Z] ---> 88e329e5b57c [2023-01-23T02:18:36.395Z] Step 14/23 : WORKDIR / [2023-01-23T02:18:36.395Z] ---> Running in 287cf8ca25e9 [2023-01-23T02:18:36.395Z] Removing intermediate container 287cf8ca25e9 [2023-01-23T02:18:36.395Z] ---> 4cbb691b5444 [2023-01-23T02:18:36.395Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-23T02:18:36.395Z] ---> d7ba1f2ef1d1 [2023-01-23T02:18:36.395Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-23T02:18:36.395Z] ---> 20c6fc7aaaec [2023-01-23T02:18:36.395Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-23T02:18:36.658Z] ---> ef2351fadd39 [2023-01-23T02:18:36.658Z] Step 18/23 : EXPOSE 59999 [2023-01-23T02:18:36.658Z] ---> Running in 8776c1f9025a [2023-01-23T02:18:36.658Z] Removing intermediate container 8776c1f9025a [2023-01-23T02:18:36.658Z] ---> 884b4f109ba5 [2023-01-23T02:18:36.658Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-23T02:18:36.919Z] ---> Running in c82ec30d055a [2023-01-23T02:18:36.919Z] Removing intermediate container c82ec30d055a [2023-01-23T02:18:36.919Z] ---> 5a087a7e4f04 [2023-01-23T02:18:36.919Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-23T02:18:36.919Z] ---> Running in 26b109d6039f [2023-01-23T02:18:36.919Z] Removing intermediate container 26b109d6039f [2023-01-23T02:18:36.919Z] ---> bdf9a298a8a9 [2023-01-23T02:18:36.919Z] Step 21/23 : LABEL arch=amd64 [2023-01-23T02:18:36.919Z] ---> Running in 829208cca88e [2023-01-23T02:18:37.182Z] Removing intermediate container 829208cca88e [2023-01-23T02:18:37.182Z] ---> 1087ea427952 [2023-01-23T02:18:37.182Z] Step 22/23 : LABEL git_sha=ec56420abc13348da71462991048d14e2481fb28 [2023-01-23T02:18:37.182Z] ---> Running in cd9ea852c525 [2023-01-23T02:18:37.182Z] Removing intermediate container cd9ea852c525 [2023-01-23T02:18:37.182Z] ---> df42b0bf033f [2023-01-23T02:18:37.182Z] Step 23/23 : LABEL version=0.0.0 [2023-01-23T02:18:37.182Z] ---> Running in 31efc8c19b20 [2023-01-23T02:18:37.182Z] Removing intermediate container 31efc8c19b20 [2023-01-23T02:18:37.182Z] ---> 3d5c5c508150 [2023-01-23T02:18:37.182Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-23T02:18:37.182Z] Successfully built 3d5c5c508150 [2023-01-23T02:18:37.182Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:18:38.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T02:18:38.051Z] [2023-01-23T02:18:38.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:18:38.429Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T02:18:38.429Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-23T02:18:38.429Z] 5eb5b503b376: Pulling fs layer [2023-01-23T02:18:38.429Z] 5c69ac0246d0: Pulling fs layer [2023-01-23T02:18:38.429Z] ec43610c2a17: Pulling fs layer [2023-01-23T02:18:38.429Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-23T02:18:38.429Z] 33b1e0a273af: Pulling fs layer [2023-01-23T02:18:38.429Z] 5d3b04190fa2: Pulling fs layer [2023-01-23T02:18:38.429Z] 2f39f015ded8: Pulling fs layer [2023-01-23T02:18:38.429Z] 5d3b04190fa2: Waiting [2023-01-23T02:18:38.429Z] 33b1e0a273af: Waiting [2023-01-23T02:18:38.429Z] 3a2ae6a8a46f: Waiting [2023-01-23T02:18:38.429Z] 5c69ac0246d0: Verifying Checksum [2023-01-23T02:18:38.429Z] 5c69ac0246d0: Download complete [2023-01-23T02:18:38.429Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-23T02:18:38.429Z] 3a2ae6a8a46f: Download complete [2023-01-23T02:18:38.694Z] 33b1e0a273af: Verifying Checksum [2023-01-23T02:18:38.694Z] 33b1e0a273af: Download complete [2023-01-23T02:18:38.694Z] ec43610c2a17: Download complete [2023-01-23T02:18:38.694Z] 5d3b04190fa2: Verifying Checksum [2023-01-23T02:18:38.694Z] 5d3b04190fa2: Download complete [2023-01-23T02:18:38.954Z] 5eb5b503b376: Verifying Checksum [2023-01-23T02:18:38.954Z] 5eb5b503b376: Download complete [2023-01-23T02:18:39.520Z] 2f39f015ded8: Download complete [2023-01-23T02:18:39.778Z] 5eb5b503b376: Pull complete [2023-01-23T02:18:40.036Z] 5c69ac0246d0: Pull complete [2023-01-23T02:18:40.295Z] ec43610c2a17: Pull complete [2023-01-23T02:18:40.553Z] 3a2ae6a8a46f: Pull complete [2023-01-23T02:18:40.553Z] 33b1e0a273af: Pull complete [2023-01-23T02:18:40.553Z] 5d3b04190fa2: Pull complete [2023-01-23T02:18:44.727Z] 2f39f015ded8: Pull complete [2023-01-23T02:18:44.727Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-23T02:18:44.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T02:18:44.727Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:18:44.944Z] prd-ubuntu20.04-docker-8c-8g-3314 does not seem to be running inside a container [2023-01-23T02:18:44.975Z] $ 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-1287 -v /w/workspace/gexfoundry_device-sdk-go_PR-1287:/w/workspace/gexfoundry_device-sdk-go_PR-1287:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T02:18:48.547Z] $ docker top a799d97a7042ef1134c625a28a29b3ad36002151cf15a41ba28dbe700b22a890 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:18:48.984Z] ---> job-cost.sh [2023-01-23T02:18:48.985Z] lf-activate-venv: SKIPPING [2023-01-23T02:18:48.985Z] INFO: No Stack... [2023-01-23T02:18:49.243Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T02:18:49.811Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T02:18:50.123Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1287/archives/cost.csv [2023-01-23T02:18:50.123Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T02:18:50.165Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1287-1-stack-cost] [2023-01-23T02:18:50.170Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1287-1-stack-cost] did not exist. Created. [2023-01-23T02:18:50.170Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1287-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T02:18:50.556Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-23T02:18:50.615Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T02:18:50.642Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1287-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T02:18:50.724Z] $ docker stop --time=1 a799d97a7042ef1134c625a28a29b3ad36002151cf15a41ba28dbe700b22a890 [2023-01-23T02:18:51.883Z] $ docker rm -f --volumes a799d97a7042ef1134c625a28a29b3ad36002151cf15a41ba28dbe700b22a890 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-23T02:19:26.242Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3319 in /w/workspace/gexfoundry_device-sdk-go_PR-1287 [Pipeline] { [Pipeline] ws [2023-01-23T02:19:26.297Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-01-23T02:19:26.372Z] The recommended git tool is: git [2023-01-23T02:19:34.958Z] using credential edgex-jenkins-ssh [2023-01-23T02:19:34.977Z] Cloning the remote Git repository [2023-01-23T02:19:35.038Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-23T02:19:35.134Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-23T02:19:35.338Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-23T02:19:35.340Z] > git --version # timeout=10 [2023-01-23T02:19:35.367Z] > git --version # 'git version 2.25.1' [2023-01-23T02:19:35.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T02:19:35.443Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T02:19:37.296Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-23T02:19:37.324Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T02:19:39.056Z] Merging remotes/origin/main commit 75769cbb60d148b1a5e0cc7835b599c46228d755 into PR head commit ec56420abc13348da71462991048d14e2481fb28 [2023-01-23T02:19:39.339Z] Merge succeeded, producing ec56420abc13348da71462991048d14e2481fb28 [2023-01-23T02:19:39.340Z] Checking out Revision ec56420abc13348da71462991048d14e2481fb28 (PR-1287) [2023-01-23T02:19:38.308Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-23T02:19:38.359Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-23T02:19:38.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T02:19:38.377Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1287/head:refs/remotes/origin/PR-1287 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-23T02:19:39.080Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T02:19:39.106Z] > git checkout -f ec56420abc13348da71462991048d14e2481fb28 # timeout=10 [2023-01-23T02:19:39.227Z] > git remote # timeout=10 [2023-01-23T02:19:39.248Z] > git config --get remote.origin.url # timeout=10 [2023-01-23T02:19:39.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T02:19:39.292Z] > git merge 75769cbb60d148b1a5e0cc7835b599c46228d755 # timeout=10 [2023-01-23T02:19:39.322Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-23T02:19:39.349Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T02:19:39.384Z] > git checkout -f ec56420abc13348da71462991048d14e2481fb28 # timeout=10 [2023-01-23T02:19:40.009Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-01-23T02:19:40.073Z] > git --version # timeout=10 [2023-01-23T02:19:40.085Z] > git --version # 'git version 2.25.1' [2023-01-23T02:19:40.102Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T02:19:41.136Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-23T02:19:41.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T02:19:41.137Z] Dload Upload Total Spent Left Speed [2023-01-23T02:19:41.137Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 163k [Pipeline] sh [2023-01-23T02:19:41.825Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-23T02:19:42.187Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-23T02:19:42.187Z] + sudo tee /etc/docker/daemon.new [2023-01-23T02:19:42.187Z] { [2023-01-23T02:19:42.187Z] "registry-mirrors": [ [2023-01-23T02:19:42.187Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-23T02:19:42.187Z] ], [2023-01-23T02:19:42.187Z] "bip": "10.250.0.254/24", [2023-01-23T02:19:42.187Z] "hosts": [ [2023-01-23T02:19:42.187Z] "tcp://0.0.0.0:5555", [2023-01-23T02:19:42.187Z] "unix:///var/run/docker.sock" [2023-01-23T02:19:42.187Z] ], [2023-01-23T02:19:42.187Z] "mtu": 1458, [2023-01-23T02:19:42.187Z] "selinux-enabled": true, [2023-01-23T02:19:42.187Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-23T02:19:42.187Z] } [Pipeline] sh [2023-01-23T02:19:42.545Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-23T02:19:42.905Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T02:20:01.258Z] provisioning config files... [2023-01-23T02:20:01.290Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14855549613211231394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:20:01.690Z] ---> docker-login.sh [2023-01-23T02:20:01.690Z] nexus3.edgexfoundry.org:10001 [2023-01-23T02:20:02.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:20:02.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:20:02.297Z] Configure a credential helper to remove this warning. See [2023-01-23T02:20:02.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:20:02.297Z] [2023-01-23T02:20:02.297Z] Login Succeeded [2023-01-23T02:20:02.297Z] nexus3.edgexfoundry.org:10002 [2023-01-23T02:20:02.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:20:02.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:20:02.843Z] Configure a credential helper to remove this warning. See [2023-01-23T02:20:02.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:20:02.843Z] [2023-01-23T02:20:02.843Z] Login Succeeded [2023-01-23T02:20:02.843Z] nexus3.edgexfoundry.org:10003 [2023-01-23T02:20:03.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:20:03.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:20:03.115Z] Configure a credential helper to remove this warning. See [2023-01-23T02:20:03.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:20:03.115Z] [2023-01-23T02:20:03.115Z] Login Succeeded [2023-01-23T02:20:03.115Z] nexus3.edgexfoundry.org:10004 [2023-01-23T02:20:03.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:20:03.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:20:03.661Z] Configure a credential helper to remove this warning. See [2023-01-23T02:20:03.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:20:03.661Z] [2023-01-23T02:20:03.661Z] Login Succeeded [2023-01-23T02:20:03.661Z] docker.io [2023-01-23T02:20:03.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:20:04.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:20:04.199Z] Configure a credential helper to remove this warning. See [2023-01-23T02:20:04.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:20:04.199Z] [2023-01-23T02:20:04.199Z] Login Succeeded [2023-01-23T02:20:04.199Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T02:20:04.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T02:20:04.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T02:20:04.658Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T02:20:04.690Z] ========================================================= [2023-01-23T02:20:04.690Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-23T02:20:04.691Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:20:05.246Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-23T02:20:05.517Z] Sending build context to Docker daemon 5.681MB [2023-01-23T02:20:05.792Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T02:20:05.792Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-23T02:20:05.792Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-23T02:20:05.792Z] 9b18e9b68314: Pulling fs layer [2023-01-23T02:20:05.792Z] 35d82f9e3411: Pulling fs layer [2023-01-23T02:20:05.792Z] e16973657156: Pulling fs layer [2023-01-23T02:20:05.792Z] fc693d55d65f: Pulling fs layer [2023-01-23T02:20:05.792Z] 7e9fc2657dce: Pulling fs layer [2023-01-23T02:20:05.792Z] dda99020689f: Pulling fs layer [2023-01-23T02:20:05.792Z] db1c61fa0a46: Pulling fs layer [2023-01-23T02:20:05.792Z] 891c053d2c06: Pulling fs layer [2023-01-23T02:20:05.792Z] fc693d55d65f: Waiting [2023-01-23T02:20:05.792Z] 7e9fc2657dce: Waiting [2023-01-23T02:20:05.792Z] dda99020689f: Waiting [2023-01-23T02:20:05.792Z] db1c61fa0a46: Waiting [2023-01-23T02:20:05.792Z] 891c053d2c06: Waiting [2023-01-23T02:20:05.792Z] e16973657156: Verifying Checksum [2023-01-23T02:20:05.792Z] e16973657156: Download complete [2023-01-23T02:20:05.792Z] 35d82f9e3411: Download complete [2023-01-23T02:20:05.792Z] 7e9fc2657dce: Download complete [2023-01-23T02:20:06.065Z] dda99020689f: Verifying Checksum [2023-01-23T02:20:06.065Z] dda99020689f: Download complete [2023-01-23T02:20:06.065Z] 9b18e9b68314: Verifying Checksum [2023-01-23T02:20:06.065Z] 9b18e9b68314: Download complete [2023-01-23T02:20:07.060Z] 9b18e9b68314: Pull complete [2023-01-23T02:20:07.060Z] 891c053d2c06: Verifying Checksum [2023-01-23T02:20:07.060Z] 891c053d2c06: Download complete [2023-01-23T02:20:07.336Z] 35d82f9e3411: Pull complete [2023-01-23T02:20:07.608Z] e16973657156: Pull complete [2023-01-23T02:20:08.199Z] db1c61fa0a46: Verifying Checksum [2023-01-23T02:20:08.199Z] db1c61fa0a46: Download complete [2023-01-23T02:20:08.788Z] fc693d55d65f: Download complete [2023-01-23T02:20:21.121Z] fc693d55d65f: Pull complete [2023-01-23T02:20:21.121Z] 7e9fc2657dce: Pull complete [2023-01-23T02:20:21.121Z] dda99020689f: Pull complete [2023-01-23T02:20:25.402Z] db1c61fa0a46: Pull complete [2023-01-23T02:20:26.828Z] 891c053d2c06: Pull complete [2023-01-23T02:20:26.828Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-23T02:20:26.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-23T02:20:26.828Z] ---> f96f9c87975a [2023-01-23T02:20:26.828Z] Step 3/10 : ARG MAKE=make build [2023-01-23T02:20:29.040Z] ---> Running in 45170a2126a7 [2023-01-23T02:20:29.336Z] Removing intermediate container 45170a2126a7 [2023-01-23T02:20:29.336Z] ---> ce17be552e47 [2023-01-23T02:20:29.336Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-23T02:20:29.613Z] ---> Running in 01a2a5c3fb59 [2023-01-23T02:20:29.908Z] Removing intermediate container 01a2a5c3fb59 [2023-01-23T02:20:29.908Z] ---> bea6eeb8fb02 [2023-01-23T02:20:29.908Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-23T02:20:29.908Z] ---> Running in 78f7e7806a99 [2023-01-23T02:20:30.504Z] Removing intermediate container 78f7e7806a99 [2023-01-23T02:20:30.504Z] ---> fdf33381f2c4 [2023-01-23T02:20:30.504Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-23T02:20:30.504Z] ---> Running in e505026bdf28 [2023-01-23T02:20:31.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T02:20:32.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T02:20:33.056Z] OK: 221 MiB in 51 packages [2023-01-23T02:20:34.034Z] Removing intermediate container e505026bdf28 [2023-01-23T02:20:34.034Z] ---> 04f78a581379 [2023-01-23T02:20:34.034Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-23T02:20:34.625Z] ---> 32d14a2d7a35 [2023-01-23T02:20:34.625Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T02:20:34.897Z] ---> Running in 819c0f7bc97e [2023-01-23T02:21:56.642Z] Removing intermediate container 819c0f7bc97e [2023-01-23T02:21:56.642Z] ---> 3d1e5fe3037a [2023-01-23T02:21:56.642Z] Step 9/10 : COPY . . [2023-01-23T02:21:56.642Z] ---> 8fd6d1ba1239 [2023-01-23T02:21:56.642Z] Step 10/10 : RUN ${MAKE} [2023-01-23T02:21:56.642Z] ---> Running in 0aeaa849797a [2023-01-23T02:21:56.642Z] noop [2023-01-23T02:21:56.642Z] Removing intermediate container 0aeaa849797a [2023-01-23T02:21:56.642Z] ---> 6ae56af4c00d [2023-01-23T02:21:56.642Z] Successfully built 6ae56af4c00d [2023-01-23T02:21:56.642Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:21:57.134Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T02:21:57.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:21:57.409Z] prd-ubuntu20.04-docker-arm64-4c-16g-3319 does not seem to be running inside a container [2023-01-23T02:21:57.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-01-23T02:21:58.717Z] $ docker top d756ae06e7e6b9c096084ae95b23386f1249aca01e6dcb79096aee7a9227480f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T02:21:59.618Z] + go version [2023-01-23T02:21:59.618Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-23T02:21:59.653Z] $ docker stop --time=1 d756ae06e7e6b9c096084ae95b23386f1249aca01e6dcb79096aee7a9227480f [2023-01-23T02:22:01.388Z] $ docker rm -f --volumes d756ae06e7e6b9c096084ae95b23386f1249aca01e6dcb79096aee7a9227480f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:22:02.263Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T02:22:02.263Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:22:02.545Z] prd-ubuntu20.04-docker-arm64-4c-16g-3319 does not seem to be running inside a container [2023-01-23T02:22:02.622Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-01-23T02:22:03.910Z] $ docker top 23b913a8f1384141fe95431071a7045c9574e53d23456b38b31c7b71037ba08a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T02:22:04.805Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-23T02:22:05.527Z] + make test [2023-01-23T02:22:05.527Z] go test -race -coverprofile=coverage.out ./... [2023-01-23T02:22:44.456Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-23T02:25:21.201Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-23T02:25:21.201Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-23T02:25:21.201Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-23T02:25:21.201Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-23T02:25:21.201Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-23T02:25:21.201Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.295s coverage: 27.6% of statements [2023-01-23T02:25:21.201Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.346s coverage: 78.9% of statements [2023-01-23T02:25:21.201Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-23T02:25:26.565Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.437s coverage: 73.6% of statements [2023-01-23T02:25:26.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-23T02:25:26.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-23T02:25:29.151Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.715s coverage: 60.6% of statements [2023-01-23T02:25:29.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-23T02:25:29.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-23T02:25:29.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-23T02:25:29.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-23T02:25:29.151Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.470s coverage: 65.1% of statements [2023-01-23T02:25:29.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-23T02:25:29.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-23T02:25:30.564Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.517s coverage: 89.2% of statements [2023-01-23T02:25:30.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-23T02:25:30.564Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.362s coverage: 4.6% of statements [2023-01-23T02:25:30.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-23T02:25:31.529Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-23T02:25:31.529Z] GO111MODULE=on go vet ./... [2023-01-23T02:27:08.212Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-23T02:27:08.212Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-23T02:27:08.212Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-23T02:27:08.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-23T02:27:08.289Z] $ docker stop --time=1 23b913a8f1384141fe95431071a7045c9574e53d23456b38b31c7b71037ba08a [2023-01-23T02:27:11.838Z] $ docker rm -f --volumes 23b913a8f1384141fe95431071a7045c9574e53d23456b38b31c7b71037ba08a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T02:27:13.253Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-23T02:27:13.285Z] Warning: overwriting stash ‘coverage-report’ [2023-01-23T02:27:13.879Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T02:27:14.469Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-23T02:27:14.811Z] + ls -al . [2023-01-23T02:27:14.811Z] total 268 [2023-01-23T02:27:14.811Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 02:22 . [2023-01-23T02:27:14.811Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:19 .. [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 23 02:19 .dockerignore [2023-01-23T02:27:14.811Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 02:19 .git [2023-01-23T02:27:14.811Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:19 .github [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 23 02:19 .gitignore [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 23 02:19 .golangci.yml [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 23 02:19 CHANGELOG.md [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 02:19 GOVERNANCE.md [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 23 02:19 Jenkinsfile [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 23 02:19 LICENSE [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 23 02:19 Makefile [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 23 02:19 OWNERS.md [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 23 02:19 README.md [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 02:16 VERSION [2023-01-23T02:27:14.811Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:19 bin [2023-01-23T02:27:14.811Z] -rw-r--r-- 1 jenkins jenkins 100832 Jan 23 02:25 coverage.out [2023-01-23T02:27:14.811Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 23 02:19 example [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 23 02:19 go.mod [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 23 02:19 go.sum [2023-01-23T02:27:14.811Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 23 02:19 internal [2023-01-23T02:27:14.811Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:19 openapi [2023-01-23T02:27:14.811Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 23 02:19 pkg [2023-01-23T02:27:14.811Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:19 snap [2023-01-23T02:27:14.811Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 23 02:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:27:15.232Z] + 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=ec56420abc13348da71462991048d14e2481fb28 --label arch=arm64 --label version=0.0.0 . [2023-01-23T02:27:15.499Z] Sending build context to Docker daemon 5.782MB [2023-01-23T02:27:15.500Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T02:27:15.500Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-23T02:27:15.500Z] ---> 6ae56af4c00d [2023-01-23T02:27:15.500Z] Step 3/23 : ARG MAKE=make build [2023-01-23T02:27:15.767Z] ---> Running in 9c5450c86718 [2023-01-23T02:27:16.039Z] Removing intermediate container 9c5450c86718 [2023-01-23T02:27:16.039Z] ---> 5be9a72d9b8c [2023-01-23T02:27:16.039Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-23T02:27:16.307Z] ---> Running in 1eece2b0b453 [2023-01-23T02:27:16.580Z] Removing intermediate container 1eece2b0b453 [2023-01-23T02:27:16.580Z] ---> 6d986600d2bd [2023-01-23T02:27:16.580Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-23T02:27:16.580Z] ---> Running in a0df9d5fd91f [2023-01-23T02:27:16.847Z] Removing intermediate container a0df9d5fd91f [2023-01-23T02:27:16.847Z] ---> 340c2d8128d3 [2023-01-23T02:27:16.847Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-23T02:27:16.847Z] ---> Running in eccfc1f4eee1 [2023-01-23T02:27:17.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T02:27:18.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T02:27:19.346Z] OK: 221 MiB in 51 packages [2023-01-23T02:27:19.945Z] Removing intermediate container eccfc1f4eee1 [2023-01-23T02:27:19.945Z] ---> 2800a9500272 [2023-01-23T02:27:19.945Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-23T02:27:20.533Z] ---> d8b8abdf2e83 [2023-01-23T02:27:20.533Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T02:27:20.533Z] ---> Running in 6f71fa80ab3f [2023-01-23T02:27:24.788Z] Removing intermediate container 6f71fa80ab3f [2023-01-23T02:27:24.788Z] ---> a3a030efd036 [2023-01-23T02:27:24.788Z] Step 9/23 : COPY . . [2023-01-23T02:27:25.390Z] ---> 5b5cb898c4f4 [2023-01-23T02:27:25.390Z] Step 10/23 : RUN ${MAKE} [2023-01-23T02:27:25.390Z] ---> Running in e1b999ff9e61 [2023-01-23T02:27:26.804Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-01-23T02:29:33.466Z] Removing intermediate container e1b999ff9e61 [2023-01-23T02:29:33.466Z] ---> 9a7dfcf3b834 [2023-01-23T02:29:33.466Z] Step 11/23 : FROM alpine:3.16 [2023-01-23T02:29:33.466Z] 3.16: Pulling from library/alpine [2023-01-23T02:29:33.466Z] 6875df1f5354: Pulling fs layer [2023-01-23T02:29:33.466Z] 6875df1f5354: Verifying Checksum [2023-01-23T02:29:33.466Z] 6875df1f5354: Download complete [2023-01-23T02:29:33.466Z] 6875df1f5354: Pull complete [2023-01-23T02:29:33.466Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-23T02:29:33.466Z] Status: Downloaded newer image for alpine:3.16 [2023-01-23T02:29:33.466Z] ---> 2b4661558fb8 [2023-01-23T02:29:33.466Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-23T02:29:33.466Z] ---> Running in 475c99182d05 [2023-01-23T02:29:33.466Z] Removing intermediate container 475c99182d05 [2023-01-23T02:29:33.466Z] ---> 9b857b24f9d3 [2023-01-23T02:29:33.466Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-23T02:29:33.466Z] ---> Running in d224bf1a2aba [2023-01-23T02:29:33.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T02:29:33.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T02:29:33.466Z] OK: 5 MiB in 14 packages [2023-01-23T02:29:33.466Z] Removing intermediate container d224bf1a2aba [2023-01-23T02:29:33.466Z] ---> 1abefc679f7a [2023-01-23T02:29:33.466Z] Step 14/23 : WORKDIR / [2023-01-23T02:29:33.466Z] ---> Running in b3f65818361e [2023-01-23T02:29:33.466Z] Removing intermediate container b3f65818361e [2023-01-23T02:29:33.466Z] ---> bc1cd7201656 [2023-01-23T02:29:33.466Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-23T02:29:33.466Z] ---> 96e15696c4df [2023-01-23T02:29:33.466Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-23T02:29:34.427Z] ---> 7dd4a94c8f1c [2023-01-23T02:29:34.427Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-23T02:29:34.694Z] ---> 16c35c205d1f [2023-01-23T02:29:34.694Z] Step 18/23 : EXPOSE 59999 [2023-01-23T02:29:34.694Z] ---> Running in ed5cbbdfdc26 [2023-01-23T02:29:34.962Z] Removing intermediate container ed5cbbdfdc26 [2023-01-23T02:29:34.962Z] ---> 721d13f34877 [2023-01-23T02:29:34.962Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-23T02:29:35.228Z] ---> Running in e748954cf475 [2023-01-23T02:29:35.495Z] Removing intermediate container e748954cf475 [2023-01-23T02:29:35.495Z] ---> 901d327041a9 [2023-01-23T02:29:35.495Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-23T02:29:35.495Z] ---> Running in 1dd5d9046ce6 [2023-01-23T02:29:35.760Z] Removing intermediate container 1dd5d9046ce6 [2023-01-23T02:29:35.760Z] ---> ff8597087f88 [2023-01-23T02:29:35.760Z] Step 21/23 : LABEL arch=arm64 [2023-01-23T02:29:35.760Z] ---> Running in deaef35fff42 [2023-01-23T02:29:36.032Z] Removing intermediate container deaef35fff42 [2023-01-23T02:29:36.032Z] ---> c1b7708de43c [2023-01-23T02:29:36.032Z] Step 22/23 : LABEL git_sha=ec56420abc13348da71462991048d14e2481fb28 [2023-01-23T02:29:36.298Z] ---> Running in 38cdb87a3307 [2023-01-23T02:29:36.565Z] Removing intermediate container 38cdb87a3307 [2023-01-23T02:29:36.565Z] ---> 54a08b33d2db [2023-01-23T02:29:36.565Z] Step 23/23 : LABEL version=0.0.0 [2023-01-23T02:29:36.565Z] ---> Running in 8fc49b48b798 [2023-01-23T02:29:36.832Z] Removing intermediate container 8fc49b48b798 [2023-01-23T02:29:36.832Z] ---> be9db0107cba [2023-01-23T02:29:36.832Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-23T02:29:36.832Z] Successfully built be9db0107cba [2023-01-23T02:29:36.832Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:29:37.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T02:29:37.645Z] [2023-01-23T02:29:37.645Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:29:38.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T02:29:38.114Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-23T02:29:38.114Z] 8998bd30e6a1: Pulling fs layer [2023-01-23T02:29:38.114Z] 04944245beec: Pulling fs layer [2023-01-23T02:29:38.114Z] 699f458cf7ca: Pulling fs layer [2023-01-23T02:29:38.114Z] 765212b225bb: Pulling fs layer [2023-01-23T02:29:38.114Z] f23df028b6ca: Pulling fs layer [2023-01-23T02:29:38.114Z] d65c8cfc05b1: Pulling fs layer [2023-01-23T02:29:38.114Z] 2437ff75d9bd: Pulling fs layer [2023-01-23T02:29:38.114Z] 765212b225bb: Waiting [2023-01-23T02:29:38.114Z] f23df028b6ca: Waiting [2023-01-23T02:29:38.114Z] d65c8cfc05b1: Waiting [2023-01-23T02:29:38.114Z] 2437ff75d9bd: Waiting [2023-01-23T02:29:38.405Z] 04944245beec: Verifying Checksum [2023-01-23T02:29:38.405Z] 04944245beec: Download complete [2023-01-23T02:29:38.405Z] 765212b225bb: Download complete [2023-01-23T02:29:38.405Z] f23df028b6ca: Verifying Checksum [2023-01-23T02:29:38.405Z] f23df028b6ca: Download complete [2023-01-23T02:29:38.405Z] d65c8cfc05b1: Verifying Checksum [2023-01-23T02:29:38.405Z] d65c8cfc05b1: Download complete [2023-01-23T02:29:38.700Z] 699f458cf7ca: Verifying Checksum [2023-01-23T02:29:38.700Z] 699f458cf7ca: Download complete [2023-01-23T02:29:38.972Z] 8998bd30e6a1: Download complete [2023-01-23T02:29:41.633Z] 2437ff75d9bd: Verifying Checksum [2023-01-23T02:29:41.633Z] 2437ff75d9bd: Download complete [2023-01-23T02:29:43.584Z] 8998bd30e6a1: Pull complete [2023-01-23T02:29:43.584Z] 04944245beec: Pull complete [2023-01-23T02:29:44.995Z] 699f458cf7ca: Pull complete [2023-01-23T02:29:45.262Z] 765212b225bb: Pull complete [2023-01-23T02:29:46.226Z] f23df028b6ca: Pull complete [2023-01-23T02:29:46.226Z] d65c8cfc05b1: Pull complete [2023-01-23T02:30:01.232Z] 2437ff75d9bd: Pull complete [2023-01-23T02:30:01.232Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-23T02:30:01.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T02:30:01.232Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:30:01.545Z] prd-ubuntu20.04-docker-arm64-4c-16g-3319 does not seem to be running inside a container [2023-01-23T02:30:01.604Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-23T02:30:04.132Z] $ docker top be87b8e868983e6eb5f00049f16a35e772c4e603cce7eec62141c4824ff04172 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:30:04.705Z] ---> job-cost.sh [2023-01-23T02:30:04.971Z] lf-activate-venv: SKIPPING [2023-01-23T02:30:04.971Z] INFO: No Stack... [2023-01-23T02:30:05.553Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-23T02:30:06.134Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T02:30:06.473Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-01-23T02:30:06.473Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T02:30:06.548Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1287-1-stack-cost] [2023-01-23T02:30:06.552Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1287-1-stack-cost] did not exist. Created. [2023-01-23T02:30:06.553Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1287-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T02:30:06.977Z] /w/workspace/device-sdk-go/1@tmp/durable-8e683bdb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-23T02:30:07.333Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-23T02:30:07.370Z] Warning: overwriting stash ‘stack-cost’ [2023-01-23T02:30:07.437Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T02:30:07.455Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1287-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T02:30:07.533Z] $ docker stop --time=1 be87b8e868983e6eb5f00049f16a35e772c4e603cce7eec62141c4824ff04172 [2023-01-23T02:30:08.984Z] $ docker rm -f --volumes be87b8e868983e6eb5f00049f16a35e772c4e603cce7eec62141c4824ff04172 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-23T02:30:09.933Z] provisioning config files... [2023-01-23T02:30:09.940Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp/config14176964911910904755tmp [Pipeline] { [Pipeline] sh [2023-01-23T02:30:10.279Z] + set +x [2023-01-23T02:30:10.279Z] + bash -s -- [2023-01-23T02:30:10.279Z] + curl -s https://codecov.io/bash [2023-01-23T02:30:10.279Z] [2023-01-23T02:30:10.279Z] _____ _ [2023-01-23T02:30:10.279Z] / ____| | | [2023-01-23T02:30:10.279Z] | | ___ __| | ___ ___ _____ __ [2023-01-23T02:30:10.279Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-23T02:30:10.279Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-23T02:30:10.279Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-23T02:30:10.279Z] Bash-1.0.6 [2023-01-23T02:30:10.279Z] [2023-01-23T02:30:10.279Z] [2023-01-23T02:30:10.279Z] ==> git version 2.25.1 found [2023-01-23T02:30:10.279Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-23T02:30:10.279Z] Release-Date: 2020-01-08 [2023-01-23T02:30:10.279Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-23T02:30:10.279Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-23T02:30:10.279Z] ==> Jenkins CI detected. [2023-01-23T02:30:10.279Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1287 [2023-01-23T02:30:10.279Z] project root: . [2023-01-23T02:30:10.279Z] --> token set from env [2023-01-23T02:30:10.279Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-23T02:30:10.279Z] ==> Running gcov in . (disable via -X gcov) [2023-01-23T02:30:10.279Z] ==> Python coveragepy not found [2023-01-23T02:30:10.279Z] ==> Searching for coverage reports in: [2023-01-23T02:30:10.279Z] + . [2023-01-23T02:30:10.279Z] -> Found 1 reports [2023-01-23T02:30:10.279Z] ==> Detecting git/mercurial file structure [2023-01-23T02:30:10.279Z] ==> Reading reports [2023-01-23T02:30:10.279Z] + ./coverage.out bytes=100832 [2023-01-23T02:30:10.279Z] ==> Appending adjustments [2023-01-23T02:30:10.279Z] https://docs.codecov.io/docs/fixing-reports [2023-01-23T02:30:10.846Z] + Found adjustments [2023-01-23T02:30:10.846Z] ==> Gzipping contents [2023-01-23T02:30:10.846Z] 16K /tmp/codecov.haW0oe.gz [2023-01-23T02:30:10.846Z] ==> Uploading reports [2023-01-23T02:30:10.846Z] url: https://codecov.io [2023-01-23T02:30:10.846Z] query: branch=PR-1287&commit=ec56420abc13348da71462991048d14e2481fb28&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1287%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1287&job=&cmd_args= [2023-01-23T02:30:10.846Z] -> Pinging Codecov [2023-01-23T02:30:10.846Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1287&commit=ec56420abc13348da71462991048d14e2481fb28&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1287%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1287&job=&cmd_args= [2023-01-23T02:30:11.105Z] -> Uploading to [2023-01-23T02:30:11.105Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-23/7E55EF52A471D76F132DFD9A03CDDE97/ec56420abc13348da71462991048d14e2481fb28/59023f74-b5e9-4cdd-b0d5-8b1502cb68fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230123T023010Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=09381188b549c6b52663dcac1772da4ec212c644069340286bcd5c3c830e96b9 [2023-01-23T02:30:11.105Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T02:30:11.105Z] Dload Upload Total Spent Left Speed [2023-01-23T02:30:11.364Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14734 0 0 100 14734 0 49442 --:--:-- --:--:-- --:--:-- 49442 [2023-01-23T02:30:11.364Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ec56420abc13348da71462991048d14e2481fb28 [Pipeline] } [2023-01-23T02:30:11.391Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-23T02:30:13.147Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1287/archives ] [2023-01-23T02:30:13.147Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1287/archives [2023-01-23T02:30:13.147Z] total 16 [2023-01-23T02:30:13.147Z] drwxr-xr-x 3 root root 4096 Jan 23 02:18 . [2023-01-23T02:30:13.147Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 23 02:18 .. [2023-01-23T02:30:13.147Z] drwxr-xr-x 2 root root 4096 Jan 23 02:18 cost [2023-01-23T02:30:13.147Z] -rw-r--r-- 1 root root 86 Jan 23 02:18 cost.csv [2023-01-23T02:30:13.147Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1287/archives [2023-01-23T02:30:13.147Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1287/archives [2023-01-23T02:30:13.147Z] total 16 [2023-01-23T02:30:13.147Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 02:18 . [2023-01-23T02:30:13.147Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 23 02:18 .. [2023-01-23T02:30:13.147Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 02:18 cost [2023-01-23T02:30:13.147Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 23 02:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:30:13.474Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:30:14.366Z] ---> package-listing.sh [2023-01-23T02:30:14.366Z] ++ facter osfamily [2023-01-23T02:30:14.366Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-23T02:30:14.625Z] + OS_FAMILY=debian [2023-01-23T02:30:14.625Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1287 [2023-01-23T02:30:14.625Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-23T02:30:14.625Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-23T02:30:14.625Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-23T02:30:14.625Z] + PACKAGES=/tmp/packages_start.txt [2023-01-23T02:30:14.625Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1287 ']' [2023-01-23T02:30:14.625Z] + PACKAGES=/tmp/packages_end.txt [2023-01-23T02:30:14.625Z] + case "${OS_FAMILY}" in [2023-01-23T02:30:14.625Z] + dpkg -l [2023-01-23T02:30:14.625Z] + grep '^ii' [2023-01-23T02:30:14.625Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-23T02:30:14.625Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-23T02:30:14.625Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-23T02:30:14.625Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1287 ']' [2023-01-23T02:30:14.625Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1287/archives/ [2023-01-23T02:30:14.625Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1287/archives/ [Pipeline] echo [2023-01-23T02:30:14.661Z] 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-1287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-23T02:30:14.950Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:30:15.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T02:30:15.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:30:15.950Z] prd-ubuntu20.04-docker-8c-8g-3314 does not seem to be running inside a container [2023-01-23T02:30:15.978Z] $ 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-1287/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-1287 -v /w/workspace/gexfoundry_device-sdk-go_PR-1287:/w/workspace/gexfoundry_device-sdk-go_PR-1287:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1287@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T02:30:16.268Z] $ docker top de5ada1ba4866531530cb7bb878dd6c7c3e46c047a271bbfcb9fca0eb71028e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T02:30:16.649Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-23T02:30:16.956Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-23T02:30:17.262Z] + ls /var/log/sa-host [2023-01-23T02:30:17.262Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T02:30:17.396Z] provisioning config files... [2023-01-23T02:30:17.405Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1287@tmp/config4878531469692335587tmp [Pipeline] { [Pipeline] echo [2023-01-23T02:30:17.456Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:30:17.762Z] ---> create-netrc.sh [Pipeline] } [2023-01-23T02:30:17.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:30:18.284Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-23T02:30:18.314Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:30:18.625Z] ---> sudo-logs.sh [2023-01-23T02:30:18.625Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-23T02:30:18.715Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:30:19.322Z] ---> job-cost.sh [2023-01-23T02:30:19.322Z] lf-activate-venv: SKIPPING [2023-01-23T02:30:19.322Z] DEBUG: total: 0.2199999988079071 [2023-01-23T02:30:19.322Z] INFO: Retrieving Stack Cost... [2023-01-23T02:30:19.888Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T02:30:20.189Z] INFO: Archiving Costs [Pipeline] echo [2023-01-23T02:30:20.225Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:30:20.544Z] ---> logs-deploy.sh [2023-01-23T02:30:20.544Z] lf-activate-venv: SKIPPING [2023-01-23T02:30:20.544Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1287/1 [2023-01-23T02:30:20.544Z] INFO: archiving workspace using pattern(s): [2023-01-23T02:30:21.933Z] Archives upload complete. [2023-01-23T02:30:21.933Z] INFO: archiving logs to Nexus