Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e9867ceccc81c4680e14fc13c8919f6907f05772+9201c30d3cbedfb69842190fa0e339608ffa0cc3 (dfcbb3bc0b832cea63d27db613695bc0d5aaef00) 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-ssh2831397444670579959.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh5977958270837428069.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-1196/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-1196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4963344616594345038.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh3408263128259796608.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-1196/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-1196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10766358212966543412.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 ‘prd-ubuntu20.04-docker-8c-8g-21413’ is offline Running on prd-ubuntu20.04-docker-8c-8g-21416 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [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-1196 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9201c30d3cbedfb69842190fa0e339608ffa0cc3 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 Merge succeeded, producing 2b502ac3635f718da5f414aaeaf9e8ec3c871002 Checking out Revision 2b502ac3635f718da5f414aaeaf9e8ec3c871002 (PR-1196) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9201c30d3cbedfb69842190fa0e339608ffa0cc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b502ac3635f718da5f414aaeaf9e8ec3c871002 # timeout=10 Commit message: "Merge commit '9201c30d3cbedfb69842190fa0e339608ffa0cc3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-28T22:42:24.552Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-28T22:42:24.595Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-28T22:42:24.609Z] ========================================================= [2022-07-28T22:42:24.609Z] EdgeX Global Pipelines Version Info [2022-07-28T22:42:24.609Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1f05d8d7579188a8fbfccf07c9a7d7f37c737a48 # timeout=10 [2022-07-28T22:42:25.347Z] ------------------- [2022-07-28T22:42:25.347Z] stable info: [2022-07-28T22:42:25.347Z] ------------------- [2022-07-28T22:42:25.347Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-28T22:42:25.347Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-28T22:42:25.347Z] Message: update stable to v1.0.238 [2022-07-28T22:42:25.920Z] ------------------- [2022-07-28T22:42:25.920Z] experimental info: [2022-07-28T22:42:25.920Z] ------------------- [2022-07-28T22:42:25.920Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-28T22:42:25.920Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-28T22:42:25.920Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-28T22:42:26.117Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-07-28T22:42:26.133Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-07-28T22:42:26.148Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-28T22:42:26.160Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-28T22:42:26.171Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-28T22:42:26.185Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-28T22:42:26.196Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-28T22:42:26.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-07-28T22:42:26.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-28T22:42:26.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-28T22:42:26.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-28T22:42:26.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-07-28T22:42:26.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-28T22:42:26.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-28T22:42:26.292Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-28T22:42:26.308Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T22:42:26.321Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T22:42:26.332Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T22:42:26.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-28T22:42:26.357Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-28T22:42:26.369Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-07-28T22:42:26.380Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-07-28T22:42:26.394Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-28T22:42:26.404Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-28T22:42:26.415Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-28T22:42:26.428Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-28T22:42:26.443Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-28T22:42:26.455Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1196 [Pipeline] echo [2022-07-28T22:42:26.469Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1196 [Pipeline] echo [2022-07-28T22:42:26.480Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1196 [Pipeline] echo [2022-07-28T22:42:26.493Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b502ac3635f718da5f414aaeaf9e8ec3c871002 [Pipeline] echo [2022-07-28T22:42:26.509Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b502ac [Pipeline] echo [2022-07-28T22:42:26.526Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T22:42:26.565Z] provisioning config files... [2022-07-28T22:42:26.580Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config675885201676633604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:42:26.890Z] ---> docker-login.sh [2022-07-28T22:42:26.891Z] nexus3.edgexfoundry.org:10001 [2022-07-28T22:42:27.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:42:27.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:42:27.152Z] Configure a credential helper to remove this warning. See [2022-07-28T22:42:27.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:42:27.152Z] [2022-07-28T22:42:27.152Z] Login Succeeded [2022-07-28T22:42:27.152Z] nexus3.edgexfoundry.org:10002 [2022-07-28T22:42:27.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:42:27.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:42:27.413Z] Configure a credential helper to remove this warning. See [2022-07-28T22:42:27.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:42:27.413Z] [2022-07-28T22:42:27.413Z] Login Succeeded [2022-07-28T22:42:27.413Z] nexus3.edgexfoundry.org:10003 [2022-07-28T22:42:27.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:42:27.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:42:27.675Z] Configure a credential helper to remove this warning. See [2022-07-28T22:42:27.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:42:27.675Z] [2022-07-28T22:42:27.675Z] Login Succeeded [2022-07-28T22:42:27.675Z] nexus3.edgexfoundry.org:10004 [2022-07-28T22:42:27.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:42:27.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:42:27.675Z] Configure a credential helper to remove this warning. See [2022-07-28T22:42:27.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:42:27.675Z] [2022-07-28T22:42:27.675Z] Login Succeeded [2022-07-28T22:42:27.675Z] docker.io [2022-07-28T22:42:27.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:42:28.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:42:28.198Z] Configure a credential helper to remove this warning. See [2022-07-28T22:42:28.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:42:28.198Z] [2022-07-28T22:42:28.198Z] Login Succeeded [2022-07-28T22:42:28.198Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T22:42:28.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-28T22:42:28.594Z] + git rev-list -1 --merges 2b502ac3635f718da5f414aaeaf9e8ec3c871002~1..2b502ac3635f718da5f414aaeaf9e8ec3c871002 [Pipeline] echo [2022-07-28T22:42:28.700Z] -----------> git rev-list -1 --merges 2b502ac3635f718da5f414aaeaf9e8ec3c871002~1..2b502ac3635f718da5f414aaeaf9e8ec3c871002 2b502ac3635f718da5f414aaeaf9e8ec3c871002 [2022-07-28T22:42:28.700Z] 2b502ac3635f718da5f414aaeaf9e8ec3c871002 [false] [Pipeline] sh [2022-07-28T22:42:29.001Z] + git log --format=format:%s -1 2b502ac3635f718da5f414aaeaf9e8ec3c871002 [Pipeline] echo [2022-07-28T22:42:29.018Z] ========================================================= [2022-07-28T22:42:29.019Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-28T22:42:29.019Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T22:42:29.359Z] + git log --format=format:%s -1 2b502ac3635f718da5f414aaeaf9e8ec3c871002 [Pipeline] echo [2022-07-28T22:42:29.374Z] [semverPrep] GIT_COMMIT: 2b502ac3635f718da5f414aaeaf9e8ec3c871002, Commit Message: Merge commit '9201c30d3cbedfb69842190fa0e339608ffa0cc3' into HEAD [Pipeline] echo [2022-07-28T22:42:29.384Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-28T22:42:29.730Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-28T22:42:29.730Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-28T22:42:29.730Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-28T22:42:29.730Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-28T22:42:29.730Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-28T22:42:29.730Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-28T22:42:29.730Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:42:30.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T22:42:30.090Z] [2022-07-28T22:42:30.090Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:42:30.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T22:42:30.399Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-28T22:42:30.399Z] b85a868b505f: Pulling fs layer [2022-07-28T22:42:30.399Z] e2be974225ed: Pulling fs layer [2022-07-28T22:42:30.399Z] 339a4e72a1f5: Pulling fs layer [2022-07-28T22:42:30.399Z] 988bab9f4d93: Pulling fs layer [2022-07-28T22:42:30.399Z] 1469e6f7b9e6: Pulling fs layer [2022-07-28T22:42:30.399Z] eaf3925da568: Pulling fs layer [2022-07-28T22:42:30.399Z] bab4dde63d76: Pulling fs layer [2022-07-28T22:42:30.399Z] bde34c3a00c8: Pulling fs layer [2022-07-28T22:42:30.399Z] b352a97aabf1: Pulling fs layer [2022-07-28T22:42:30.399Z] 4872d77fe225: Pulling fs layer [2022-07-28T22:42:30.399Z] 5851b861e8e6: Pulling fs layer [2022-07-28T22:42:30.399Z] 988bab9f4d93: Waiting [2022-07-28T22:42:30.399Z] bab4dde63d76: Waiting [2022-07-28T22:42:30.399Z] b352a97aabf1: Waiting [2022-07-28T22:42:30.400Z] bde34c3a00c8: Waiting [2022-07-28T22:42:30.400Z] eaf3925da568: Waiting [2022-07-28T22:42:30.400Z] 1469e6f7b9e6: Waiting [2022-07-28T22:42:30.400Z] 4872d77fe225: Waiting [2022-07-28T22:42:30.400Z] 5851b861e8e6: Waiting [2022-07-28T22:42:30.400Z] e2be974225ed: Download complete [2022-07-28T22:42:30.400Z] 988bab9f4d93: Verifying Checksum [2022-07-28T22:42:30.400Z] 988bab9f4d93: Download complete [2022-07-28T22:42:30.660Z] 1469e6f7b9e6: Verifying Checksum [2022-07-28T22:42:30.660Z] 1469e6f7b9e6: Download complete [2022-07-28T22:42:30.660Z] eaf3925da568: Verifying Checksum [2022-07-28T22:42:30.660Z] eaf3925da568: Download complete [2022-07-28T22:42:30.660Z] 339a4e72a1f5: Verifying Checksum [2022-07-28T22:42:30.660Z] 339a4e72a1f5: Download complete [2022-07-28T22:42:30.660Z] bde34c3a00c8: Verifying Checksum [2022-07-28T22:42:30.660Z] bde34c3a00c8: Download complete [2022-07-28T22:42:30.660Z] b352a97aabf1: Download complete [2022-07-28T22:42:30.660Z] 4872d77fe225: Verifying Checksum [2022-07-28T22:42:30.660Z] 4872d77fe225: Download complete [2022-07-28T22:42:30.660Z] 5851b861e8e6: Verifying Checksum [2022-07-28T22:42:30.660Z] 5851b861e8e6: Download complete [2022-07-28T22:42:30.660Z] b85a868b505f: Verifying Checksum [2022-07-28T22:42:30.660Z] b85a868b505f: Download complete [2022-07-28T22:42:30.929Z] bab4dde63d76: Verifying Checksum [2022-07-28T22:42:30.929Z] bab4dde63d76: Download complete [2022-07-28T22:42:32.323Z] b85a868b505f: Pull complete [2022-07-28T22:42:32.583Z] e2be974225ed: Pull complete [2022-07-28T22:42:33.154Z] 339a4e72a1f5: Pull complete [2022-07-28T22:42:33.154Z] 988bab9f4d93: Pull complete [2022-07-28T22:42:33.413Z] 1469e6f7b9e6: Pull complete [2022-07-28T22:42:33.674Z] eaf3925da568: Pull complete [2022-07-28T22:42:35.582Z] bab4dde63d76: Pull complete [2022-07-28T22:42:35.582Z] bde34c3a00c8: Pull complete [2022-07-28T22:42:35.852Z] b352a97aabf1: Pull complete [2022-07-28T22:42:35.852Z] 4872d77fe225: Pull complete [2022-07-28T22:42:36.113Z] 5851b861e8e6: Pull complete [2022-07-28T22:42:36.113Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-28T22:42:36.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T22:42:36.113Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:42:36.240Z] prd-ubuntu20.04-docker-8c-8g-21416 does not seem to be running inside a container [2022-07-28T22:42:36.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@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-devops/py-git-semver:0.1.4 cat [2022-07-28T22:42:39.656Z] $ docker top bb025bff6c229e9b73bc51b197c89be2b00ee59cac69f27636cab6af72c10db9 -eo pid,comm [2022-07-28T22:42:39.717Z] 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-07-28T22:42:39.717Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-28T22:42:39.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-28T22:42:39.752Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-28T22:42:39.873Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-28T22:42:39.880Z] $ docker exec bb025bff6c229e9b73bc51b197c89be2b00ee59cac69f27636cab6af72c10db9 ssh-agent [2022-07-28T22:42:40.000Z] SSH_AUTH_SOCK=/tmp/ssh-twR86lys7r0w/agent.33 [2022-07-28T22:42:40.000Z] SSH_AGENT_PID=40 [2022-07-28T22:42:40.006Z] Running ssh-add (command line suppressed) [2022-07-28T22:42:40.128Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_4631484918212983951.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_4631484918212983951.key) [2022-07-28T22:42:40.138Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-28T22:42:40.429Z] + git tag --points-at HEAD [Pipeline] } [2022-07-28T22:42:40.458Z] $ docker exec --env ******** --env ******** bb025bff6c229e9b73bc51b197c89be2b00ee59cac69f27636cab6af72c10db9 ssh-agent -k [2022-07-28T22:42:40.583Z] unset SSH_AUTH_SOCK; [2022-07-28T22:42:40.583Z] unset SSH_AGENT_PID; [2022-07-28T22:42:40.584Z] echo Agent pid 40 killed; [2022-07-28T22:42:40.593Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-28T22:42:40.620Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-28T22:42:40.620Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-28T22:42:40.759Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-28T22:42:40.766Z] $ docker exec bb025bff6c229e9b73bc51b197c89be2b00ee59cac69f27636cab6af72c10db9 ssh-agent [2022-07-28T22:42:40.907Z] SSH_AUTH_SOCK=/tmp/ssh-ePSr0CNWqby3/agent.72 [2022-07-28T22:42:40.907Z] SSH_AGENT_PID=79 [2022-07-28T22:42:40.913Z] Running ssh-add (command line suppressed) [2022-07-28T22:42:41.057Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7645644928604472623.key (/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/private_key_7645644928604472623.key) [2022-07-28T22:42:41.070Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-28T22:42:41.358Z] + git semver init [2022-07-28T22:42:41.618Z] 2022-07-28 22:42:41,538 [run_init] DEBUG init version:0.0.0 force:False [2022-07-28T22:42:41.618Z] 2022-07-28 22:42:41,538 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-07-28T22:42:41.618Z] 2022-07-28 22:42:41,539 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver [2022-07-28T22:42:41.618Z] 2022-07-28 22:42:41,539 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196, universal_newlines=False, shell=None, istream=None) [2022-07-28T22:42:42.558Z] 2022-07-28 22:42:42,349 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.git/info/exclude [2022-07-28T22:42:42.558Z] 2022-07-28 22:42:42,349 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 with force:False [2022-07-28T22:42:42.558Z] 2022-07-28 22:42:42,349 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-07-28T22:42:42.558Z] 2022-07-28 22:42:42,353 [execute] INFO git cat-file --batch-check [2022-07-28T22:42:42.558Z] 2022-07-28 22:42:42,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) [2022-07-28T22:42:42.558Z] 2022-07-28 22:42:42,359 [execute] INFO git cat-file --batch [2022-07-28T22:42:42.558Z] 2022-07-28 22:42:42,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver, universal_newlines=False, shell=None, istream=) [2022-07-28T22:42:42.558Z] 2022-07-28 22:42:42,363 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1196/.semver/PR-1196 [2022-07-28T22:42:42.558Z] 0.0.0 [Pipeline] } [2022-07-28T22:42:42.572Z] $ docker exec --env ******** --env ******** bb025bff6c229e9b73bc51b197c89be2b00ee59cac69f27636cab6af72c10db9 ssh-agent -k [2022-07-28T22:42:42.687Z] unset SSH_AUTH_SOCK; [2022-07-28T22:42:42.687Z] unset SSH_AGENT_PID; [2022-07-28T22:42:42.688Z] echo Agent pid 79 killed; [2022-07-28T22:42:42.693Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-28T22:42:43.001Z] + git semver [Pipeline] } [2022-07-28T22:42:43.281Z] $ docker stop --time=1 bb025bff6c229e9b73bc51b197c89be2b00ee59cac69f27636cab6af72c10db9 [2022-07-28T22:42:44.596Z] $ docker rm -f bb025bff6c229e9b73bc51b197c89be2b00ee59cac69f27636cab6af72c10db9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T22:42:44.950Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-28T22:42:45.197Z] Stashed 1 file(s) [Pipeline] echo [2022-07-28T22:42:45.200Z] [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-07-28T22:42:45.305Z] provisioning config files... [2022-07-28T22:42:45.314Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config629777586375418532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:42:45.616Z] ---> docker-login.sh [2022-07-28T22:42:45.616Z] nexus3.edgexfoundry.org:10001 [2022-07-28T22:42:45.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:42:45.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:42:45.616Z] Configure a credential helper to remove this warning. See [2022-07-28T22:42:45.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:42:45.616Z] [2022-07-28T22:42:45.616Z] Login Succeeded [2022-07-28T22:42:45.616Z] nexus3.edgexfoundry.org:10002 [2022-07-28T22:42:45.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:42:45.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:42:45.877Z] Configure a credential helper to remove this warning. See [2022-07-28T22:42:45.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:42:45.877Z] [2022-07-28T22:42:45.877Z] Login Succeeded [2022-07-28T22:42:45.877Z] nexus3.edgexfoundry.org:10003 [2022-07-28T22:42:45.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:42:45.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:42:45.877Z] Configure a credential helper to remove this warning. See [2022-07-28T22:42:45.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:42:45.877Z] [2022-07-28T22:42:45.877Z] Login Succeeded [2022-07-28T22:42:45.877Z] nexus3.edgexfoundry.org:10004 [2022-07-28T22:42:45.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:42:46.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:42:46.137Z] Configure a credential helper to remove this warning. See [2022-07-28T22:42:46.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:42:46.137Z] [2022-07-28T22:42:46.137Z] Login Succeeded [2022-07-28T22:42:46.137Z] docker.io [2022-07-28T22:42:46.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:42:46.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:42:46.397Z] Configure a credential helper to remove this warning. See [2022-07-28T22:42:46.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:42:46.397Z] [2022-07-28T22:42:46.397Z] Login Succeeded [2022-07-28T22:42:46.397Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T22:42:46.406Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-28T22:42:46.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T22:42:46.482Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T22:42:46.490Z] ========================================================= [2022-07-28T22:42:46.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-28T22:42:46.490Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:42:46.819Z] + 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-07-28T22:42:46.819Z] Sending build context to Docker daemon 9.784MB [2022-07-28T22:42:46.819Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T22:42:46.819Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-28T22:42:47.087Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-28T22:42:47.087Z] 2408cc74d12b: Pulling fs layer [2022-07-28T22:42:47.087Z] ea60b727a1ce: Pulling fs layer [2022-07-28T22:42:47.087Z] 30c4a7721957: Pulling fs layer [2022-07-28T22:42:47.087Z] 370296b7ddb6: Pulling fs layer [2022-07-28T22:42:47.087Z] 7c6cee850709: Pulling fs layer [2022-07-28T22:42:47.087Z] 39a5fcdaea64: Pulling fs layer [2022-07-28T22:42:47.087Z] d94ebbe4e438: Pulling fs layer [2022-07-28T22:42:47.087Z] bcfd1f05c69d: Pulling fs layer [2022-07-28T22:42:47.087Z] 59ccb84bbe0f: Pulling fs layer [2022-07-28T22:42:47.087Z] 370296b7ddb6: Waiting [2022-07-28T22:42:47.087Z] 7c6cee850709: Waiting [2022-07-28T22:42:47.087Z] d94ebbe4e438: Waiting [2022-07-28T22:42:47.087Z] 39a5fcdaea64: Waiting [2022-07-28T22:42:47.087Z] bcfd1f05c69d: Waiting [2022-07-28T22:42:47.087Z] 30c4a7721957: Download complete [2022-07-28T22:42:47.087Z] ea60b727a1ce: Verifying Checksum [2022-07-28T22:42:47.087Z] ea60b727a1ce: Download complete [2022-07-28T22:42:47.087Z] 7c6cee850709: Download complete [2022-07-28T22:42:47.087Z] 39a5fcdaea64: Verifying Checksum [2022-07-28T22:42:47.087Z] 39a5fcdaea64: Download complete [2022-07-28T22:42:47.087Z] 2408cc74d12b: Verifying Checksum [2022-07-28T22:42:47.087Z] 2408cc74d12b: Download complete [2022-07-28T22:42:47.087Z] d94ebbe4e438: Download complete [2022-07-28T22:42:47.349Z] 2408cc74d12b: Pull complete [2022-07-28T22:42:47.349Z] ea60b727a1ce: Pull complete [2022-07-28T22:42:47.349Z] 30c4a7721957: Pull complete [2022-07-28T22:42:47.610Z] 59ccb84bbe0f: Verifying Checksum [2022-07-28T22:42:47.610Z] 59ccb84bbe0f: Download complete [2022-07-28T22:42:47.873Z] bcfd1f05c69d: Verifying Checksum [2022-07-28T22:42:47.873Z] bcfd1f05c69d: Download complete [2022-07-28T22:42:47.873Z] 370296b7ddb6: Verifying Checksum [2022-07-28T22:42:47.873Z] 370296b7ddb6: Download complete [2022-07-28T22:42:52.071Z] 370296b7ddb6: Pull complete [2022-07-28T22:42:52.071Z] 7c6cee850709: Pull complete [2022-07-28T22:42:52.330Z] 39a5fcdaea64: Pull complete [2022-07-28T22:42:52.330Z] d94ebbe4e438: Pull complete [2022-07-28T22:42:54.869Z] bcfd1f05c69d: Pull complete [2022-07-28T22:42:55.439Z] 59ccb84bbe0f: Pull complete [2022-07-28T22:42:55.439Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-28T22:42:55.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-28T22:42:55.439Z] ---> a4fb48ad2a94 [2022-07-28T22:42:55.439Z] Step 3/11 : ARG MAKE=make build [2022-07-28T22:43:00.271Z] Still waiting to schedule task [2022-07-28T22:43:00.271Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-21417’ is offline [2022-07-28T22:43:00.724Z] ---> Running in 739068a81786 [2022-07-28T22:43:00.725Z] Removing intermediate container 739068a81786 [2022-07-28T22:43:00.725Z] ---> 14419be3f4c7 [2022-07-28T22:43:00.725Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-28T22:43:00.725Z] ---> Running in bf889fa77df1 [2022-07-28T22:43:00.725Z] Removing intermediate container bf889fa77df1 [2022-07-28T22:43:00.725Z] ---> 1a6d8a4f0d31 [2022-07-28T22:43:00.725Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T22:43:00.725Z] ---> Running in 6fe9984ab6f8 [2022-07-28T22:43:00.725Z] Removing intermediate container 6fe9984ab6f8 [2022-07-28T22:43:00.725Z] ---> 7e7deaddba66 [2022-07-28T22:43:00.725Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T22:43:00.725Z] ---> Running in 9d09fba9ffc2 [2022-07-28T22:43:00.984Z] Removing intermediate container 9d09fba9ffc2 [2022-07-28T22:43:00.984Z] ---> 1aa586b536d8 [2022-07-28T22:43:00.984Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T22:43:00.984Z] ---> Running in 3efaab469d9c [2022-07-28T22:43:01.244Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T22:43:02.185Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T22:43:02.445Z] OK: 211 MiB in 51 packages [2022-07-28T22:43:02.706Z] Removing intermediate container 3efaab469d9c [2022-07-28T22:43:02.706Z] ---> 2048feab83de [2022-07-28T22:43:02.706Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-28T22:43:02.966Z] ---> f9d2c0568bfc [2022-07-28T22:43:02.966Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T22:43:02.966Z] ---> Running in 2d61d62bc2d7 [2022-07-28T22:43:24.956Z] Removing intermediate container 2d61d62bc2d7 [2022-07-28T22:43:24.956Z] ---> 39c71bb21e0b [2022-07-28T22:43:24.956Z] Step 10/11 : COPY . . [2022-07-28T22:43:25.899Z] ---> 4f6be5c64ffb [2022-07-28T22:43:25.899Z] Step 11/11 : RUN ${MAKE} [2022-07-28T22:43:25.899Z] ---> Running in 20c1cdda49bd [2022-07-28T22:43:26.159Z] noop [2022-07-28T22:43:26.418Z] Removing intermediate container 20c1cdda49bd [2022-07-28T22:43:26.418Z] ---> 03108fe2b4e2 [2022-07-28T22:43:26.418Z] Successfully built 03108fe2b4e2 [2022-07-28T22:43:26.418Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:43:26.737Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-28T22:43:26.737Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:43:26.815Z] prd-ubuntu20.04-docker-8c-8g-21416 does not seem to be running inside a container [2022-07-28T22:43:26.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-28T22:43:27.193Z] $ docker top 5ee3b0311a6797425d34824f709b87c7079fc5a7c289c37943e9b41c50ceb0a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T22:43:27.538Z] + go version [2022-07-28T22:43:27.538Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-28T22:43:27.552Z] $ docker stop --time=1 5ee3b0311a6797425d34824f709b87c7079fc5a7c289c37943e9b41c50ceb0a0 [2022-07-28T22:43:28.817Z] $ docker rm -f 5ee3b0311a6797425d34824f709b87c7079fc5a7c289c37943e9b41c50ceb0a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:43:29.276Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-28T22:43:29.276Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:43:29.352Z] prd-ubuntu20.04-docker-8c-8g-21416 does not seem to be running inside a container [2022-07-28T22:43:29.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-28T22:43:29.862Z] $ docker top dd8391460ed4542f1e48b0dc39da34e40d549ab0dcc08f7c3a69065f81d0ef9f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T22:43:30.226Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] fileExists [Pipeline] sh [2022-07-28T22:43:30.542Z] + make test [2022-07-28T22:43:30.543Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-28T22:43:37.112Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-28T22:43:51.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-28T22:43:51.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-28T22:43:51.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-28T22:43:51.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.089s coverage: 23.7% of statements [2022-07-28T22:43:51.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-28T22:43:51.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 27.6% of statements [2022-07-28T22:43:51.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.099s coverage: 78.9% of statements [2022-07-28T22:43:51.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.076s coverage: 10.8% of statements [2022-07-28T22:43:51.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.091s coverage: 60.0% of statements [2022-07-28T22:43:51.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-28T22:43:51.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-28T22:43:51.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 34.8% of statements [2022-07-28T22:43:51.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-28T22:43:51.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.061s coverage: 85.4% of statements [2022-07-28T22:43:51.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-28T22:43:51.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-28T22:43:51.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 65.1% of statements [2022-07-28T22:43:51.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-28T22:43:51.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-28T22:43:51.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.731s coverage: 89.2% of statements [2022-07-28T22:43:51.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-28T22:43:51.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.9% of statements [2022-07-28T22:43:51.997Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-28T22:44:06.886Z] 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-07-28T22:44:06.886Z] GO111MODULE=on go vet ./... [2022-07-28T22:44:10.174Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-28T22:44:10.174Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-28T22:44:10.174Z] ./bin/test-attribution-txt.sh [2022-07-28T22:44:10.174Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-28T22:44:10.174Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-28T22:44:10.174Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-28T22:44:10.174Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-28T22:44:10.174Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-28T22:44:10.174Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-28T22:44:10.174Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-28T22:44:10.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-28T22:44:10.203Z] $ docker stop --time=1 dd8391460ed4542f1e48b0dc39da34e40d549ab0dcc08f7c3a69065f81d0ef9f [2022-07-28T22:44:16.292Z] $ docker rm -f dd8391460ed4542f1e48b0dc39da34e40d549ab0dcc08f7c3a69065f81d0ef9f [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T22:44:16.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-28T22:44:16.855Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-28T22:44:17.312Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-28T22:44:17.600Z] + ls -al . [2022-07-28T22:44:17.600Z] total 300 [2022-07-28T22:44:17.600Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 28 22:43 . [2022-07-28T22:44:17.600Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 22:42 .. [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 22:42 .dockerignore [2022-07-28T22:44:17.600Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 22:43 .git [2022-07-28T22:44:17.600Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 22:42 .github [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 22:42 .gitignore [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 22:42 .golangci.yml [2022-07-28T22:44:17.600Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 22:42 .semver [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 22:42 CHANGELOG.md [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 22:42 GOVERNANCE.md [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 22:42 Jenkinsfile [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 22:42 LICENSE [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 22:42 Makefile [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 22:42 OWNERS.md [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 22:42 README.md [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 22:42 VERSION [2022-07-28T22:44:17.600Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 22:42 bin [2022-07-28T22:44:17.600Z] -rw-r--r-- 1 jenkins jenkins 130804 Jul 28 22:43 coverage.out [2022-07-28T22:44:17.600Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 22:42 example [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 22:42 go.mod [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 22:42 go.sum [2022-07-28T22:44:17.600Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 22:42 internal [2022-07-28T22:44:17.600Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 22:42 openapi [2022-07-28T22:44:17.600Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 22:42 pkg [2022-07-28T22:44:17.600Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 22:42 snap [2022-07-28T22:44:17.600Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 22:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:44:17.911Z] + 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=2b502ac3635f718da5f414aaeaf9e8ec3c871002 --label arch=amd64 --label version=0.0.0 . [2022-07-28T22:44:17.911Z] Sending build context to Docker daemon 9.916MB [2022-07-28T22:44:17.911Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T22:44:17.911Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-28T22:44:17.911Z] ---> 03108fe2b4e2 [2022-07-28T22:44:17.911Z] Step 3/25 : ARG MAKE=make build [2022-07-28T22:44:18.171Z] ---> Running in 05298dba7ad5 [2022-07-28T22:44:18.171Z] Removing intermediate container 05298dba7ad5 [2022-07-28T22:44:18.171Z] ---> 0067cb33aa9b [2022-07-28T22:44:18.171Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-28T22:44:18.171Z] ---> Running in c397808a715e [2022-07-28T22:44:18.430Z] Removing intermediate container c397808a715e [2022-07-28T22:44:18.430Z] ---> 7c75f2420788 [2022-07-28T22:44:18.430Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T22:44:18.430Z] ---> Running in 4ed6ae57684e [2022-07-28T22:44:18.430Z] Removing intermediate container 4ed6ae57684e [2022-07-28T22:44:18.430Z] ---> 262da0bac596 [2022-07-28T22:44:18.430Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T22:44:18.430Z] ---> Running in 65dd4c680909 [2022-07-28T22:44:18.998Z] Removing intermediate container 65dd4c680909 [2022-07-28T22:44:18.998Z] ---> f29d341885e9 [2022-07-28T22:44:18.999Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T22:44:18.999Z] ---> Running in 2bc8b29bc959 [2022-07-28T22:44:19.258Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T22:44:20.201Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T22:44:20.460Z] OK: 211 MiB in 51 packages [2022-07-28T22:44:20.720Z] Removing intermediate container 2bc8b29bc959 [2022-07-28T22:44:20.720Z] ---> bf437224d277 [2022-07-28T22:44:20.720Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-28T22:44:20.979Z] ---> ac94a77be794 [2022-07-28T22:44:20.979Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T22:44:20.979Z] ---> Running in 490f6b26ae62 [2022-07-28T22:44:21.547Z] Removing intermediate container 490f6b26ae62 [2022-07-28T22:44:21.547Z] ---> 9a8ed04fa2f9 [2022-07-28T22:44:21.547Z] Step 10/25 : COPY . . [2022-07-28T22:44:22.116Z] ---> b4e6098f13a0 [2022-07-28T22:44:22.116Z] Step 11/25 : RUN ${MAKE} [2022-07-28T22:44:22.116Z] ---> Running in f7fcbc384ceb [2022-07-28T22:44:22.375Z] 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-07-28T22:44:40.464Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-28T22:44:44.660Z] Removing intermediate container f7fcbc384ceb [2022-07-28T22:44:44.660Z] ---> 31939697df0d [2022-07-28T22:44:44.660Z] Step 12/25 : FROM alpine:3.16 [2022-07-28T22:44:44.920Z] 3.16: Pulling from library/alpine [2022-07-28T22:44:45.180Z] 530afca65e2e: Pulling fs layer [2022-07-28T22:44:45.500Z] 530afca65e2e: Verifying Checksum [2022-07-28T22:44:45.500Z] 530afca65e2e: Download complete [2022-07-28T22:44:45.500Z] 530afca65e2e: Pull complete [2022-07-28T22:44:45.500Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-28T22:44:45.500Z] Status: Downloaded newer image for alpine:3.16 [2022-07-28T22:44:45.500Z] ---> d7d3d98c851f [2022-07-28T22:44:45.501Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T22:44:45.761Z] ---> Running in 89679fd8e8f8 [2022-07-28T22:44:45.761Z] Removing intermediate container 89679fd8e8f8 [2022-07-28T22:44:45.761Z] ---> 5da94f03be96 [2022-07-28T22:44:45.761Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T22:44:45.761Z] ---> Running in 4678b5d0179e [2022-07-28T22:44:46.331Z] Removing intermediate container 4678b5d0179e [2022-07-28T22:44:46.331Z] ---> 2f2717f0d751 [2022-07-28T22:44:46.331Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-28T22:44:46.331Z] ---> Running in 213721c94de0 [2022-07-28T22:44:46.592Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T22:44:47.534Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T22:44:47.794Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-28T22:44:48.053Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-28T22:44:48.053Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-28T22:44:48.312Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-28T22:44:48.312Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-28T22:44:48.312Z] Executing busybox-1.35.0-r15.trigger [2022-07-28T22:44:48.312Z] OK: 8 MiB in 19 packages [2022-07-28T22:44:48.881Z] Removing intermediate container 213721c94de0 [2022-07-28T22:44:48.881Z] ---> f42fef5b4645 [2022-07-28T22:44:48.881Z] Step 16/25 : WORKDIR / [2022-07-28T22:44:48.881Z] ---> Running in abf2b92d249b [2022-07-28T22:44:48.881Z] Removing intermediate container abf2b92d249b [2022-07-28T22:44:48.881Z] ---> 1338a9af7661 [2022-07-28T22:44:48.881Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-28T22:44:49.139Z] ---> 7b32af061c44 [2022-07-28T22:44:49.139Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-28T22:44:50.078Z] ---> 7dce8e33f963 [2022-07-28T22:44:50.078Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-28T22:44:50.078Z] ---> e60bf0f4cba2 [2022-07-28T22:44:50.078Z] Step 20/25 : EXPOSE 59999 [2022-07-28T22:44:50.078Z] ---> Running in e3c04fb67d59 [2022-07-28T22:44:50.339Z] Removing intermediate container e3c04fb67d59 [2022-07-28T22:44:50.339Z] ---> c0aae23724c9 [2022-07-28T22:44:50.339Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-28T22:44:50.339Z] ---> Running in 82d97b36f5a9 [2022-07-28T22:44:50.339Z] Removing intermediate container 82d97b36f5a9 [2022-07-28T22:44:50.339Z] ---> c259773b0420 [2022-07-28T22:44:50.339Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-28T22:44:50.339Z] ---> Running in 3c2ce8f81b08 [2022-07-28T22:44:50.339Z] Removing intermediate container 3c2ce8f81b08 [2022-07-28T22:44:50.339Z] ---> 5dcab9822f39 [2022-07-28T22:44:50.339Z] Step 23/25 : LABEL arch=amd64 [2022-07-28T22:44:50.339Z] ---> Running in c2e7d0c9848c [2022-07-28T22:44:50.339Z] Removing intermediate container c2e7d0c9848c [2022-07-28T22:44:50.339Z] ---> 14d45d7531c8 [2022-07-28T22:44:50.339Z] Step 24/25 : LABEL git_sha=2b502ac3635f718da5f414aaeaf9e8ec3c871002 [2022-07-28T22:44:50.599Z] ---> Running in f6ebe74af0e6 [2022-07-28T22:44:50.599Z] Removing intermediate container f6ebe74af0e6 [2022-07-28T22:44:50.599Z] ---> c13c9d95f5fd [2022-07-28T22:44:50.599Z] Step 25/25 : LABEL version=0.0.0 [2022-07-28T22:44:50.599Z] ---> Running in b30e0862a672 [2022-07-28T22:44:50.599Z] Removing intermediate container b30e0862a672 [2022-07-28T22:44:50.599Z] ---> 3fbe7105b874 [2022-07-28T22:44:50.599Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-28T22:44:50.599Z] Successfully built 3fbe7105b874 [2022-07-28T22:44:50.599Z] 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-07-28T22:44:51.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T22:44:51.041Z] [2022-07-28T22:44:51.041Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:44:51.339Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T22:44:51.340Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-28T22:44:51.340Z] 5eb5b503b376: Pulling fs layer [2022-07-28T22:44:51.340Z] 5c69ac0246d0: Pulling fs layer [2022-07-28T22:44:51.340Z] ec43610c2a17: Pulling fs layer [2022-07-28T22:44:51.340Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-28T22:44:51.340Z] 33b1e0a273af: Pulling fs layer [2022-07-28T22:44:51.340Z] 5d3b04190fa2: Pulling fs layer [2022-07-28T22:44:51.340Z] 2f39f015ded8: Pulling fs layer [2022-07-28T22:44:51.340Z] 33b1e0a273af: Waiting [2022-07-28T22:44:51.340Z] 5d3b04190fa2: Waiting [2022-07-28T22:44:51.340Z] 2f39f015ded8: Waiting [2022-07-28T22:44:51.340Z] 3a2ae6a8a46f: Waiting [2022-07-28T22:44:51.340Z] 5c69ac0246d0: Verifying Checksum [2022-07-28T22:44:51.340Z] 5c69ac0246d0: Download complete [2022-07-28T22:44:51.340Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-28T22:44:51.340Z] 3a2ae6a8a46f: Download complete [2022-07-28T22:44:51.340Z] 33b1e0a273af: Verifying Checksum [2022-07-28T22:44:51.340Z] 33b1e0a273af: Download complete [2022-07-28T22:44:51.340Z] 5d3b04190fa2: Verifying Checksum [2022-07-28T22:44:51.340Z] 5d3b04190fa2: Download complete [2022-07-28T22:44:51.598Z] ec43610c2a17: Verifying Checksum [2022-07-28T22:44:51.598Z] ec43610c2a17: Download complete [2022-07-28T22:44:51.598Z] 5eb5b503b376: Download complete [2022-07-28T22:44:52.168Z] 2f39f015ded8: Verifying Checksum [2022-07-28T22:44:52.168Z] 2f39f015ded8: Download complete [2022-07-28T22:44:53.109Z] 5eb5b503b376: Pull complete [2022-07-28T22:44:53.109Z] 5c69ac0246d0: Pull complete [2022-07-28T22:44:53.367Z] ec43610c2a17: Pull complete [2022-07-28T22:44:53.626Z] 3a2ae6a8a46f: Pull complete [2022-07-28T22:44:53.886Z] 33b1e0a273af: Pull complete [2022-07-28T22:44:53.886Z] 5d3b04190fa2: Pull complete [2022-07-28T22:44:59.234Z] 2f39f015ded8: Pull complete [2022-07-28T22:44:59.234Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-28T22:44:59.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T22:44:59.234Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:44:59.337Z] prd-ubuntu20.04-docker-8c-8g-21416 does not seem to be running inside a container [2022-07-28T22:44:59.373Z] $ 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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-28T22:45:05.728Z] $ docker top 882ac960b98d7e28a897f2c18991e7a8a2af6684942735514997b63aa3f8c3c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:45:06.120Z] ---> job-cost.sh [2022-07-28T22:45:06.120Z] lf-activate-venv: SKIPPING [2022-07-28T22:45:06.120Z] INFO: No Stack... [2022-07-28T22:45:06.380Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-28T22:45:06.951Z] INFO: Archiving Costs [Pipeline] sh [2022-07-28T22:45:07.243Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/cost.csv [2022-07-28T22:45:07.243Z] + cut -d, -f6 [Pipeline] lock [2022-07-28T22:45:07.259Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-3-stack-cost] [2022-07-28T22:45:07.264Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-3-stack-cost] did not exist. Created. [2022-07-28T22:45:07.264Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-28T22:45:07.572Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-28T22:45:07.607Z] Stashed 1 file(s) [Pipeline] } [2022-07-28T22:45:07.613Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-28T22:45:07.636Z] $ docker stop --time=1 882ac960b98d7e28a897f2c18991e7a8a2af6684942735514997b63aa3f8c3c3 [2022-07-28T22:45:08.788Z] $ docker rm -f 882ac960b98d7e28a897f2c18991e7a8a2af6684942735514997b63aa3f8c3c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-28T22:45:21.934Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21418 in /w/workspace/gexfoundry_device-sdk-go_PR-1196 [Pipeline] { [Pipeline] ws [2022-07-28T22:45:21.949Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2022-07-28T22:45:21.996Z] The recommended git tool is: git [2022-07-28T22:45:28.233Z] using credential edgex-jenkins-ssh [2022-07-28T22:45:28.296Z] Cloning the remote Git repository [2022-07-28T22:45:28.402Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-07-28T22:45:28.536Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2022-07-28T22:45:28.627Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-28T22:45:28.628Z] > git --version # timeout=10 [2022-07-28T22:45:28.649Z] > git --version # 'git version 2.25.1' [2022-07-28T22:45:28.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T22:45:28.733Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-28T22:45:30.826Z] Merging remotes/origin/main commit 9201c30d3cbedfb69842190fa0e339608ffa0cc3 into PR head commit e9867ceccc81c4680e14fc13c8919f6907f05772 [2022-07-28T22:45:30.097Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-28T22:45:30.118Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-28T22:45:30.155Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-28T22:45:30.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-28T22:45:30.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T22:45:30.214Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1196/head:refs/remotes/origin/PR-1196 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-28T22:45:30.850Z] > git config core.sparsecheckout # timeout=10 [2022-07-28T22:45:30.865Z] > git checkout -f e9867ceccc81c4680e14fc13c8919f6907f05772 # timeout=10 [2022-07-28T22:45:30.986Z] > git remote # timeout=10 [2022-07-28T22:45:31.005Z] > git config --get remote.origin.url # timeout=10 [2022-07-28T22:45:31.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T22:45:31.031Z] > git merge 9201c30d3cbedfb69842190fa0e339608ffa0cc3 # timeout=10 [2022-07-28T22:45:31.126Z] Merge succeeded, producing bda5eedae8756d4f3808d1642f9c009be10155a3 [2022-07-28T22:45:31.127Z] Checking out Revision bda5eedae8756d4f3808d1642f9c009be10155a3 (PR-1196) [2022-07-28T22:45:31.112Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-28T22:45:31.137Z] > git config core.sparsecheckout # timeout=10 [2022-07-28T22:45:31.155Z] > git checkout -f bda5eedae8756d4f3808d1642f9c009be10155a3 # timeout=10 [2022-07-28T22:45:35.429Z] Commit message: "Merge commit '9201c30d3cbedfb69842190fa0e339608ffa0cc3' into HEAD" [2022-07-28T22:45:35.455Z] First time build. Skipping changelog. [2022-07-28T22:45:35.441Z] > git rev-list --no-walk 1f05d8d7579188a8fbfccf07c9a7d7f37c737a48 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T22:45:36.304Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-28T22:45:36.304Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T22:45:36.304Z] Dload Upload Total Spent Left Speed [2022-07-28T22:45:36.304Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2022-07-28T22:45:37.088Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-28T22:45:37.434Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-28T22:45:37.434Z] + sudo tee /etc/docker/daemon.new [2022-07-28T22:45:37.434Z] { [2022-07-28T22:45:37.434Z] "registry-mirrors": [ [2022-07-28T22:45:37.434Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-28T22:45:37.434Z] ], [2022-07-28T22:45:37.434Z] "bip": "10.250.0.254/24", [2022-07-28T22:45:37.434Z] "hosts": [ [2022-07-28T22:45:37.434Z] "tcp://0.0.0.0:5555", [2022-07-28T22:45:37.434Z] "unix:///var/run/docker.sock" [2022-07-28T22:45:37.434Z] ], [2022-07-28T22:45:37.434Z] "mtu": 1458, [2022-07-28T22:45:37.434Z] "selinux-enabled": true, [2022-07-28T22:45:37.434Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-28T22:45:37.434Z] } [Pipeline] sh [2022-07-28T22:45:37.786Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-28T22:45:38.128Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T22:45:56.467Z] provisioning config files... [2022-07-28T22:45:56.493Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3899073347486875121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:45:56.866Z] ---> docker-login.sh [2022-07-28T22:45:56.866Z] nexus3.edgexfoundry.org:10001 [2022-07-28T22:45:57.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:45:57.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:45:57.744Z] Configure a credential helper to remove this warning. See [2022-07-28T22:45:57.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:45:57.744Z] [2022-07-28T22:45:57.744Z] Login Succeeded [2022-07-28T22:45:57.744Z] nexus3.edgexfoundry.org:10002 [2022-07-28T22:45:58.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:45:58.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:45:58.294Z] Configure a credential helper to remove this warning. See [2022-07-28T22:45:58.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:45:58.294Z] [2022-07-28T22:45:58.294Z] Login Succeeded [2022-07-28T22:45:58.294Z] nexus3.edgexfoundry.org:10003 [2022-07-28T22:45:58.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:45:58.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:45:58.569Z] Configure a credential helper to remove this warning. See [2022-07-28T22:45:58.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:45:58.569Z] [2022-07-28T22:45:58.569Z] Login Succeeded [2022-07-28T22:45:58.851Z] nexus3.edgexfoundry.org:10004 [2022-07-28T22:45:59.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:45:59.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:45:59.132Z] Configure a credential helper to remove this warning. See [2022-07-28T22:45:59.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:45:59.132Z] [2022-07-28T22:45:59.132Z] Login Succeeded [2022-07-28T22:45:59.132Z] docker.io [2022-07-28T22:45:59.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T22:46:00.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T22:46:00.007Z] Configure a credential helper to remove this warning. See [2022-07-28T22:46:00.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T22:46:00.007Z] [2022-07-28T22:46:00.007Z] Login Succeeded [2022-07-28T22:46:00.007Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T22:46:00.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-28T22:46:00.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T22:46:00.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T22:46:00.617Z] ========================================================= [2022-07-28T22:46:00.617Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-28T22:46:00.617Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:46:01.023Z] + 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-07-28T22:46:01.630Z] Sending build context to Docker daemon 5.259MB [2022-07-28T22:46:01.630Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T22:46:01.630Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-28T22:46:01.630Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-28T22:46:01.630Z] b3c136eddcbf: Pulling fs layer [2022-07-28T22:46:01.630Z] c0a3192eca97: Pulling fs layer [2022-07-28T22:46:01.630Z] a050256f5b6f: Pulling fs layer [2022-07-28T22:46:01.630Z] 656be50a0ddc: Pulling fs layer [2022-07-28T22:46:01.630Z] 2bbca73fdf42: Pulling fs layer [2022-07-28T22:46:01.630Z] 46d945488cbd: Pulling fs layer [2022-07-28T22:46:01.630Z] 8a5474983e97: Pulling fs layer [2022-07-28T22:46:01.630Z] 329c88fbcd65: Pulling fs layer [2022-07-28T22:46:01.630Z] 656be50a0ddc: Waiting [2022-07-28T22:46:01.630Z] 2bbca73fdf42: Waiting [2022-07-28T22:46:01.630Z] 46d945488cbd: Waiting [2022-07-28T22:46:01.630Z] 8a5474983e97: Waiting [2022-07-28T22:46:01.630Z] 329c88fbcd65: Waiting [2022-07-28T22:46:01.630Z] a050256f5b6f: Verifying Checksum [2022-07-28T22:46:01.630Z] a050256f5b6f: Download complete [2022-07-28T22:46:01.630Z] c0a3192eca97: Verifying Checksum [2022-07-28T22:46:01.630Z] c0a3192eca97: Download complete [2022-07-28T22:46:01.914Z] 2bbca73fdf42: Verifying Checksum [2022-07-28T22:46:01.914Z] 2bbca73fdf42: Download complete [2022-07-28T22:46:01.914Z] b3c136eddcbf: Verifying Checksum [2022-07-28T22:46:01.914Z] 46d945488cbd: Verifying Checksum [2022-07-28T22:46:01.914Z] 46d945488cbd: Download complete [2022-07-28T22:46:02.912Z] b3c136eddcbf: Pull complete [2022-07-28T22:46:02.912Z] 329c88fbcd65: Verifying Checksum [2022-07-28T22:46:02.912Z] 329c88fbcd65: Download complete [2022-07-28T22:46:03.519Z] c0a3192eca97: Pull complete [2022-07-28T22:46:03.794Z] a050256f5b6f: Pull complete [2022-07-28T22:46:04.068Z] 8a5474983e97: Verifying Checksum [2022-07-28T22:46:04.068Z] 8a5474983e97: Download complete [2022-07-28T22:46:05.049Z] 656be50a0ddc: Verifying Checksum [2022-07-28T22:46:05.049Z] 656be50a0ddc: Download complete [2022-07-28T22:46:17.452Z] 656be50a0ddc: Pull complete [2022-07-28T22:46:17.727Z] 2bbca73fdf42: Pull complete [2022-07-28T22:46:18.003Z] 46d945488cbd: Pull complete [2022-07-28T22:46:24.741Z] 8a5474983e97: Pull complete [2022-07-28T22:46:26.184Z] 329c88fbcd65: Pull complete [2022-07-28T22:46:26.184Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-28T22:46:26.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-28T22:46:26.184Z] ---> ff4287adb874 [2022-07-28T22:46:26.184Z] Step 3/11 : ARG MAKE=make build [2022-07-28T22:46:28.175Z] ---> Running in 653830c10f04 [2022-07-28T22:46:29.152Z] Removing intermediate container 653830c10f04 [2022-07-28T22:46:29.152Z] ---> 887cebd1f3c8 [2022-07-28T22:46:29.152Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-28T22:46:29.153Z] ---> Running in f365ff278d02 [2022-07-28T22:46:29.427Z] Removing intermediate container f365ff278d02 [2022-07-28T22:46:29.427Z] ---> 23a2144b9b31 [2022-07-28T22:46:29.427Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T22:46:29.713Z] ---> Running in 0be3f4bb024d [2022-07-28T22:46:29.985Z] Removing intermediate container 0be3f4bb024d [2022-07-28T22:46:29.985Z] ---> 03292fb42e3e [2022-07-28T22:46:29.985Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T22:46:29.985Z] ---> Running in b1a6466d29f3 [2022-07-28T22:46:31.983Z] Removing intermediate container b1a6466d29f3 [2022-07-28T22:46:31.983Z] ---> 48976e919bff [2022-07-28T22:46:31.983Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T22:46:31.983Z] ---> Running in 996d42239888 [2022-07-28T22:46:32.966Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T22:46:33.951Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T22:46:34.935Z] OK: 221 MiB in 51 packages [2022-07-28T22:46:35.536Z] Removing intermediate container 996d42239888 [2022-07-28T22:46:35.536Z] ---> 4b6623f2f1ba [2022-07-28T22:46:35.536Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-28T22:46:36.138Z] ---> 318b0b9022d8 [2022-07-28T22:46:36.138Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T22:46:36.138Z] ---> Running in dc3e48619e1a [2022-07-28T22:47:32.708Z] Removing intermediate container dc3e48619e1a [2022-07-28T22:47:32.708Z] ---> 343c0de8b8b3 [2022-07-28T22:47:32.708Z] Step 10/11 : COPY . . [2022-07-28T22:47:32.708Z] ---> b6b00f135ca7 [2022-07-28T22:47:32.708Z] Step 11/11 : RUN ${MAKE} [2022-07-28T22:47:32.708Z] ---> Running in 7813ad03c0a7 [2022-07-28T22:47:32.708Z] noop [2022-07-28T22:47:32.708Z] Removing intermediate container 7813ad03c0a7 [2022-07-28T22:47:32.708Z] ---> 88a336806ca4 [2022-07-28T22:47:32.708Z] Successfully built 88a336806ca4 [2022-07-28T22:47:32.708Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:47:33.091Z] + docker inspect -f . ci-base-image-arm64 [2022-07-28T22:47:33.091Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:47:33.348Z] prd-ubuntu20.04-docker-arm64-4c-16g-21418 does not seem to be running inside a container [2022-07-28T22:47:33.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-28T22:47:34.855Z] $ docker top 2783a9fbc0387bdd83198cdb0c84d98bd5785fd1b62acb1d6d6f928c223b3023 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T22:47:35.806Z] + go version [2022-07-28T22:47:35.806Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-28T22:47:35.836Z] $ docker stop --time=1 2783a9fbc0387bdd83198cdb0c84d98bd5785fd1b62acb1d6d6f928c223b3023 [2022-07-28T22:47:37.466Z] $ docker rm -f 2783a9fbc0387bdd83198cdb0c84d98bd5785fd1b62acb1d6d6f928c223b3023 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:47:38.095Z] + docker inspect -f . ci-base-image-arm64 [2022-07-28T22:47:38.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:47:38.352Z] prd-ubuntu20.04-docker-arm64-4c-16g-21418 does not seem to be running inside a container [2022-07-28T22:47:38.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-28T22:47:39.840Z] $ docker top a9aa8b4e254c192beac3d87b2f3cfa82f3fea4ce75bc26880c2eb3ac13d73943 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T22:47:40.787Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2022-07-28T22:47:41.465Z] + make test [2022-07-28T22:47:41.465Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-28T22:48:20.514Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-28T22:50:12.423Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-28T22:50:12.423Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-28T22:50:12.423Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-28T22:50:13.874Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.337s coverage: 23.7% of statements [2022-07-28T22:50:13.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-28T22:50:13.875Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.286s coverage: 27.6% of statements [2022-07-28T22:50:13.875Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.334s coverage: 78.9% of statements [2022-07-28T22:50:13.875Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.279s coverage: 10.8% of statements [2022-07-28T22:50:19.313Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.600s coverage: 60.0% of statements [2022-07-28T22:50:19.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-28T22:50:19.313Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-28T22:50:21.956Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.366s coverage: 34.8% of statements [2022-07-28T22:50:21.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-28T22:50:23.403Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.314s coverage: 85.4% of statements [2022-07-28T22:50:23.403Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-28T22:50:23.403Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-28T22:50:23.403Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.463s coverage: 65.1% of statements [2022-07-28T22:50:23.403Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-28T22:50:23.403Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-28T22:50:27.735Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.974s coverage: 89.2% of statements [2022-07-28T22:50:27.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-28T22:50:28.333Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.240s coverage: 4.9% of statements [2022-07-28T22:50:28.333Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-28T22:50:28.933Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-28T22:50:28.933Z] GO111MODULE=on go vet ./... [2022-07-28T22:52:05.807Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-28T22:52:05.807Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-28T22:52:05.807Z] ./bin/test-attribution-txt.sh [2022-07-28T22:52:05.807Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-28T22:52:05.807Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-28T22:52:05.807Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-28T22:52:05.807Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-28T22:52:05.807Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-28T22:52:05.807Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-28T22:52:05.807Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-28T22:52:05.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-28T22:52:05.842Z] $ docker stop --time=1 a9aa8b4e254c192beac3d87b2f3cfa82f3fea4ce75bc26880c2eb3ac13d73943 [2022-07-28T22:52:07.734Z] $ docker rm -f a9aa8b4e254c192beac3d87b2f3cfa82f3fea4ce75bc26880c2eb3ac13d73943 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T22:52:09.375Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-28T22:52:09.403Z] Warning: overwriting stash ‘coverage-report’ [2022-07-28T22:52:10.023Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T22:52:10.436Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-28T22:52:10.784Z] + ls -al . [2022-07-28T22:52:10.784Z] total 296 [2022-07-28T22:52:10.784Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 22:47 . [2022-07-28T22:52:10.784Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 22:45 .. [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 22:45 .dockerignore [2022-07-28T22:52:10.784Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 22:45 .git [2022-07-28T22:52:10.784Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 22:45 .github [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 22:45 .gitignore [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 22:45 .golangci.yml [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 22:45 CHANGELOG.md [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 22:45 GOVERNANCE.md [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 22:45 Jenkinsfile [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 22:45 LICENSE [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 22:45 Makefile [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 22:45 OWNERS.md [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 22:45 README.md [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 22:42 VERSION [2022-07-28T22:52:10.784Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 22:45 bin [2022-07-28T22:52:10.784Z] -rw-r--r-- 1 jenkins jenkins 130803 Jul 28 22:50 coverage.out [2022-07-28T22:52:10.784Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 22:45 example [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 22:45 go.mod [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 22:45 go.sum [2022-07-28T22:52:10.784Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 22:45 internal [2022-07-28T22:52:10.784Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 22:45 openapi [2022-07-28T22:52:10.784Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 22:45 pkg [2022-07-28T22:52:10.784Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 22:45 snap [2022-07-28T22:52:10.784Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 22:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:52:11.147Z] + 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=bda5eedae8756d4f3808d1642f9c009be10155a3 --label arch=arm64 --label version=0.0.0 . [2022-07-28T22:52:11.748Z] Sending build context to Docker daemon 5.39MB [2022-07-28T22:52:11.748Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T22:52:11.748Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-28T22:52:11.748Z] ---> 88a336806ca4 [2022-07-28T22:52:11.748Z] Step 3/25 : ARG MAKE=make build [2022-07-28T22:52:11.748Z] ---> Running in 2e850eaec508 [2022-07-28T22:52:12.024Z] Removing intermediate container 2e850eaec508 [2022-07-28T22:52:12.024Z] ---> 2e97b99aaf19 [2022-07-28T22:52:12.024Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-28T22:52:12.024Z] ---> Running in 27587cc859cb [2022-07-28T22:52:12.629Z] Removing intermediate container 27587cc859cb [2022-07-28T22:52:12.629Z] ---> 3bcc0572c948 [2022-07-28T22:52:12.629Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T22:52:12.629Z] ---> Running in d9b86eeaba1c [2022-07-28T22:52:12.905Z] Removing intermediate container d9b86eeaba1c [2022-07-28T22:52:12.905Z] ---> e7d09b2c833a [2022-07-28T22:52:12.905Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T22:52:12.905Z] ---> Running in 65c22a33510a [2022-07-28T22:52:14.898Z] Removing intermediate container 65c22a33510a [2022-07-28T22:52:14.898Z] ---> c0a76e614311 [2022-07-28T22:52:14.898Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T22:52:14.898Z] ---> Running in 3cc627dcc23a [2022-07-28T22:52:15.887Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T22:52:16.867Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T22:52:17.468Z] OK: 221 MiB in 51 packages [2022-07-28T22:52:18.455Z] Removing intermediate container 3cc627dcc23a [2022-07-28T22:52:18.455Z] ---> 02a0aa021e3d [2022-07-28T22:52:18.455Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-28T22:52:19.056Z] ---> 4b37d36f38de [2022-07-28T22:52:19.056Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T22:52:19.056Z] ---> Running in ba6af89ea15a [2022-07-28T22:52:21.042Z] Removing intermediate container ba6af89ea15a [2022-07-28T22:52:21.042Z] ---> 4d654bf8dddc [2022-07-28T22:52:21.042Z] Step 10/25 : COPY . . [2022-07-28T22:52:22.026Z] ---> 913c4ab618e0 [2022-07-28T22:52:22.026Z] Step 11/25 : RUN ${MAKE} [2022-07-28T22:52:22.305Z] ---> Running in 153a3ab95428 [2022-07-28T22:52:23.288Z] 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-07-28T22:54:30.238Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-28T22:54:30.838Z] Removing intermediate container 153a3ab95428 [2022-07-28T22:54:30.838Z] ---> 887675721b60 [2022-07-28T22:54:30.838Z] Step 12/25 : FROM alpine:3.16 [2022-07-28T22:54:31.821Z] 3.16: Pulling from library/alpine [2022-07-28T22:54:31.821Z] f97344484467: Pulling fs layer [2022-07-28T22:54:32.098Z] f97344484467: Verifying Checksum [2022-07-28T22:54:32.098Z] f97344484467: Download complete [2022-07-28T22:54:32.699Z] f97344484467: Pull complete [2022-07-28T22:54:32.699Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-28T22:54:32.699Z] Status: Downloaded newer image for alpine:3.16 [2022-07-28T22:54:32.699Z] ---> 3d81c46cd875 [2022-07-28T22:54:32.699Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T22:54:32.699Z] ---> Running in 7ac9b395fa51 [2022-07-28T22:54:33.300Z] Removing intermediate container 7ac9b395fa51 [2022-07-28T22:54:33.300Z] ---> 83197908f777 [2022-07-28T22:54:33.300Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T22:54:33.300Z] ---> Running in 8a58d51eb0e8 [2022-07-28T22:54:35.282Z] Removing intermediate container 8a58d51eb0e8 [2022-07-28T22:54:35.282Z] ---> 49d177bb89df [2022-07-28T22:54:35.282Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-28T22:54:35.282Z] ---> Running in f67d85f20f23 [2022-07-28T22:54:35.882Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T22:54:36.862Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T22:54:37.844Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-28T22:54:37.844Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-28T22:54:38.118Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-28T22:54:38.118Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-28T22:54:38.395Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-28T22:54:38.395Z] Executing busybox-1.35.0-r15.trigger [2022-07-28T22:54:38.395Z] OK: 8 MiB in 19 packages [2022-07-28T22:54:39.386Z] Removing intermediate container f67d85f20f23 [2022-07-28T22:54:39.386Z] ---> 9c594365fa73 [2022-07-28T22:54:39.386Z] Step 16/25 : WORKDIR / [2022-07-28T22:54:39.386Z] ---> Running in 22202da7884a [2022-07-28T22:54:39.661Z] Removing intermediate container 22202da7884a [2022-07-28T22:54:39.661Z] ---> 9d3fa3fa2c73 [2022-07-28T22:54:39.661Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-28T22:54:40.263Z] ---> f515dea99dd2 [2022-07-28T22:54:40.263Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-28T22:54:41.711Z] ---> fb1a15026bd5 [2022-07-28T22:54:41.711Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-28T22:54:42.312Z] ---> 1b7122579eac [2022-07-28T22:54:42.312Z] Step 20/25 : EXPOSE 59999 [2022-07-28T22:54:42.312Z] ---> Running in f3fb6495c384 [2022-07-28T22:54:42.592Z] Removing intermediate container f3fb6495c384 [2022-07-28T22:54:42.592Z] ---> 90a8f22baa7b [2022-07-28T22:54:42.592Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-28T22:54:42.868Z] ---> Running in 0cd7593bc2af [2022-07-28T22:54:43.144Z] Removing intermediate container 0cd7593bc2af [2022-07-28T22:54:43.144Z] ---> d539c2ed3433 [2022-07-28T22:54:43.144Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-28T22:54:43.145Z] ---> Running in bc398b5cbda1 [2022-07-28T22:54:43.432Z] Removing intermediate container bc398b5cbda1 [2022-07-28T22:54:43.432Z] ---> 567484665f26 [2022-07-28T22:54:43.432Z] Step 23/25 : LABEL arch=arm64 [2022-07-28T22:54:43.706Z] ---> Running in 35973f3f930f [2022-07-28T22:54:43.981Z] Removing intermediate container 35973f3f930f [2022-07-28T22:54:43.981Z] ---> a5a5a687af8c [2022-07-28T22:54:43.981Z] Step 24/25 : LABEL git_sha=bda5eedae8756d4f3808d1642f9c009be10155a3 [2022-07-28T22:54:43.981Z] ---> Running in 75d23fdab7c4 [2022-07-28T22:54:44.259Z] Removing intermediate container 75d23fdab7c4 [2022-07-28T22:54:44.259Z] ---> f79b5b27237d [2022-07-28T22:54:44.259Z] Step 25/25 : LABEL version=0.0.0 [2022-07-28T22:54:44.260Z] ---> Running in eb5a8e7aa32e [2022-07-28T22:54:44.535Z] Removing intermediate container eb5a8e7aa32e [2022-07-28T22:54:44.535Z] ---> 502a0727c508 [2022-07-28T22:54:44.535Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-28T22:54:44.808Z] Successfully built 502a0727c508 [2022-07-28T22:54:44.808Z] 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-07-28T22:54:45.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T22:54:45.271Z] [2022-07-28T22:54:45.271Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:54:45.623Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T22:54:45.908Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-28T22:54:45.908Z] 8998bd30e6a1: Pulling fs layer [2022-07-28T22:54:45.908Z] 04944245beec: Pulling fs layer [2022-07-28T22:54:45.908Z] 699f458cf7ca: Pulling fs layer [2022-07-28T22:54:45.908Z] 765212b225bb: Pulling fs layer [2022-07-28T22:54:45.908Z] f23df028b6ca: Pulling fs layer [2022-07-28T22:54:45.908Z] d65c8cfc05b1: Pulling fs layer [2022-07-28T22:54:45.908Z] 2437ff75d9bd: Pulling fs layer [2022-07-28T22:54:45.908Z] 765212b225bb: Waiting [2022-07-28T22:54:45.908Z] f23df028b6ca: Waiting [2022-07-28T22:54:45.908Z] d65c8cfc05b1: Waiting [2022-07-28T22:54:45.908Z] 2437ff75d9bd: Waiting [2022-07-28T22:54:45.908Z] 04944245beec: Verifying Checksum [2022-07-28T22:54:45.908Z] 04944245beec: Download complete [2022-07-28T22:54:45.908Z] 765212b225bb: Verifying Checksum [2022-07-28T22:54:45.908Z] 765212b225bb: Download complete [2022-07-28T22:54:45.908Z] f23df028b6ca: Verifying Checksum [2022-07-28T22:54:45.908Z] f23df028b6ca: Download complete [2022-07-28T22:54:45.908Z] d65c8cfc05b1: Verifying Checksum [2022-07-28T22:54:45.908Z] d65c8cfc05b1: Download complete [2022-07-28T22:54:46.185Z] 699f458cf7ca: Verifying Checksum [2022-07-28T22:54:46.185Z] 699f458cf7ca: Download complete [2022-07-28T22:54:46.461Z] 8998bd30e6a1: Verifying Checksum [2022-07-28T22:54:46.461Z] 8998bd30e6a1: Download complete [2022-07-28T22:54:49.104Z] 2437ff75d9bd: Verifying Checksum [2022-07-28T22:54:49.105Z] 2437ff75d9bd: Download complete [2022-07-28T22:54:51.096Z] 8998bd30e6a1: Pull complete [2022-07-28T22:54:51.372Z] 04944245beec: Pull complete [2022-07-28T22:54:52.824Z] 699f458cf7ca: Pull complete [2022-07-28T22:54:53.100Z] 765212b225bb: Pull complete [2022-07-28T22:54:54.085Z] f23df028b6ca: Pull complete [2022-07-28T22:54:54.359Z] d65c8cfc05b1: Pull complete [2022-07-28T22:55:09.469Z] 2437ff75d9bd: Pull complete [2022-07-28T22:55:09.469Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-28T22:55:09.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T22:55:09.469Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:55:09.748Z] prd-ubuntu20.04-docker-arm64-4c-16g-21418 does not seem to be running inside a container [2022-07-28T22:55:09.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-28T22:55:12.719Z] $ docker top 726f351b9e1521f36576adb80c152644fc421d17bce8969ff79586a7709c3960 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:55:13.666Z] ---> job-cost.sh [2022-07-28T22:55:13.666Z] lf-activate-venv: SKIPPING [2022-07-28T22:55:13.666Z] INFO: No Stack... [2022-07-28T22:55:14.265Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-28T22:55:15.243Z] INFO: Archiving Costs [Pipeline] sh [2022-07-28T22:55:15.910Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2022-07-28T22:55:15.910Z] + cut -d, -f6 [Pipeline] lock [2022-07-28T22:55:15.977Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1196-3-stack-cost] [2022-07-28T22:55:15.984Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-3-stack-cost] did not exist. Created. [2022-07-28T22:55:15.984Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1196-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-28T22:55:16.666Z] /w/workspace/device-sdk-go/3@tmp/durable-16db7c6f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-28T22:55:17.413Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-28T22:55:17.438Z] Warning: overwriting stash ‘stack-cost’ [2022-07-28T22:55:17.572Z] Stashed 1 file(s) [Pipeline] } [2022-07-28T22:55:17.578Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1196-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-28T22:55:17.601Z] $ docker stop --time=1 726f351b9e1521f36576adb80c152644fc421d17bce8969ff79586a7709c3960 [2022-07-28T22:55:19.141Z] $ docker rm -f 726f351b9e1521f36576adb80c152644fc421d17bce8969ff79586a7709c3960 [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-07-28T22:55:19.628Z] provisioning config files... [2022-07-28T22:55:19.636Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config7579998228407570114tmp [Pipeline] { [Pipeline] sh [2022-07-28T22:55:19.929Z] + set +x [2022-07-28T22:55:19.929Z] + curl -s https://codecov.io/bash [2022-07-28T22:55:19.929Z] + bash -s -- [2022-07-28T22:55:19.929Z] [2022-07-28T22:55:19.929Z] _____ _ [2022-07-28T22:55:19.929Z] / ____| | | [2022-07-28T22:55:19.929Z] | | ___ __| | ___ ___ _____ __ [2022-07-28T22:55:19.929Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-28T22:55:19.929Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-28T22:55:19.929Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-28T22:55:19.929Z] Bash-1.0.6 [2022-07-28T22:55:19.929Z] [2022-07-28T22:55:19.929Z] [2022-07-28T22:55:19.929Z] ==> git version 2.25.1 found [2022-07-28T22:55:19.929Z] ==> 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-07-28T22:55:19.929Z] Release-Date: 2020-01-08 [2022-07-28T22:55:19.929Z] 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-07-28T22:55:19.929Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-28T22:55:19.929Z] ==> Jenkins CI detected. [2022-07-28T22:55:19.929Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-07-28T22:55:19.929Z] project root: . [2022-07-28T22:55:19.929Z] --> token set from env [2022-07-28T22:55:19.929Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-28T22:55:19.929Z] ==> Running gcov in . (disable via -X gcov) [2022-07-28T22:55:19.929Z] ==> Python coveragepy not found [2022-07-28T22:55:19.929Z] ==> Searching for coverage reports in: [2022-07-28T22:55:19.929Z] + . [2022-07-28T22:55:19.929Z] -> Found 1 reports [2022-07-28T22:55:19.929Z] ==> Detecting git/mercurial file structure [2022-07-28T22:55:19.929Z] ==> Reading reports [2022-07-28T22:55:19.929Z] + ./coverage.out bytes=130803 [2022-07-28T22:55:19.929Z] ==> Appending adjustments [2022-07-28T22:55:19.929Z] https://docs.codecov.io/docs/fixing-reports [2022-07-28T22:55:20.499Z] + Found adjustments [2022-07-28T22:55:20.499Z] ==> Gzipping contents [2022-07-28T22:55:20.499Z] 20K /tmp/codecov.OP2DXd.gz [2022-07-28T22:55:20.499Z] ==> Uploading reports [2022-07-28T22:55:20.499Z] url: https://codecov.io [2022-07-28T22:55:20.499Z] query: branch=PR-1196&commit=2b502ac3635f718da5f414aaeaf9e8ec3c871002&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-07-28T22:55:20.499Z] -> Pinging Codecov [2022-07-28T22:55:20.499Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1196&commit=2b502ac3635f718da5f414aaeaf9e8ec3c871002&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1196%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1196&job=&cmd_args= [2022-07-28T22:55:20.499Z] -> Uploading to [2022-07-28T22:55:20.499Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-28/7E55EF52A471D76F132DFD9A03CDDE97/2b502ac3635f718da5f414aaeaf9e8ec3c871002/1db640c0-2a54-4353-891a-41a663df3172.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220728%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220728T225520Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69aa03fe334acb898fb83494dca6da532edce70525db082be83314576a12def6 [2022-07-28T22:55:20.499Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T22:55:20.499Z] Dload Upload Total Spent Left Speed [2022-07-28T22:55:20.758Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17206 0 0 100 17206 0 66432 --:--:-- --:--:-- --:--:-- 66432 [2022-07-28T22:55:20.759Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2b502ac3635f718da5f414aaeaf9e8ec3c871002 [Pipeline] } [2022-07-28T22:55:20.766Z] 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-07-28T22:55:21.474Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives ] [2022-07-28T22:55:21.474Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-07-28T22:55:21.474Z] total 16 [2022-07-28T22:55:21.474Z] drwxr-xr-x 3 root root 4096 Jul 28 22:45 . [2022-07-28T22:55:21.474Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 22:45 .. [2022-07-28T22:55:21.474Z] drwxr-xr-x 2 root root 4096 Jul 28 22:45 cost [2022-07-28T22:55:21.474Z] -rw-r--r-- 1 root root 86 Jul 28 22:45 cost.csv [2022-07-28T22:55:21.474Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-07-28T22:55:21.474Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives [2022-07-28T22:55:21.474Z] total 16 [2022-07-28T22:55:21.474Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 22:45 . [2022-07-28T22:55:21.474Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 22:45 .. [2022-07-28T22:55:21.475Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 22:45 cost [2022-07-28T22:55:21.475Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 28 22:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:55:21.766Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:55:22.631Z] ---> package-listing.sh [2022-07-28T22:55:22.631Z] ++ facter osfamily [2022-07-28T22:55:22.631Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-28T22:55:22.890Z] + OS_FAMILY=debian [2022-07-28T22:55:22.890Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1196 [2022-07-28T22:55:22.890Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-28T22:55:22.890Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-28T22:55:22.890Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-28T22:55:22.890Z] + PACKAGES=/tmp/packages_start.txt [2022-07-28T22:55:22.890Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-07-28T22:55:22.890Z] + PACKAGES=/tmp/packages_end.txt [2022-07-28T22:55:22.890Z] + case "${OS_FAMILY}" in [2022-07-28T22:55:22.890Z] + dpkg -l [2022-07-28T22:55:22.890Z] + grep '^ii' [2022-07-28T22:55:22.890Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-28T22:55:22.890Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-28T22:55:22.890Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-28T22:55:22.890Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1196 ']' [2022-07-28T22:55:22.890Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [2022-07-28T22:55:22.890Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1196/archives/ [Pipeline] echo [2022-07-28T22:55:22.903Z] 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-1196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-28T22:55:23.183Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T22:55:23.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T22:55:23.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T22:55:23.836Z] prd-ubuntu20.04-docker-8c-8g-21416 does not seem to be running inside a container [2022-07-28T22:55:23.875Z] $ 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-1196/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-1196 -v /w/workspace/gexfoundry_device-sdk-go_PR-1196:/w/workspace/gexfoundry_device-sdk-go_PR-1196:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-28T22:55:24.130Z] $ docker top 6a5d0d201b022f6d0618bbb725d99a71ab682ca445ccde6c073e0a2aa963667c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T22:55:24.494Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-28T22:55:24.801Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-28T22:55:25.091Z] + ls /var/log/sa-host [2022-07-28T22:55:25.091Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T22:55:25.229Z] provisioning config files... [2022-07-28T22:55:25.236Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1196@tmp/config3302097430183448336tmp [Pipeline] { [Pipeline] echo [2022-07-28T22:55:25.254Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:55:25.541Z] ---> create-netrc.sh [Pipeline] } [2022-07-28T22:55:25.549Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:55:25.893Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-28T22:55:25.902Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:55:26.185Z] ---> sudo-logs.sh [2022-07-28T22:55:26.185Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-28T22:55:26.210Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:55:26.496Z] ---> job-cost.sh [2022-07-28T22:55:26.496Z] lf-activate-venv: SKIPPING [2022-07-28T22:55:26.496Z] DEBUG: total: 0.2199999988079071 [2022-07-28T22:55:26.496Z] INFO: Retrieving Stack Cost... [2022-07-28T22:55:27.066Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-28T22:55:27.636Z] INFO: Archiving Costs [Pipeline] echo [2022-07-28T22:55:27.649Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T22:55:27.936Z] ---> logs-deploy.sh [2022-07-28T22:55:27.936Z] lf-activate-venv: SKIPPING [2022-07-28T22:55:27.936Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1196/3 [2022-07-28T22:55:27.936Z] INFO: archiving workspace using pattern(s): [2022-07-28T22:55:28.877Z] Archives upload complete. [2022-07-28T22:55:29.138Z] INFO: archiving logs to Nexus