Pull request #1214 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 46ace83fbd83e6729010ee50e972ab9dad0f6778+7a5456d65667bce537ee6e9ff0922bddc6112164 (5f4bdb8a8b3f431d42ed0727cc72c8c3174aa2e6) 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-ssh4955657452563278743.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh8317201163505771657.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8551166940082158411.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1561859055481489629.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1214/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1214/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3968854300907092035.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-617 in /w/workspace/gexfoundry_device-sdk-go_PR-1214 [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-1214 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1214/head:refs/remotes/origin/PR-1214 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7a5456d65667bce537ee6e9ff0922bddc6112164 into PR head commit 46ace83fbd83e6729010ee50e972ab9dad0f6778 Merge succeeded, producing 46ace83fbd83e6729010ee50e972ab9dad0f6778 Checking out Revision 46ace83fbd83e6729010ee50e972ab9dad0f6778 (PR-1214) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T16:39:06.365Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T16:39:06.412Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T16:39:06.428Z] ========================================================= [2022-09-22T16:39:06.428Z] EdgeX Global Pipelines Version Info [2022-09-22T16:39:06.428Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 46ace83fbd83e6729010ee50e972ab9dad0f6778 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 7a5456d65667bce537ee6e9ff0922bddc6112164 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46ace83fbd83e6729010ee50e972ab9dad0f6778 # timeout=10 > git rev-list --no-walk d34c26de534f7f36f56e7b532991befab685f6c2 # timeout=10 [2022-09-22T16:39:07.175Z] ------------------- [2022-09-22T16:39:07.175Z] stable info: [2022-09-22T16:39:07.175Z] ------------------- [2022-09-22T16:39:07.175Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T16:39:07.175Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T16:39:07.175Z] Message: update stable to v1.0.239 [2022-09-22T16:39:07.747Z] ------------------- [2022-09-22T16:39:07.747Z] experimental info: [2022-09-22T16:39:07.747Z] ------------------- [2022-09-22T16:39:07.747Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T16:39:07.747Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T16:39:07.747Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T16:39:07.930Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-22T16:39:07.938Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-22T16:39:07.947Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T16:39:07.961Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T16:39:07.970Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T16:39:07.980Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T16:39:07.988Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T16:39:07.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-22T16:39:08.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T16:39:08.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T16:39:08.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T16:39:08.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-22T16:39:08.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T16:39:08.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T16:39:08.084Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T16:39:08.095Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T16:39:08.106Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T16:39:08.118Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T16:39:08.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T16:39:08.142Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T16:39:08.157Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-22T16:39:08.165Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-22T16:39:08.176Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T16:39:08.186Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T16:39:08.199Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T16:39:08.209Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T16:39:08.220Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T16:39:08.233Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1214 [Pipeline] echo [2022-09-22T16:39:08.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1214 [Pipeline] echo [2022-09-22T16:39:08.261Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1214 [Pipeline] echo [2022-09-22T16:39:08.271Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46ace83fbd83e6729010ee50e972ab9dad0f6778 [Pipeline] echo [2022-09-22T16:39:08.282Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 46ace83 [Pipeline] echo [2022-09-22T16:39:08.293Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:39:08.339Z] provisioning config files... [2022-09-22T16:39:08.353Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config3733768126458571594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:39:08.654Z] ---> docker-login.sh [2022-09-22T16:39:08.655Z] nexus3.edgexfoundry.org:10001 [2022-09-22T16:39:08.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:39:08.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:39:08.915Z] Configure a credential helper to remove this warning. See [2022-09-22T16:39:08.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:39:08.915Z] [2022-09-22T16:39:08.915Z] Login Succeeded [2022-09-22T16:39:08.915Z] nexus3.edgexfoundry.org:10002 [2022-09-22T16:39:08.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:39:08.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:39:08.915Z] Configure a credential helper to remove this warning. See [2022-09-22T16:39:08.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:39:08.915Z] [2022-09-22T16:39:08.915Z] Login Succeeded [2022-09-22T16:39:08.915Z] nexus3.edgexfoundry.org:10003 [2022-09-22T16:39:09.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:39:09.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:39:09.174Z] Configure a credential helper to remove this warning. See [2022-09-22T16:39:09.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:39:09.174Z] [2022-09-22T16:39:09.174Z] Login Succeeded [2022-09-22T16:39:09.174Z] nexus3.edgexfoundry.org:10004 [2022-09-22T16:39:09.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:39:09.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:39:09.174Z] Configure a credential helper to remove this warning. See [2022-09-22T16:39:09.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:39:09.174Z] [2022-09-22T16:39:09.174Z] Login Succeeded [2022-09-22T16:39:09.174Z] docker.io [2022-09-22T16:39:09.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:39:09.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:39:09.694Z] Configure a credential helper to remove this warning. See [2022-09-22T16:39:09.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:39:09.694Z] [2022-09-22T16:39:09.694Z] Login Succeeded [2022-09-22T16:39:09.694Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T16:39:09.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T16:39:10.104Z] + git rev-list -1 --merges 46ace83fbd83e6729010ee50e972ab9dad0f6778~1..46ace83fbd83e6729010ee50e972ab9dad0f6778 [Pipeline] echo [2022-09-22T16:39:10.138Z] -----------> git rev-list -1 --merges 46ace83fbd83e6729010ee50e972ab9dad0f6778~1..46ace83fbd83e6729010ee50e972ab9dad0f6778 46ace83fbd83e6729010ee50e972ab9dad0f6778 [false] [Pipeline] sh [2022-09-22T16:39:10.428Z] + git log --format=format:%s -1 46ace83fbd83e6729010ee50e972ab9dad0f6778 [Pipeline] echo [2022-09-22T16:39:10.444Z] ========================================================= [2022-09-22T16:39:10.444Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T16:39:10.444Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T16:39:10.781Z] + git log --format=format:%s -1 46ace83fbd83e6729010ee50e972ab9dad0f6778 [Pipeline] echo [2022-09-22T16:39:10.791Z] [semverPrep] GIT_COMMIT: 46ace83fbd83e6729010ee50e972ab9dad0f6778, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-09-22T16:39:10.799Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T16:39:11.314Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T16:39:11.314Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T16:39:11.314Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T16:39:11.314Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T16:39:11.314Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T16:39:11.314Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T16:39:11.314Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:39:11.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:39:11.657Z] [2022-09-22T16:39:11.657Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:39:11.961Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:39:11.961Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T16:39:11.961Z] b85a868b505f: Pulling fs layer [2022-09-22T16:39:11.961Z] e2be974225ed: Pulling fs layer [2022-09-22T16:39:11.961Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T16:39:11.961Z] 988bab9f4d93: Pulling fs layer [2022-09-22T16:39:11.961Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T16:39:11.961Z] eaf3925da568: Pulling fs layer [2022-09-22T16:39:11.961Z] bab4dde63d76: Pulling fs layer [2022-09-22T16:39:11.961Z] bde34c3a00c8: Pulling fs layer [2022-09-22T16:39:11.961Z] b352a97aabf1: Pulling fs layer [2022-09-22T16:39:11.961Z] 4872d77fe225: Pulling fs layer [2022-09-22T16:39:11.961Z] 5851b861e8e6: Pulling fs layer [2022-09-22T16:39:11.961Z] 988bab9f4d93: Waiting [2022-09-22T16:39:11.961Z] 1469e6f7b9e6: Waiting [2022-09-22T16:39:11.961Z] eaf3925da568: Waiting [2022-09-22T16:39:11.961Z] bab4dde63d76: Waiting [2022-09-22T16:39:11.961Z] bde34c3a00c8: Waiting [2022-09-22T16:39:11.961Z] b352a97aabf1: Waiting [2022-09-22T16:39:11.961Z] 4872d77fe225: Waiting [2022-09-22T16:39:11.961Z] 5851b861e8e6: Waiting [2022-09-22T16:39:11.961Z] e2be974225ed: Download complete [2022-09-22T16:39:11.961Z] 988bab9f4d93: Verifying Checksum [2022-09-22T16:39:11.961Z] 988bab9f4d93: Download complete [2022-09-22T16:39:12.222Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T16:39:12.222Z] 1469e6f7b9e6: Download complete [2022-09-22T16:39:12.222Z] eaf3925da568: Verifying Checksum [2022-09-22T16:39:12.222Z] eaf3925da568: Download complete [2022-09-22T16:39:12.222Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T16:39:12.222Z] 339a4e72a1f5: Download complete [2022-09-22T16:39:12.222Z] bde34c3a00c8: Verifying Checksum [2022-09-22T16:39:12.222Z] bde34c3a00c8: Download complete [2022-09-22T16:39:12.222Z] b85a868b505f: Download complete [2022-09-22T16:39:12.222Z] b352a97aabf1: Download complete [2022-09-22T16:39:12.222Z] 4872d77fe225: Verifying Checksum [2022-09-22T16:39:12.222Z] 4872d77fe225: Download complete [2022-09-22T16:39:12.222Z] 5851b861e8e6: Verifying Checksum [2022-09-22T16:39:12.222Z] 5851b861e8e6: Download complete [2022-09-22T16:39:12.485Z] bab4dde63d76: Verifying Checksum [2022-09-22T16:39:12.485Z] bab4dde63d76: Download complete [2022-09-22T16:39:13.422Z] b85a868b505f: Pull complete [2022-09-22T16:39:13.680Z] e2be974225ed: Pull complete [2022-09-22T16:39:14.249Z] 339a4e72a1f5: Pull complete [2022-09-22T16:39:14.249Z] 988bab9f4d93: Pull complete [2022-09-22T16:39:14.508Z] 1469e6f7b9e6: Pull complete [2022-09-22T16:39:14.508Z] eaf3925da568: Pull complete [2022-09-22T16:39:16.413Z] bab4dde63d76: Pull complete [2022-09-22T16:39:16.413Z] bde34c3a00c8: Pull complete [2022-09-22T16:39:16.413Z] b352a97aabf1: Pull complete [2022-09-22T16:39:16.413Z] 4872d77fe225: Pull complete [2022-09-22T16:39:16.672Z] 5851b861e8e6: Pull complete [2022-09-22T16:39:16.672Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T16:39:16.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T16:39:16.672Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:39:16.763Z] prd-ubuntu20.04-docker-8c-8g-617 does not seem to be running inside a container [2022-09-22T16:39:16.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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-devops/py-git-semver:0.1.4 cat [2022-09-22T16:39:18.181Z] $ docker top 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed -eo pid,comm [2022-09-22T16:39:18.259Z] 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). [2022-09-22T16:39:18.259Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T16:39:18.293Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:39:18.293Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:39:18.395Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:39:18.378Z] $ docker exec 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed ssh-agent [2022-09-22T16:39:18.514Z] SSH_AUTH_SOCK=/tmp/ssh-GNAEnDKHEH3b/agent.32 [2022-09-22T16:39:18.514Z] SSH_AGENT_PID=38 [2022-09-22T16:39:18.520Z] Running ssh-add (command line suppressed) [2022-09-22T16:39:18.609Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_16721901472665932500.key (/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_16721901472665932500.key) [2022-09-22T16:39:18.648Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:39:18.934Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T16:39:18.925Z] $ docker exec --env ******** --env ******** 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed ssh-agent -k [2022-09-22T16:39:19.029Z] unset SSH_AUTH_SOCK; [2022-09-22T16:39:19.029Z] unset SSH_AGENT_PID; [2022-09-22T16:39:19.030Z] echo Agent pid 38 killed; [2022-09-22T16:39:19.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T16:39:19.084Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T16:39:19.084Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T16:39:19.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T16:39:19.183Z] $ docker exec 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed ssh-agent [2022-09-22T16:39:19.322Z] SSH_AUTH_SOCK=/tmp/ssh-VbmgcXDG0UkL/agent.72 [2022-09-22T16:39:19.322Z] SSH_AGENT_PID=78 [2022-09-22T16:39:19.326Z] Running ssh-add (command line suppressed) [2022-09-22T16:39:19.406Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_14903911089869169541.key (/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_14903911089869169541.key) [2022-09-22T16:39:19.437Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T16:39:19.724Z] + git semver init [2022-09-22T16:39:19.983Z] 2022-09-22 16:39:19,881 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T16:39:19.983Z] 2022-09-22 16:39:19,882 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver [2022-09-22T16:39:19.983Z] 2022-09-22 16:39:19,883 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver [2022-09-22T16:39:19.983Z] 2022-09-22 16:39:19,883 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1214, universal_newlines=False, shell=None, istream=None) [2022-09-22T16:39:20.920Z] 2022-09-22 16:39:20,868 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.git/info/exclude [2022-09-22T16:39:20.920Z] 2022-09-22 16:39:20,869 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver/PR-1214 with force:False [2022-09-22T16:39:20.920Z] 2022-09-22 16:39:20,869 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver/PR-1214 [2022-09-22T16:39:20.920Z] 2022-09-22 16:39:20,873 [execute] INFO git cat-file --batch-check [2022-09-22T16:39:20.920Z] 2022-09-22 16:39:20,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T16:39:20.920Z] 2022-09-22 16:39:20,880 [execute] INFO git cat-file --batch [2022-09-22T16:39:20.920Z] 2022-09-22 16:39:20,880 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T16:39:20.920Z] 2022-09-22 16:39:20,885 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver/PR-1214 [2022-09-22T16:39:20.920Z] 0.0.0 [Pipeline] } [2022-09-22T16:39:21.171Z] $ docker exec --env ******** --env ******** 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed ssh-agent -k [2022-09-22T16:39:21.263Z] unset SSH_AUTH_SOCK; [2022-09-22T16:39:21.265Z] unset SSH_AGENT_PID; [2022-09-22T16:39:21.266Z] echo Agent pid 78 killed; [2022-09-22T16:39:21.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T16:39:21.594Z] + git semver [Pipeline] } [2022-09-22T16:39:21.851Z] $ docker stop --time=1 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed [2022-09-22T16:39:23.204Z] $ docker rm -f 8e14eb89c1953242deb998ba4eea87b10d1fcbb7d72c5fac44fd4420a1a29eed [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:39:23.551Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T16:39:23.724Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T16:39:23.726Z] [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 [2022-09-22T16:39:23.853Z] provisioning config files... [2022-09-22T16:39:23.864Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config6064754689471852958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:39:24.161Z] ---> docker-login.sh [2022-09-22T16:39:24.161Z] nexus3.edgexfoundry.org:10001 [2022-09-22T16:39:24.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:39:24.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:39:24.161Z] Configure a credential helper to remove this warning. See [2022-09-22T16:39:24.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:39:24.161Z] [2022-09-22T16:39:24.161Z] Login Succeeded [2022-09-22T16:39:24.161Z] nexus3.edgexfoundry.org:10002 [2022-09-22T16:39:24.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:39:24.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:39:24.161Z] Configure a credential helper to remove this warning. See [2022-09-22T16:39:24.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:39:24.161Z] [2022-09-22T16:39:24.161Z] Login Succeeded [2022-09-22T16:39:24.161Z] nexus3.edgexfoundry.org:10003 [2022-09-22T16:39:24.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:39:24.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:39:24.421Z] Configure a credential helper to remove this warning. See [2022-09-22T16:39:24.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:39:24.421Z] [2022-09-22T16:39:24.421Z] Login Succeeded [2022-09-22T16:39:24.421Z] nexus3.edgexfoundry.org:10004 [2022-09-22T16:39:24.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:39:24.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:39:24.421Z] Configure a credential helper to remove this warning. See [2022-09-22T16:39:24.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:39:24.421Z] [2022-09-22T16:39:24.421Z] Login Succeeded [2022-09-22T16:39:24.421Z] docker.io [2022-09-22T16:39:24.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:39:24.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:39:24.953Z] Configure a credential helper to remove this warning. See [2022-09-22T16:39:24.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:39:24.953Z] [2022-09-22T16:39:24.953Z] Login Succeeded [2022-09-22T16:39:24.953Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T16:39:24.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T16:39:25.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:39:25.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:39:25.029Z] ========================================================= [2022-09-22T16:39:25.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T16:39:25.029Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:39:25.329Z] + 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 . [2022-09-22T16:39:25.329Z] Sending build context to Docker daemon 9.881MB [2022-09-22T16:39:25.329Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T16:39:25.329Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T16:39:25.329Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T16:39:25.329Z] 2408cc74d12b: Pulling fs layer [2022-09-22T16:39:25.329Z] ea60b727a1ce: Pulling fs layer [2022-09-22T16:39:25.329Z] 30c4a7721957: Pulling fs layer [2022-09-22T16:39:25.329Z] 370296b7ddb6: Pulling fs layer [2022-09-22T16:39:25.329Z] 7c6cee850709: Pulling fs layer [2022-09-22T16:39:25.329Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T16:39:25.329Z] d94ebbe4e438: Pulling fs layer [2022-09-22T16:39:25.329Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T16:39:25.329Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T16:39:25.329Z] 370296b7ddb6: Waiting [2022-09-22T16:39:25.329Z] 7c6cee850709: Waiting [2022-09-22T16:39:25.329Z] 39a5fcdaea64: Waiting [2022-09-22T16:39:25.329Z] d94ebbe4e438: Waiting [2022-09-22T16:39:25.329Z] bcfd1f05c69d: Waiting [2022-09-22T16:39:25.329Z] 59ccb84bbe0f: Waiting [2022-09-22T16:39:25.591Z] 30c4a7721957: Verifying Checksum [2022-09-22T16:39:25.591Z] 30c4a7721957: Download complete [2022-09-22T16:39:25.591Z] ea60b727a1ce: Verifying Checksum [2022-09-22T16:39:25.591Z] ea60b727a1ce: Download complete [2022-09-22T16:39:25.591Z] 7c6cee850709: Verifying Checksum [2022-09-22T16:39:25.591Z] 7c6cee850709: Download complete [2022-09-22T16:39:25.591Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T16:39:25.591Z] 39a5fcdaea64: Download complete [2022-09-22T16:39:25.591Z] 2408cc74d12b: Verifying Checksum [2022-09-22T16:39:25.591Z] 2408cc74d12b: Download complete [2022-09-22T16:39:25.591Z] d94ebbe4e438: Verifying Checksum [2022-09-22T16:39:25.591Z] d94ebbe4e438: Download complete [2022-09-22T16:39:25.591Z] 2408cc74d12b: Pull complete [2022-09-22T16:39:25.855Z] ea60b727a1ce: Pull complete [2022-09-22T16:39:25.855Z] 30c4a7721957: Pull complete [2022-09-22T16:39:26.117Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T16:39:26.117Z] 59ccb84bbe0f: Download complete [2022-09-22T16:39:26.376Z] 370296b7ddb6: Verifying Checksum [2022-09-22T16:39:26.376Z] 370296b7ddb6: Download complete [2022-09-22T16:39:26.376Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T16:39:26.376Z] bcfd1f05c69d: Download complete [2022-09-22T16:39:30.555Z] 370296b7ddb6: Pull complete [2022-09-22T16:39:30.555Z] 7c6cee850709: Pull complete [2022-09-22T16:39:30.555Z] 39a5fcdaea64: Pull complete [2022-09-22T16:39:30.555Z] d94ebbe4e438: Pull complete [2022-09-22T16:39:32.460Z] bcfd1f05c69d: Pull complete [2022-09-22T16:39:33.027Z] 59ccb84bbe0f: Pull complete [2022-09-22T16:39:33.027Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T16:39:33.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T16:39:33.027Z] ---> a4fb48ad2a94 [2022-09-22T16:39:33.027Z] Step 3/11 : ARG MAKE=make build [2022-09-22T16:39:34.932Z] ---> Running in 86b9e0a24a3a [2022-09-22T16:39:34.932Z] Removing intermediate container 86b9e0a24a3a [2022-09-22T16:39:34.932Z] ---> 57fe379d82a0 [2022-09-22T16:39:34.932Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-22T16:39:34.932Z] ---> Running in 5fe3f6c79759 [2022-09-22T16:39:34.932Z] Removing intermediate container 5fe3f6c79759 [2022-09-22T16:39:34.932Z] ---> a815cfd15631 [2022-09-22T16:39:34.932Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:39:34.933Z] ---> Running in 275c593b59fb [2022-09-22T16:39:35.191Z] Removing intermediate container 275c593b59fb [2022-09-22T16:39:35.191Z] ---> ddada5e7a428 [2022-09-22T16:39:35.191Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:39:35.191Z] ---> Running in c0ccac530054 [2022-09-22T16:39:35.760Z] Removing intermediate container c0ccac530054 [2022-09-22T16:39:35.760Z] ---> 68b97db451c2 [2022-09-22T16:39:35.760Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T16:39:35.760Z] ---> Running in b605006ad59d [2022-09-22T16:39:36.020Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T16:39:36.954Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T16:39:37.216Z] OK: 211 MiB in 51 packages [2022-09-22T16:39:37.475Z] Removing intermediate container b605006ad59d [2022-09-22T16:39:37.475Z] ---> 23e615639bc9 [2022-09-22T16:39:37.475Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T16:39:37.734Z] ---> d3fd2593b19e [2022-09-22T16:39:37.735Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T16:39:37.735Z] ---> Running in f8c3d9a8fe6a [2022-09-22T16:39:38.827Z] Still waiting to schedule task [2022-09-22T16:39:38.828Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-22T16:39:55.830Z] Removing intermediate container f8c3d9a8fe6a [2022-09-22T16:39:55.830Z] ---> a065bf039cb4 [2022-09-22T16:39:55.830Z] Step 10/11 : COPY . . [2022-09-22T16:39:55.830Z] ---> a6cfc0e9f172 [2022-09-22T16:39:55.830Z] Step 11/11 : RUN ${MAKE} [2022-09-22T16:39:55.830Z] ---> Running in e0f04d56b6fe [2022-09-22T16:39:55.830Z] noop [2022-09-22T16:39:55.830Z] Removing intermediate container e0f04d56b6fe [2022-09-22T16:39:55.830Z] ---> 621cd133b628 [2022-09-22T16:39:55.830Z] Successfully built 621cd133b628 [2022-09-22T16:39:55.830Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:39:56.131Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T16:39:56.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:39:56.190Z] prd-ubuntu20.04-docker-8c-8g-617 does not seem to be running inside a container [2022-09-22T16:39:56.217Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T16:39:56.570Z] $ docker top 32be2cc78197ac1103ea5c8bc9556f4ef517d5400165e4296524c1909f3e6654 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:39:56.904Z] + go version [2022-09-22T16:39:56.904Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T16:39:56.918Z] $ docker stop --time=1 32be2cc78197ac1103ea5c8bc9556f4ef517d5400165e4296524c1909f3e6654 [2022-09-22T16:39:58.215Z] $ docker rm -f 32be2cc78197ac1103ea5c8bc9556f4ef517d5400165e4296524c1909f3e6654 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:39:58.594Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T16:39:58.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:39:58.656Z] prd-ubuntu20.04-docker-8c-8g-617 does not seem to be running inside a container [2022-09-22T16:39:58.691Z] $ 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-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T16:39:59.043Z] $ docker top 642778a587fc49d86e3464212059b1a32e5df79261f560f15791bd897d32ce0d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:39:59.385Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1214 [Pipeline] fileExists [Pipeline] sh [2022-09-22T16:39:59.680Z] + make test [2022-09-22T16:39:59.680Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T16:40:06.241Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-22T16:40:18.472Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-22T16:40:18.472Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-22T16:40:18.472Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-22T16:40:18.472Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-22T16:40:18.472Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-22T16:40:18.472Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements [2022-09-22T16:40:18.472Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements [2022-09-22T16:40:18.472Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-22T16:40:18.472Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.090s coverage: 60.0% of statements [2022-09-22T16:40:18.472Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-22T16:40:18.472Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-22T16:40:18.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.109s coverage: 54.4% of statements [2022-09-22T16:40:18.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-22T16:40:18.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-22T16:40:18.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-22T16:40:18.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T16:40:18.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.103s coverage: 65.1% of statements [2022-09-22T16:40:18.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T16:40:18.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T16:40:18.729Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.727s coverage: 89.2% of statements [2022-09-22T16:40:18.729Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-22T16:40:18.987Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 4.5% of statements [2022-09-22T16:40:18.987Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-22T16:40:33.847Z] 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." [2022-09-22T16:40:33.847Z] GO111MODULE=on go vet ./... [2022-09-22T16:40:37.134Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T16:40:37.134Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T16:40:37.134Z] ./bin/test-attribution-txt.sh [2022-09-22T16:40:37.134Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-22T16:40:37.134Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T16:40:37.134Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T16:40:37.134Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T16:40:37.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T16:40:37.166Z] $ docker stop --time=1 642778a587fc49d86e3464212059b1a32e5df79261f560f15791bd897d32ce0d [2022-09-22T16:40:39.402Z] $ docker rm -f 642778a587fc49d86e3464212059b1a32e5df79261f560f15791bd897d32ce0d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:40:39.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T16:40:39.956Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T16:40:40.507Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T16:40:40.860Z] + ls -al . [2022-09-22T16:40:40.860Z] total 276 [2022-09-22T16:40:40.860Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 16:39 . [2022-09-22T16:40:40.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:39 .. [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 16:39 .dockerignore [2022-09-22T16:40:40.860Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:40 .git [2022-09-22T16:40:40.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:39 .github [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 16:39 .gitignore [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 16:39 .golangci.yml [2022-09-22T16:40:40.860Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:39 .semver [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 16:39 CHANGELOG.md [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:39 GOVERNANCE.md [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 16:39 Jenkinsfile [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 16:39 LICENSE [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 16:39 Makefile [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 16:39 OWNERS.md [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 16:39 README.md [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 16:39 VERSION [2022-09-22T16:40:40.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:39 bin [2022-09-22T16:40:40.860Z] -rw-r--r-- 1 jenkins jenkins 101794 Sep 22 16:40 coverage.out [2022-09-22T16:40:40.860Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 16:39 example [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 22 16:39 go.mod [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 37485 Sep 22 16:39 go.sum [2022-09-22T16:40:40.860Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 16:39 internal [2022-09-22T16:40:40.860Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:39 openapi [2022-09-22T16:40:40.860Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 16:39 pkg [2022-09-22T16:40:40.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:39 snap [2022-09-22T16:40:40.860Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 16:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:40:41.208Z] + 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=46ace83fbd83e6729010ee50e972ab9dad0f6778 --label arch=amd64 --label version=0.0.0 . [2022-09-22T16:40:41.208Z] Sending build context to Docker daemon 9.983MB [2022-09-22T16:40:41.208Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T16:40:41.208Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T16:40:41.208Z] ---> 621cd133b628 [2022-09-22T16:40:41.208Z] Step 3/25 : ARG MAKE=make build [2022-09-22T16:40:41.208Z] ---> Running in 957869865cc6 [2022-09-22T16:40:41.484Z] Removing intermediate container 957869865cc6 [2022-09-22T16:40:41.484Z] ---> 7136ffa597da [2022-09-22T16:40:41.484Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-22T16:40:41.484Z] ---> Running in 93947818e7ae [2022-09-22T16:40:41.484Z] Removing intermediate container 93947818e7ae [2022-09-22T16:40:41.484Z] ---> 94e5a0c29218 [2022-09-22T16:40:41.484Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:40:41.484Z] ---> Running in 0f1f24ec16e5 [2022-09-22T16:40:41.741Z] Removing intermediate container 0f1f24ec16e5 [2022-09-22T16:40:41.741Z] ---> 54fd2a6dd2a2 [2022-09-22T16:40:41.741Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:40:41.741Z] ---> Running in a7a3be3071f8 [2022-09-22T16:40:42.310Z] Removing intermediate container a7a3be3071f8 [2022-09-22T16:40:42.310Z] ---> c86ceff8902e [2022-09-22T16:40:42.310Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T16:40:42.310Z] ---> Running in fada7edba7ae [2022-09-22T16:40:42.569Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T16:40:43.508Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T16:40:43.768Z] OK: 211 MiB in 51 packages [2022-09-22T16:40:44.026Z] Removing intermediate container fada7edba7ae [2022-09-22T16:40:44.026Z] ---> 8e3aed806c0b [2022-09-22T16:40:44.026Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-22T16:40:44.286Z] ---> bb2b08cc1474 [2022-09-22T16:40:44.286Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T16:40:44.286Z] ---> Running in e438aae7e078 [2022-09-22T16:40:45.222Z] Removing intermediate container e438aae7e078 [2022-09-22T16:40:45.222Z] ---> 7615ccbe7dec [2022-09-22T16:40:45.222Z] Step 10/25 : COPY . . [2022-09-22T16:40:45.481Z] ---> 4d41611f4336 [2022-09-22T16:40:45.481Z] Step 11/25 : RUN ${MAKE} [2022-09-22T16:40:45.481Z] ---> Running in d1941fe1906d [2022-09-22T16:40:45.740Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-22T16:41:03.824Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-22T16:41:04.760Z] Removing intermediate container d1941fe1906d [2022-09-22T16:41:04.760Z] ---> d2d8425747ec [2022-09-22T16:41:04.760Z] Step 12/25 : FROM alpine:3.16 [2022-09-22T16:41:05.325Z] 3.16: Pulling from library/alpine [2022-09-22T16:41:05.582Z] 213ec9aee27d: Pulling fs layer [2022-09-22T16:41:05.840Z] 213ec9aee27d: Verifying Checksum [2022-09-22T16:41:05.840Z] 213ec9aee27d: Download complete [2022-09-22T16:41:05.840Z] 213ec9aee27d: Pull complete [2022-09-22T16:41:05.840Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T16:41:05.840Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T16:41:05.840Z] ---> 9c6f07244728 [2022-09-22T16:41:05.840Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:41:06.098Z] ---> Running in ba5f9c7d7d63 [2022-09-22T16:41:06.098Z] Removing intermediate container ba5f9c7d7d63 [2022-09-22T16:41:06.098Z] ---> 7799393812c2 [2022-09-22T16:41:06.098Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:41:06.098Z] ---> Running in 8cd824d6aee6 [2022-09-22T16:41:06.665Z] Removing intermediate container 8cd824d6aee6 [2022-09-22T16:41:06.665Z] ---> be9063d4f8cc [2022-09-22T16:41:06.665Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-22T16:41:06.665Z] ---> Running in 0c9865283d6a [2022-09-22T16:41:06.924Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T16:41:07.858Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T16:41:08.116Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T16:41:08.116Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-22T16:41:08.373Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T16:41:08.373Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-22T16:41:08.630Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-22T16:41:08.630Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T16:41:08.630Z] OK: 8 MiB in 19 packages [2022-09-22T16:41:08.888Z] Removing intermediate container 0c9865283d6a [2022-09-22T16:41:08.888Z] ---> fade14960763 [2022-09-22T16:41:08.888Z] Step 16/25 : WORKDIR / [2022-09-22T16:41:09.145Z] ---> Running in e8961975b566 [2022-09-22T16:41:09.145Z] Removing intermediate container e8961975b566 [2022-09-22T16:41:09.145Z] ---> 556b8212b756 [2022-09-22T16:41:09.145Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-22T16:41:09.145Z] ---> 62406a7d4ebd [2022-09-22T16:41:09.145Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-22T16:41:09.711Z] ---> 292f7f5f60b6 [2022-09-22T16:41:09.711Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-22T16:41:09.969Z] ---> 3523586d2a04 [2022-09-22T16:41:09.969Z] Step 20/25 : EXPOSE 59999 [2022-09-22T16:41:09.969Z] ---> Running in 96b21b98e18a [2022-09-22T16:41:09.969Z] Removing intermediate container 96b21b98e18a [2022-09-22T16:41:09.969Z] ---> 4fee6396dad7 [2022-09-22T16:41:09.969Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-22T16:41:09.969Z] ---> Running in 54aaccbf7011 [2022-09-22T16:41:10.227Z] Removing intermediate container 54aaccbf7011 [2022-09-22T16:41:10.227Z] ---> b892b9aadb30 [2022-09-22T16:41:10.227Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T16:41:10.227Z] ---> Running in 6362aba36275 [2022-09-22T16:41:10.227Z] Removing intermediate container 6362aba36275 [2022-09-22T16:41:10.227Z] ---> af97f09ce82a [2022-09-22T16:41:10.227Z] Step 23/25 : LABEL arch=amd64 [2022-09-22T16:41:10.227Z] ---> Running in 1967cdb2aff9 [2022-09-22T16:41:10.491Z] Removing intermediate container 1967cdb2aff9 [2022-09-22T16:41:10.491Z] ---> a8b0b46b83a6 [2022-09-22T16:41:10.491Z] Step 24/25 : LABEL git_sha=46ace83fbd83e6729010ee50e972ab9dad0f6778 [2022-09-22T16:41:10.491Z] ---> Running in 448d2c77a403 [2022-09-22T16:41:10.491Z] Removing intermediate container 448d2c77a403 [2022-09-22T16:41:10.491Z] ---> 3998f5de6ac5 [2022-09-22T16:41:10.491Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T16:41:10.491Z] ---> Running in 7664adc9b2af [2022-09-22T16:41:10.750Z] Removing intermediate container 7664adc9b2af [2022-09-22T16:41:10.750Z] ---> 756020372aa8 [2022-09-22T16:41:10.750Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T16:41:10.750Z] Successfully built 756020372aa8 [2022-09-22T16:41:10.750Z] 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 [2022-09-22T16:41:11.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:41:11.157Z] [2022-09-22T16:41:11.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:41:11.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:41:11.456Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T16:41:11.456Z] 5eb5b503b376: Pulling fs layer [2022-09-22T16:41:11.456Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T16:41:11.456Z] ec43610c2a17: Pulling fs layer [2022-09-22T16:41:11.456Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T16:41:11.456Z] 33b1e0a273af: Pulling fs layer [2022-09-22T16:41:11.456Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T16:41:11.456Z] 2f39f015ded8: Pulling fs layer [2022-09-22T16:41:11.456Z] 33b1e0a273af: Waiting [2022-09-22T16:41:11.456Z] 5d3b04190fa2: Waiting [2022-09-22T16:41:11.456Z] 3a2ae6a8a46f: Waiting [2022-09-22T16:41:11.456Z] 5c69ac0246d0: Download complete [2022-09-22T16:41:11.456Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T16:41:11.456Z] 3a2ae6a8a46f: Download complete [2022-09-22T16:41:11.456Z] ec43610c2a17: Verifying Checksum [2022-09-22T16:41:11.456Z] ec43610c2a17: Download complete [2022-09-22T16:41:11.717Z] 5d3b04190fa2: Download complete [2022-09-22T16:41:11.717Z] 33b1e0a273af: Verifying Checksum [2022-09-22T16:41:11.717Z] 33b1e0a273af: Download complete [2022-09-22T16:41:11.717Z] 5eb5b503b376: Verifying Checksum [2022-09-22T16:41:11.717Z] 5eb5b503b376: Download complete [2022-09-22T16:41:12.281Z] 2f39f015ded8: Download complete [2022-09-22T16:41:12.850Z] 5eb5b503b376: Pull complete [2022-09-22T16:41:12.850Z] 5c69ac0246d0: Pull complete [2022-09-22T16:41:13.420Z] ec43610c2a17: Pull complete [2022-09-22T16:41:13.420Z] 3a2ae6a8a46f: Pull complete [2022-09-22T16:41:13.678Z] 33b1e0a273af: Pull complete [2022-09-22T16:41:13.678Z] 5d3b04190fa2: Pull complete [2022-09-22T16:41:17.868Z] 2f39f015ded8: Pull complete [2022-09-22T16:41:17.868Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T16:41:17.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:41:17.868Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:41:17.943Z] prd-ubuntu20.04-docker-8c-8g-617 does not seem to be running inside a container [2022-09-22T16:41:17.985Z] $ 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-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T16:41:19.495Z] $ docker top 20d3dcbca47370818dd2d4621e9c32987056a8c10a6ccb3183ac59d04dbe9829 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:41:19.857Z] ---> job-cost.sh [2022-09-22T16:41:19.857Z] lf-activate-venv: SKIPPING [2022-09-22T16:41:19.857Z] INFO: No Stack... [2022-09-22T16:41:20.116Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T16:41:20.682Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T16:41:20.976Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives/cost.csv [2022-09-22T16:41:20.976Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T16:41:20.989Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] [2022-09-22T16:41:20.996Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] did not exist. Created. [2022-09-22T16:41:20.996Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T16:41:21.294Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T16:41:21.325Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T16:41:21.331Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T16:41:21.358Z] $ docker stop --time=1 20d3dcbca47370818dd2d4621e9c32987056a8c10a6ccb3183ac59d04dbe9829 [2022-09-22T16:41:22.511Z] $ docker rm -f 20d3dcbca47370818dd2d4621e9c32987056a8c10a6ccb3183ac59d04dbe9829 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T16:43:23.790Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-621 in /w/workspace/gexfoundry_device-sdk-go_PR-1214 [Pipeline] { [Pipeline] ws [2022-09-22T16:43:23.802Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-09-22T16:43:23.841Z] The recommended git tool is: git [2022-09-22T16:43:29.996Z] using credential edgex-jenkins-ssh [2022-09-22T16:43:30.014Z] Cloning the remote Git repository [2022-09-22T16:43:30.078Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T16:43:30.176Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-09-22T16:43:30.378Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T16:43:30.379Z] > git --version # timeout=10 [2022-09-22T16:43:30.406Z] > git --version # 'git version 2.25.1' [2022-09-22T16:43:30.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T16:43:30.492Z] Verifying host key using known hosts file [2022-09-22T16:43:30.739Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T16:43:30.754Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T16:43:33.706Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-22T16:43:33.729Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T16:43:35.450Z] Merging remotes/origin/main commit 7a5456d65667bce537ee6e9ff0922bddc6112164 into PR head commit 46ace83fbd83e6729010ee50e972ab9dad0f6778 [2022-09-22T16:43:34.788Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-22T16:43:34.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-22T16:43:34.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T16:43:34.842Z] Verifying host key using known hosts file [2022-09-22T16:43:34.849Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T16:43:34.863Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1214/head:refs/remotes/origin/PR-1214 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-22T16:43:35.470Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T16:43:35.493Z] > git checkout -f 46ace83fbd83e6729010ee50e972ab9dad0f6778 # timeout=10 [2022-09-22T16:43:35.726Z] Merge succeeded, producing 46ace83fbd83e6729010ee50e972ab9dad0f6778 [2022-09-22T16:43:35.726Z] Checking out Revision 46ace83fbd83e6729010ee50e972ab9dad0f6778 (PR-1214) [2022-09-22T16:43:36.351Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T16:43:35.605Z] > git remote # timeout=10 [2022-09-22T16:43:35.628Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T16:43:35.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T16:43:35.657Z] Verifying host key using known hosts file [2022-09-22T16:43:35.662Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T16:43:35.673Z] > git merge 7a5456d65667bce537ee6e9ff0922bddc6112164 # timeout=10 [2022-09-22T16:43:35.702Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T16:43:35.731Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T16:43:35.746Z] > git checkout -f 46ace83fbd83e6729010ee50e972ab9dad0f6778 # timeout=10 [2022-09-22T16:43:37.346Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T16:43:37.347Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T16:43:37.347Z] Dload Upload Total Spent Left Speed [2022-09-22T16:43:37.347Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 72425 0 --:--:-- --:--:-- --:--:-- 72843 [Pipeline] sh [2022-09-22T16:43:38.070Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T16:43:38.416Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T16:43:38.416Z] + sudo tee /etc/docker/daemon.new [2022-09-22T16:43:38.416Z] { [2022-09-22T16:43:38.416Z] "registry-mirrors": [ [2022-09-22T16:43:38.416Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T16:43:38.416Z] ], [2022-09-22T16:43:38.416Z] "bip": "10.250.0.254/24", [2022-09-22T16:43:38.416Z] "hosts": [ [2022-09-22T16:43:38.416Z] "tcp://0.0.0.0:5555", [2022-09-22T16:43:38.416Z] "unix:///var/run/docker.sock" [2022-09-22T16:43:38.416Z] ], [2022-09-22T16:43:38.416Z] "mtu": 1458, [2022-09-22T16:43:38.416Z] "selinux-enabled": true, [2022-09-22T16:43:38.416Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T16:43:38.416Z] } [Pipeline] sh [2022-09-22T16:43:38.752Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T16:43:39.089Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:43:57.390Z] provisioning config files... [2022-09-22T16:43:57.421Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config15719823387074691020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:43:57.782Z] ---> docker-login.sh [2022-09-22T16:43:57.782Z] nexus3.edgexfoundry.org:10001 [2022-09-22T16:43:58.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:43:58.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:43:58.650Z] Configure a credential helper to remove this warning. See [2022-09-22T16:43:58.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:43:58.650Z] [2022-09-22T16:43:58.650Z] Login Succeeded [2022-09-22T16:43:58.650Z] nexus3.edgexfoundry.org:10002 [2022-09-22T16:43:58.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:43:58.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:43:58.921Z] Configure a credential helper to remove this warning. See [2022-09-22T16:43:58.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:43:58.921Z] [2022-09-22T16:43:58.921Z] Login Succeeded [2022-09-22T16:43:58.921Z] nexus3.edgexfoundry.org:10003 [2022-09-22T16:43:59.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:43:59.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:43:59.460Z] Configure a credential helper to remove this warning. See [2022-09-22T16:43:59.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:43:59.460Z] [2022-09-22T16:43:59.460Z] Login Succeeded [2022-09-22T16:43:59.460Z] nexus3.edgexfoundry.org:10004 [2022-09-22T16:43:59.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:43:59.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:43:59.731Z] Configure a credential helper to remove this warning. See [2022-09-22T16:43:59.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:43:59.731Z] [2022-09-22T16:43:59.731Z] Login Succeeded [2022-09-22T16:43:59.731Z] docker.io [2022-09-22T16:43:59.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T16:44:00.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T16:44:00.586Z] Configure a credential helper to remove this warning. See [2022-09-22T16:44:00.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T16:44:00.586Z] [2022-09-22T16:44:00.586Z] Login Succeeded [2022-09-22T16:44:00.586Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T16:44:00.601Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T16:44:00.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:44:00.782Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T16:44:00.788Z] ========================================================= [2022-09-22T16:44:00.788Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T16:44:00.788Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:44:01.127Z] + 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 . [2022-09-22T16:44:01.397Z] Sending build context to Docker daemon 5.303MB [2022-09-22T16:44:01.397Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T16:44:01.397Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-22T16:44:01.672Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T16:44:01.672Z] b3c136eddcbf: Pulling fs layer [2022-09-22T16:44:01.672Z] c0a3192eca97: Pulling fs layer [2022-09-22T16:44:01.672Z] a050256f5b6f: Pulling fs layer [2022-09-22T16:44:01.672Z] 656be50a0ddc: Pulling fs layer [2022-09-22T16:44:01.672Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T16:44:01.672Z] 46d945488cbd: Pulling fs layer [2022-09-22T16:44:01.672Z] 8a5474983e97: Pulling fs layer [2022-09-22T16:44:01.672Z] 329c88fbcd65: Pulling fs layer [2022-09-22T16:44:01.672Z] 656be50a0ddc: Waiting [2022-09-22T16:44:01.672Z] 2bbca73fdf42: Waiting [2022-09-22T16:44:01.672Z] 46d945488cbd: Waiting [2022-09-22T16:44:01.672Z] 8a5474983e97: Waiting [2022-09-22T16:44:01.672Z] 329c88fbcd65: Waiting [2022-09-22T16:44:01.672Z] a050256f5b6f: Verifying Checksum [2022-09-22T16:44:01.672Z] a050256f5b6f: Download complete [2022-09-22T16:44:01.672Z] c0a3192eca97: Verifying Checksum [2022-09-22T16:44:01.672Z] c0a3192eca97: Download complete [2022-09-22T16:44:01.672Z] 2bbca73fdf42: Verifying Checksum [2022-09-22T16:44:01.672Z] 2bbca73fdf42: Download complete [2022-09-22T16:44:01.672Z] 46d945488cbd: Verifying Checksum [2022-09-22T16:44:01.672Z] 46d945488cbd: Download complete [2022-09-22T16:44:01.672Z] b3c136eddcbf: Verifying Checksum [2022-09-22T16:44:01.672Z] b3c136eddcbf: Download complete [2022-09-22T16:44:03.096Z] 329c88fbcd65: Verifying Checksum [2022-09-22T16:44:03.096Z] 329c88fbcd65: Download complete [2022-09-22T16:44:03.096Z] b3c136eddcbf: Pull complete [2022-09-22T16:44:03.387Z] c0a3192eca97: Pull complete [2022-09-22T16:44:03.977Z] a050256f5b6f: Pull complete [2022-09-22T16:44:04.252Z] 8a5474983e97: Verifying Checksum [2022-09-22T16:44:04.252Z] 8a5474983e97: Download complete [2022-09-22T16:44:04.843Z] 656be50a0ddc: Verifying Checksum [2022-09-22T16:44:04.843Z] 656be50a0ddc: Download complete [2022-09-22T16:44:17.179Z] 656be50a0ddc: Pull complete [2022-09-22T16:44:17.179Z] 2bbca73fdf42: Pull complete [2022-09-22T16:44:17.179Z] 46d945488cbd: Pull complete [2022-09-22T16:44:22.547Z] 8a5474983e97: Pull complete [2022-09-22T16:44:25.338Z] 329c88fbcd65: Pull complete [2022-09-22T16:44:25.338Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T16:44:25.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T16:44:25.338Z] ---> ff4287adb874 [2022-09-22T16:44:25.338Z] Step 3/11 : ARG MAKE=make build [2022-09-22T16:44:27.306Z] ---> Running in 76024da0c2e5 [2022-09-22T16:44:27.306Z] Removing intermediate container 76024da0c2e5 [2022-09-22T16:44:27.306Z] ---> fe46b1210868 [2022-09-22T16:44:27.306Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-22T16:44:27.577Z] ---> Running in 469191412fa2 [2022-09-22T16:44:27.868Z] Removing intermediate container 469191412fa2 [2022-09-22T16:44:27.868Z] ---> 76a96b3306a3 [2022-09-22T16:44:27.868Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:44:27.868Z] ---> Running in 519241b19f9c [2022-09-22T16:44:28.470Z] Removing intermediate container 519241b19f9c [2022-09-22T16:44:28.470Z] ---> 8f99806a070e [2022-09-22T16:44:28.470Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:44:28.470Z] ---> Running in 100de1ac7498 [2022-09-22T16:44:30.438Z] Removing intermediate container 100de1ac7498 [2022-09-22T16:44:30.438Z] ---> d500a9fbca8b [2022-09-22T16:44:30.438Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T16:44:30.708Z] ---> Running in 8a9e6371e84a [2022-09-22T16:44:31.673Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T16:44:32.654Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T16:44:33.619Z] OK: 221 MiB in 51 packages [2022-09-22T16:44:34.583Z] Removing intermediate container 8a9e6371e84a [2022-09-22T16:44:34.583Z] ---> ea31e507a00f [2022-09-22T16:44:34.583Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-22T16:44:35.183Z] ---> 6d53ee513e36 [2022-09-22T16:44:35.183Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T16:44:35.183Z] ---> Running in 8fe164f00dfd [2022-09-22T16:45:31.652Z] Removing intermediate container 8fe164f00dfd [2022-09-22T16:45:31.652Z] ---> 8b0958a4310a [2022-09-22T16:45:31.652Z] Step 10/11 : COPY . . [2022-09-22T16:45:31.652Z] ---> a2ceb18f9204 [2022-09-22T16:45:31.652Z] Step 11/11 : RUN ${MAKE} [2022-09-22T16:45:31.652Z] ---> Running in 52c08152da41 [2022-09-22T16:45:31.652Z] noop [2022-09-22T16:45:31.652Z] Removing intermediate container 52c08152da41 [2022-09-22T16:45:31.652Z] ---> 5a8f37ef183a [2022-09-22T16:45:31.652Z] Successfully built 5a8f37ef183a [2022-09-22T16:45:31.652Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:45:32.006Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T16:45:32.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:45:32.212Z] prd-ubuntu20.04-docker-arm64-4c-16g-621 does not seem to be running inside a container [2022-09-22T16:45:32.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T16:45:33.584Z] $ docker top 43a4d6884dee20cc0b40d85ad2a6d637e6d504203612297e24f4ce767a091355 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:45:34.436Z] + go version [2022-09-22T16:45:34.437Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T16:45:34.456Z] $ docker stop --time=1 43a4d6884dee20cc0b40d85ad2a6d637e6d504203612297e24f4ce767a091355 [2022-09-22T16:45:36.137Z] $ docker rm -f 43a4d6884dee20cc0b40d85ad2a6d637e6d504203612297e24f4ce767a091355 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:45:36.662Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T16:45:36.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:45:36.852Z] prd-ubuntu20.04-docker-arm64-4c-16g-621 does not seem to be running inside a container [2022-09-22T16:45:36.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T16:45:38.138Z] $ docker top 7ef63f0560d2e8462eefb367b700c772ebcc6de86e5f2cccf49b5f154e70906d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:45:38.986Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2022-09-22T16:45:39.635Z] + make test [2022-09-22T16:45:39.635Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-22T16:46:18.577Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-22T16:48:40.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-22T16:48:40.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-22T16:48:40.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-22T16:48:40.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-09-22T16:48:40.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-22T16:48:40.313Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.467s coverage: 27.6% of statements [2022-09-22T16:48:41.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.149s coverage: 78.9% of statements [2022-09-22T16:48:41.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-09-22T16:48:48.393Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.626s coverage: 60.0% of statements [2022-09-22T16:48:48.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-22T16:48:48.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-22T16:48:52.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.512s coverage: 54.4% of statements [2022-09-22T16:48:52.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-22T16:48:52.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-09-22T16:48:52.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-22T16:48:52.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-22T16:48:53.257Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.436s coverage: 65.1% of statements [2022-09-22T16:48:53.257Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-22T16:48:53.257Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-22T16:48:53.257Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.101s coverage: 89.2% of statements [2022-09-22T16:48:53.257Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-22T16:48:56.609Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.250s coverage: 4.5% of statements [2022-09-22T16:48:56.609Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-22T16:48:57.573Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T16:48:57.573Z] GO111MODULE=on go vet ./... [2022-09-22T16:50:34.256Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T16:50:34.256Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T16:50:34.256Z] ./bin/test-attribution-txt.sh [2022-09-22T16:50:34.256Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-09-22T16:50:34.256Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-22T16:50:34.256Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-22T16:50:34.256Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-22T16:50:34.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T16:50:34.282Z] $ docker stop --time=1 7ef63f0560d2e8462eefb367b700c772ebcc6de86e5f2cccf49b5f154e70906d [2022-09-22T16:50:36.201Z] $ docker rm -f 7ef63f0560d2e8462eefb367b700c772ebcc6de86e5f2cccf49b5f154e70906d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T16:50:37.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T16:50:37.749Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T16:50:38.278Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T16:50:38.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T16:50:38.995Z] + ls -al . [2022-09-22T16:50:38.995Z] total 272 [2022-09-22T16:50:38.995Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 16:45 . [2022-09-22T16:50:38.995Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:43 .. [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 16:43 .dockerignore [2022-09-22T16:50:38.995Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:43 .git [2022-09-22T16:50:38.995Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:43 .github [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 16:43 .gitignore [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 16:43 .golangci.yml [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 16:43 CHANGELOG.md [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:43 GOVERNANCE.md [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 16:43 Jenkinsfile [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 16:43 LICENSE [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 16:43 Makefile [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 16:43 OWNERS.md [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 16:43 README.md [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 16:39 VERSION [2022-09-22T16:50:38.995Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:43 bin [2022-09-22T16:50:38.995Z] -rw-r--r-- 1 jenkins jenkins 101794 Sep 22 16:48 coverage.out [2022-09-22T16:50:38.995Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 16:43 example [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 3412 Sep 22 16:43 go.mod [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 37485 Sep 22 16:43 go.sum [2022-09-22T16:50:38.995Z] drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 16:43 internal [2022-09-22T16:50:38.995Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:43 openapi [2022-09-22T16:50:38.995Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 16:43 pkg [2022-09-22T16:50:38.995Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:43 snap [2022-09-22T16:50:38.995Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 16:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:50:39.344Z] + 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=46ace83fbd83e6729010ee50e972ab9dad0f6778 --label arch=arm64 --label version=0.0.0 . [2022-09-22T16:50:39.614Z] Sending build context to Docker daemon 5.406MB [2022-09-22T16:50:39.885Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T16:50:39.885Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T16:50:39.885Z] ---> 5a8f37ef183a [2022-09-22T16:50:39.885Z] Step 3/25 : ARG MAKE=make build [2022-09-22T16:50:39.885Z] ---> Running in 3caa8097aaa9 [2022-09-22T16:50:40.162Z] Removing intermediate container 3caa8097aaa9 [2022-09-22T16:50:40.162Z] ---> 29a6b50aa90f [2022-09-22T16:50:40.162Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-22T16:50:40.432Z] ---> Running in c754ac882aa8 [2022-09-22T16:50:40.701Z] Removing intermediate container c754ac882aa8 [2022-09-22T16:50:40.701Z] ---> 2e022f91c22b [2022-09-22T16:50:40.701Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:50:40.701Z] ---> Running in 3ba708a0ba0b [2022-09-22T16:50:41.291Z] Removing intermediate container 3ba708a0ba0b [2022-09-22T16:50:41.291Z] ---> 136ef74b0622 [2022-09-22T16:50:41.291Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:50:41.291Z] ---> Running in 06c62f7c4b2d [2022-09-22T16:50:43.257Z] Removing intermediate container 06c62f7c4b2d [2022-09-22T16:50:43.257Z] ---> 0ea055c4ce95 [2022-09-22T16:50:43.257Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-22T16:50:43.257Z] ---> Running in 2fbcdbd37860 [2022-09-22T16:50:44.222Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T16:50:45.188Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T16:50:46.152Z] OK: 221 MiB in 51 packages [2022-09-22T16:50:47.116Z] Removing intermediate container 2fbcdbd37860 [2022-09-22T16:50:47.116Z] ---> fd46ea33c8ca [2022-09-22T16:50:47.116Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-22T16:50:47.705Z] ---> 767920290aa5 [2022-09-22T16:50:47.705Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T16:50:47.705Z] ---> Running in 61345cc46930 [2022-09-22T16:50:49.654Z] Removing intermediate container 61345cc46930 [2022-09-22T16:50:49.654Z] ---> e08d4fdbb783 [2022-09-22T16:50:49.654Z] Step 10/25 : COPY . . [2022-09-22T16:50:51.071Z] ---> 4e57ea01dd7c [2022-09-22T16:50:51.071Z] Step 11/25 : RUN ${MAKE} [2022-09-22T16:50:51.071Z] ---> Running in 91529c96f280 [2022-09-22T16:50:52.038Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-09-22T16:53:29.029Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-22T16:53:29.029Z] Removing intermediate container 91529c96f280 [2022-09-22T16:53:29.029Z] ---> 3e2480833674 [2022-09-22T16:53:29.029Z] Step 12/25 : FROM alpine:3.16 [2022-09-22T16:53:29.029Z] 3.16: Pulling from library/alpine [2022-09-22T16:53:29.029Z] 9b18e9b68314: Pulling fs layer [2022-09-22T16:53:29.029Z] 9b18e9b68314: Verifying Checksum [2022-09-22T16:53:29.029Z] 9b18e9b68314: Download complete [2022-09-22T16:53:29.029Z] 9b18e9b68314: Pull complete [2022-09-22T16:53:29.029Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T16:53:29.029Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T16:53:29.029Z] ---> a6215f271958 [2022-09-22T16:53:29.029Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-22T16:53:29.029Z] ---> Running in 94f28847a02b [2022-09-22T16:53:29.029Z] Removing intermediate container 94f28847a02b [2022-09-22T16:53:29.029Z] ---> d5544159b07c [2022-09-22T16:53:29.029Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T16:53:29.029Z] ---> Running in 5c2f55b556da [2022-09-22T16:53:29.030Z] Removing intermediate container 5c2f55b556da [2022-09-22T16:53:29.030Z] ---> 44d49c4dd2b3 [2022-09-22T16:53:29.030Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-22T16:53:29.030Z] ---> Running in e3d97b001d3f [2022-09-22T16:53:29.030Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T16:53:29.030Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T16:53:30.004Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T16:53:30.004Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-22T16:53:30.004Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T16:53:30.271Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-22T16:53:30.271Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-22T16:53:30.271Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T16:53:30.541Z] OK: 8 MiB in 19 packages [2022-09-22T16:53:31.508Z] Removing intermediate container e3d97b001d3f [2022-09-22T16:53:31.508Z] ---> aec6ff2aae47 [2022-09-22T16:53:31.508Z] Step 16/25 : WORKDIR / [2022-09-22T16:53:31.508Z] ---> Running in e99f9d96b0db [2022-09-22T16:53:31.775Z] Removing intermediate container e99f9d96b0db [2022-09-22T16:53:31.775Z] ---> 8f9ce1977b36 [2022-09-22T16:53:31.775Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-22T16:53:32.365Z] ---> 3a2bda046fe6 [2022-09-22T16:53:32.365Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-22T16:53:33.781Z] ---> a8ae8f9c1f54 [2022-09-22T16:53:33.781Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-22T16:53:34.378Z] ---> 180362bda60a [2022-09-22T16:53:34.378Z] Step 20/25 : EXPOSE 59999 [2022-09-22T16:53:34.648Z] ---> Running in 8ecdbfd158e7 [2022-09-22T16:53:34.917Z] Removing intermediate container 8ecdbfd158e7 [2022-09-22T16:53:34.917Z] ---> c770327510dd [2022-09-22T16:53:34.917Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-22T16:53:34.917Z] ---> Running in d9979580e528 [2022-09-22T16:53:35.186Z] Removing intermediate container d9979580e528 [2022-09-22T16:53:35.186Z] ---> 925804730c68 [2022-09-22T16:53:35.186Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T16:53:35.455Z] ---> Running in 712fbe6d9f7c [2022-09-22T16:53:35.723Z] Removing intermediate container 712fbe6d9f7c [2022-09-22T16:53:35.723Z] ---> 0c06affe5844 [2022-09-22T16:53:35.723Z] Step 23/25 : LABEL arch=arm64 [2022-09-22T16:53:35.723Z] ---> Running in 5ad5c42090bc [2022-09-22T16:53:36.001Z] Removing intermediate container 5ad5c42090bc [2022-09-22T16:53:36.001Z] ---> dc9475de9466 [2022-09-22T16:53:36.001Z] Step 24/25 : LABEL git_sha=46ace83fbd83e6729010ee50e972ab9dad0f6778 [2022-09-22T16:53:36.001Z] ---> Running in a8da05537adf [2022-09-22T16:53:36.589Z] Removing intermediate container a8da05537adf [2022-09-22T16:53:36.589Z] ---> a11434fb5940 [2022-09-22T16:53:36.589Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T16:53:36.589Z] ---> Running in 2cbd19ac6475 [2022-09-22T16:53:36.858Z] Removing intermediate container 2cbd19ac6475 [2022-09-22T16:53:36.858Z] ---> 73705e2e7cf2 [2022-09-22T16:53:36.858Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T16:53:36.858Z] Successfully built 73705e2e7cf2 [2022-09-22T16:53:36.858Z] 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 [2022-09-22T16:53:37.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T16:53:37.280Z] [2022-09-22T16:53:37.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:53:37.620Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T16:53:37.891Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T16:53:37.891Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T16:53:37.891Z] 04944245beec: Pulling fs layer [2022-09-22T16:53:37.891Z] 699f458cf7ca: Pulling fs layer [2022-09-22T16:53:37.891Z] 765212b225bb: Pulling fs layer [2022-09-22T16:53:37.891Z] f23df028b6ca: Pulling fs layer [2022-09-22T16:53:37.891Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T16:53:37.891Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T16:53:37.891Z] f23df028b6ca: Waiting [2022-09-22T16:53:37.891Z] d65c8cfc05b1: Waiting [2022-09-22T16:53:37.891Z] 2437ff75d9bd: Waiting [2022-09-22T16:53:37.891Z] 765212b225bb: Waiting [2022-09-22T16:53:37.891Z] 04944245beec: Verifying Checksum [2022-09-22T16:53:37.891Z] 04944245beec: Download complete [2022-09-22T16:53:37.891Z] 765212b225bb: Verifying Checksum [2022-09-22T16:53:37.891Z] 765212b225bb: Download complete [2022-09-22T16:53:38.160Z] f23df028b6ca: Download complete [2022-09-22T16:53:38.160Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T16:53:38.160Z] d65c8cfc05b1: Download complete [2022-09-22T16:53:38.160Z] 699f458cf7ca: Verifying Checksum [2022-09-22T16:53:38.160Z] 699f458cf7ca: Download complete [2022-09-22T16:53:38.743Z] 8998bd30e6a1: Download complete [2022-09-22T16:53:41.337Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T16:53:41.337Z] 2437ff75d9bd: Download complete [2022-09-22T16:53:42.750Z] 8998bd30e6a1: Pull complete [2022-09-22T16:53:43.337Z] 04944245beec: Pull complete [2022-09-22T16:53:44.754Z] 699f458cf7ca: Pull complete [2022-09-22T16:53:45.025Z] 765212b225bb: Pull complete [2022-09-22T16:53:45.990Z] f23df028b6ca: Pull complete [2022-09-22T16:53:45.990Z] d65c8cfc05b1: Pull complete [2022-09-22T16:54:00.988Z] 2437ff75d9bd: Pull complete [2022-09-22T16:54:00.988Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T16:54:00.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T16:54:00.988Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:54:01.180Z] prd-ubuntu20.04-docker-arm64-4c-16g-621 does not seem to be running inside a container [2022-09-22T16:54:01.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-22T16:54:03.779Z] $ docker top 0097ac7bc1261cd1be41b76678ff9aa77c1dd5e789a538c296a9fe18f43238e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:54:04.609Z] ---> job-cost.sh [2022-09-22T16:54:04.609Z] lf-activate-venv: SKIPPING [2022-09-22T16:54:04.609Z] INFO: No Stack... [2022-09-22T16:54:05.195Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T16:54:05.779Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T16:54:06.107Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2022-09-22T16:54:06.107Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T16:54:06.447Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] [2022-09-22T16:54:06.458Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] did not exist. Created. [2022-09-22T16:54:06.458Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T16:54:07.112Z] /w/workspace/device-sdk-go/2@tmp/durable-b64fb237/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T16:54:07.763Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T16:54:07.785Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T16:54:07.845Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T16:54:07.852Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T16:54:07.864Z] $ docker stop --time=1 0097ac7bc1261cd1be41b76678ff9aa77c1dd5e789a538c296a9fe18f43238e3 [2022-09-22T16:54:09.383Z] $ docker rm -f 0097ac7bc1261cd1be41b76678ff9aa77c1dd5e789a538c296a9fe18f43238e3 [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 [2022-09-22T16:54:09.759Z] provisioning config files... [2022-09-22T16:54:09.768Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config1085366929485879962tmp [Pipeline] { [Pipeline] sh [2022-09-22T16:54:10.060Z] + set +x [2022-09-22T16:54:10.060Z] + curl -s https://codecov.io/bash [2022-09-22T16:54:10.060Z] + bash -s -- [2022-09-22T16:54:10.060Z] [2022-09-22T16:54:10.060Z] _____ _ [2022-09-22T16:54:10.060Z] / ____| | | [2022-09-22T16:54:10.060Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T16:54:10.060Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T16:54:10.060Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T16:54:10.060Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T16:54:10.060Z] Bash-1.0.6 [2022-09-22T16:54:10.060Z] [2022-09-22T16:54:10.060Z] [2022-09-22T16:54:10.060Z] ==> git version 2.25.1 found [2022-09-22T16:54:10.060Z] ==> 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 [2022-09-22T16:54:10.060Z] Release-Date: 2020-01-08 [2022-09-22T16:54:10.060Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-22T16:54:10.060Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T16:54:10.060Z] ==> Jenkins CI detected. [2022-09-22T16:54:10.060Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1214 [2022-09-22T16:54:10.060Z] project root: . [2022-09-22T16:54:10.060Z] --> token set from env [2022-09-22T16:54:10.060Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T16:54:10.060Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T16:54:10.060Z] ==> Python coveragepy not found [2022-09-22T16:54:10.060Z] ==> Searching for coverage reports in: [2022-09-22T16:54:10.060Z] + . [2022-09-22T16:54:10.060Z] -> Found 1 reports [2022-09-22T16:54:10.060Z] ==> Detecting git/mercurial file structure [2022-09-22T16:54:10.320Z] ==> Reading reports [2022-09-22T16:54:10.320Z] + ./coverage.out bytes=101794 [2022-09-22T16:54:10.320Z] ==> Appending adjustments [2022-09-22T16:54:10.320Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T16:54:10.578Z] + Found adjustments [2022-09-22T16:54:10.578Z] ==> Gzipping contents [2022-09-22T16:54:10.578Z] 16K /tmp/codecov.T8mPFu.gz [2022-09-22T16:54:10.578Z] ==> Uploading reports [2022-09-22T16:54:10.578Z] url: https://codecov.io [2022-09-22T16:54:10.578Z] query: branch=PR-1214&commit=46ace83fbd83e6729010ee50e972ab9dad0f6778&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1214%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1214&job=&cmd_args= [2022-09-22T16:54:10.578Z] -> Pinging Codecov [2022-09-22T16:54:10.578Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1214&commit=46ace83fbd83e6729010ee50e972ab9dad0f6778&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1214%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1214&job=&cmd_args= [2022-09-22T16:54:10.838Z] -> Uploading to [2022-09-22T16:54:10.838Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7E55EF52A471D76F132DFD9A03CDDE97/46ace83fbd83e6729010ee50e972ab9dad0f6778/0b1c80d2-aa07-4578-a782-b0a3e4c1166c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T165410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=140796204f21a399a2608b3e22a7587fb97070265f5a9552051c45ea3709662e [2022-09-22T16:54:10.838Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T16:54:10.838Z] Dload Upload Total Spent Left Speed [2022-09-22T16:54:11.098Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14579 0 0 100 14579 0 63942 --:--:-- --:--:-- --:--:-- 63942 [2022-09-22T16:54:11.098Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/46ace83fbd83e6729010ee50e972ab9dad0f6778 [Pipeline] } [2022-09-22T16:54:11.106Z] 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 [2022-09-22T16:54:11.714Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives ] [2022-09-22T16:54:11.714Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives [2022-09-22T16:54:11.714Z] total 16 [2022-09-22T16:54:11.714Z] drwxr-xr-x 3 root root 4096 Sep 22 16:41 . [2022-09-22T16:54:11.714Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:41 .. [2022-09-22T16:54:11.714Z] drwxr-xr-x 2 root root 4096 Sep 22 16:41 cost [2022-09-22T16:54:11.714Z] -rw-r--r-- 1 root root 86 Sep 22 16:41 cost.csv [2022-09-22T16:54:11.714Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives [2022-09-22T16:54:11.714Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives [2022-09-22T16:54:11.714Z] total 16 [2022-09-22T16:54:11.714Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:41 . [2022-09-22T16:54:11.714Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:41 .. [2022-09-22T16:54:11.714Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 16:41 cost [2022-09-22T16:54:11.714Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 22 16:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:54:12.005Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:54:12.861Z] ---> package-listing.sh [2022-09-22T16:54:12.861Z] ++ facter osfamily [2022-09-22T16:54:12.861Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T16:54:13.120Z] + OS_FAMILY=debian [2022-09-22T16:54:13.120Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1214 [2022-09-22T16:54:13.120Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T16:54:13.120Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T16:54:13.120Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T16:54:13.120Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T16:54:13.120Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1214 ']' [2022-09-22T16:54:13.120Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T16:54:13.120Z] + case "${OS_FAMILY}" in [2022-09-22T16:54:13.120Z] + dpkg -l [2022-09-22T16:54:13.120Z] + grep '^ii' [2022-09-22T16:54:13.120Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T16:54:13.120Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T16:54:13.120Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T16:54:13.120Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1214 ']' [2022-09-22T16:54:13.120Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives/ [2022-09-22T16:54:13.120Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives/ [Pipeline] echo [2022-09-22T16:54:13.131Z] 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-1214/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-22T16:54:13.409Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T16:54:13.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T16:54:13.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T16:54:14.035Z] prd-ubuntu20.04-docker-8c-8g-617 does not seem to be running inside a container [2022-09-22T16:54:14.086Z] $ 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-1214/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-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T16:54:14.278Z] $ docker top ed345c660d408deda8919b33df1394389b717faec5a297f1ca418aa496bce96c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T16:54:14.599Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T16:54:14.882Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T16:54:15.168Z] + ls /var/log/sa-host [2022-09-22T16:54:15.168Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T16:54:15.229Z] provisioning config files... [2022-09-22T16:54:15.238Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config10053569224408691669tmp [Pipeline] { [Pipeline] echo [2022-09-22T16:54:15.252Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:54:15.535Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T16:54:15.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:54:15.869Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T16:54:15.877Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:54:16.161Z] ---> sudo-logs.sh [2022-09-22T16:54:16.161Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T16:54:16.193Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:54:16.475Z] ---> job-cost.sh [2022-09-22T16:54:16.475Z] lf-activate-venv: SKIPPING [2022-09-22T16:54:16.475Z] DEBUG: total: 0.2199999988079071 [2022-09-22T16:54:16.475Z] INFO: Retrieving Stack Cost... [2022-09-22T16:54:16.735Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T16:54:17.303Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T16:54:17.312Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T16:54:17.598Z] ---> logs-deploy.sh [2022-09-22T16:54:17.598Z] lf-activate-venv: SKIPPING [2022-09-22T16:54:17.598Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1214/2 [2022-09-22T16:54:17.598Z] INFO: archiving workspace using pattern(s): [2022-09-22T16:54:18.535Z] Archives upload complete. [2022-09-22T16:54:18.795Z] INFO: archiving logs to Nexus [2022-09-22T16:54:19.362Z] ---> uname -a: [2022-09-22T16:54:19.362Z] Linux prd-ubuntu20-04-docker-8c-8g-617 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-09-22T16:54:19.362Z] [2022-09-22T16:54:19.362Z] [2022-09-22T16:54:19.362Z] ---> lscpu: [2022-09-22T16:54:19.362Z] Architecture: x86_64 [2022-09-22T16:54:19.362Z] CPU op-mode(s): 32-bit, 64-bit [2022-09-22T16:54:19.362Z] Byte Order: Little Endian [2022-09-22T16:54:19.362Z] Address sizes: 40 bits physical, 48 bits virtual [2022-09-22T16:54:19.362Z] CPU(s): 8 [2022-09-22T16:54:19.362Z] On-line CPU(s) list: 0-7 [2022-09-22T16:54:19.362Z] Thread(s) per core: 1 [2022-09-22T16:54:19.362Z] Core(s) per socket: 1 [2022-09-22T16:54:19.362Z] Socket(s): 8 [2022-09-22T16:54:19.362Z] NUMA node(s): 1 [2022-09-22T16:54:19.362Z] Vendor ID: AuthenticAMD [2022-09-22T16:54:19.362Z] CPU family: 23 [2022-09-22T16:54:19.362Z] Model: 49 [2022-09-22T16:54:19.362Z] Model name: AMD EPYC-Rome Processor [2022-09-22T16:54:19.362Z] Stepping: 0 [2022-09-22T16:54:19.362Z] CPU MHz: 2799.998 [2022-09-22T16:54:19.362Z] BogoMIPS: 5599.99 [2022-09-22T16:54:19.362Z] Virtualization: AMD-V [2022-09-22T16:54:19.362Z] Hypervisor vendor: KVM [2022-09-22T16:54:19.362Z] Virtualization type: full [2022-09-22T16:54:19.362Z] L1d cache: 256 KiB [2022-09-22T16:54:19.362Z] L1i cache: 256 KiB [2022-09-22T16:54:19.362Z] L2 cache: 4 MiB [2022-09-22T16:54:19.362Z] L3 cache: 128 MiB [2022-09-22T16:54:19.362Z] NUMA node0 CPU(s): 0-7 [2022-09-22T16:54:19.362Z] Vulnerability Itlb multihit: Not affected [2022-09-22T16:54:19.362Z] Vulnerability L1tf: Not affected [2022-09-22T16:54:19.362Z] Vulnerability Mds: Not affected [2022-09-22T16:54:19.362Z] Vulnerability Meltdown: Not affected [2022-09-22T16:54:19.362Z] Vulnerability Mmio stale data: Not affected [2022-09-22T16:54:19.362Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-09-22T16:54:19.362Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-09-22T16:54:19.362Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-09-22T16:54:19.362Z] Vulnerability Srbds: Not affected [2022-09-22T16:54:19.362Z] Vulnerability Tsx async abort: Not affected [2022-09-22T16:54:19.362Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-09-22T16:54:19.362Z] [2022-09-22T16:54:19.362Z]