Pull request #1148 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f2318f78700d3f26c3db6ad01a658d4b152c30d1+f8b8abfef3f0264dda75330ad33f104d8ec6ed98 (2a411267ec9b60bac5078dda2a4131b6056ca438) 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-ssh4576827401956187964.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh3338911465074128028.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1148/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1148/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17723219964434003138.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1148/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14993780651855053298.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh15951962038853513846.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1148/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1148/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10609680905062359158.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-33427 in /w/workspace/gexfoundry_device-sdk-go_PR-1148 [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-1148 # 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 f8b8abfef3f0264dda75330ad33f104d8ec6ed98 into PR head commit f2318f78700d3f26c3db6ad01a658d4b152c30d1 Merge succeeded, producing f2318f78700d3f26c3db6ad01a658d4b152c30d1 Checking out Revision f2318f78700d3f26c3db6ad01a658d4b152c30d1 (PR-1148) > 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/1148/head:refs/remotes/origin/PR-1148 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2318f78700d3f26c3db6ad01a658d4b152c30d1 # 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 f8b8abfef3f0264dda75330ad33f104d8ec6ed98 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2318f78700d3f26c3db6ad01a658d4b152c30d1 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-27T04:07:41.526Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-27T04:07:41.703Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-27T04:07:41.801Z] ========================================================= [2022-04-27T04:07:41.801Z] EdgeX Global Pipelines Version Info [2022-04-27T04:07:41.801Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:07:42.585Z] ------------------- [2022-04-27T04:07:42.585Z] stable info: [2022-04-27T04:07:42.585Z] ------------------- [2022-04-27T04:07:42.585Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-27T04:07:42.585Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-27T04:07:42.585Z] Message: update stable to v1.0.221 [2022-04-27T04:07:43.159Z] ------------------- [2022-04-27T04:07:43.159Z] experimental info: [2022-04-27T04:07:43.159Z] ------------------- [2022-04-27T04:07:43.159Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-27T04:07:43.159Z] Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 [2022-04-27T04:07:43.159Z] Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-27T04:07:43.415Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-27T04:07:43.455Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-27T04:07:43.498Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-27T04:07:43.533Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-27T04:07:43.565Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-27T04:07:43.596Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-27T04:07:43.629Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-27T04:07:43.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-27T04:07:43.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-27T04:07:43.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-27T04:07:43.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-27T04:07:44.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-27T04:07:44.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-27T04:07:44.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-27T04:07:44.109Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T04:07:44.142Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T04:07:44.178Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T04:07:44.215Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T04:07:44.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-27T04:07:44.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-27T04:07:44.321Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-27T04:07:44.371Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-27T04:07:44.409Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-27T04:07:44.447Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-27T04:07:44.481Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-27T04:07:44.516Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-27T04:07:44.555Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1148 [Pipeline] echo [2022-04-27T04:07:44.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1148 [Pipeline] echo [2022-04-27T04:07:44.637Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1148 [Pipeline] echo [2022-04-27T04:07:44.678Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2318f78700d3f26c3db6ad01a658d4b152c30d1 [Pipeline] echo [2022-04-27T04:07:44.717Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2318f7 [Pipeline] echo [2022-04-27T04:07:44.759Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:07:44.871Z] provisioning config files... [2022-04-27T04:07:44.886Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp/config7566933218727415043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:07:45.232Z] ---> docker-login.sh [2022-04-27T04:07:45.232Z] nexus3.edgexfoundry.org:10001 [2022-04-27T04:07:45.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:07:45.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:07:45.494Z] Configure a credential helper to remove this warning. See [2022-04-27T04:07:45.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:07:45.494Z] [2022-04-27T04:07:45.494Z] Login Succeeded [2022-04-27T04:07:45.494Z] nexus3.edgexfoundry.org:10002 [2022-04-27T04:07:45.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:07:45.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:07:45.759Z] Configure a credential helper to remove this warning. See [2022-04-27T04:07:45.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:07:45.759Z] [2022-04-27T04:07:45.759Z] Login Succeeded [2022-04-27T04:07:45.759Z] nexus3.edgexfoundry.org:10003 [2022-04-27T04:07:45.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:07:46.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:07:46.022Z] Configure a credential helper to remove this warning. See [2022-04-27T04:07:46.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:07:46.022Z] [2022-04-27T04:07:46.022Z] Login Succeeded [2022-04-27T04:07:46.022Z] nexus3.edgexfoundry.org:10004 [2022-04-27T04:07:46.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:07:46.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:07:46.022Z] Configure a credential helper to remove this warning. See [2022-04-27T04:07:46.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:07:46.022Z] [2022-04-27T04:07:46.022Z] Login Succeeded [2022-04-27T04:07:46.022Z] docker.io [2022-04-27T04:07:46.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:07:46.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:07:46.597Z] Configure a credential helper to remove this warning. See [2022-04-27T04:07:46.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:07:46.597Z] [2022-04-27T04:07:46.597Z] Login Succeeded [2022-04-27T04:07:46.597Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T04:07:46.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-27T04:07:47.277Z] + git rev-list -1 --merges f2318f78700d3f26c3db6ad01a658d4b152c30d1~1..f2318f78700d3f26c3db6ad01a658d4b152c30d1 [Pipeline] echo [2022-04-27T04:07:47.410Z] -----------> git rev-list -1 --merges f2318f78700d3f26c3db6ad01a658d4b152c30d1~1..f2318f78700d3f26c3db6ad01a658d4b152c30d1 f2318f78700d3f26c3db6ad01a658d4b152c30d1 [false] [Pipeline] sh [2022-04-27T04:07:47.721Z] + git log --format=format:%s -1 f2318f78700d3f26c3db6ad01a658d4b152c30d1 [Pipeline] echo [2022-04-27T04:07:47.754Z] ========================================================= [2022-04-27T04:07:47.755Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-27T04:07:47.755Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T04:07:48.177Z] + git log --format=format:%s -1 f2318f78700d3f26c3db6ad01a658d4b152c30d1 [Pipeline] echo [2022-04-27T04:07:48.210Z] [semverPrep] GIT_COMMIT: f2318f78700d3f26c3db6ad01a658d4b152c30d1, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-04-27T04:07:48.241Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-27T04:07:48.702Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T04:07:48.702Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-27T04:07:48.702Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-27T04:07:48.702Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-27T04:07:48.702Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-27T04:07:48.702Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-27T04:07:48.702Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:07:49.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:07:49.203Z] [2022-04-27T04:07:49.203Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:07:49.545Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:07:49.545Z] latest: Pulling from edgex-devops/git-semver [2022-04-27T04:07:49.545Z] a0d0a0d46f8b: Pulling fs layer [2022-04-27T04:07:49.545Z] 3e5f54012d9b: Pulling fs layer [2022-04-27T04:07:49.545Z] 4c7163046ea9: Pulling fs layer [2022-04-27T04:07:49.545Z] 0c2d73faf560: Pulling fs layer [2022-04-27T04:07:49.545Z] 3e5f54012d9b: Verifying Checksum [2022-04-27T04:07:49.545Z] 3e5f54012d9b: Download complete [2022-04-27T04:07:49.545Z] a0d0a0d46f8b: Download complete [2022-04-27T04:07:49.545Z] 0c2d73faf560: Verifying Checksum [2022-04-27T04:07:49.545Z] 0c2d73faf560: Download complete [2022-04-27T04:07:49.545Z] 4c7163046ea9: Verifying Checksum [2022-04-27T04:07:49.545Z] 4c7163046ea9: Download complete [2022-04-27T04:07:49.808Z] a0d0a0d46f8b: Pull complete [2022-04-27T04:07:49.808Z] 3e5f54012d9b: Pull complete [2022-04-27T04:07:50.069Z] 4c7163046ea9: Pull complete [2022-04-27T04:07:50.331Z] 0c2d73faf560: Pull complete [2022-04-27T04:07:50.331Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-27T04:07:50.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T04:07:50.331Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-27T04:07:50.435Z] prd-ubuntu20.04-docker-8c-8g-33427 does not seem to be running inside a container [2022-04-27T04:07:50.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1148 -v /w/workspace/gexfoundry_device-sdk-go_PR-1148:/w/workspace/gexfoundry_device-sdk-go_PR-1148:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1148@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T04:07:51.229Z] $ docker top 87f84784d11ab395dc2255682a081be64693856ee0ade32996a1eb94157df991 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T04:07:51.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T04:07:51.444Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T04:07:51.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T04:07:51.576Z] $ docker exec 87f84784d11ab395dc2255682a081be64693856ee0ade32996a1eb94157df991 ssh-agent [2022-04-27T04:07:51.688Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfbiBlO/agent.14 [2022-04-27T04:07:51.688Z] SSH_AGENT_PID=20 [2022-04-27T04:07:51.699Z] Running ssh-add (command line suppressed) [2022-04-27T04:07:51.834Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp/private_key_3908860664242856993.key (/w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp/private_key_3908860664242856993.key) [2022-04-27T04:07:51.846Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T04:07:52.178Z] + git tag --points-at HEAD [Pipeline] } [2022-04-27T04:07:52.209Z] $ docker exec --env ******** --env ******** 87f84784d11ab395dc2255682a081be64693856ee0ade32996a1eb94157df991 ssh-agent -k [2022-04-27T04:07:52.321Z] unset SSH_AUTH_SOCK; [2022-04-27T04:07:52.322Z] unset SSH_AGENT_PID; [2022-04-27T04:07:52.322Z] echo Agent pid 20 killed; [2022-04-27T04:07:52.328Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-27T04:07:52.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T04:07:52.417Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T04:07:52.555Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T04:07:52.564Z] $ docker exec 87f84784d11ab395dc2255682a081be64693856ee0ade32996a1eb94157df991 ssh-agent [2022-04-27T04:07:52.698Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgdfAJJ/agent.53 [2022-04-27T04:07:52.698Z] SSH_AGENT_PID=60 [2022-04-27T04:07:52.703Z] Running ssh-add (command line suppressed) [2022-04-27T04:07:52.819Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp/private_key_2133985542154184020.key (/w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp/private_key_2133985542154184020.key) [2022-04-27T04:07:52.831Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T04:07:53.161Z] + git semver init [2022-04-27T04:07:53.161Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T04:07:53.161Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1148/.git [2022-04-27T04:07:53.161Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1148 [2022-04-27T04:07:53.161Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T04:07:53.161Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T04:07:53.161Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T04:07:53.161Z] # $SEMVER_BRANCH = PR-1148 [2022-04-27T04:07:53.161Z] # $SEMVER_TEMP = /tmp/semver-261722990 [2022-04-27T04:07:53.161Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-27T04:07:54.108Z] # '/tmp/semver-261722990' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1148/.semver' [2022-04-27T04:07:54.108Z] # -> Force: false [2022-04-27T04:07:54.108Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1148/.semver [Pipeline] } [2022-04-27T04:07:54.141Z] $ docker exec --env ******** --env ******** 87f84784d11ab395dc2255682a081be64693856ee0ade32996a1eb94157df991 ssh-agent -k [2022-04-27T04:07:54.261Z] unset SSH_AUTH_SOCK; [2022-04-27T04:07:54.262Z] unset SSH_AGENT_PID; [2022-04-27T04:07:54.262Z] echo Agent pid 60 killed; [2022-04-27T04:07:54.269Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T04:07:54.698Z] + git semver [Pipeline] } [2022-04-27T04:07:54.732Z] $ docker stop --time=1 87f84784d11ab395dc2255682a081be64693856ee0ade32996a1eb94157df991 [2022-04-27T04:07:56.108Z] $ docker rm -f 87f84784d11ab395dc2255682a081be64693856ee0ade32996a1eb94157df991 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T04:07:56.527Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-27T04:07:56.842Z] Stashed 1 file(s) [Pipeline] echo [2022-04-27T04:07:56.862Z] [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-04-27T04:07:57.410Z] provisioning config files... [2022-04-27T04:07:57.422Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp/config5592025606198805221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:07:57.762Z] ---> docker-login.sh [2022-04-27T04:07:57.762Z] nexus3.edgexfoundry.org:10001 [2022-04-27T04:07:57.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:07:57.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:07:57.762Z] Configure a credential helper to remove this warning. See [2022-04-27T04:07:57.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:07:57.762Z] [2022-04-27T04:07:57.762Z] Login Succeeded [2022-04-27T04:07:57.762Z] nexus3.edgexfoundry.org:10002 [2022-04-27T04:07:58.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:07:58.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:07:58.031Z] Configure a credential helper to remove this warning. See [2022-04-27T04:07:58.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:07:58.031Z] [2022-04-27T04:07:58.031Z] Login Succeeded [2022-04-27T04:07:58.031Z] nexus3.edgexfoundry.org:10003 [2022-04-27T04:07:58.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:07:58.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:07:58.031Z] Configure a credential helper to remove this warning. See [2022-04-27T04:07:58.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:07:58.031Z] [2022-04-27T04:07:58.031Z] Login Succeeded [2022-04-27T04:07:58.031Z] nexus3.edgexfoundry.org:10004 [2022-04-27T04:07:58.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:07:58.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:07:58.294Z] Configure a credential helper to remove this warning. See [2022-04-27T04:07:58.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:07:58.294Z] [2022-04-27T04:07:58.294Z] Login Succeeded [2022-04-27T04:07:58.294Z] docker.io [2022-04-27T04:07:58.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:07:58.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:07:58.558Z] Configure a credential helper to remove this warning. See [2022-04-27T04:07:58.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:07:58.558Z] [2022-04-27T04:07:58.558Z] Login Succeeded [2022-04-27T04:07:58.558Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T04:07:58.590Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T04:07:58.776Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T04:07:58.809Z] ========================================================= [2022-04-27T04:07:58.809Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-27T04:07:58.809Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:07:59.224Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-27T04:07:59.224Z] Sending build context to Docker daemon 9.637MB [2022-04-27T04:07:59.224Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:07:59.224Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-27T04:07:59.224Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-27T04:07:59.224Z] 59bf1c3509f3: Pulling fs layer [2022-04-27T04:07:59.224Z] 666ba61612fd: Pulling fs layer [2022-04-27T04:07:59.224Z] 8ed8ca486205: Pulling fs layer [2022-04-27T04:07:59.224Z] 4fe6c5a15a65: Pulling fs layer [2022-04-27T04:07:59.224Z] 22a0e8bec74d: Pulling fs layer [2022-04-27T04:07:59.224Z] ca2b28591e48: Pulling fs layer [2022-04-27T04:07:59.224Z] a51346096db8: Pulling fs layer [2022-04-27T04:07:59.224Z] daebc70d1ce1: Pulling fs layer [2022-04-27T04:07:59.224Z] 0e18a0eac166: Pulling fs layer [2022-04-27T04:07:59.224Z] 22a0e8bec74d: Waiting [2022-04-27T04:07:59.224Z] ca2b28591e48: Waiting [2022-04-27T04:07:59.224Z] a51346096db8: Waiting [2022-04-27T04:07:59.224Z] daebc70d1ce1: Waiting [2022-04-27T04:07:59.224Z] 4fe6c5a15a65: Waiting [2022-04-27T04:07:59.224Z] 0e18a0eac166: Waiting [2022-04-27T04:07:59.487Z] 8ed8ca486205: Verifying Checksum [2022-04-27T04:07:59.487Z] 8ed8ca486205: Download complete [2022-04-27T04:07:59.487Z] 666ba61612fd: Download complete [2022-04-27T04:07:59.487Z] 22a0e8bec74d: Download complete [2022-04-27T04:07:59.487Z] ca2b28591e48: Verifying Checksum [2022-04-27T04:07:59.487Z] ca2b28591e48: Download complete [2022-04-27T04:07:59.487Z] 59bf1c3509f3: Verifying Checksum [2022-04-27T04:07:59.487Z] 59bf1c3509f3: Download complete [2022-04-27T04:07:59.487Z] a51346096db8: Verifying Checksum [2022-04-27T04:07:59.487Z] a51346096db8: Download complete [2022-04-27T04:07:59.487Z] daebc70d1ce1: Verifying Checksum [2022-04-27T04:07:59.487Z] daebc70d1ce1: Download complete [2022-04-27T04:07:59.487Z] 59bf1c3509f3: Pull complete [2022-04-27T04:07:59.750Z] 666ba61612fd: Pull complete [2022-04-27T04:07:59.750Z] 8ed8ca486205: Pull complete [2022-04-27T04:08:00.012Z] 0e18a0eac166: Download complete [2022-04-27T04:08:00.273Z] 4fe6c5a15a65: Verifying Checksum [2022-04-27T04:08:00.273Z] 4fe6c5a15a65: Download complete [2022-04-27T04:08:04.480Z] 4fe6c5a15a65: Pull complete [2022-04-27T04:08:04.480Z] 22a0e8bec74d: Pull complete [2022-04-27T04:08:04.480Z] ca2b28591e48: Pull complete [2022-04-27T04:08:04.744Z] a51346096db8: Pull complete [2022-04-27T04:08:04.744Z] daebc70d1ce1: Pull complete [2022-04-27T04:08:07.289Z] 0e18a0eac166: Pull complete [2022-04-27T04:08:07.289Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-27T04:08:07.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-27T04:08:07.289Z] ---> f018257e8ee9 [2022-04-27T04:08:07.289Z] Step 3/11 : ARG MAKE=make build [2022-04-27T04:08:08.232Z] ---> Running in 76affa620f7e [2022-04-27T04:08:08.495Z] Removing intermediate container 76affa620f7e [2022-04-27T04:08:08.496Z] ---> 2495f4bfdbbd [2022-04-27T04:08:08.496Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-27T04:08:08.496Z] ---> Running in 1196e45c40e5 [2022-04-27T04:08:08.496Z] Removing intermediate container 1196e45c40e5 [2022-04-27T04:08:08.496Z] ---> 16371cff1927 [2022-04-27T04:08:08.496Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:08:08.496Z] ---> Running in 881e753eabf2 [2022-04-27T04:08:08.756Z] Removing intermediate container 881e753eabf2 [2022-04-27T04:08:08.756Z] ---> 8cae20ad0d64 [2022-04-27T04:08:08.756Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:08:08.756Z] ---> Running in b3df8f64bf92 [2022-04-27T04:08:09.327Z] Removing intermediate container b3df8f64bf92 [2022-04-27T04:08:09.327Z] ---> dde65d8448e2 [2022-04-27T04:08:09.327Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:08:09.327Z] ---> Running in 307bd1575f64 [2022-04-27T04:08:09.589Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T04:08:10.534Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T04:08:10.795Z] OK: 221 MiB in 52 packages [2022-04-27T04:08:11.366Z] Removing intermediate container 307bd1575f64 [2022-04-27T04:08:11.366Z] ---> becfb8cad7c8 [2022-04-27T04:08:11.366Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-27T04:08:11.366Z] ---> 58d04d04df6b [2022-04-27T04:08:11.366Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:08:11.366Z] ---> Running in ece795b5941b [2022-04-27T04:08:12.239Z] Still waiting to schedule task [2022-04-27T04:08:12.239Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-27T04:08:26.279Z] Removing intermediate container ece795b5941b [2022-04-27T04:08:26.279Z] ---> 6b38793239ac [2022-04-27T04:08:26.279Z] Step 10/11 : COPY . . [2022-04-27T04:08:26.279Z] ---> fd05d04f761e [2022-04-27T04:08:26.279Z] Step 11/11 : RUN ${MAKE} [2022-04-27T04:08:26.279Z] ---> Running in 72b1a5910e20 [2022-04-27T04:08:26.542Z] noop [2022-04-27T04:08:26.802Z] Removing intermediate container 72b1a5910e20 [2022-04-27T04:08:26.802Z] ---> 23320672aee3 [2022-04-27T04:08:26.802Z] Successfully built 23320672aee3 [2022-04-27T04:08:26.802Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:08:27.133Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T04:08:27.133Z] . [Pipeline] withDockerContainer [2022-04-27T04:08:27.224Z] prd-ubuntu20.04-docker-8c-8g-33427 does not seem to be running inside a container [2022-04-27T04:08:27.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1148 -v /w/workspace/gexfoundry_device-sdk-go_PR-1148:/w/workspace/gexfoundry_device-sdk-go_PR-1148:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1148@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 ******** ci-base-image-x86_64 cat [2022-04-27T04:08:27.692Z] $ docker top 763dfcede99e802dc184c7afcfcf1582b30c052ac42ed06e4f917b3b745221fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T04:08:28.105Z] + go version [2022-04-27T04:08:28.105Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-27T04:08:28.142Z] $ docker stop --time=1 763dfcede99e802dc184c7afcfcf1582b30c052ac42ed06e4f917b3b745221fa [2022-04-27T04:08:29.420Z] $ docker rm -f 763dfcede99e802dc184c7afcfcf1582b30c052ac42ed06e4f917b3b745221fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:08:30.081Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T04:08:30.081Z] . [Pipeline] withDockerContainer [2022-04-27T04:08:30.167Z] prd-ubuntu20.04-docker-8c-8g-33427 does not seem to be running inside a container [2022-04-27T04:08:30.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1148 -v /w/workspace/gexfoundry_device-sdk-go_PR-1148:/w/workspace/gexfoundry_device-sdk-go_PR-1148:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1148@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 ******** ci-base-image-x86_64 cat [2022-04-27T04:08:30.593Z] $ docker top 5aaaccd68357dee00cf0c0f098d505bae48888a8b22b1bd0206b196df5b23a7e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T04:08:31.076Z] + make test [2022-04-27T04:08:31.076Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-27T04:08:36.365Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-27T04:08:48.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-27T04:08:48.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-27T04:08:48.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-27T04:08:48.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.080s coverage: 23.3% of statements [2022-04-27T04:08:48.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-27T04:08:48.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 27.6% of statements [2022-04-27T04:08:48.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.119s coverage: 78.9% of statements [2022-04-27T04:08:48.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.108s coverage: 10.8% of statements [2022-04-27T04:08:48.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.099s coverage: 60.0% of statements [2022-04-27T04:08:48.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-27T04:08:48.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-27T04:08:48.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.077s coverage: 34.8% of statements [2022-04-27T04:08:48.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-27T04:08:49.262Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.070s coverage: 86.1% of statements [2022-04-27T04:08:49.262Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-27T04:08:49.262Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-27T04:08:49.262Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 65.1% of statements [2022-04-27T04:08:49.262Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.768s coverage: 89.2% of statements [2022-04-27T04:08:49.262Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-27T04:08:49.262Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.7% of statements [2022-04-27T04:08:49.262Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-27T04:09:04.153Z] GO111MODULE=on go vet ./... [2022-04-27T04:09:08.355Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T04:09:08.355Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T04:09:08.355Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T04:09:08.646Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T04:09:08.685Z] $ docker stop --time=1 5aaaccd68357dee00cf0c0f098d505bae48888a8b22b1bd0206b196df5b23a7e [2022-04-27T04:09:10.981Z] $ docker rm -f 5aaaccd68357dee00cf0c0f098d505bae48888a8b22b1bd0206b196df5b23a7e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T04:09:11.545Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T04:09:11.635Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-27T04:09:12.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T04:09:13.115Z] + ls -al . [2022-04-27T04:09:13.116Z] total 316 [2022-04-27T04:09:13.116Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 04:09 . [2022-04-27T04:09:13.116Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:07 .. [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:07 .dockerignore [2022-04-27T04:09:13.116Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:07 .git [2022-04-27T04:09:13.116Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:07 .github [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 04:07 .gitignore [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 04:07 .golangci.yml [2022-04-27T04:09:13.116Z] drwx------ 3 jenkins jenkins 4096 Apr 27 04:07 .semver [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 27 04:07 CHANGELOG.md [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:07 GOVERNANCE.md [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 27 04:07 Jenkinsfile [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:07 LICENSE [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 27 04:07 Makefile [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 04:07 OWNERS.md [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 27 04:07 README.md [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 04:07 VERSION [2022-04-27T04:09:13.116Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:07 bin [2022-04-27T04:09:13.116Z] -rw-r--r-- 1 jenkins jenkins 130820 Apr 27 04:08 coverage.out [2022-04-27T04:09:13.116Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:07 example [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 27 04:07 go.mod [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 53758 Apr 27 04:07 go.sum [2022-04-27T04:09:13.116Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 04:07 internal [2022-04-27T04:09:13.116Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:07 openapi [2022-04-27T04:09:13.116Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:07 pkg [2022-04-27T04:09:13.116Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:07 snap [2022-04-27T04:09:13.116Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:07 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:09:13.454Z] + 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=f2318f78700d3f26c3db6ad01a658d4b152c30d1 --label arch=amd64 --label version=0.0.0 . [2022-04-27T04:09:13.454Z] Sending build context to Docker daemon 9.768MB [2022-04-27T04:09:13.454Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:09:13.454Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-27T04:09:13.454Z] ---> 23320672aee3 [2022-04-27T04:09:13.454Z] Step 3/25 : ARG MAKE=make build [2022-04-27T04:09:13.716Z] ---> Running in 75315647845c [2022-04-27T04:09:13.716Z] Removing intermediate container 75315647845c [2022-04-27T04:09:13.716Z] ---> f2c49efe86db [2022-04-27T04:09:13.716Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-27T04:09:13.716Z] ---> Running in 69ca2052a793 [2022-04-27T04:09:13.716Z] Removing intermediate container 69ca2052a793 [2022-04-27T04:09:13.716Z] ---> b857c0c60cae [2022-04-27T04:09:13.716Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:09:13.716Z] ---> Running in 5f627728bda5 [2022-04-27T04:09:13.976Z] Removing intermediate container 5f627728bda5 [2022-04-27T04:09:13.976Z] ---> 28172f0bb0c6 [2022-04-27T04:09:13.976Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:09:13.976Z] ---> Running in 70f3ed037a8f [2022-04-27T04:09:14.546Z] Removing intermediate container 70f3ed037a8f [2022-04-27T04:09:14.546Z] ---> 6ed05d49d4cd [2022-04-27T04:09:14.546Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:09:14.546Z] ---> Running in c20fa498dc61 [2022-04-27T04:09:14.808Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T04:09:15.755Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T04:09:16.016Z] OK: 221 MiB in 52 packages [2022-04-27T04:09:16.296Z] Removing intermediate container c20fa498dc61 [2022-04-27T04:09:16.296Z] ---> e044b13b137d [2022-04-27T04:09:16.296Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-27T04:09:16.296Z] ---> 8b2150ff2a33 [2022-04-27T04:09:16.296Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:09:16.558Z] ---> Running in b2545932b4a2 [2022-04-27T04:09:17.128Z] Removing intermediate container b2545932b4a2 [2022-04-27T04:09:17.128Z] ---> 708f369fd21e [2022-04-27T04:09:17.128Z] Step 10/25 : COPY . . [2022-04-27T04:09:17.388Z] ---> 0e4a81eb55cb [2022-04-27T04:09:17.388Z] Step 11/25 : RUN ${MAKE} [2022-04-27T04:09:17.388Z] ---> Running in 661d2932099d [2022-04-27T04:09:17.958Z] 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-04-27T04:09:36.063Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-27T04:09:36.633Z] Removing intermediate container 661d2932099d [2022-04-27T04:09:36.633Z] ---> dc2f69c394c9 [2022-04-27T04:09:36.633Z] Step 12/25 : FROM alpine:3.14 [2022-04-27T04:09:37.203Z] 3.14: Pulling from library/alpine [2022-04-27T04:09:37.203Z] 8663204ce13b: Pulling fs layer [2022-04-27T04:09:37.462Z] 8663204ce13b: Verifying Checksum [2022-04-27T04:09:37.462Z] 8663204ce13b: Download complete [2022-04-27T04:09:37.721Z] 8663204ce13b: Pull complete [2022-04-27T04:09:37.721Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T04:09:37.721Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T04:09:37.721Z] ---> e04c818066af [2022-04-27T04:09:37.721Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:09:37.721Z] ---> Running in 5fc0bb2f3d7a [2022-04-27T04:09:37.721Z] Removing intermediate container 5fc0bb2f3d7a [2022-04-27T04:09:37.721Z] ---> 8525acb9159b [2022-04-27T04:09:37.721Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:09:37.981Z] ---> Running in 0e4099b4d91e [2022-04-27T04:09:38.553Z] Removing intermediate container 0e4099b4d91e [2022-04-27T04:09:38.553Z] ---> 12416e9fb170 [2022-04-27T04:09:38.553Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-27T04:09:38.553Z] ---> Running in 1bd4ba148f8e [2022-04-27T04:09:38.816Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-27T04:09:39.763Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-27T04:09:39.763Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T04:09:40.025Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-27T04:09:40.025Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T04:09:40.025Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-27T04:09:40.286Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-27T04:09:40.286Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T04:09:40.286Z] OK: 8 MiB in 19 packages [2022-04-27T04:09:40.857Z] Removing intermediate container 1bd4ba148f8e [2022-04-27T04:09:40.857Z] ---> 315ad48493af [2022-04-27T04:09:40.857Z] Step 16/25 : WORKDIR / [2022-04-27T04:09:40.857Z] ---> Running in b80656ba81f7 [2022-04-27T04:09:40.857Z] Removing intermediate container b80656ba81f7 [2022-04-27T04:09:40.857Z] ---> 305396de5d81 [2022-04-27T04:09:40.857Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-27T04:09:41.118Z] ---> dbd34a15ea91 [2022-04-27T04:09:41.118Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-27T04:09:41.690Z] ---> 403fbc96cae4 [2022-04-27T04:09:41.690Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-27T04:09:41.690Z] ---> 2195c35bf6fd [2022-04-27T04:09:41.690Z] Step 20/25 : EXPOSE 59999 [2022-04-27T04:09:41.690Z] ---> Running in 0e456556c7bf [2022-04-27T04:09:41.950Z] Removing intermediate container 0e456556c7bf [2022-04-27T04:09:41.950Z] ---> bb68d9277d2a [2022-04-27T04:09:41.950Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-27T04:09:41.950Z] ---> Running in f569081e81f3 [2022-04-27T04:09:41.950Z] Removing intermediate container f569081e81f3 [2022-04-27T04:09:41.950Z] ---> 6b8baddcc147 [2022-04-27T04:09:41.950Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-27T04:09:41.950Z] ---> Running in 5870e188997a [2022-04-27T04:09:42.210Z] Removing intermediate container 5870e188997a [2022-04-27T04:09:42.210Z] ---> cce7a575e72d [2022-04-27T04:09:42.210Z] Step 23/25 : LABEL arch=amd64 [2022-04-27T04:09:42.210Z] ---> Running in f965b64454f8 [2022-04-27T04:09:42.210Z] Removing intermediate container f965b64454f8 [2022-04-27T04:09:42.210Z] ---> beac7cf1013f [2022-04-27T04:09:42.210Z] Step 24/25 : LABEL git_sha=f2318f78700d3f26c3db6ad01a658d4b152c30d1 [2022-04-27T04:09:42.210Z] ---> Running in 920d6af0c304 [2022-04-27T04:09:42.472Z] Removing intermediate container 920d6af0c304 [2022-04-27T04:09:42.472Z] ---> 72ea970a20d0 [2022-04-27T04:09:42.472Z] Step 25/25 : LABEL version=0.0.0 [2022-04-27T04:09:42.472Z] ---> Running in 5973b4edc08f [2022-04-27T04:09:42.472Z] Removing intermediate container 5973b4edc08f [2022-04-27T04:09:42.472Z] ---> 8a33b2dae2e6 [2022-04-27T04:09:42.472Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T04:09:42.472Z] Successfully built 8a33b2dae2e6 [2022-04-27T04:09:42.472Z] Successfully tagged device-sdk-simple:latest [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] sh [2022-04-27T04:09:43.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:09:43.198Z] [2022-04-27T04:09:43.198Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:09:43.543Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:09:43.543Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-27T04:09:43.543Z] 5eb5b503b376: Pulling fs layer [2022-04-27T04:09:43.543Z] 5c69ac0246d0: Pulling fs layer [2022-04-27T04:09:43.543Z] ec43610c2a17: Pulling fs layer [2022-04-27T04:09:43.543Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-27T04:09:43.543Z] 33b1e0a273af: Pulling fs layer [2022-04-27T04:09:43.543Z] 5d3b04190fa2: Pulling fs layer [2022-04-27T04:09:43.543Z] 2f39f015ded8: Pulling fs layer [2022-04-27T04:09:43.543Z] 3a2ae6a8a46f: Waiting [2022-04-27T04:09:43.543Z] 33b1e0a273af: Waiting [2022-04-27T04:09:43.543Z] 5d3b04190fa2: Waiting [2022-04-27T04:09:43.543Z] 2f39f015ded8: Waiting [2022-04-27T04:09:43.543Z] 5c69ac0246d0: Download complete [2022-04-27T04:09:43.543Z] 3a2ae6a8a46f: Download complete [2022-04-27T04:09:43.543Z] 33b1e0a273af: Verifying Checksum [2022-04-27T04:09:43.543Z] 33b1e0a273af: Download complete [2022-04-27T04:09:43.543Z] 5d3b04190fa2: Download complete [2022-04-27T04:09:43.543Z] ec43610c2a17: Verifying Checksum [2022-04-27T04:09:43.543Z] ec43610c2a17: Download complete [2022-04-27T04:09:43.802Z] 5eb5b503b376: Verifying Checksum [2022-04-27T04:09:43.802Z] 5eb5b503b376: Download complete [2022-04-27T04:09:44.372Z] 2f39f015ded8: Download complete [2022-04-27T04:09:44.940Z] 5eb5b503b376: Pull complete [2022-04-27T04:09:45.199Z] 5c69ac0246d0: Pull complete [2022-04-27T04:09:45.770Z] ec43610c2a17: Pull complete [2022-04-27T04:09:45.770Z] 3a2ae6a8a46f: Pull complete [2022-04-27T04:09:46.030Z] 33b1e0a273af: Pull complete [2022-04-27T04:09:46.030Z] 5d3b04190fa2: Pull complete [2022-04-27T04:09:51.307Z] 2f39f015ded8: Pull complete [2022-04-27T04:09:51.307Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-27T04:09:51.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:09:51.307Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-27T04:09:51.399Z] prd-ubuntu20.04-docker-8c-8g-33427 does not seem to be running inside a container [2022-04-27T04:09:51.444Z] $ 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-1148 -v /w/workspace/gexfoundry_device-sdk-go_PR-1148:/w/workspace/gexfoundry_device-sdk-go_PR-1148:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1148@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-27T04:09:53.196Z] $ docker top fcc7f1ab82a23d24e4ab34c059336ac3a50cd3e39c538fbc1db08a2d19d8bb98 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:09:53.694Z] ---> job-cost.sh [2022-04-27T04:09:53.694Z] lf-activate-venv: SKIPPING [2022-04-27T04:09:53.694Z] INFO: No Stack... [2022-04-27T04:09:54.267Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T04:09:54.527Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T04:09:54.848Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1148/archives/cost.csv [2022-04-27T04:09:54.848Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T04:09:54.889Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1148-1-stack-cost] [2022-04-27T04:09:54.894Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1148-1-stack-cost] did not exist. Created. [2022-04-27T04:09:54.894Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1148-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T04:09:55.273Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-27T04:09:55.327Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T04:09:55.347Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1148-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T04:09:55.426Z] $ docker stop --time=1 fcc7f1ab82a23d24e4ab34c059336ac3a50cd3e39c538fbc1db08a2d19d8bb98 [2022-04-27T04:09:56.613Z] $ docker rm -f fcc7f1ab82a23d24e4ab34c059336ac3a50cd3e39c538fbc1db08a2d19d8bb98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-27T04:12:40.735Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33428 in /w/workspace/gexfoundry_device-sdk-go_PR-1148 [Pipeline] { [Pipeline] ws [2022-04-27T04:12:40.771Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-04-27T04:12:41.150Z] The recommended git tool is: git [2022-04-27T04:12:48.140Z] using credential edgex-jenkins-ssh [2022-04-27T04:12:48.159Z] Cloning the remote Git repository [2022-04-27T04:12:48.239Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-27T04:12:48.324Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-04-27T04:12:48.436Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-27T04:12:48.438Z] > git --version # timeout=10 [2022-04-27T04:12:48.466Z] > git --version # 'git version 2.25.1' [2022-04-27T04:12:48.469Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T04:12:48.544Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T04:12:50.127Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-27T04:12:50.155Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T04:12:50.187Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-27T04:12:50.228Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-27T04:12:50.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T04:12:50.246Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1148/head:refs/remotes/origin/PR-1148 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-27T04:12:50.872Z] Merging remotes/origin/main commit f8b8abfef3f0264dda75330ad33f104d8ec6ed98 into PR head commit f2318f78700d3f26c3db6ad01a658d4b152c30d1 [2022-04-27T04:12:51.142Z] Merge succeeded, producing f2318f78700d3f26c3db6ad01a658d4b152c30d1 [2022-04-27T04:12:51.143Z] Checking out Revision f2318f78700d3f26c3db6ad01a658d4b152c30d1 (PR-1148) [2022-04-27T04:12:50.902Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T04:12:50.921Z] > git checkout -f f2318f78700d3f26c3db6ad01a658d4b152c30d1 # timeout=10 [2022-04-27T04:12:51.043Z] > git remote # timeout=10 [2022-04-27T04:12:51.063Z] > git config --get remote.origin.url # timeout=10 [2022-04-27T04:12:51.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T04:12:51.094Z] > git merge f8b8abfef3f0264dda75330ad33f104d8ec6ed98 # timeout=10 [2022-04-27T04:12:51.124Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-27T04:12:51.157Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T04:12:51.171Z] > git checkout -f f2318f78700d3f26c3db6ad01a658d4b152c30d1 # timeout=10 [2022-04-27T04:12:55.499Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2022-04-27T04:12:55.572Z] > git --version # timeout=10 [2022-04-27T04:12:55.583Z] > git --version # 'git version 2.25.1' [2022-04-27T04:12:55.601Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T04:12:56.789Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-27T04:12:56.789Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T04:12:56.789Z] Dload Upload Total Spent Left Speed [2022-04-27T04:12:56.789Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97073 0 --:--:-- --:--:-- --:--:-- 97073 [Pipeline] sh [2022-04-27T04:12:57.326Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-27T04:12:57.693Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2022-04-27T04:12:57.693Z] tee /etc/docker/daemon.new [2022-04-27T04:12:57.693Z] { [2022-04-27T04:12:57.693Z] "registry-mirrors": [ [2022-04-27T04:12:57.693Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-27T04:12:57.693Z] ], [2022-04-27T04:12:57.693Z] "bip": "10.250.0.254/24", [2022-04-27T04:12:57.693Z] "hosts": [ [2022-04-27T04:12:57.693Z] "tcp://0.0.0.0:5555", [2022-04-27T04:12:57.693Z] "unix:///var/run/docker.sock" [2022-04-27T04:12:57.693Z] ], [2022-04-27T04:12:57.693Z] "mtu": 1458, [2022-04-27T04:12:57.693Z] "selinux-enabled": true, [2022-04-27T04:12:57.693Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-27T04:12:57.693Z] } [Pipeline] sh [2022-04-27T04:12:58.065Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-27T04:12:58.432Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:13:16.908Z] provisioning config files... [2022-04-27T04:13:16.942Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9028330602406408707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:13:17.596Z] ---> docker-login.sh [2022-04-27T04:13:17.596Z] nexus3.edgexfoundry.org:10001 [2022-04-27T04:13:18.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:13:18.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:13:18.475Z] Configure a credential helper to remove this warning. See [2022-04-27T04:13:18.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:13:18.475Z] [2022-04-27T04:13:18.751Z] Login Succeeded [2022-04-27T04:13:18.751Z] nexus3.edgexfoundry.org:10002 [2022-04-27T04:13:19.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:13:19.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:13:19.028Z] Configure a credential helper to remove this warning. See [2022-04-27T04:13:19.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:13:19.028Z] [2022-04-27T04:13:19.028Z] Login Succeeded [2022-04-27T04:13:19.028Z] nexus3.edgexfoundry.org:10003 [2022-04-27T04:13:19.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:13:19.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:13:19.637Z] Configure a credential helper to remove this warning. See [2022-04-27T04:13:19.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:13:19.637Z] [2022-04-27T04:13:19.637Z] Login Succeeded [2022-04-27T04:13:19.637Z] nexus3.edgexfoundry.org:10004 [2022-04-27T04:13:20.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:13:20.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:13:20.240Z] Configure a credential helper to remove this warning. See [2022-04-27T04:13:20.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:13:20.240Z] [2022-04-27T04:13:20.240Z] Login Succeeded [2022-04-27T04:13:20.240Z] docker.io [2022-04-27T04:13:20.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T04:13:21.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T04:13:21.117Z] Configure a credential helper to remove this warning. See [2022-04-27T04:13:21.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T04:13:21.117Z] [2022-04-27T04:13:21.117Z] Login Succeeded [2022-04-27T04:13:21.117Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T04:13:21.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T04:13:21.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T04:13:21.641Z] ========================================================= [2022-04-27T04:13:21.641Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-27T04:13:21.641Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:13:22.102Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-27T04:13:22.713Z] Sending build context to Docker daemon 5.208MB [2022-04-27T04:13:22.713Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:13:22.713Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-27T04:13:22.713Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-27T04:13:22.713Z] 9b3977197b4f: Pulling fs layer [2022-04-27T04:13:22.713Z] 1a89e8eeedd5: Pulling fs layer [2022-04-27T04:13:22.713Z] 94645a83ff95: Pulling fs layer [2022-04-27T04:13:22.713Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-27T04:13:22.713Z] 0c92f367c5e7: Pulling fs layer [2022-04-27T04:13:22.713Z] 3096ccb668a1: Pulling fs layer [2022-04-27T04:13:22.713Z] e8cf19c19ddd: Pulling fs layer [2022-04-27T04:13:22.713Z] a4caa8a26152: Pulling fs layer [2022-04-27T04:13:22.713Z] 3096ccb668a1: Waiting [2022-04-27T04:13:22.713Z] e8cf19c19ddd: Waiting [2022-04-27T04:13:22.713Z] a4caa8a26152: Waiting [2022-04-27T04:13:22.713Z] 3f3a8bcf1eab: Waiting [2022-04-27T04:13:22.713Z] 0c92f367c5e7: Waiting [2022-04-27T04:13:22.713Z] 94645a83ff95: Verifying Checksum [2022-04-27T04:13:22.713Z] 94645a83ff95: Download complete [2022-04-27T04:13:22.713Z] 1a89e8eeedd5: Verifying Checksum [2022-04-27T04:13:22.713Z] 1a89e8eeedd5: Download complete [2022-04-27T04:13:22.997Z] 0c92f367c5e7: Verifying Checksum [2022-04-27T04:13:22.997Z] 0c92f367c5e7: Download complete [2022-04-27T04:13:22.997Z] 3096ccb668a1: Verifying Checksum [2022-04-27T04:13:22.997Z] 3096ccb668a1: Download complete [2022-04-27T04:13:22.997Z] 9b3977197b4f: Download complete [2022-04-27T04:13:22.997Z] e8cf19c19ddd: Verifying Checksum [2022-04-27T04:13:22.997Z] e8cf19c19ddd: Download complete [2022-04-27T04:13:23.597Z] 9b3977197b4f: Pull complete [2022-04-27T04:13:24.209Z] 1a89e8eeedd5: Pull complete [2022-04-27T04:13:24.816Z] 94645a83ff95: Pull complete [2022-04-27T04:13:25.091Z] a4caa8a26152: Verifying Checksum [2022-04-27T04:13:25.091Z] a4caa8a26152: Download complete [2022-04-27T04:13:25.695Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-27T04:13:25.695Z] 3f3a8bcf1eab: Download complete [2022-04-27T04:13:38.118Z] 3f3a8bcf1eab: Pull complete [2022-04-27T04:13:38.118Z] 0c92f367c5e7: Pull complete [2022-04-27T04:13:38.118Z] 3096ccb668a1: Pull complete [2022-04-27T04:13:38.392Z] e8cf19c19ddd: Pull complete [2022-04-27T04:13:43.810Z] a4caa8a26152: Pull complete [2022-04-27T04:13:44.084Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-27T04:13:44.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-27T04:13:44.085Z] ---> 725f1c02e7f9 [2022-04-27T04:13:44.085Z] Step 3/11 : ARG MAKE=make build [2022-04-27T04:13:45.528Z] ---> Running in 8a8a5ebe9da8 [2022-04-27T04:13:46.133Z] Removing intermediate container 8a8a5ebe9da8 [2022-04-27T04:13:46.133Z] ---> 372c9882a847 [2022-04-27T04:13:46.133Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-27T04:13:46.133Z] ---> Running in c408878a6120 [2022-04-27T04:13:46.415Z] Removing intermediate container c408878a6120 [2022-04-27T04:13:46.415Z] ---> 4a4eda1bd117 [2022-04-27T04:13:46.415Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:13:46.415Z] ---> Running in 5b482cba4c77 [2022-04-27T04:13:47.019Z] Removing intermediate container 5b482cba4c77 [2022-04-27T04:13:47.019Z] ---> 15b7c4d727c4 [2022-04-27T04:13:47.019Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:13:47.019Z] ---> Running in 91ee966e8aaa [2022-04-27T04:13:50.427Z] Removing intermediate container 91ee966e8aaa [2022-04-27T04:13:50.427Z] ---> 264f3a5c9a3c [2022-04-27T04:13:50.427Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:13:50.427Z] ---> Running in 6bb56f53ca74 [2022-04-27T04:13:51.409Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T04:13:52.005Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T04:13:53.001Z] OK: 220 MiB in 52 packages [2022-04-27T04:13:53.982Z] Removing intermediate container 6bb56f53ca74 [2022-04-27T04:13:53.982Z] ---> fa9f5454dcb3 [2022-04-27T04:13:53.982Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-27T04:13:54.577Z] ---> 98b5cb5d5ae4 [2022-04-27T04:13:54.577Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:13:54.577Z] ---> Running in 0567c02e98ca [2022-04-27T04:14:41.599Z] Removing intermediate container 0567c02e98ca [2022-04-27T04:14:41.599Z] ---> 11391ee6858a [2022-04-27T04:14:41.599Z] Step 10/11 : COPY . . [2022-04-27T04:14:41.599Z] ---> b25752689f17 [2022-04-27T04:14:41.599Z] Step 11/11 : RUN ${MAKE} [2022-04-27T04:14:41.599Z] ---> Running in 61d67ec48554 [2022-04-27T04:14:42.196Z] noop [2022-04-27T04:14:42.793Z] Removing intermediate container 61d67ec48554 [2022-04-27T04:14:42.793Z] ---> f1944884d085 [2022-04-27T04:14:42.793Z] Successfully built f1944884d085 [2022-04-27T04:14:42.793Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:14:43.173Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T04:14:43.173Z] . [Pipeline] withDockerContainer [2022-04-27T04:14:43.435Z] prd-ubuntu20.04-docker-arm64-4c-16g-33428 does not seem to be running inside a container [2022-04-27T04:14:43.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-27T04:14:44.965Z] $ docker top 73937d5d2f481ca85fc0b36934d863607e3bd61e8fed992baaa98469a36cea1b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T04:14:45.919Z] + go version [2022-04-27T04:14:45.919Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-27T04:14:45.962Z] $ docker stop --time=1 73937d5d2f481ca85fc0b36934d863607e3bd61e8fed992baaa98469a36cea1b [2022-04-27T04:14:47.646Z] $ docker rm -f 73937d5d2f481ca85fc0b36934d863607e3bd61e8fed992baaa98469a36cea1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:14:48.510Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T04:14:48.510Z] . [Pipeline] withDockerContainer [2022-04-27T04:14:48.759Z] prd-ubuntu20.04-docker-arm64-4c-16g-33428 does not seem to be running inside a container [2022-04-27T04:14:48.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-27T04:14:50.188Z] $ docker top 6cbd39405184bd13fcaa748231b57ea516c91ab566cb7f69e0a3b1cac6fa918b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T04:14:51.217Z] + make test [2022-04-27T04:14:51.217Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-27T04:15:23.618Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-27T04:17:15.571Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-27T04:17:15.571Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-27T04:17:15.571Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-27T04:17:21.031Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.401s coverage: 23.3% of statements [2022-04-27T04:17:21.031Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-27T04:17:23.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.267s coverage: 27.6% of statements [2022-04-27T04:17:23.323Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.291s coverage: 78.9% of statements [2022-04-27T04:17:23.604Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.301s coverage: 10.8% of statements [2022-04-27T04:17:30.369Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.488s coverage: 60.0% of statements [2022-04-27T04:17:30.369Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-27T04:17:30.369Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-27T04:17:34.718Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.398s coverage: 34.8% of statements [2022-04-27T04:17:34.718Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-27T04:17:36.716Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.269s coverage: 86.1% of statements [2022-04-27T04:17:36.716Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-27T04:17:36.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-27T04:17:36.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.524s coverage: 65.1% of statements [2022-04-27T04:17:36.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.490s coverage: 89.2% of statements [2022-04-27T04:17:36.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-27T04:17:42.117Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.263s coverage: 4.7% of statements [2022-04-27T04:17:42.117Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-27T04:17:42.731Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-27T04:17:42.731Z] GO111MODULE=on go vet ./... [2022-04-27T04:19:19.600Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T04:19:19.600Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T04:19:19.600Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T04:19:19.641Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T04:19:19.685Z] $ docker stop --time=1 6cbd39405184bd13fcaa748231b57ea516c91ab566cb7f69e0a3b1cac6fa918b [2022-04-27T04:19:21.551Z] $ docker rm -f 6cbd39405184bd13fcaa748231b57ea516c91ab566cb7f69e0a3b1cac6fa918b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T04:19:23.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T04:19:23.107Z] Warning: overwriting stash ‘coverage-report’ [2022-04-27T04:19:23.811Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T04:19:24.428Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T04:19:24.787Z] + ls -al . [2022-04-27T04:19:24.787Z] total 312 [2022-04-27T04:19:24.787Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 04:19 . [2022-04-27T04:19:24.787Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:12 .. [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:12 .dockerignore [2022-04-27T04:19:24.787Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:12 .git [2022-04-27T04:19:24.787Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:12 .github [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 04:12 .gitignore [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 04:12 .golangci.yml [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 27 04:12 CHANGELOG.md [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:12 GOVERNANCE.md [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 27 04:12 Jenkinsfile [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:12 LICENSE [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 27 04:12 Makefile [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 04:12 OWNERS.md [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 27 04:12 README.md [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 04:07 VERSION [2022-04-27T04:19:24.787Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:12 bin [2022-04-27T04:19:24.787Z] -rw-r--r-- 1 jenkins jenkins 130819 Apr 27 04:17 coverage.out [2022-04-27T04:19:24.787Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:12 example [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 3198 Apr 27 04:12 go.mod [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 53758 Apr 27 04:12 go.sum [2022-04-27T04:19:24.787Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 04:12 internal [2022-04-27T04:19:24.787Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:12 openapi [2022-04-27T04:19:24.787Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:12 pkg [2022-04-27T04:19:24.787Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:12 snap [2022-04-27T04:19:24.787Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:12 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:19:25.167Z] + 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=f2318f78700d3f26c3db6ad01a658d4b152c30d1 --label arch=arm64 --label version=0.0.0 . [2022-04-27T04:19:25.771Z] Sending build context to Docker daemon 5.34MB [2022-04-27T04:19:25.771Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T04:19:25.771Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-27T04:19:25.771Z] ---> f1944884d085 [2022-04-27T04:19:25.771Z] Step 3/25 : ARG MAKE=make build [2022-04-27T04:19:25.771Z] ---> Running in 5d9fe8c7badf [2022-04-27T04:19:26.369Z] Removing intermediate container 5d9fe8c7badf [2022-04-27T04:19:26.369Z] ---> a48fba4aebf0 [2022-04-27T04:19:26.369Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-27T04:19:26.369Z] ---> Running in 2b4190749aef [2022-04-27T04:19:26.646Z] Removing intermediate container 2b4190749aef [2022-04-27T04:19:26.646Z] ---> f20a637944d0 [2022-04-27T04:19:26.646Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:19:26.646Z] ---> Running in 2943bced539d [2022-04-27T04:19:26.925Z] Removing intermediate container 2943bced539d [2022-04-27T04:19:26.925Z] ---> be6b28005b87 [2022-04-27T04:19:26.925Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:19:27.206Z] ---> Running in 86645def1901 [2022-04-27T04:19:29.193Z] Removing intermediate container 86645def1901 [2022-04-27T04:19:29.193Z] ---> d56822bb6e6f [2022-04-27T04:19:29.193Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-27T04:19:29.193Z] ---> Running in a1e464c4b6b3 [2022-04-27T04:19:30.179Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T04:19:31.166Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T04:19:32.150Z] OK: 220 MiB in 52 packages [2022-04-27T04:19:33.145Z] Removing intermediate container a1e464c4b6b3 [2022-04-27T04:19:33.145Z] ---> a7030b34bba7 [2022-04-27T04:19:33.145Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-27T04:19:33.424Z] ---> 4dd4ae684c00 [2022-04-27T04:19:33.424Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T04:19:33.701Z] ---> Running in b52d367576b8 [2022-04-27T04:19:35.698Z] Removing intermediate container b52d367576b8 [2022-04-27T04:19:35.698Z] ---> ad73de06b9e2 [2022-04-27T04:19:35.698Z] Step 10/25 : COPY . . [2022-04-27T04:19:37.142Z] ---> 77c55b2ce981 [2022-04-27T04:19:37.142Z] Step 11/25 : RUN ${MAKE} [2022-04-27T04:19:37.142Z] ---> Running in 9febfc6f1cdb [2022-04-27T04:19:38.130Z] 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-04-27T04:22:00.102Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-27T04:22:00.102Z] Removing intermediate container 9febfc6f1cdb [2022-04-27T04:22:00.102Z] ---> 5467b481e48f [2022-04-27T04:22:00.102Z] Step 12/25 : FROM alpine:3.14 [2022-04-27T04:22:00.102Z] 3.14: Pulling from library/alpine [2022-04-27T04:22:00.102Z] 455c02918c45: Pulling fs layer [2022-04-27T04:22:00.102Z] 455c02918c45: Verifying Checksum [2022-04-27T04:22:00.102Z] 455c02918c45: Download complete [2022-04-27T04:22:00.102Z] 455c02918c45: Pull complete [2022-04-27T04:22:00.102Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T04:22:00.102Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T04:22:00.102Z] ---> ac73e934f311 [2022-04-27T04:22:00.102Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-27T04:22:00.102Z] ---> Running in 11708fd735bb [2022-04-27T04:22:00.102Z] Removing intermediate container 11708fd735bb [2022-04-27T04:22:00.102Z] ---> 7801951091ef [2022-04-27T04:22:00.102Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T04:22:00.102Z] ---> Running in e014d519c662 [2022-04-27T04:22:00.102Z] Removing intermediate container e014d519c662 [2022-04-27T04:22:00.102Z] ---> 9fb0a57ccf0d [2022-04-27T04:22:00.102Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-27T04:22:00.102Z] ---> Running in fbe27f600dbd [2022-04-27T04:22:00.102Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-27T04:22:00.102Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-27T04:22:00.102Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T04:22:00.102Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-27T04:22:00.102Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T04:22:00.102Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-27T04:22:00.102Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-27T04:22:00.102Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T04:22:00.102Z] OK: 8 MiB in 19 packages [2022-04-27T04:22:01.098Z] Removing intermediate container fbe27f600dbd [2022-04-27T04:22:01.098Z] ---> 6d24cb132684 [2022-04-27T04:22:01.098Z] Step 16/25 : WORKDIR / [2022-04-27T04:22:01.098Z] ---> Running in 1f78e512c0b2 [2022-04-27T04:22:01.373Z] Removing intermediate container 1f78e512c0b2 [2022-04-27T04:22:01.373Z] ---> b73cf5934bef [2022-04-27T04:22:01.373Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-27T04:22:01.974Z] ---> 52ae44aa90dd [2022-04-27T04:22:01.974Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-27T04:22:03.423Z] ---> efe65bdaa6b5 [2022-04-27T04:22:03.423Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-27T04:22:04.033Z] ---> 19c32f44ef2b [2022-04-27T04:22:04.033Z] Step 20/25 : EXPOSE 59999 [2022-04-27T04:22:04.308Z] ---> Running in 3e914708df67 [2022-04-27T04:22:04.582Z] Removing intermediate container 3e914708df67 [2022-04-27T04:22:04.582Z] ---> 80acec4e67a2 [2022-04-27T04:22:04.582Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-27T04:22:04.582Z] ---> Running in e466d14b3bcc [2022-04-27T04:22:04.863Z] Removing intermediate container e466d14b3bcc [2022-04-27T04:22:04.863Z] ---> a6011e5a2fdb [2022-04-27T04:22:04.863Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-27T04:22:05.157Z] ---> Running in 20b2c3a94749 [2022-04-27T04:22:05.432Z] Removing intermediate container 20b2c3a94749 [2022-04-27T04:22:05.432Z] ---> 7ab8ce258322 [2022-04-27T04:22:05.432Z] Step 23/25 : LABEL arch=arm64 [2022-04-27T04:22:05.432Z] ---> Running in ee6c6636c3b6 [2022-04-27T04:22:05.715Z] Removing intermediate container ee6c6636c3b6 [2022-04-27T04:22:05.715Z] ---> c629b9e8f8cf [2022-04-27T04:22:05.715Z] Step 24/25 : LABEL git_sha=f2318f78700d3f26c3db6ad01a658d4b152c30d1 [2022-04-27T04:22:06.001Z] ---> Running in 39841255ce7d [2022-04-27T04:22:06.278Z] Removing intermediate container 39841255ce7d [2022-04-27T04:22:06.278Z] ---> 35861a200063 [2022-04-27T04:22:06.278Z] Step 25/25 : LABEL version=0.0.0 [2022-04-27T04:22:06.278Z] ---> Running in d215c7510e92 [2022-04-27T04:22:06.553Z] Removing intermediate container d215c7510e92 [2022-04-27T04:22:06.553Z] ---> fbee3da309cb [2022-04-27T04:22:06.553Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T04:22:06.553Z] Successfully built fbee3da309cb [2022-04-27T04:22:06.553Z] Successfully tagged device-sdk-simple-arm64:latest [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] sh [2022-04-27T04:22:07.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T04:22:07.484Z] [2022-04-27T04:22:07.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:22:07.872Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T04:22:08.148Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-27T04:22:08.148Z] 8998bd30e6a1: Pulling fs layer [2022-04-27T04:22:08.148Z] 04944245beec: Pulling fs layer [2022-04-27T04:22:08.148Z] 699f458cf7ca: Pulling fs layer [2022-04-27T04:22:08.148Z] 765212b225bb: Pulling fs layer [2022-04-27T04:22:08.148Z] f23df028b6ca: Pulling fs layer [2022-04-27T04:22:08.148Z] d65c8cfc05b1: Pulling fs layer [2022-04-27T04:22:08.148Z] 2437ff75d9bd: Pulling fs layer [2022-04-27T04:22:08.148Z] f23df028b6ca: Waiting [2022-04-27T04:22:08.148Z] d65c8cfc05b1: Waiting [2022-04-27T04:22:08.148Z] 765212b225bb: Waiting [2022-04-27T04:22:08.148Z] 2437ff75d9bd: Waiting [2022-04-27T04:22:08.148Z] 04944245beec: Verifying Checksum [2022-04-27T04:22:08.148Z] 04944245beec: Download complete [2022-04-27T04:22:08.148Z] 765212b225bb: Verifying Checksum [2022-04-27T04:22:08.148Z] 765212b225bb: Download complete [2022-04-27T04:22:08.148Z] f23df028b6ca: Download complete [2022-04-27T04:22:08.148Z] d65c8cfc05b1: Verifying Checksum [2022-04-27T04:22:08.148Z] d65c8cfc05b1: Download complete [2022-04-27T04:22:08.426Z] 699f458cf7ca: Verifying Checksum [2022-04-27T04:22:08.426Z] 699f458cf7ca: Download complete [2022-04-27T04:22:08.703Z] 8998bd30e6a1: Verifying Checksum [2022-04-27T04:22:08.703Z] 8998bd30e6a1: Download complete [2022-04-27T04:22:11.341Z] 2437ff75d9bd: Verifying Checksum [2022-04-27T04:22:11.341Z] 2437ff75d9bd: Download complete [2022-04-27T04:22:13.346Z] 8998bd30e6a1: Pull complete [2022-04-27T04:22:13.623Z] 04944245beec: Pull complete [2022-04-27T04:22:15.066Z] 699f458cf7ca: Pull complete [2022-04-27T04:22:15.343Z] 765212b225bb: Pull complete [2022-04-27T04:22:16.331Z] f23df028b6ca: Pull complete [2022-04-27T04:22:16.613Z] d65c8cfc05b1: Pull complete [2022-04-27T04:22:31.737Z] 2437ff75d9bd: Pull complete [2022-04-27T04:22:31.737Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-27T04:22:31.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T04:22:31.737Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-27T04:22:32.004Z] prd-ubuntu20.04-docker-arm64-4c-16g-33428 does not seem to be running inside a container [2022-04-27T04:22:32.113Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-27T04:22:34.892Z] $ docker top 3e15a247dfabf6dc5ecb77105efa9f1abc906b96c1df9673c7e8853aba2634b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:22:35.896Z] ---> job-cost.sh [2022-04-27T04:22:35.896Z] lf-activate-venv: SKIPPING [2022-04-27T04:22:35.896Z] INFO: No Stack... [2022-04-27T04:22:36.172Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-27T04:22:37.155Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T04:22:37.847Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-04-27T04:22:37.847Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T04:22:37.936Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1148-1-stack-cost] [2022-04-27T04:22:37.940Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1148-1-stack-cost] did not exist. Created. [2022-04-27T04:22:37.941Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1148-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T04:22:38.695Z] /w/workspace/device-sdk-go/1@tmp/durable-9d590e9b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-27T04:22:39.401Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-27T04:22:39.439Z] Warning: overwriting stash ‘stack-cost’ [2022-04-27T04:22:39.510Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T04:22:39.524Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1148-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T04:22:39.619Z] $ docker stop --time=1 3e15a247dfabf6dc5ecb77105efa9f1abc906b96c1df9673c7e8853aba2634b7 [2022-04-27T04:22:41.166Z] $ docker rm -f 3e15a247dfabf6dc5ecb77105efa9f1abc906b96c1df9673c7e8853aba2634b7 [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-04-27T04:22:42.444Z] provisioning config files... [2022-04-27T04:22:42.476Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp/config1814897000966337193tmp [Pipeline] { [Pipeline] sh [2022-04-27T04:22:42.807Z] + set +x [2022-04-27T04:22:42.807Z] + curl -s https://codecov.io/bash [2022-04-27T04:22:42.807Z] + bash -s -- [2022-04-27T04:22:42.807Z] [2022-04-27T04:22:42.807Z] _____ _ [2022-04-27T04:22:42.807Z] / ____| | | [2022-04-27T04:22:42.807Z] | | ___ __| | ___ ___ _____ __ [2022-04-27T04:22:42.807Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-27T04:22:42.807Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-27T04:22:42.807Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-27T04:22:42.807Z] Bash-1.0.6 [2022-04-27T04:22:42.807Z] [2022-04-27T04:22:42.807Z] [2022-04-27T04:22:42.807Z] ==> git version 2.25.1 found [2022-04-27T04:22:42.807Z] ==> 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-04-27T04:22:42.807Z] Release-Date: 2020-01-08 [2022-04-27T04:22:42.807Z] 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-04-27T04:22:42.807Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-27T04:22:42.807Z] ==> Jenkins CI detected. [2022-04-27T04:22:42.807Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1148 [2022-04-27T04:22:42.807Z] project root: . [2022-04-27T04:22:42.807Z] --> token set from env [2022-04-27T04:22:42.807Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-27T04:22:42.807Z] ==> Running gcov in . (disable via -X gcov) [2022-04-27T04:22:42.807Z] ==> Python coveragepy not found [2022-04-27T04:22:42.807Z] ==> Searching for coverage reports in: [2022-04-27T04:22:42.807Z] + . [2022-04-27T04:22:42.807Z] -> Found 1 reports [2022-04-27T04:22:42.807Z] ==> Detecting git/mercurial file structure [2022-04-27T04:22:42.807Z] ==> Reading reports [2022-04-27T04:22:42.807Z] + ./coverage.out bytes=130819 [2022-04-27T04:22:42.807Z] ==> Appending adjustments [2022-04-27T04:22:42.807Z] https://docs.codecov.io/docs/fixing-reports [2022-04-27T04:22:43.380Z] + Found adjustments [2022-04-27T04:22:43.380Z] ==> Gzipping contents [2022-04-27T04:22:43.380Z] 20K /tmp/codecov.RKN4Fi.gz [2022-04-27T04:22:43.380Z] ==> Uploading reports [2022-04-27T04:22:43.380Z] url: https://codecov.io [2022-04-27T04:22:43.380Z] query: branch=PR-1148&commit=f2318f78700d3f26c3db6ad01a658d4b152c30d1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1148%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1148&job=&cmd_args= [2022-04-27T04:22:43.380Z] -> Pinging Codecov [2022-04-27T04:22:43.380Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1148&commit=f2318f78700d3f26c3db6ad01a658d4b152c30d1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1148%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1148&job=&cmd_args= [2022-04-27T04:22:43.642Z] -> Uploading to [2022-04-27T04:22:43.642Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-27/7E55EF52A471D76F132DFD9A03CDDE97/f2318f78700d3f26c3db6ad01a658d4b152c30d1/b7cd3572-7a07-47a1-847e-8c5ad5e7df04.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T042243Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cbc8799b7a87a435531475e7ee87e085e9d027744ebe7a1944b147e39bbe92f6 [2022-04-27T04:22:43.642Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T04:22:43.642Z] Dload Upload Total Spent Left Speed [2022-04-27T04:22:43.906Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16799 0 0 100 16799 0 82753 --:--:-- --:--:-- --:--:-- 82348 100 16799 0 0 100 16799 0 75671 --:--:-- --:--:-- --:--:-- 75331 [2022-04-27T04:22:43.906Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f2318f78700d3f26c3db6ad01a658d4b152c30d1 [Pipeline] } [2022-04-27T04:22:43.931Z] 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-04-27T04:22:45.585Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1148/archives ] [2022-04-27T04:22:45.585Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1148/archives [2022-04-27T04:22:45.585Z] total 16 [2022-04-27T04:22:45.585Z] drwxr-xr-x 3 root root 4096 Apr 27 04:09 . [2022-04-27T04:22:45.585Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 04:09 .. [2022-04-27T04:22:45.585Z] drwxr-xr-x 2 root root 4096 Apr 27 04:09 cost [2022-04-27T04:22:45.585Z] -rw-r--r-- 1 root root 85 Apr 27 04:09 cost.csv [2022-04-27T04:22:45.585Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1148/archives [2022-04-27T04:22:45.585Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1148/archives [2022-04-27T04:22:45.585Z] total 16 [2022-04-27T04:22:45.585Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:09 . [2022-04-27T04:22:45.585Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 04:09 .. [2022-04-27T04:22:45.585Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 04:09 cost [2022-04-27T04:22:45.585Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 27 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:22:45.916Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:22:46.817Z] ---> package-listing.sh [2022-04-27T04:22:46.817Z] ++ facter osfamily [2022-04-27T04:22:46.817Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-27T04:22:47.078Z] + OS_FAMILY=debian [2022-04-27T04:22:47.078Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1148 [2022-04-27T04:22:47.078Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-27T04:22:47.078Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-27T04:22:47.078Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-27T04:22:47.078Z] + PACKAGES=/tmp/packages_start.txt [2022-04-27T04:22:47.078Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1148 ']' [2022-04-27T04:22:47.078Z] + PACKAGES=/tmp/packages_end.txt [2022-04-27T04:22:47.078Z] + case "${OS_FAMILY}" in [2022-04-27T04:22:47.078Z] + dpkg -l [2022-04-27T04:22:47.078Z] + grep '^ii' [2022-04-27T04:22:47.078Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-27T04:22:47.078Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-27T04:22:47.078Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-27T04:22:47.078Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1148 ']' [2022-04-27T04:22:47.078Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1148/archives/ [2022-04-27T04:22:47.078Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1148/archives/ [Pipeline] echo [2022-04-27T04:22:47.110Z] 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-1148/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-27T04:22:47.404Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-27T04:22:47.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T04:22:47.991Z] . [Pipeline] withDockerContainer [2022-04-27T04:22:48.077Z] prd-ubuntu20.04-docker-8c-8g-33427 does not seem to be running inside a container [2022-04-27T04:22:48.120Z] $ 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-1148/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-1148 -v /w/workspace/gexfoundry_device-sdk-go_PR-1148:/w/workspace/gexfoundry_device-sdk-go_PR-1148:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-27T04:22:48.596Z] $ docker top 9d6f898b07e38b67a15cd0961bd32171eab46c2d94c699e757f56dfed1cda27d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T04:22:49.004Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-27T04:22:49.317Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-27T04:22:49.634Z] + ls /var/log/sa-host [2022-04-27T04:22:49.634Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T04:22:49.926Z] provisioning config files... [2022-04-27T04:22:49.936Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1148@tmp/config7862990480563201425tmp [Pipeline] { [Pipeline] echo [2022-04-27T04:22:49.988Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:22:50.303Z] ---> create-netrc.sh [Pipeline] } [2022-04-27T04:22:50.329Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:22:50.740Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-27T04:22:50.776Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:22:51.095Z] ---> sudo-logs.sh [2022-04-27T04:22:51.096Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-27T04:22:51.188Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:22:51.503Z] ---> job-cost.sh [2022-04-27T04:22:51.503Z] lf-activate-venv: SKIPPING [2022-04-27T04:22:51.503Z] DEBUG: total: 0.2199999988079071 [2022-04-27T04:22:51.503Z] INFO: Retrieving Stack Cost... [2022-04-27T04:22:52.074Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T04:22:52.647Z] INFO: Archiving Costs [Pipeline] echo [2022-04-27T04:22:52.683Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T04:22:53.002Z] ---> logs-deploy.sh [2022-04-27T04:22:53.002Z] lf-activate-venv: SKIPPING [2022-04-27T04:22:53.002Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1148/1 [2022-04-27T04:22:53.002Z] INFO: archiving workspace using pattern(s): [2022-04-27T04:22:53.944Z] Archives upload complete. [2022-04-27T04:22:53.944Z] INFO: archiving logs to Nexus