Pull request #1055 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 555c3bb6a6e69767d223739ff73f88b00326690d rather than 9ebce020d3a55f848ce07809c18feb3db92e593d Obtained Jenkinsfile from 555c3bb6a6e69767d223739ff73f88b00326690d Running in Durability level: MAX_SURVIVABILITY 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-ssh3924192130719080675.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh3171579792913592028.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-1055/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-1055/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7999543405725266779.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-1055/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh701730775877332099.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-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-ssh3509750266808272396.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-1055/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-1055/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh416718574088731448.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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: [[centos7-docker-4c-2g, ubuntu18.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.16 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 Running on prd-centos7-docker-4c-2g-27721 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-1055 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/jenkins-gitclient-ssh2656516576997614891.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/jenkins-gitclient-ssh4443038761008172307.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 555c3bb6a6e69767d223739ff73f88b00326690d into PR head commit 9ebce020d3a55f848ce07809c18feb3db92e593d Merge succeeded, producing 9ebce020d3a55f848ce07809c18feb3db92e593d Checking out Revision 9ebce020d3a55f848ce07809c18feb3db92e593d (PR-1055) > git config core.sparsecheckout # timeout=10 > git checkout -f 9ebce020d3a55f848ce07809c18feb3db92e593d # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/jenkins-gitclient-ssh119183236429423769.key > git merge 555c3bb6a6e69767d223739ff73f88b00326690d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ebce020d3a55f848ce07809c18feb3db92e593d # timeout=10 Commit message: "fix: Update ProfileCache when adding or updating the Provision Watcher" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-05T08:30:12.504Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-05T08:30:12.656Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-05T08:30:12.727Z] ========================================================= [2021-11-05T08:30:12.727Z] EdgeX Global Pipelines Version Info [2021-11-05T08:30:12.727Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-05T08:30:13.919Z] ------------------- [2021-11-05T08:30:13.919Z] stable info: [2021-11-05T08:30:13.919Z] ------------------- [2021-11-05T08:30:13.919Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-05T08:30:13.919Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-05T08:30:13.919Z] Message: update stable to v1.0.211 [2021-11-05T08:30:14.492Z] ------------------- [2021-11-05T08:30:14.492Z] experimental info: [2021-11-05T08:30:14.492Z] ------------------- [2021-11-05T08:30:14.492Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-05T08:30:14.492Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-05T08:30:14.492Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-05T08:30:14.649Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-05T08:30:14.689Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-05T08:30:14.725Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-05T08:30:14.760Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-05T08:30:14.794Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-05T08:30:14.832Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-05T08:30:14.867Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-05T08:30:14.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-05T08:30:14.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-05T08:30:14.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-05T08:30:15.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-05T08:30:15.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-05T08:30:15.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-05T08:30:15.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-05T08:30:15.176Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-05T08:30:15.220Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-05T08:30:15.257Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-05T08:30:15.292Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-05T08:30:15.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-05T08:30:15.371Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-05T08:30:15.409Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-05T08:30:15.446Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-05T08:30:15.477Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-05T08:30:15.513Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-05T08:30:15.548Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-05T08:30:15.583Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-05T08:30:15.621Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1055 [Pipeline] echo [2021-11-05T08:30:15.658Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1055 [Pipeline] echo [2021-11-05T08:30:15.700Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1055 [Pipeline] echo [2021-11-05T08:30:15.734Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9ebce020d3a55f848ce07809c18feb3db92e593d [Pipeline] echo [2021-11-05T08:30:15.773Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9ebce02 [Pipeline] echo [2021-11-05T08:30:15.834Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-05T08:30:15.926Z] provisioning config files... [2021-11-05T08:30:15.938Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config1322666996953530961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T08:30:16.303Z] ---> docker-login.sh [2021-11-05T08:30:16.303Z] nexus3.edgexfoundry.org:10001 [2021-11-05T08:30:16.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:30:16.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:30:16.568Z] Configure a credential helper to remove this warning. See [2021-11-05T08:30:16.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:30:16.568Z] [2021-11-05T08:30:16.568Z] Login Succeeded [2021-11-05T08:30:16.568Z] nexus3.edgexfoundry.org:10002 [2021-11-05T08:30:16.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:30:16.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:30:16.568Z] Configure a credential helper to remove this warning. See [2021-11-05T08:30:16.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:30:16.568Z] [2021-11-05T08:30:16.568Z] Login Succeeded [2021-11-05T08:30:16.568Z] nexus3.edgexfoundry.org:10003 [2021-11-05T08:30:16.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:30:16.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:30:16.849Z] Configure a credential helper to remove this warning. See [2021-11-05T08:30:16.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:30:16.849Z] [2021-11-05T08:30:16.849Z] Login Succeeded [2021-11-05T08:30:16.849Z] nexus3.edgexfoundry.org:10004 [2021-11-05T08:30:16.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:30:16.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:30:16.849Z] Configure a credential helper to remove this warning. See [2021-11-05T08:30:16.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:30:16.849Z] [2021-11-05T08:30:16.849Z] Login Succeeded [2021-11-05T08:30:16.849Z] docker.io [2021-11-05T08:30:17.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:30:17.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:30:17.378Z] Configure a credential helper to remove this warning. See [2021-11-05T08:30:17.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:30:17.378Z] [2021-11-05T08:30:17.378Z] Login Succeeded [2021-11-05T08:30:17.378Z] ---> docker-login.sh ends [Pipeline] } [2021-11-05T08:30:17.396Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-05T08:30:17.997Z] + git rev-list -1 --merges 9ebce020d3a55f848ce07809c18feb3db92e593d~1..9ebce020d3a55f848ce07809c18feb3db92e593d [Pipeline] echo [2021-11-05T08:30:18.056Z] -----------> git rev-list -1 --merges 9ebce020d3a55f848ce07809c18feb3db92e593d~1..9ebce020d3a55f848ce07809c18feb3db92e593d 9ebce020d3a55f848ce07809c18feb3db92e593d [false] [Pipeline] sh [2021-11-05T08:30:18.392Z] + git log --format=format:%s -1 9ebce020d3a55f848ce07809c18feb3db92e593d [Pipeline] echo [2021-11-05T08:30:18.427Z] ========================================================= [2021-11-05T08:30:18.427Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-05T08:30:18.427Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-05T08:30:18.857Z] + git log --format=format:%s -1 9ebce020d3a55f848ce07809c18feb3db92e593d [Pipeline] echo [2021-11-05T08:30:18.884Z] [semverPrep] GIT_COMMIT: 9ebce020d3a55f848ce07809c18feb3db92e593d, Commit Message: fix: Update ProfileCache when adding or updating the Provision Watcher [Pipeline] echo [2021-11-05T08:30:18.911Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:30:19.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-05T08:30:19.566Z] [2021-11-05T08:30:19.566Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:30:19.912Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-05T08:30:19.912Z] latest: Pulling from edgex-devops/git-semver [2021-11-05T08:30:19.912Z] a0d0a0d46f8b: Pulling fs layer [2021-11-05T08:30:19.912Z] 3e5f54012d9b: Pulling fs layer [2021-11-05T08:30:19.912Z] 4c7163046ea9: Pulling fs layer [2021-11-05T08:30:19.912Z] 0c2d73faf560: Pulling fs layer [2021-11-05T08:30:19.912Z] 0c2d73faf560: Waiting [2021-11-05T08:30:19.912Z] 3e5f54012d9b: Verifying Checksum [2021-11-05T08:30:19.912Z] 3e5f54012d9b: Download complete [2021-11-05T08:30:19.912Z] a0d0a0d46f8b: Verifying Checksum [2021-11-05T08:30:19.912Z] a0d0a0d46f8b: Download complete [2021-11-05T08:30:19.912Z] 4c7163046ea9: Verifying Checksum [2021-11-05T08:30:19.912Z] 4c7163046ea9: Download complete [2021-11-05T08:30:19.912Z] 0c2d73faf560: Verifying Checksum [2021-11-05T08:30:19.912Z] 0c2d73faf560: Download complete [2021-11-05T08:30:20.173Z] a0d0a0d46f8b: Pull complete [2021-11-05T08:30:20.173Z] 3e5f54012d9b: Pull complete [2021-11-05T08:30:20.438Z] 4c7163046ea9: Pull complete [2021-11-05T08:30:20.699Z] 0c2d73faf560: Pull complete [2021-11-05T08:30:20.699Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-05T08:30:20.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-05T08:30:20.699Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-05T08:30:20.797Z] prd-centos7-docker-4c-2g-27721 does not seem to be running inside a container [2021-11-05T08:30:20.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1055 -v /w/workspace/gexfoundry_device-sdk-go_PR-1055:/w/workspace/gexfoundry_device-sdk-go_PR-1055:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1055@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:10004/edgex-devops/git-semver:latest cat [2021-11-05T08:30:21.394Z] $ docker top c5e48b6b4e786ad952c938a33ee4250c462ec5637b93e32a9d0d20457b2d8ca8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-05T08:30:21.570Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-05T08:30:21.570Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-05T08:30:21.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-05T08:30:21.671Z] $ docker exec c5e48b6b4e786ad952c938a33ee4250c462ec5637b93e32a9d0d20457b2d8ca8 ssh-agent [2021-11-05T08:30:21.772Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHHhldi/agent.14 [2021-11-05T08:30:21.772Z] SSH_AGENT_PID=20 [2021-11-05T08:30:21.779Z] Running ssh-add (command line suppressed) [2021-11-05T08:30:21.864Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_1093622929751073756.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_1093622929751073756.key) [2021-11-05T08:30:21.881Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-05T08:30:22.203Z] + git tag --points-at HEAD [Pipeline] } [2021-11-05T08:30:22.219Z] $ docker exec --env ******** --env ******** c5e48b6b4e786ad952c938a33ee4250c462ec5637b93e32a9d0d20457b2d8ca8 ssh-agent -k [2021-11-05T08:30:22.306Z] unset SSH_AUTH_SOCK; [2021-11-05T08:30:22.307Z] unset SSH_AGENT_PID; [2021-11-05T08:30:22.307Z] echo Agent pid 20 killed; [2021-11-05T08:30:22.318Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-05T08:30:22.388Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-05T08:30:22.388Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-05T08:30:22.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-05T08:30:22.482Z] $ docker exec c5e48b6b4e786ad952c938a33ee4250c462ec5637b93e32a9d0d20457b2d8ca8 ssh-agent [2021-11-05T08:30:22.587Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlbhhle/agent.53 [2021-11-05T08:30:22.587Z] SSH_AGENT_PID=59 [2021-11-05T08:30:22.592Z] Running ssh-add (command line suppressed) [2021-11-05T08:30:22.695Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_8033014473629014233.key (/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/private_key_8033014473629014233.key) [2021-11-05T08:30:22.715Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-05T08:30:23.040Z] + git semver init [2021-11-05T08:30:23.040Z] # -> Open(): unable to determine branch for HEAD [2021-11-05T08:30:23.040Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.git [2021-11-05T08:30:23.040Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1055 [2021-11-05T08:30:23.040Z] # $SEMVER_REMOTE_NAME = origin [2021-11-05T08:30:23.040Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-05T08:30:23.040Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-05T08:30:23.040Z] # $SEMVER_BRANCH = PR-1055 [2021-11-05T08:30:23.040Z] # $SEMVER_TEMP = /tmp/semver-734412662 [2021-11-05T08:30:23.040Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-05T08:30:23.981Z] # '/tmp/semver-734412662' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver' [2021-11-05T08:30:23.981Z] # -> Force: false [2021-11-05T08:30:23.981Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1055/.semver [Pipeline] } [2021-11-05T08:30:24.000Z] $ docker exec --env ******** --env ******** c5e48b6b4e786ad952c938a33ee4250c462ec5637b93e32a9d0d20457b2d8ca8 ssh-agent -k [2021-11-05T08:30:24.088Z] unset SSH_AUTH_SOCK; [2021-11-05T08:30:24.088Z] unset SSH_AGENT_PID; [2021-11-05T08:30:24.088Z] echo Agent pid 59 killed; [2021-11-05T08:30:24.100Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-05T08:30:24.491Z] + git semver [Pipeline] } [2021-11-05T08:30:24.519Z] $ docker stop --time=1 c5e48b6b4e786ad952c938a33ee4250c462ec5637b93e32a9d0d20457b2d8ca8 [2021-11-05T08:30:25.729Z] $ docker rm -f c5e48b6b4e786ad952c938a33ee4250c462ec5637b93e32a9d0d20457b2d8ca8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-05T08:30:26.117Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-05T08:30:26.405Z] Stashed 1 file(s) [Pipeline] echo [2021-11-05T08:30:26.421Z] [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] node [Pipeline] node [2021-11-05T08:30:41.836Z] Still waiting to schedule task [2021-11-05T08:30:41.836Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27721’ [2021-11-05T08:30:41.866Z] Still waiting to schedule task [2021-11-05T08:30:41.867Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-05T08:32:18.372Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27722 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws [2021-11-05T08:32:18.414Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-05T08:32:18.648Z] Selected Git installation does not exist. Using Default [2021-11-05T08:32:18.648Z] The recommended git tool is: NONE [2021-11-05T08:32:24.157Z] using credential edgex-jenkins-ssh [2021-11-05T08:32:24.180Z] Cloning the remote Git repository [2021-11-05T08:32:24.247Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T08:32:24.355Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-05T08:32:24.592Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T08:32:24.593Z] > git --version # timeout=10 [2021-11-05T08:32:24.644Z] > git --version # 'git version 2.17.1' [2021-11-05T08:32:24.649Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T08:32:24.811Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-05T08:32:25.986Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-05T08:32:26.004Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-05T08:32:26.034Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-05T08:32:26.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T08:32:26.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T08:32:26.094Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-05T08:32:26.812Z] Merging remotes/origin/main commit 555c3bb6a6e69767d223739ff73f88b00326690d into PR head commit 9ebce020d3a55f848ce07809c18feb3db92e593d [2021-11-05T08:32:27.032Z] Merge succeeded, producing 9ebce020d3a55f848ce07809c18feb3db92e593d [2021-11-05T08:32:27.032Z] Checking out Revision 9ebce020d3a55f848ce07809c18feb3db92e593d (PR-1055) [2021-11-05T08:32:26.831Z] > git config core.sparsecheckout # timeout=10 [2021-11-05T08:32:26.848Z] > git checkout -f 9ebce020d3a55f848ce07809c18feb3db92e593d # timeout=10 [2021-11-05T08:32:26.950Z] > git remote # timeout=10 [2021-11-05T08:32:26.971Z] > git config --get remote.origin.url # timeout=10 [2021-11-05T08:32:26.985Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T08:32:26.996Z] > git merge 555c3bb6a6e69767d223739ff73f88b00326690d # timeout=10 [2021-11-05T08:32:27.018Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-05T08:32:27.039Z] > git config core.sparsecheckout # timeout=10 [2021-11-05T08:32:27.052Z] > git checkout -f 9ebce020d3a55f848ce07809c18feb3db92e593d # timeout=10 [2021-11-05T08:32:31.255Z] Commit message: "fix: Update ProfileCache when adding or updating the Provision Watcher" [2021-11-05T08:32:31.305Z] > git --version # timeout=10 [2021-11-05T08:32:31.321Z] > git --version # 'git version 2.17.1' [2021-11-05T08:32:31.331Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-05T08:32:32.470Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-05T08:32:32.470Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-05T08:32:32.470Z] Dload Upload Total Spent Left Speed [2021-11-05T08:32:32.470Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 77281 0 --:--:-- --:--:-- --:--:-- 76779 [Pipeline] sh [2021-11-05T08:32:32.878Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-05T08:32:33.232Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-05T08:32:33.232Z] + sudo tee /etc/docker/daemon.new [2021-11-05T08:32:33.232Z] { [2021-11-05T08:32:33.232Z] "registry-mirrors": [ [2021-11-05T08:32:33.232Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-05T08:32:33.232Z] ], [2021-11-05T08:32:33.232Z] "bip": "10.250.0.254/24", [2021-11-05T08:32:33.232Z] "hosts": [ [2021-11-05T08:32:33.232Z] "tcp://0.0.0.0:5555", [2021-11-05T08:32:33.232Z] "unix:///var/run/docker.sock" [2021-11-05T08:32:33.232Z] ], [2021-11-05T08:32:33.232Z] "mtu": 1458, [2021-11-05T08:32:33.232Z] "selinux-enabled": true, [2021-11-05T08:32:33.232Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-05T08:32:33.232Z] } [Pipeline] sh [2021-11-05T08:32:33.586Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-05T08:32:33.959Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-05T08:32:52.394Z] provisioning config files... [2021-11-05T08:32:52.419Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config473820779860209385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T08:32:52.815Z] ---> docker-login.sh [2021-11-05T08:32:52.815Z] nexus3.edgexfoundry.org:10001 [2021-11-05T08:32:53.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:32:53.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:32:53.685Z] Configure a credential helper to remove this warning. See [2021-11-05T08:32:53.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:32:53.685Z] [2021-11-05T08:32:53.685Z] Login Succeeded [2021-11-05T08:32:53.685Z] nexus3.edgexfoundry.org:10002 [2021-11-05T08:32:54.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:32:54.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:32:54.280Z] Configure a credential helper to remove this warning. See [2021-11-05T08:32:54.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:32:54.280Z] [2021-11-05T08:32:54.280Z] Login Succeeded [2021-11-05T08:32:54.280Z] nexus3.edgexfoundry.org:10003 [2021-11-05T08:32:54.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:32:54.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:32:54.881Z] Configure a credential helper to remove this warning. See [2021-11-05T08:32:54.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:32:54.881Z] [2021-11-05T08:32:54.881Z] Login Succeeded [2021-11-05T08:32:54.881Z] nexus3.edgexfoundry.org:10004 [2021-11-05T08:32:55.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:32:55.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:32:55.432Z] Configure a credential helper to remove this warning. See [2021-11-05T08:32:55.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:32:55.432Z] [2021-11-05T08:32:55.432Z] Login Succeeded [2021-11-05T08:32:55.432Z] docker.io [2021-11-05T08:32:55.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:32:56.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:32:56.303Z] Configure a credential helper to remove this warning. See [2021-11-05T08:32:56.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:32:56.303Z] [2021-11-05T08:32:56.303Z] Login Succeeded [2021-11-05T08:32:56.303Z] ---> docker-login.sh ends [Pipeline] } [2021-11-05T08:32:56.330Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-05T08:32:56.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-05T08:32:56.930Z] ========================================================= [2021-11-05T08:32:56.930Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-05T08:32:56.930Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:32:57.346Z] + 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.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-05T08:32:57.621Z] Sending build context to Docker daemon 2.744MB [2021-11-05T08:32:57.894Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-05T08:32:57.894Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-05T08:32:57.894Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-05T08:32:57.894Z] 552d1f2373af: Pulling fs layer [2021-11-05T08:32:57.894Z] ea3f2d53f512: Pulling fs layer [2021-11-05T08:32:57.894Z] 9e70ebbbe112: Pulling fs layer [2021-11-05T08:32:57.894Z] 7a9cfe048b4a: Pulling fs layer [2021-11-05T08:32:57.894Z] 72dc09318566: Pulling fs layer [2021-11-05T08:32:57.894Z] f4f7b4309257: Pulling fs layer [2021-11-05T08:32:57.894Z] 0ac9a79272e3: Pulling fs layer [2021-11-05T08:32:57.894Z] b78e95d17946: Pulling fs layer [2021-11-05T08:32:57.894Z] 7a9cfe048b4a: Waiting [2021-11-05T08:32:57.894Z] 72dc09318566: Waiting [2021-11-05T08:32:57.894Z] f4f7b4309257: Waiting [2021-11-05T08:32:57.894Z] 0ac9a79272e3: Waiting [2021-11-05T08:32:57.894Z] b78e95d17946: Waiting [2021-11-05T08:32:57.894Z] 9e70ebbbe112: Download complete [2021-11-05T08:32:57.894Z] ea3f2d53f512: Download complete [2021-11-05T08:32:57.894Z] 72dc09318566: Verifying Checksum [2021-11-05T08:32:57.894Z] 72dc09318566: Download complete [2021-11-05T08:32:58.172Z] f4f7b4309257: Verifying Checksum [2021-11-05T08:32:58.172Z] f4f7b4309257: Download complete [2021-11-05T08:32:58.172Z] 552d1f2373af: Verifying Checksum [2021-11-05T08:32:58.172Z] 552d1f2373af: Download complete [2021-11-05T08:32:58.172Z] 0ac9a79272e3: Verifying Checksum [2021-11-05T08:32:58.172Z] 0ac9a79272e3: Download complete [2021-11-05T08:32:58.775Z] 552d1f2373af: Pull complete [2021-11-05T08:32:59.763Z] ea3f2d53f512: Pull complete [2021-11-05T08:33:00.038Z] b78e95d17946: Verifying Checksum [2021-11-05T08:33:00.038Z] b78e95d17946: Download complete [2021-11-05T08:33:00.038Z] 9e70ebbbe112: Pull complete [2021-11-05T08:33:00.647Z] 7a9cfe048b4a: Verifying Checksum [2021-11-05T08:33:00.647Z] 7a9cfe048b4a: Download complete [2021-11-05T08:33:10.806Z] 7a9cfe048b4a: Pull complete [2021-11-05T08:33:11.079Z] 72dc09318566: Pull complete [2021-11-05T08:33:11.675Z] f4f7b4309257: Pull complete [2021-11-05T08:33:11.948Z] 0ac9a79272e3: Pull complete [2021-11-05T08:33:18.133Z] Running on prd-centos7-docker-4c-2g-27723 in /w/workspace/gexfoundry_device-sdk-go_PR-1055 [Pipeline] { [Pipeline] ws [2021-11-05T08:33:18.177Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-05T08:33:18.307Z] Selected Git installation does not exist. Using Default [2021-11-05T08:33:18.307Z] The recommended git tool is: NONE [2021-11-05T08:33:18.676Z] b78e95d17946: Pull complete [2021-11-05T08:33:18.676Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-05T08:33:18.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-05T08:33:18.676Z] ---> 8b459fc5aaf0 [2021-11-05T08:33:18.676Z] Step 3/10 : ARG MAKE=make build [2021-11-05T08:33:19.659Z] ---> Running in 065cc32fca39 [2021-11-05T08:33:19.932Z] Removing intermediate container 065cc32fca39 [2021-11-05T08:33:19.932Z] ---> 425a46d5cf41 [2021-11-05T08:33:19.932Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-05T08:33:19.932Z] ---> Running in 359bdfbe9f53 [2021-11-05T08:33:20.416Z] using credential edgex-jenkins-ssh [2021-11-05T08:33:20.428Z] Cloning the remote Git repository [2021-11-05T08:33:20.526Z] Removing intermediate container 359bdfbe9f53 [2021-11-05T08:33:20.527Z] ---> 645f62d282a0 [2021-11-05T08:33:20.527Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T08:33:20.527Z] ---> Running in bcb8b0d52e5a [2021-11-05T08:33:19.849Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T08:33:19.896Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-05T08:33:19.922Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T08:33:19.922Z] > git --version # timeout=10 [2021-11-05T08:33:19.928Z] > git --version # 'git version 2.24.4' [2021-11-05T08:33:19.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T08:33:19.967Z] [INFO] Currently running in a labeled security context [2021-11-05T08:33:19.967Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-05T08:33:19.968Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh792762184014230628.key [2021-11-05T08:33:19.987Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-05T08:33:20.800Z] Removing intermediate container bcb8b0d52e5a [2021-11-05T08:33:20.800Z] ---> 2bad67d1f2db [2021-11-05T08:33:20.800Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T08:33:21.073Z] ---> Running in 08c0e2377450 [2021-11-05T08:33:20.804Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-05T08:33:20.826Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-05T08:33:20.839Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-05T08:33:20.866Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T08:33:20.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T08:33:20.867Z] [INFO] Currently running in a labeled security context [2021-11-05T08:33:20.867Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-05T08:33:20.867Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3309488263523888820.key [2021-11-05T08:33:20.875Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1055/head:refs/remotes/origin/PR-1055 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-05T08:33:21.941Z] Merging remotes/origin/main commit 555c3bb6a6e69767d223739ff73f88b00326690d into PR head commit 9ebce020d3a55f848ce07809c18feb3db92e593d [2021-11-05T08:33:22.025Z] Merge succeeded, producing 9ebce020d3a55f848ce07809c18feb3db92e593d [2021-11-05T08:33:22.025Z] Checking out Revision 9ebce020d3a55f848ce07809c18feb3db92e593d (PR-1055) [2021-11-05T08:33:21.475Z] > git config core.sparsecheckout # timeout=10 [2021-11-05T08:33:21.484Z] > git checkout -f 9ebce020d3a55f848ce07809c18feb3db92e593d # timeout=10 [2021-11-05T08:33:21.525Z] > git remote # timeout=10 [2021-11-05T08:33:21.530Z] > git config --get remote.origin.url # timeout=10 [2021-11-05T08:33:21.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T08:33:21.537Z] [INFO] Currently running in a labeled security context [2021-11-05T08:33:21.537Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-05T08:33:21.537Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh166776742181338242.key [2021-11-05T08:33:21.542Z] > git merge 555c3bb6a6e69767d223739ff73f88b00326690d # timeout=10 [2021-11-05T08:33:21.551Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-05T08:33:21.560Z] > git config core.sparsecheckout # timeout=10 [2021-11-05T08:33:21.573Z] > git checkout -f 9ebce020d3a55f848ce07809c18feb3db92e593d # timeout=10 [2021-11-05T08:33:23.059Z] Removing intermediate container 08c0e2377450 [2021-11-05T08:33:23.059Z] ---> 7bfe415e6a82 [2021-11-05T08:33:23.059Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-05T08:33:23.059Z] ---> Running in 8012c2fbd0a6 [2021-11-05T08:33:24.496Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-05T08:33:25.377Z] Commit message: "fix: Update ProfileCache when adding or updating the Provision Watcher" [2021-11-05T08:33:25.210Z] > git --version # timeout=10 [2021-11-05T08:33:25.218Z] > git --version # 'git version 2.24.4' [2021-11-05T08:33:25.231Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-05T08:33:25.471Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-05T08:33:25.931Z] provisioning config files... [2021-11-05T08:33:25.943Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7098887214672019122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T08:33:26.063Z] OK: 219 MiB in 52 packages [2021-11-05T08:33:26.342Z] ---> docker-login.sh [2021-11-05T08:33:26.342Z] nexus3.edgexfoundry.org:10001 [2021-11-05T08:33:26.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:33:26.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:33:26.606Z] Configure a credential helper to remove this warning. See [2021-11-05T08:33:26.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:33:26.606Z] [2021-11-05T08:33:26.606Z] Login Succeeded [2021-11-05T08:33:26.606Z] nexus3.edgexfoundry.org:10002 [2021-11-05T08:33:26.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:33:26.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:33:26.606Z] Configure a credential helper to remove this warning. See [2021-11-05T08:33:26.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:33:26.606Z] [2021-11-05T08:33:26.606Z] Login Succeeded [2021-11-05T08:33:26.606Z] nexus3.edgexfoundry.org:10003 [2021-11-05T08:33:26.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:33:26.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:33:26.606Z] Configure a credential helper to remove this warning. See [2021-11-05T08:33:26.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:33:26.606Z] [2021-11-05T08:33:26.606Z] Login Succeeded [2021-11-05T08:33:26.606Z] nexus3.edgexfoundry.org:10004 [2021-11-05T08:33:26.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:33:26.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:33:26.869Z] Configure a credential helper to remove this warning. See [2021-11-05T08:33:26.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:33:26.869Z] [2021-11-05T08:33:26.869Z] Login Succeeded [2021-11-05T08:33:26.869Z] docker.io [2021-11-05T08:33:26.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T08:33:27.046Z] Removing intermediate container 8012c2fbd0a6 [2021-11-05T08:33:27.046Z] ---> 32d9e0fc5fe0 [2021-11-05T08:33:27.046Z] Step 8/10 : COPY . . [2021-11-05T08:33:27.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T08:33:27.448Z] Configure a credential helper to remove this warning. See [2021-11-05T08:33:27.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T08:33:27.448Z] [2021-11-05T08:33:27.448Z] Login Succeeded [2021-11-05T08:33:27.448Z] ---> docker-login.sh ends [Pipeline] } [2021-11-05T08:33:27.487Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-05T08:33:27.729Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-05T08:33:27.760Z] ========================================================= [2021-11-05T08:33:27.760Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-05T08:33:27.760Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:33:28.020Z] ---> a78badee4d9e [2021-11-05T08:33:28.020Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-05T08:33:28.157Z] + 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.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-05T08:33:28.157Z] Sending build context to Docker daemon 2.755MB [2021-11-05T08:33:28.157Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-05T08:33:28.157Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-05T08:33:28.305Z] ---> Running in a5d1d67b2f0a [2021-11-05T08:33:28.426Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-05T08:33:28.426Z] a0d0a0d46f8b: Pulling fs layer [2021-11-05T08:33:28.426Z] 31adcdaf11c8: Pulling fs layer [2021-11-05T08:33:28.426Z] b8b176561691: Pulling fs layer [2021-11-05T08:33:28.426Z] 4527c011a84f: Pulling fs layer [2021-11-05T08:33:28.426Z] 5d74067f8e1e: Pulling fs layer [2021-11-05T08:33:28.426Z] e0aca202a116: Pulling fs layer [2021-11-05T08:33:28.426Z] 3a43be97a3b4: Pulling fs layer [2021-11-05T08:33:28.426Z] 34cad66bf833: Pulling fs layer [2021-11-05T08:33:28.426Z] b4e3c513aaa6: Pulling fs layer [2021-11-05T08:33:28.426Z] 4527c011a84f: Waiting [2021-11-05T08:33:28.426Z] 5d74067f8e1e: Waiting [2021-11-05T08:33:28.426Z] e0aca202a116: Waiting [2021-11-05T08:33:28.426Z] 3a43be97a3b4: Waiting [2021-11-05T08:33:28.426Z] 34cad66bf833: Waiting [2021-11-05T08:33:28.426Z] b4e3c513aaa6: Waiting [2021-11-05T08:33:28.426Z] b8b176561691: Verifying Checksum [2021-11-05T08:33:28.426Z] b8b176561691: Download complete [2021-11-05T08:33:28.426Z] 31adcdaf11c8: Verifying Checksum [2021-11-05T08:33:28.426Z] 31adcdaf11c8: Download complete [2021-11-05T08:33:28.426Z] 5d74067f8e1e: Verifying Checksum [2021-11-05T08:33:28.426Z] 5d74067f8e1e: Download complete [2021-11-05T08:33:28.426Z] e0aca202a116: Verifying Checksum [2021-11-05T08:33:28.426Z] e0aca202a116: Download complete [2021-11-05T08:33:28.426Z] a0d0a0d46f8b: Verifying Checksum [2021-11-05T08:33:28.426Z] a0d0a0d46f8b: Download complete [2021-11-05T08:33:28.426Z] 3a43be97a3b4: Verifying Checksum [2021-11-05T08:33:28.426Z] 3a43be97a3b4: Download complete [2021-11-05T08:33:28.426Z] 34cad66bf833: Verifying Checksum [2021-11-05T08:33:28.426Z] 34cad66bf833: Download complete [2021-11-05T08:33:29.006Z] b4e3c513aaa6: Verifying Checksum [2021-11-05T08:33:29.006Z] b4e3c513aaa6: Download complete [2021-11-05T08:33:29.006Z] 4527c011a84f: Verifying Checksum [2021-11-05T08:33:29.006Z] 4527c011a84f: Download complete [2021-11-05T08:33:29.006Z] a0d0a0d46f8b: Pull complete [2021-11-05T08:33:29.268Z] 31adcdaf11c8: Pull complete [2021-11-05T08:33:29.268Z] b8b176561691: Pull complete [2021-11-05T08:33:34.581Z] 4527c011a84f: Pull complete [2021-11-05T08:33:34.581Z] 5d74067f8e1e: Pull complete [2021-11-05T08:33:34.582Z] e0aca202a116: Pull complete [2021-11-05T08:33:34.582Z] 3a43be97a3b4: Pull complete [2021-11-05T08:33:34.843Z] 34cad66bf833: Pull complete [2021-11-05T08:33:38.158Z] b4e3c513aaa6: Pull complete [2021-11-05T08:33:38.158Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-05T08:33:38.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-05T08:33:38.158Z] ---> 9f6097aaca64 [2021-11-05T08:33:38.158Z] Step 3/10 : ARG MAKE=make build [2021-11-05T08:33:41.462Z] ---> Running in 2b6308d9747c [2021-11-05T08:33:41.462Z] Removing intermediate container 2b6308d9747c [2021-11-05T08:33:41.462Z] ---> 75ee493f71d3 [2021-11-05T08:33:41.462Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-05T08:33:41.462Z] ---> Running in 0ae4b90dfa51 [2021-11-05T08:33:41.462Z] Removing intermediate container 0ae4b90dfa51 [2021-11-05T08:33:41.462Z] ---> bd26ffbd9806 [2021-11-05T08:33:41.462Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T08:33:41.462Z] ---> Running in ab4982c97156 [2021-11-05T08:33:41.462Z] Removing intermediate container ab4982c97156 [2021-11-05T08:33:41.462Z] ---> 3ed41bc99b8f [2021-11-05T08:33:41.462Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T08:33:41.462Z] ---> Running in 4daca0e04657 [2021-11-05T08:33:42.037Z] Removing intermediate container 4daca0e04657 [2021-11-05T08:33:42.037Z] ---> c4a3af358442 [2021-11-05T08:33:42.037Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-05T08:33:42.037Z] ---> Running in 4b92c58b552d [2021-11-05T08:33:42.299Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-05T08:33:43.258Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-05T08:33:43.523Z] OK: 220 MiB in 52 packages [2021-11-05T08:33:44.102Z] Removing intermediate container 4b92c58b552d [2021-11-05T08:33:44.102Z] ---> 628ff43238ea [2021-11-05T08:33:44.102Z] Step 8/10 : COPY . . [2021-11-05T08:33:44.371Z] ---> 4e14c4cd36ed [2021-11-05T08:33:44.371Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-05T08:33:44.371Z] ---> Running in c704ad3035f0 [2021-11-05T08:34:16.548Z] Removing intermediate container c704ad3035f0 [2021-11-05T08:34:16.548Z] ---> 7a161e5d90ed [2021-11-05T08:34:16.548Z] Step 10/10 : RUN ${MAKE} [2021-11-05T08:34:16.548Z] ---> Running in 9fdbc1d9c049 [2021-11-05T08:34:16.548Z] noop [2021-11-05T08:34:16.808Z] Removing intermediate container 9fdbc1d9c049 [2021-11-05T08:34:16.808Z] ---> e37e8c6ab6e6 [2021-11-05T08:34:16.808Z] Successfully built e37e8c6ab6e6 [2021-11-05T08:34:16.808Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:34:17.134Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-05T08:34:17.134Z] . [Pipeline] withDockerContainer [2021-11-05T08:34:17.213Z] prd-centos7-docker-4c-2g-27723 does not seem to be running inside a container [2021-11-05T08:34:17.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-05T08:34:17.600Z] $ docker top 44ad2ca6cff5f60bd4ceb5886db6137b0f711f58d6e28eb0af739ba2dc7b8f8e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-05T08:34:17.998Z] + go version [2021-11-05T08:34:17.998Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-05T08:34:18.023Z] $ docker stop --time=1 44ad2ca6cff5f60bd4ceb5886db6137b0f711f58d6e28eb0af739ba2dc7b8f8e [2021-11-05T08:34:19.206Z] $ docker rm -f 44ad2ca6cff5f60bd4ceb5886db6137b0f711f58d6e28eb0af739ba2dc7b8f8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:34:19.861Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-05T08:34:19.862Z] . [Pipeline] withDockerContainer [2021-11-05T08:34:19.941Z] prd-centos7-docker-4c-2g-27723 does not seem to be running inside a container [2021-11-05T08:34:19.976Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-05T08:34:20.390Z] $ docker top 84403d7626ebaaa73ac378d91dd5ea00712a2fd214ca6beb62fe5db381ad8fff -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-05T08:34:20.842Z] + make test [2021-11-05T08:34:20.842Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-05T08:34:26.177Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-05T08:34:50.106Z] Removing intermediate container a5d1d67b2f0a [2021-11-05T08:34:50.106Z] ---> a9b83c9beb42 [2021-11-05T08:34:50.106Z] Step 10/10 : RUN ${MAKE} [2021-11-05T08:34:50.106Z] ---> Running in d9264febd983 [2021-11-05T08:34:50.106Z] noop [2021-11-05T08:34:50.106Z] Removing intermediate container d9264febd983 [2021-11-05T08:34:50.106Z] ---> cb27f68fa363 [2021-11-05T08:34:50.106Z] Successfully built cb27f68fa363 [2021-11-05T08:34:50.106Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:34:50.481Z] + docker inspect -f . ci-base-image-arm64 [2021-11-05T08:34:50.481Z] . [Pipeline] withDockerContainer [2021-11-05T08:34:50.767Z] prd-ubuntu18.04-docker-arm64-4c-16g-27722 does not seem to be running inside a container [2021-11-05T08:34:50.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-05T08:34:52.389Z] $ docker top 869cd69d0cc07ceb36f62b0ff8316131aea054c200c9594e7cd625cbf208fb58 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-05T08:34:52.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-05T08:34:52.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-05T08:34:52.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-05T08:34:52.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.054s coverage: 23.3% of statements [2021-11-05T08:34:52.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-05T08:34:52.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 28.1% of statements [2021-11-05T08:34:52.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.045s coverage: 78.9% of statements [2021-11-05T08:34:52.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.078s coverage: 9.0% of statements [2021-11-05T08:34:52.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-05T08:34:52.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-05T08:34:52.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-05T08:34:53.362Z] + go version [2021-11-05T08:34:53.362Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-05T08:34:53.404Z] $ docker stop --time=1 869cd69d0cc07ceb36f62b0ff8316131aea054c200c9594e7cd625cbf208fb58 [2021-11-05T08:34:53.439Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.073s coverage: 28.7% of statements [2021-11-05T08:34:53.439Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-05T08:34:54.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements [2021-11-05T08:34:54.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-05T08:34:54.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-05T08:34:54.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 57.8% of statements [2021-11-05T08:34:55.100Z] $ docker rm -f 869cd69d0cc07ceb36f62b0ff8316131aea054c200c9594e7cd625cbf208fb58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:34:55.842Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.859s coverage: 89.2% of statements [2021-11-05T08:34:55.842Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-05T08:34:55.842Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.9% of statements [2021-11-05T08:34:55.842Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-05T08:34:56.045Z] + docker inspect -f . ci-base-image-arm64 [2021-11-05T08:34:56.046Z] . [Pipeline] withDockerContainer [2021-11-05T08:34:56.102Z] GO111MODULE=on go vet ./... [2021-11-05T08:34:56.315Z] prd-ubuntu18.04-docker-arm64-4c-16g-27722 does not seem to be running inside a container [2021-11-05T08:34:56.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-05T08:34:57.891Z] $ docker top df1e2c87f50345e2b019fe8c53b16ec24660285e10b735c4b61ab390664d8325 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-05T08:34:58.917Z] + make test [2021-11-05T08:34:58.917Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-05T08:35:14.301Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-05T08:35:14.301Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-05T08:35:14.301Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-05T08:35:14.324Z] $ docker stop --time=1 84403d7626ebaaa73ac378d91dd5ea00712a2fd214ca6beb62fe5db381ad8fff [2021-11-05T08:35:15.897Z] $ docker rm -f 84403d7626ebaaa73ac378d91dd5ea00712a2fd214ca6beb62fe5db381ad8fff [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-05T08:35:16.390Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-05T08:35:16.592Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-05T08:35:17.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-05T08:35:18.345Z] + ls -al . [2021-11-05T08:35:18.345Z] total 264 [2021-11-05T08:35:18.345Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 5 08:35 . [2021-11-05T08:35:18.345Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 5 08:33 .. [2021-11-05T08:35:18.345Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 5 08:33 bin [2021-11-05T08:35:18.345Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 5 08:33 CHANGELOG.md [2021-11-05T08:35:18.345Z] -rw-r--r--. 1 jenkins jenkins 128019 Nov 5 08:34 coverage.out [2021-11-05T08:35:18.345Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 5 08:33 .dockerignore [2021-11-05T08:35:18.345Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 5 08:33 example [2021-11-05T08:35:18.345Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 5 08:33 .git [2021-11-05T08:35:18.345Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 5 08:33 .github [2021-11-05T08:35:18.345Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 5 08:33 .gitignore [2021-11-05T08:35:18.345Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 5 08:33 go.mod [2021-11-05T08:35:18.345Z] -rw-rw-r--. 1 jenkins jenkins 49022 Nov 5 08:33 go.sum [2021-11-05T08:35:18.345Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 5 08:33 GOVERNANCE.md [2021-11-05T08:35:18.345Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 5 08:33 internal [2021-11-05T08:35:18.345Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 5 08:33 Jenkinsfile [2021-11-05T08:35:18.345Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 5 08:33 LICENSE [2021-11-05T08:35:18.345Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 5 08:33 Makefile [2021-11-05T08:35:18.345Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 5 08:33 openapi [2021-11-05T08:35:18.345Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 5 08:33 OWNERS.md [2021-11-05T08:35:18.345Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 5 08:33 pkg [2021-11-05T08:35:18.345Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 5 08:33 README.md [2021-11-05T08:35:18.345Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 5 08:33 snap [2021-11-05T08:35:18.345Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 5 08:30 VERSION [2021-11-05T08:35:18.346Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 5 08:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:35:18.765Z] + 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=9ebce020d3a55f848ce07809c18feb3db92e593d --label arch=amd64 --label version=0.0.0 . [2021-11-05T08:35:18.765Z] Sending build context to Docker daemon 2.884MB [2021-11-05T08:35:18.765Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-05T08:35:18.765Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-05T08:35:18.765Z] ---> e37e8c6ab6e6 [2021-11-05T08:35:18.765Z] Step 3/24 : ARG MAKE=make build [2021-11-05T08:35:18.765Z] ---> Running in aa1847fbb614 [2021-11-05T08:35:19.033Z] Removing intermediate container aa1847fbb614 [2021-11-05T08:35:19.033Z] ---> 349409d73fc8 [2021-11-05T08:35:19.033Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-05T08:35:19.033Z] ---> Running in c3db33e8e9e2 [2021-11-05T08:35:19.033Z] Removing intermediate container c3db33e8e9e2 [2021-11-05T08:35:19.033Z] ---> 1fcc361ce237 [2021-11-05T08:35:19.033Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T08:35:19.033Z] ---> Running in 79a267304883 [2021-11-05T08:35:19.294Z] Removing intermediate container 79a267304883 [2021-11-05T08:35:19.294Z] ---> 96bc49537aad [2021-11-05T08:35:19.294Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T08:35:19.294Z] ---> Running in 9801bff6d0fa [2021-11-05T08:35:19.559Z] Removing intermediate container 9801bff6d0fa [2021-11-05T08:35:19.559Z] ---> 371ba8849c63 [2021-11-05T08:35:19.559Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-05T08:35:19.559Z] ---> Running in aa6fbcc07681 [2021-11-05T08:35:19.820Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-05T08:35:20.762Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-05T08:35:21.023Z] OK: 220 MiB in 52 packages [2021-11-05T08:35:21.298Z] Removing intermediate container aa6fbcc07681 [2021-11-05T08:35:21.298Z] ---> 9633a90e7d52 [2021-11-05T08:35:21.298Z] Step 8/24 : COPY . . [2021-11-05T08:35:21.563Z] ---> 8ddd2d2bbdd1 [2021-11-05T08:35:21.563Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-05T08:35:21.563Z] ---> Running in 0b68d9334a2d [2021-11-05T08:35:22.153Z] Removing intermediate container 0b68d9334a2d [2021-11-05T08:35:22.153Z] ---> 6e0c481194c5 [2021-11-05T08:35:22.153Z] Step 10/24 : RUN ${MAKE} [2021-11-05T08:35:22.153Z] ---> Running in 696b6aafefd8 [2021-11-05T08:35:22.418Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-05T08:35:25.764Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-05T08:35:34.744Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-05T08:35:34.744Z] Removing intermediate container 696b6aafefd8 [2021-11-05T08:35:34.744Z] ---> b761084ab86e [2021-11-05T08:35:34.744Z] Step 11/24 : FROM alpine:3.14 [2021-11-05T08:35:38.043Z] 3.14: Pulling from library/alpine [2021-11-05T08:35:38.043Z] a0d0a0d46f8b: Already exists [2021-11-05T08:35:38.304Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-05T08:35:38.304Z] Status: Downloaded newer image for alpine:3.14 [2021-11-05T08:35:38.304Z] ---> 14119a10abf4 [2021-11-05T08:35:38.304Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T08:35:38.304Z] ---> Running in 435ebacc82c6 [2021-11-05T08:35:38.304Z] Removing intermediate container 435ebacc82c6 [2021-11-05T08:35:38.304Z] ---> 2864cf1aeb66 [2021-11-05T08:35:38.304Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T08:35:38.572Z] ---> Running in 944201bab3b0 [2021-11-05T08:35:38.834Z] Removing intermediate container 944201bab3b0 [2021-11-05T08:35:38.834Z] ---> a161fd403708 [2021-11-05T08:35:38.834Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-05T08:35:38.834Z] ---> Running in d6e960950c51 [2021-11-05T08:35:39.096Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-05T08:35:40.044Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-05T08:35:40.304Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-05T08:35:40.565Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-05T08:35:40.565Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-05T08:35:40.565Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-05T08:35:40.832Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-05T08:35:40.832Z] Executing busybox-1.33.1-r3.trigger [2021-11-05T08:35:40.832Z] OK: 8 MiB in 19 packages [2021-11-05T08:35:41.092Z] Removing intermediate container d6e960950c51 [2021-11-05T08:35:41.092Z] ---> e9cd728a82f8 [2021-11-05T08:35:41.092Z] Step 15/24 : WORKDIR / [2021-11-05T08:35:41.092Z] ---> Running in 981647a5f4ed [2021-11-05T08:35:41.352Z] Removing intermediate container 981647a5f4ed [2021-11-05T08:35:41.353Z] ---> 7b8ad6cb47d9 [2021-11-05T08:35:41.353Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-05T08:35:41.353Z] ---> c1c57c6e8a9b [2021-11-05T08:35:41.353Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-05T08:35:41.923Z] ---> 8cdf20ca68ff [2021-11-05T08:35:41.923Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-05T08:35:41.923Z] ---> 325e2df40cc5 [2021-11-05T08:35:41.923Z] Step 19/24 : EXPOSE 59999 [2021-11-05T08:35:41.923Z] ---> Running in 695d440ef4d7 [2021-11-05T08:35:41.923Z] Removing intermediate container 695d440ef4d7 [2021-11-05T08:35:41.923Z] ---> ff6c9f00073d [2021-11-05T08:35:41.923Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-05T08:35:41.923Z] ---> Running in 065cf093f528 [2021-11-05T08:35:42.182Z] Removing intermediate container 065cf093f528 [2021-11-05T08:35:42.182Z] ---> 1d9ff63c27b0 [2021-11-05T08:35:42.182Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-05T08:35:42.182Z] ---> Running in 41a62f163221 [2021-11-05T08:35:42.182Z] Removing intermediate container 41a62f163221 [2021-11-05T08:35:42.182Z] ---> 13b4d781e155 [2021-11-05T08:35:42.183Z] Step 22/24 : LABEL arch=amd64 [2021-11-05T08:35:42.183Z] ---> Running in c8a6a8840146 [2021-11-05T08:35:42.443Z] Removing intermediate container c8a6a8840146 [2021-11-05T08:35:42.443Z] ---> 502520d22f9e [2021-11-05T08:35:42.443Z] Step 23/24 : LABEL git_sha=9ebce020d3a55f848ce07809c18feb3db92e593d [2021-11-05T08:35:42.443Z] ---> Running in 44946533ba52 [2021-11-05T08:35:42.443Z] Removing intermediate container 44946533ba52 [2021-11-05T08:35:42.443Z] ---> 0c2f69946f70 [2021-11-05T08:35:42.443Z] Step 24/24 : LABEL version=0.0.0 [2021-11-05T08:35:42.443Z] ---> Running in c4e7428aee2b [2021-11-05T08:35:42.443Z] Removing intermediate container c4e7428aee2b [2021-11-05T08:35:42.443Z] ---> ce2d949a76b4 [2021-11-05T08:35:42.443Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-05T08:35:42.443Z] Successfully built ce2d949a76b4 [2021-11-05T08:35:42.443Z] 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 [2021-11-05T08:35:43.272Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T08:35:43.272Z] [2021-11-05T08:35:43.272Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:35:43.603Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T08:35:43.603Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-05T08:35:43.603Z] b4d181a07f80: Pulling fs layer [2021-11-05T08:35:43.603Z] a1111a8f2ec3: Pulling fs layer [2021-11-05T08:35:43.603Z] ed53099fbce6: Pulling fs layer [2021-11-05T08:35:43.603Z] dc539afda2c1: Pulling fs layer [2021-11-05T08:35:43.603Z] 77bc0d833cb6: Pulling fs layer [2021-11-05T08:35:43.603Z] 9065ff56babe: Pulling fs layer [2021-11-05T08:35:43.603Z] d287ab97295c: Pulling fs layer [2021-11-05T08:35:43.603Z] 77bc0d833cb6: Waiting [2021-11-05T08:35:43.603Z] 9065ff56babe: Waiting [2021-11-05T08:35:43.603Z] d287ab97295c: Waiting [2021-11-05T08:35:43.603Z] dc539afda2c1: Waiting [2021-11-05T08:35:43.603Z] a1111a8f2ec3: Verifying Checksum [2021-11-05T08:35:43.603Z] a1111a8f2ec3: Download complete [2021-11-05T08:35:43.603Z] dc539afda2c1: Verifying Checksum [2021-11-05T08:35:43.603Z] dc539afda2c1: Download complete [2021-11-05T08:35:43.603Z] ed53099fbce6: Verifying Checksum [2021-11-05T08:35:43.603Z] ed53099fbce6: Download complete [2021-11-05T08:35:43.875Z] 9065ff56babe: Verifying Checksum [2021-11-05T08:35:43.875Z] 9065ff56babe: Download complete [2021-11-05T08:35:43.875Z] 77bc0d833cb6: Verifying Checksum [2021-11-05T08:35:43.875Z] 77bc0d833cb6: Download complete [2021-11-05T08:35:43.875Z] b4d181a07f80: Verifying Checksum [2021-11-05T08:35:43.875Z] b4d181a07f80: Download complete [2021-11-05T08:35:44.452Z] d287ab97295c: Verifying Checksum [2021-11-05T08:35:44.452Z] d287ab97295c: Download complete [2021-11-05T08:35:45.399Z] b4d181a07f80: Pull complete [2021-11-05T08:35:45.399Z] a1111a8f2ec3: Pull complete [2021-11-05T08:35:45.983Z] ed53099fbce6: Pull complete [2021-11-05T08:35:45.983Z] dc539afda2c1: Pull complete [2021-11-05T08:35:46.242Z] 77bc0d833cb6: Pull complete [2021-11-05T08:35:46.242Z] 9065ff56babe: Pull complete [2021-11-05T08:35:51.541Z] d287ab97295c: Pull complete [2021-11-05T08:35:51.541Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-05T08:35:51.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T08:35:51.541Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-05T08:35:51.629Z] prd-centos7-docker-4c-2g-27723 does not seem to be running inside a container [2021-11-05T08:35:51.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-05T08:35:54.439Z] $ docker top 05de4f6324939eb212ea10fbf8212b8084bc8d50de15c032303470faa828cd6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T08:35:54.929Z] ---> job-cost.sh [2021-11-05T08:35:54.929Z] lf-activate-venv: SKIPPING [2021-11-05T08:35:54.929Z] INFO: No Stack... [2021-11-05T08:35:56.858Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-05T08:35:57.118Z] INFO: Archiving Costs [Pipeline] sh [2021-11-05T08:35:57.430Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-11-05T08:35:57.430Z] + cut -d, -f6 [Pipeline] lock [2021-11-05T08:35:57.484Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-1-stack-cost] [2021-11-05T08:35:57.489Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-1-stack-cost] did not exist. Created. [2021-11-05T08:35:57.489Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-05T08:35:57.864Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-05T08:35:57.912Z] Stashed 1 file(s) [Pipeline] } [2021-11-05T08:35:57.932Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-05T08:35:57.998Z] $ docker stop --time=1 05de4f6324939eb212ea10fbf8212b8084bc8d50de15c032303470faa828cd6b [2021-11-05T08:35:59.134Z] $ docker rm -f 05de4f6324939eb212ea10fbf8212b8084bc8d50de15c032303470faa828cd6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-05T08:36:33.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-05T08:36:33.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-05T08:36:33.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-05T08:36:38.237Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.422s coverage: 23.3% of statements [2021-11-05T08:36:38.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-05T08:36:38.237Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.234s coverage: 28.1% of statements [2021-11-05T08:36:38.237Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.251s coverage: 78.9% of statements [2021-11-05T08:36:38.237Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.212s coverage: 9.0% of statements [2021-11-05T08:36:38.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-05T08:36:38.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-05T08:36:38.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-05T08:36:39.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.339s coverage: 28.7% of statements [2021-11-05T08:36:39.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-05T08:36:41.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.219s coverage: 83.3% of statements [2021-11-05T08:36:41.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-05T08:36:41.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-05T08:36:41.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.372s coverage: 57.8% of statements [2021-11-05T08:36:43.895Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.166s coverage: 89.2% of statements [2021-11-05T08:36:43.895Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-05T08:36:43.895Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.212s coverage: 4.9% of statements [2021-11-05T08:36:43.895Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-05T08:36:44.498Z] GO111MODULE=on go vet ./... [2021-11-05T08:37:41.070Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-05T08:37:41.070Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-05T08:37:41.070Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-05T08:37:42.543Z] $ docker stop --time=1 df1e2c87f50345e2b019fe8c53b16ec24660285e10b735c4b61ab390664d8325 [2021-11-05T08:37:44.431Z] $ docker rm -f df1e2c87f50345e2b019fe8c53b16ec24660285e10b735c4b61ab390664d8325 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-05T08:37:45.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-05T08:37:45.594Z] Warning: overwriting stash ‘coverage-report’ [2021-11-05T08:37:46.133Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-05T08:37:46.709Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-05T08:37:47.054Z] + ls -al . [2021-11-05T08:37:47.054Z] total 300 [2021-11-05T08:37:47.054Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 5 08:37 . [2021-11-05T08:37:47.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 5 08:32 .. [2021-11-05T08:37:47.055Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 5 08:32 .dockerignore [2021-11-05T08:37:47.055Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 5 08:32 .git [2021-11-05T08:37:47.055Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 5 08:32 .github [2021-11-05T08:37:47.055Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 5 08:32 .gitignore [2021-11-05T08:37:47.055Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 5 08:32 CHANGELOG.md [2021-11-05T08:37:47.055Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 5 08:32 GOVERNANCE.md [2021-11-05T08:37:47.055Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 5 08:32 Jenkinsfile [2021-11-05T08:37:47.055Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 5 08:32 LICENSE [2021-11-05T08:37:47.055Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 5 08:32 Makefile [2021-11-05T08:37:47.055Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 5 08:32 OWNERS.md [2021-11-05T08:37:47.055Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 5 08:32 README.md [2021-11-05T08:37:47.055Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 5 08:30 VERSION [2021-11-05T08:37:47.055Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 5 08:32 bin [2021-11-05T08:37:47.055Z] -rw-r--r-- 1 jenkins jenkins 128019 Nov 5 08:36 coverage.out [2021-11-05T08:37:47.055Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 5 08:32 example [2021-11-05T08:37:47.055Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 5 08:32 go.mod [2021-11-05T08:37:47.055Z] -rw-rw-r-- 1 jenkins jenkins 49022 Nov 5 08:32 go.sum [2021-11-05T08:37:47.055Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 5 08:32 internal [2021-11-05T08:37:47.055Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 5 08:32 openapi [2021-11-05T08:37:47.055Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 5 08:32 pkg [2021-11-05T08:37:47.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 5 08:32 snap [2021-11-05T08:37:47.055Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 5 08:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:37:47.415Z] + 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=9ebce020d3a55f848ce07809c18feb3db92e593d --label arch=arm64 --label version=0.0.0 . [2021-11-05T08:37:48.009Z] Sending build context to Docker daemon 2.873MB [2021-11-05T08:37:48.009Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-05T08:37:48.009Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-05T08:37:48.009Z] ---> cb27f68fa363 [2021-11-05T08:37:48.009Z] Step 3/24 : ARG MAKE=make build [2021-11-05T08:37:48.009Z] ---> Running in 847c14041523 [2021-11-05T08:37:48.280Z] Removing intermediate container 847c14041523 [2021-11-05T08:37:48.280Z] ---> facfec863f15 [2021-11-05T08:37:48.280Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-05T08:37:48.554Z] ---> Running in 27998d94befa [2021-11-05T08:37:48.828Z] Removing intermediate container 27998d94befa [2021-11-05T08:37:48.828Z] ---> d4e5e0ea0d56 [2021-11-05T08:37:48.828Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T08:37:49.100Z] ---> Running in 3402fa2ac1da [2021-11-05T08:37:49.378Z] Removing intermediate container 3402fa2ac1da [2021-11-05T08:37:49.378Z] ---> b3c9887ddc4d [2021-11-05T08:37:49.378Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T08:37:49.378Z] ---> Running in f552ca0be4ee [2021-11-05T08:37:51.353Z] Removing intermediate container f552ca0be4ee [2021-11-05T08:37:51.353Z] ---> 6ec0331cebb1 [2021-11-05T08:37:51.353Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-05T08:37:51.353Z] ---> Running in 4dc0d26cf65b [2021-11-05T08:37:52.332Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-05T08:37:53.308Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-05T08:37:54.291Z] OK: 219 MiB in 52 packages [2021-11-05T08:37:54.897Z] Removing intermediate container 4dc0d26cf65b [2021-11-05T08:37:54.897Z] ---> 0f2f75a987d5 [2021-11-05T08:37:54.897Z] Step 8/24 : COPY . . [2021-11-05T08:37:56.345Z] ---> 7c8e9d8ddbbf [2021-11-05T08:37:56.345Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-05T08:37:56.345Z] ---> Running in ad4ca3a3cbee [2021-11-05T08:37:58.975Z] Removing intermediate container ad4ca3a3cbee [2021-11-05T08:37:58.975Z] ---> ea2f9ee9ae99 [2021-11-05T08:37:58.975Z] Step 10/24 : RUN ${MAKE} [2021-11-05T08:37:58.975Z] ---> Running in 3ebc2c611f54 [2021-11-05T08:37:59.960Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-05T08:38:39.008Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-05T08:38:39.008Z] Removing intermediate container 3ebc2c611f54 [2021-11-05T08:38:39.008Z] ---> f7f2ecbb3434 [2021-11-05T08:38:39.008Z] Step 11/24 : FROM alpine:3.14 [2021-11-05T08:38:39.982Z] 3.14: Pulling from library/alpine [2021-11-05T08:38:39.982Z] 552d1f2373af: Already exists [2021-11-05T08:38:40.257Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-05T08:38:40.257Z] Status: Downloaded newer image for alpine:3.14 [2021-11-05T08:38:40.257Z] ---> bb3de5531c18 [2021-11-05T08:38:40.257Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T08:38:40.257Z] ---> Running in 801f0c531c34 [2021-11-05T08:38:40.531Z] Removing intermediate container 801f0c531c34 [2021-11-05T08:38:40.531Z] ---> 7d996756d2d2 [2021-11-05T08:38:40.531Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T08:38:40.818Z] ---> Running in 784deaa917bb [2021-11-05T08:38:42.800Z] Removing intermediate container 784deaa917bb [2021-11-05T08:38:42.800Z] ---> a43a104e592e [2021-11-05T08:38:42.800Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-05T08:38:42.800Z] ---> Running in 5f7851a30eb2 [2021-11-05T08:38:43.786Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-05T08:38:44.765Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-05T08:38:45.744Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-05T08:38:45.744Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-05T08:38:45.744Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-05T08:38:46.016Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-05T08:38:46.016Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-05T08:38:46.289Z] Executing busybox-1.33.1-r3.trigger [2021-11-05T08:38:46.289Z] OK: 8 MiB in 19 packages [2021-11-05T08:38:47.271Z] Removing intermediate container 5f7851a30eb2 [2021-11-05T08:38:47.271Z] ---> 7cae9c39b984 [2021-11-05T08:38:47.271Z] Step 15/24 : WORKDIR / [2021-11-05T08:38:47.271Z] ---> Running in 654ca46666fb [2021-11-05T08:38:47.547Z] Removing intermediate container 654ca46666fb [2021-11-05T08:38:47.547Z] ---> 36575221e47d [2021-11-05T08:38:47.547Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-05T08:38:48.537Z] ---> 0a0bc136a044 [2021-11-05T08:38:48.537Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-05T08:38:49.517Z] ---> 120c0d58439d [2021-11-05T08:38:49.517Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-05T08:38:50.115Z] ---> 7ee2a85749e1 [2021-11-05T08:38:50.115Z] Step 19/24 : EXPOSE 59999 [2021-11-05T08:38:50.390Z] ---> Running in 6553c8e2fcd3 [2021-11-05T08:38:50.667Z] Removing intermediate container 6553c8e2fcd3 [2021-11-05T08:38:50.667Z] ---> 4efe86857b6c [2021-11-05T08:38:50.667Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-05T08:38:50.667Z] ---> Running in 01d79c246f58 [2021-11-05T08:38:51.266Z] Removing intermediate container 01d79c246f58 [2021-11-05T08:38:51.266Z] ---> c68f6e94fbd8 [2021-11-05T08:38:51.266Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-05T08:38:51.266Z] ---> Running in b915c9e76318 [2021-11-05T08:38:51.542Z] Removing intermediate container b915c9e76318 [2021-11-05T08:38:51.542Z] ---> f26bda9b6357 [2021-11-05T08:38:51.542Z] Step 22/24 : LABEL arch=arm64 [2021-11-05T08:38:51.817Z] ---> Running in 5139edebf08d [2021-11-05T08:38:52.092Z] Removing intermediate container 5139edebf08d [2021-11-05T08:38:52.092Z] ---> f29bbc9cb028 [2021-11-05T08:38:52.092Z] Step 23/24 : LABEL git_sha=9ebce020d3a55f848ce07809c18feb3db92e593d [2021-11-05T08:38:52.366Z] ---> Running in 876282289d77 [2021-11-05T08:38:52.640Z] Removing intermediate container 876282289d77 [2021-11-05T08:38:52.640Z] ---> 03210e312d0d [2021-11-05T08:38:52.640Z] Step 24/24 : LABEL version=0.0.0 [2021-11-05T08:38:52.929Z] ---> Running in ff56d1046656 [2021-11-05T08:38:53.203Z] Removing intermediate container ff56d1046656 [2021-11-05T08:38:53.203Z] ---> 741b65e0a187 [2021-11-05T08:38:53.203Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-05T08:38:53.203Z] Successfully built 741b65e0a187 [2021-11-05T08:38:53.203Z] 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 [2021-11-05T08:38:53.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-05T08:38:54.269Z] [2021-11-05T08:38:54.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:38:54.647Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-05T08:38:54.927Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-05T08:38:54.927Z] 448f6bf000e3: Pulling fs layer [2021-11-05T08:38:54.927Z] f757da607395: Pulling fs layer [2021-11-05T08:38:54.927Z] 05883995daec: Pulling fs layer [2021-11-05T08:38:54.927Z] 8603b9c90790: Pulling fs layer [2021-11-05T08:38:54.927Z] 1560dd03e051: Pulling fs layer [2021-11-05T08:38:54.927Z] 27f5ce0e4adf: Pulling fs layer [2021-11-05T08:38:54.927Z] c2d8d7efcc4b: Pulling fs layer [2021-11-05T08:38:54.927Z] 27f5ce0e4adf: Waiting [2021-11-05T08:38:54.927Z] 1560dd03e051: Waiting [2021-11-05T08:38:54.927Z] c2d8d7efcc4b: Waiting [2021-11-05T08:38:54.927Z] 8603b9c90790: Waiting [2021-11-05T08:38:54.927Z] f757da607395: Verifying Checksum [2021-11-05T08:38:54.927Z] f757da607395: Download complete [2021-11-05T08:38:54.927Z] 8603b9c90790: Verifying Checksum [2021-11-05T08:38:54.927Z] 8603b9c90790: Download complete [2021-11-05T08:38:55.204Z] 1560dd03e051: Verifying Checksum [2021-11-05T08:38:55.204Z] 1560dd03e051: Download complete [2021-11-05T08:38:55.204Z] 27f5ce0e4adf: Verifying Checksum [2021-11-05T08:38:55.204Z] 27f5ce0e4adf: Download complete [2021-11-05T08:38:55.204Z] 05883995daec: Verifying Checksum [2021-11-05T08:38:55.204Z] 05883995daec: Download complete [2021-11-05T08:38:55.478Z] 448f6bf000e3: Verifying Checksum [2021-11-05T08:38:55.478Z] 448f6bf000e3: Download complete [2021-11-05T08:38:58.099Z] c2d8d7efcc4b: Download complete [2021-11-05T08:38:59.089Z] 448f6bf000e3: Pull complete [2021-11-05T08:39:00.078Z] f757da607395: Pull complete [2021-11-05T08:39:01.525Z] 05883995daec: Pull complete [2021-11-05T08:39:01.801Z] 8603b9c90790: Pull complete [2021-11-05T08:39:02.778Z] 1560dd03e051: Pull complete [2021-11-05T08:39:03.054Z] 27f5ce0e4adf: Pull complete [2021-11-05T08:39:18.132Z] c2d8d7efcc4b: Pull complete [2021-11-05T08:39:18.132Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-05T08:39:18.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-05T08:39:18.132Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-05T08:39:18.402Z] prd-ubuntu18.04-docker-arm64-4c-16g-27722 does not seem to be running inside a container [2021-11-05T08:39:18.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-05T08:39:21.679Z] $ docker top 092346e3dc93c2e0096ba77a73c0f23a2eeff165e8d8fb46e247ff56829ff90a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T08:39:22.692Z] ---> job-cost.sh [2021-11-05T08:39:22.692Z] lf-activate-venv: SKIPPING [2021-11-05T08:39:22.692Z] INFO: No Stack... [2021-11-05T08:39:23.287Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-05T08:39:23.561Z] INFO: Archiving Costs [Pipeline] sh [2021-11-05T08:39:24.264Z] + cut -d, -f6 [2021-11-05T08:39:24.264Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-11-05T08:39:24.345Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1055-1-stack-cost] [2021-11-05T08:39:24.350Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-1-stack-cost] did not exist. Created. [2021-11-05T08:39:24.350Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1055-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-05T08:39:25.084Z] /w/workspace/device-sdk-go/1@tmp/durable-6f6d9091/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-6f6d9091/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-05T08:39:25.773Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-05T08:39:25.809Z] Warning: overwriting stash ‘stack-cost’ [2021-11-05T08:39:25.873Z] Stashed 1 file(s) [Pipeline] } [2021-11-05T08:39:25.886Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1055-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-05T08:39:25.939Z] $ docker stop --time=1 092346e3dc93c2e0096ba77a73c0f23a2eeff165e8d8fb46e247ff56829ff90a [2021-11-05T08:39:27.509Z] $ docker rm -f 092346e3dc93c2e0096ba77a73c0f23a2eeff165e8d8fb46e247ff56829ff90a [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 [2021-11-05T08:39:28.551Z] provisioning config files... [2021-11-05T08:39:28.560Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config4058101567040444952tmp [Pipeline] { [Pipeline] sh [2021-11-05T08:39:28.888Z] + set +x [2021-11-05T08:39:28.889Z] + curl -s https://codecov.io/bash [2021-11-05T08:39:28.889Z] + bash -s -- [2021-11-05T08:39:28.889Z] [2021-11-05T08:39:28.889Z] _____ _ [2021-11-05T08:39:28.889Z] / ____| | | [2021-11-05T08:39:28.889Z] | | ___ __| | ___ ___ _____ __ [2021-11-05T08:39:28.889Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-05T08:39:28.889Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-05T08:39:28.889Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-05T08:39:28.889Z] Bash-1.0.6 [2021-11-05T08:39:28.889Z] [2021-11-05T08:39:28.889Z] [2021-11-05T08:39:28.889Z] ==> git version 2.24.4 found [2021-11-05T08:39:28.889Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-05T08:39:28.889Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-05T08:39:28.889Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-05T08:39:28.889Z] ==> Jenkins CI detected. [2021-11-05T08:39:28.889Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1055 [2021-11-05T08:39:28.889Z] project root: . [2021-11-05T08:39:28.889Z] --> token set from env [2021-11-05T08:39:28.889Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-05T08:39:28.889Z] ==> Running gcov in . (disable via -X gcov) [2021-11-05T08:39:28.889Z] ==> Python coveragepy not found [2021-11-05T08:39:28.889Z] ==> Searching for coverage reports in: [2021-11-05T08:39:28.889Z] + . [2021-11-05T08:39:28.889Z] -> Found 1 reports [2021-11-05T08:39:28.889Z] ==> Detecting git/mercurial file structure [2021-11-05T08:39:28.889Z] ==> Reading reports [2021-11-05T08:39:28.889Z] + ./coverage.out bytes=128019 [2021-11-05T08:39:29.152Z] ==> Appending adjustments [2021-11-05T08:39:29.152Z] https://docs.codecov.io/docs/fixing-reports [2021-11-05T08:39:29.152Z] + Found adjustments [2021-11-05T08:39:29.152Z] ==> Gzipping contents [2021-11-05T08:39:29.412Z] 16K /tmp/codecov.Ibq4lG.gz [2021-11-05T08:39:29.412Z] ==> Uploading reports [2021-11-05T08:39:29.412Z] url: https://codecov.io [2021-11-05T08:39:29.412Z] query: branch=PR-1055&commit=9ebce020d3a55f848ce07809c18feb3db92e593d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= [2021-11-05T08:39:29.412Z] -> Pinging Codecov [2021-11-05T08:39:29.412Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1055&commit=9ebce020d3a55f848ce07809c18feb3db92e593d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1055%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1055&job=&cmd_args= [2021-11-05T08:39:29.673Z] -> Uploading to [2021-11-05T08:39:29.673Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-05/7E55EF52A471D76F132DFD9A03CDDE97/9ebce020d3a55f848ce07809c18feb3db92e593d/a2ccd209-0457-4244-9fec-a28e98447d89.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211105T083929Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3730e8b607f268aace73571d265e69e4b408229041296bb86b1a7475c3853a76 [2021-11-05T08:39:29.673Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-05T08:39:29.673Z] Dload Upload Total Spent Left Speed [2021-11-05T08:39:30.244Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16294 0 0 100 16294 0 42251 --:--:-- --:--:-- --:--:-- 42212 [2021-11-05T08:39:30.244Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9ebce020d3a55f848ce07809c18feb3db92e593d [Pipeline] } [2021-11-05T08:39:30.264Z] 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 [2021-11-05T08:39:32.584Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-05T08:39:32.920Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T08:39:33.508Z] ---> package-listing.sh [2021-11-05T08:39:33.508Z] ++ facter osfamily [2021-11-05T08:39:33.508Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-05T08:39:33.771Z] + OS_FAMILY=redhat [2021-11-05T08:39:33.771Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1055 [2021-11-05T08:39:33.771Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-05T08:39:33.771Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-05T08:39:33.771Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-05T08:39:33.771Z] + PACKAGES=/tmp/packages_start.txt [2021-11-05T08:39:33.771Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' [2021-11-05T08:39:33.771Z] + PACKAGES=/tmp/packages_end.txt [2021-11-05T08:39:33.771Z] + case "${OS_FAMILY}" in [2021-11-05T08:39:33.771Z] + sort [2021-11-05T08:39:33.771Z] + rpm -qa [2021-11-05T08:39:34.344Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-05T08:39:34.344Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-05T08:39:34.344Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-05T08:39:34.344Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1055 ']' [2021-11-05T08:39:34.344Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives/ [2021-11-05T08:39:34.344Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1055/archives/ [Pipeline] echo [2021-11-05T08:39:34.371Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1055/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-05T08:39:34.667Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:39:35.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T08:39:35.250Z] [2021-11-05T08:39:35.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T08:39:35.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T08:39:36.161Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-05T08:39:36.161Z] b4d181a07f80: Pulling fs layer [2021-11-05T08:39:36.161Z] a1111a8f2ec3: Pulling fs layer [2021-11-05T08:39:36.161Z] ed53099fbce6: Pulling fs layer [2021-11-05T08:39:36.161Z] dc539afda2c1: Pulling fs layer [2021-11-05T08:39:36.161Z] 77bc0d833cb6: Pulling fs layer [2021-11-05T08:39:36.161Z] 9065ff56babe: Pulling fs layer [2021-11-05T08:39:36.161Z] d287ab97295c: Pulling fs layer [2021-11-05T08:39:36.161Z] dc539afda2c1: Waiting [2021-11-05T08:39:36.161Z] 77bc0d833cb6: Waiting [2021-11-05T08:39:36.161Z] 9065ff56babe: Waiting [2021-11-05T08:39:36.161Z] d287ab97295c: Waiting [2021-11-05T08:39:36.161Z] a1111a8f2ec3: Verifying Checksum [2021-11-05T08:39:36.161Z] a1111a8f2ec3: Download complete [2021-11-05T08:39:36.161Z] dc539afda2c1: Verifying Checksum [2021-11-05T08:39:36.161Z] dc539afda2c1: Download complete [2021-11-05T08:39:36.425Z] ed53099fbce6: Verifying Checksum [2021-11-05T08:39:36.425Z] ed53099fbce6: Download complete [2021-11-05T08:39:36.425Z] 77bc0d833cb6: Verifying Checksum [2021-11-05T08:39:36.425Z] 77bc0d833cb6: Download complete [2021-11-05T08:39:36.425Z] b4d181a07f80: Verifying Checksum [2021-11-05T08:39:36.425Z] b4d181a07f80: Download complete [2021-11-05T08:39:36.425Z] 9065ff56babe: Verifying Checksum [2021-11-05T08:39:36.425Z] 9065ff56babe: Download complete [2021-11-05T08:39:37.407Z] d287ab97295c: Verifying Checksum [2021-11-05T08:39:37.407Z] d287ab97295c: Download complete [2021-11-05T08:39:39.326Z] b4d181a07f80: Pull complete [2021-11-05T08:39:40.263Z] a1111a8f2ec3: Pull complete [2021-11-05T08:39:41.641Z] ed53099fbce6: Pull complete [2021-11-05T08:39:44.180Z] dc539afda2c1: Pull complete [2021-11-05T08:39:45.123Z] 77bc0d833cb6: Pull complete [2021-11-05T08:39:45.692Z] 9065ff56babe: Pull complete [2021-11-05T08:39:55.723Z] d287ab97295c: Pull complete [2021-11-05T08:39:55.723Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-05T08:39:55.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T08:39:55.723Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-05T08:39:55.815Z] prd-centos7-docker-4c-2g-27721 does not seem to be running inside a container [2021-11-05T08:39:55.851Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1055/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-1055 -v /w/workspace/gexfoundry_device-sdk-go_PR-1055:/w/workspace/gexfoundry_device-sdk-go_PR-1055:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-05T08:40:26.770Z] $ docker top 922d8f06d101c8c2b5539da9b3a67354456a0f16d3c76f0f59026bcd9b73642b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-05T08:40:27.174Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-05T08:40:27.484Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-05T08:40:27.786Z] + ls /var/log/sa-host [2021-11-05T08:40:27.786Z] + sadf -c /var/log/sa-host/sa05 [2021-11-05T08:40:27.786Z] file_magic: OK [2021-11-05T08:40:27.786Z] HZ: Using current value: 100 [2021-11-05T08:40:27.786Z] file_header: OK [2021-11-05T08:40:27.786Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-05T08:40:27.786Z] Statistics: [2021-11-05T08:40:27.786Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-05T08:40:27.786Z] File successfully converted to sysstat format version 12.0.3 [2021-11-05T08:40:27.786Z] + sadf -c /var/log/sa-host/sa30 [2021-11-05T08:40:27.786Z] file_magic: OK [2021-11-05T08:40:27.786Z] HZ: Using current value: 100 [2021-11-05T08:40:27.786Z] file_header: OK [2021-11-05T08:40:27.786Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-05T08:40:27.786Z] Statistics: [2021-11-05T08:40:27.786Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-05T08:40:27.786Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-05T08:40:28.095Z] provisioning config files... [2021-11-05T08:40:28.104Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1055@tmp/config9163433097439582285tmp [Pipeline] { [Pipeline] echo [2021-11-05T08:40:28.138Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T08:40:28.466Z] ---> create-netrc.sh [Pipeline] } [2021-11-05T08:40:28.487Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-05T08:40:28.894Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-05T08:40:28.922Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T08:40:29.233Z] ---> sudo-logs.sh [2021-11-05T08:40:29.233Z] Archiving 'sudo' log.. [2021-11-05T08:40:29.233Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27721.novalocal: Name or service not known [2021-11-05T08:40:29.233Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27721.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-05T08:40:29.292Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T08:40:29.612Z] ---> job-cost.sh [2021-11-05T08:40:29.613Z] lf-activate-venv: SKIPPING [2021-11-05T08:40:29.613Z] DEBUG: total: 0.10999999940395355 [2021-11-05T08:40:29.613Z] INFO: Retrieving Stack Cost... [2021-11-05T08:40:29.872Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-05T08:40:30.443Z] INFO: Archiving Costs [Pipeline] echo [2021-11-05T08:40:30.468Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T08:40:30.794Z] ---> logs-deploy.sh [2021-11-05T08:40:30.794Z] lf-activate-venv: SKIPPING [2021-11-05T08:40:30.794Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1055/1 [2021-11-05T08:40:30.794Z] INFO: archiving workspace using pattern(s): [2021-11-05T08:40:31.743Z] Archives upload complete. [2021-11-05T08:40:31.743Z] INFO: archiving logs to Nexus