Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a0ea57342c624bee91335f4cb6d1021054e409bb+26056eb6751852d3be2b177fe263ccb57def27d1 (f2b749165cc240c69f0aca588017a08016d4c5c0) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh6366230883890894755.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-ssh6123611353646408574.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1056/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1056/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4820690346957866165.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 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-ssh2436759437529128135.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1056/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1056/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh775715077715797766.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-30247 in /w/workspace/gexfoundry_device-sdk-go_PR-1056 [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-1056 # 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-1056@tmp/jenkins-gitclient-ssh7417278943761556066.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit a0ea57342c624bee91335f4cb6d1021054e409bb > 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-1056@tmp/jenkins-gitclient-ssh3667529779822418902.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1056/head:refs/remotes/origin/PR-1056 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0ea57342c624bee91335f4cb6d1021054e409bb # 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-1056@tmp/jenkins-gitclient-ssh3787524967651176058.key > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing 2a9a07360d8aa997ecc2c201774e21852121d551 Checking out Revision 2a9a07360d8aa997ecc2c201774e21852121d551 (PR-1056) > git config core.sparsecheckout # timeout=10 > git checkout -f 2a9a07360d8aa997ecc2c201774e21852121d551 # timeout=10 Commit message: "Merge commit '26056eb6751852d3be2b177fe263ccb57def27d1' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk e24ffe3e7bf106c1c0376d1977058e103db801cf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-10T18:44:10.269Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-10T18:44:10.300Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-10T18:44:10.310Z] ========================================================= [2021-11-10T18:44:10.310Z] EdgeX Global Pipelines Version Info [2021-11-10T18:44:10.310Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:44:11.452Z] ------------------- [2021-11-10T18:44:11.452Z] stable info: [2021-11-10T18:44:11.452Z] ------------------- [2021-11-10T18:44:11.452Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-10T18:44:11.452Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-10T18:44:11.452Z] Message: update stable to v1.0.211 [2021-11-10T18:44:12.023Z] ------------------- [2021-11-10T18:44:12.023Z] experimental info: [2021-11-10T18:44:12.023Z] ------------------- [2021-11-10T18:44:12.023Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-10T18:44:12.023Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-10T18:44:12.023Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-10T18:44:12.101Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-10T18:44:12.110Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-10T18:44:12.124Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-10T18:44:12.137Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-10T18:44:12.147Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-10T18:44:12.157Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-10T18:44:12.167Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-10T18:44:12.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-10T18:44:12.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-10T18:44:12.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-10T18:44:12.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-10T18:44:12.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-10T18:44:12.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-10T18:44:12.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-10T18:44:12.250Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-10T18:44:12.260Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-10T18:44:13.242Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-10T18:44:13.256Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-10T18:44:13.266Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-10T18:44:13.276Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-10T18:44:13.286Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-10T18:44:13.296Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-10T18:44:13.305Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-10T18:44:13.317Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-10T18:44:13.326Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-10T18:44:13.336Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-10T18:44:13.346Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1056 [Pipeline] echo [2021-11-10T18:44:13.356Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1056 [Pipeline] echo [2021-11-10T18:44:13.366Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1056 [Pipeline] echo [2021-11-10T18:44:13.376Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2a9a07360d8aa997ecc2c201774e21852121d551 [Pipeline] echo [2021-11-10T18:44:13.386Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2a9a073 [Pipeline] echo [2021-11-10T18:44:13.397Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T18:44:13.439Z] provisioning config files... [2021-11-10T18:44:13.457Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/config7418518684141127754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:44:13.766Z] ---> docker-login.sh [2021-11-10T18:44:13.766Z] nexus3.edgexfoundry.org:10001 [2021-11-10T18:44:13.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:44:14.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:44:14.026Z] Configure a credential helper to remove this warning. See [2021-11-10T18:44:14.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:44:14.026Z] [2021-11-10T18:44:14.026Z] Login Succeeded [2021-11-10T18:44:14.026Z] nexus3.edgexfoundry.org:10002 [2021-11-10T18:44:14.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:44:14.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:44:14.026Z] Configure a credential helper to remove this warning. See [2021-11-10T18:44:14.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:44:14.026Z] [2021-11-10T18:44:14.026Z] Login Succeeded [2021-11-10T18:44:14.026Z] nexus3.edgexfoundry.org:10003 [2021-11-10T18:44:14.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:44:14.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:44:14.286Z] Configure a credential helper to remove this warning. See [2021-11-10T18:44:14.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:44:14.286Z] [2021-11-10T18:44:14.286Z] Login Succeeded [2021-11-10T18:44:14.286Z] nexus3.edgexfoundry.org:10004 [2021-11-10T18:44:14.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:44:14.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:44:14.286Z] Configure a credential helper to remove this warning. See [2021-11-10T18:44:14.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:44:14.286Z] [2021-11-10T18:44:14.286Z] Login Succeeded [2021-11-10T18:44:14.286Z] docker.io [2021-11-10T18:44:14.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:44:14.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:44:14.860Z] Configure a credential helper to remove this warning. See [2021-11-10T18:44:14.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:44:14.860Z] [2021-11-10T18:44:14.860Z] Login Succeeded [2021-11-10T18:44:14.860Z] ---> docker-login.sh ends [Pipeline] } [2021-11-10T18:44:14.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-10T18:44:15.301Z] + git rev-list -1 --merges 2a9a07360d8aa997ecc2c201774e21852121d551~1..2a9a07360d8aa997ecc2c201774e21852121d551 [Pipeline] echo [2021-11-10T18:44:15.333Z] -----------> git rev-list -1 --merges 2a9a07360d8aa997ecc2c201774e21852121d551~1..2a9a07360d8aa997ecc2c201774e21852121d551 2a9a07360d8aa997ecc2c201774e21852121d551 [2021-11-10T18:44:15.333Z] 2a9a07360d8aa997ecc2c201774e21852121d551 [false] [Pipeline] sh [2021-11-10T18:44:15.631Z] + git log --format=format:%s -1 2a9a07360d8aa997ecc2c201774e21852121d551 [Pipeline] echo [2021-11-10T18:44:15.646Z] ========================================================= [2021-11-10T18:44:15.646Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-10T18:44:15.646Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-10T18:44:15.979Z] + git log --format=format:%s -1 2a9a07360d8aa997ecc2c201774e21852121d551 [Pipeline] echo [2021-11-10T18:44:15.989Z] [semverPrep] GIT_COMMIT: 2a9a07360d8aa997ecc2c201774e21852121d551, Commit Message: Merge commit '26056eb6751852d3be2b177fe263ccb57def27d1' into HEAD [Pipeline] echo [2021-11-10T18:44:15.998Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:44:17.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T18:44:17.415Z] [2021-11-10T18:44:17.415Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:44:17.713Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T18:44:17.713Z] latest: Pulling from edgex-devops/git-semver [2021-11-10T18:44:17.713Z] a0d0a0d46f8b: Pulling fs layer [2021-11-10T18:44:17.713Z] 3e5f54012d9b: Pulling fs layer [2021-11-10T18:44:17.713Z] 4c7163046ea9: Pulling fs layer [2021-11-10T18:44:17.713Z] 0c2d73faf560: Pulling fs layer [2021-11-10T18:44:17.713Z] 0c2d73faf560: Waiting [2021-11-10T18:44:17.713Z] 3e5f54012d9b: Verifying Checksum [2021-11-10T18:44:17.713Z] 3e5f54012d9b: Download complete [2021-11-10T18:44:17.713Z] a0d0a0d46f8b: Verifying Checksum [2021-11-10T18:44:17.713Z] a0d0a0d46f8b: Download complete [2021-11-10T18:44:17.713Z] 0c2d73faf560: Verifying Checksum [2021-11-10T18:44:17.713Z] 0c2d73faf560: Download complete [2021-11-10T18:44:17.713Z] 4c7163046ea9: Verifying Checksum [2021-11-10T18:44:17.713Z] 4c7163046ea9: Download complete [2021-11-10T18:44:17.987Z] a0d0a0d46f8b: Pull complete [2021-11-10T18:44:17.987Z] 3e5f54012d9b: Pull complete [2021-11-10T18:44:18.251Z] 4c7163046ea9: Pull complete [2021-11-10T18:44:18.514Z] 0c2d73faf560: Pull complete [2021-11-10T18:44:18.514Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-10T18:44:18.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T18:44:18.514Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-10T18:44:18.589Z] prd-centos7-docker-4c-2g-30247 does not seem to be running inside a container [2021-11-10T18:44:18.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1056 -v /w/workspace/gexfoundry_device-sdk-go_PR-1056:/w/workspace/gexfoundry_device-sdk-go_PR-1056:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1056@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-10T18:44:19.214Z] $ docker top 24d0254dc6e9f2d600505b16f98d66eba7dce6a59a50b2b6c8dbd59e12ddf0b6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-10T18:44:19.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-10T18:44:19.312Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-10T18:44:19.424Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-10T18:44:19.426Z] $ docker exec 24d0254dc6e9f2d600505b16f98d66eba7dce6a59a50b2b6c8dbd59e12ddf0b6 ssh-agent [2021-11-10T18:44:19.543Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIoILBM/agent.14 [2021-11-10T18:44:19.543Z] SSH_AGENT_PID=20 [2021-11-10T18:44:19.552Z] Running ssh-add (command line suppressed) [2021-11-10T18:44:19.659Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/private_key_6546201837061553692.key (/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/private_key_6546201837061553692.key) [2021-11-10T18:44:19.672Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-10T18:44:19.968Z] + git tag --points-at HEAD [Pipeline] } [2021-11-10T18:44:19.982Z] $ docker exec --env ******** --env ******** 24d0254dc6e9f2d600505b16f98d66eba7dce6a59a50b2b6c8dbd59e12ddf0b6 ssh-agent -k [2021-11-10T18:44:20.083Z] unset SSH_AUTH_SOCK; [2021-11-10T18:44:20.084Z] unset SSH_AGENT_PID; [2021-11-10T18:44:20.084Z] echo Agent pid 20 killed; [2021-11-10T18:44:20.095Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-10T18:44:20.121Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-10T18:44:20.121Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-10T18:44:20.237Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-10T18:44:20.238Z] $ docker exec 24d0254dc6e9f2d600505b16f98d66eba7dce6a59a50b2b6c8dbd59e12ddf0b6 ssh-agent [2021-11-10T18:44:20.358Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOfFGmN/agent.54 [2021-11-10T18:44:20.358Z] SSH_AGENT_PID=61 [2021-11-10T18:44:20.365Z] Running ssh-add (command line suppressed) [2021-11-10T18:44:20.492Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/private_key_1837352427202842696.key (/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/private_key_1837352427202842696.key) [2021-11-10T18:44:20.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-10T18:44:20.795Z] + git semver init [2021-11-10T18:44:20.795Z] # -> Open(): unable to determine branch for HEAD [2021-11-10T18:44:20.795Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1056/.git [2021-11-10T18:44:20.795Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1056 [2021-11-10T18:44:20.795Z] # $SEMVER_REMOTE_NAME = origin [2021-11-10T18:44:20.795Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-10T18:44:20.795Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-10T18:44:20.795Z] # $SEMVER_BRANCH = PR-1056 [2021-11-10T18:44:20.795Z] # $SEMVER_TEMP = /tmp/semver-950979993 [2021-11-10T18:44:20.795Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-10T18:44:21.741Z] # '/tmp/semver-950979993' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1056/.semver' [2021-11-10T18:44:21.741Z] # -> Force: false [2021-11-10T18:44:21.741Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1056/.semver [Pipeline] } [2021-11-10T18:44:21.750Z] $ docker exec --env ******** --env ******** 24d0254dc6e9f2d600505b16f98d66eba7dce6a59a50b2b6c8dbd59e12ddf0b6 ssh-agent -k [2021-11-10T18:44:21.835Z] unset SSH_AUTH_SOCK; [2021-11-10T18:44:21.836Z] unset SSH_AGENT_PID; [2021-11-10T18:44:21.836Z] echo Agent pid 61 killed; [2021-11-10T18:44:21.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-10T18:44:22.151Z] + git semver [Pipeline] } [2021-11-10T18:44:22.164Z] $ docker stop --time=1 24d0254dc6e9f2d600505b16f98d66eba7dce6a59a50b2b6c8dbd59e12ddf0b6 [2021-11-10T18:44:23.391Z] $ docker rm -f 24d0254dc6e9f2d600505b16f98d66eba7dce6a59a50b2b6c8dbd59e12ddf0b6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-10T18:44:23.743Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-10T18:44:23.962Z] Stashed 1 file(s) [Pipeline] echo [2021-11-10T18:44:23.965Z] [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-10T18:44:40.061Z] Still waiting to schedule task [2021-11-10T18:44:40.061Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-10T18:44:40.065Z] Still waiting to schedule task [2021-11-10T18:44:40.065Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-10T18:47:22.085Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30249 in /w/workspace/gexfoundry_device-sdk-go_PR-1056 [Pipeline] { [Pipeline] ws [2021-11-10T18:47:22.096Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-11-10T18:47:22.306Z] Selected Git installation does not exist. Using Default [2021-11-10T18:47:22.306Z] The recommended git tool is: NONE [2021-11-10T18:47:28.575Z] using credential edgex-jenkins-ssh [2021-11-10T18:47:28.590Z] Cloning the remote Git repository [2021-11-10T18:47:28.634Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T18:47:28.721Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-11-10T18:47:28.784Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T18:47:28.785Z] > git --version # timeout=10 [2021-11-10T18:47:28.800Z] > git --version # 'git version 2.17.1' [2021-11-10T18:47:28.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T18:47:28.895Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T18:47:30.762Z] Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit a0ea57342c624bee91335f4cb6d1021054e409bb [2021-11-10T18:47:31.058Z] Merge succeeded, producing c78124a23cd262c7d2d853fb5d80309d03d5e75c [2021-11-10T18:47:31.058Z] Checking out Revision c78124a23cd262c7d2d853fb5d80309d03d5e75c (PR-1056) [2021-11-10T18:47:30.071Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T18:47:30.096Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T18:47:30.119Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T18:47:30.152Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T18:47:30.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T18:47:30.167Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1056/head:refs/remotes/origin/PR-1056 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-10T18:47:30.782Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T18:47:30.800Z] > git checkout -f a0ea57342c624bee91335f4cb6d1021054e409bb # timeout=10 [2021-11-10T18:47:30.908Z] > git remote # timeout=10 [2021-11-10T18:47:30.927Z] > git config --get remote.origin.url # timeout=10 [2021-11-10T18:47:30.939Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T18:47:30.952Z] > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 [2021-11-10T18:47:31.041Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-10T18:47:31.064Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T18:47:31.085Z] > git checkout -f c78124a23cd262c7d2d853fb5d80309d03d5e75c # timeout=10 [2021-11-10T18:47:37.004Z] Commit message: "Merge commit '26056eb6751852d3be2b177fe263ccb57def27d1' into HEAD" [2021-11-10T18:47:37.027Z] First time build. Skipping changelog. [2021-11-10T18:47:37.011Z] > git rev-list --no-walk e24ffe3e7bf106c1c0376d1977058e103db801cf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-10T18:47:38.810Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-10T18:47:38.810Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-10T18:47:38.810Z] Dload Upload Total Spent Left Speed [2021-11-10T18:47:38.810Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 209k 0 --:--:-- --:--:-- --:--:-- 209k [Pipeline] sh [2021-11-10T18:47:39.227Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-10T18:47:39.579Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-10T18:47:39.579Z] + sudo tee /etc/docker/daemon.new [2021-11-10T18:47:39.579Z] { [2021-11-10T18:47:39.579Z] "registry-mirrors": [ [2021-11-10T18:47:39.579Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-10T18:47:39.579Z] ], [2021-11-10T18:47:39.579Z] "bip": "10.250.0.254/24", [2021-11-10T18:47:39.579Z] "hosts": [ [2021-11-10T18:47:39.579Z] "tcp://0.0.0.0:5555", [2021-11-10T18:47:39.579Z] "unix:///var/run/docker.sock" [2021-11-10T18:47:39.579Z] ], [2021-11-10T18:47:39.579Z] "mtu": 1458, [2021-11-10T18:47:39.579Z] "selinux-enabled": true, [2021-11-10T18:47:39.579Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-10T18:47:39.579Z] } [Pipeline] sh [2021-11-10T18:47:39.926Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-10T18:47:40.361Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T18:47:58.677Z] provisioning config files... [2021-11-10T18:47:58.700Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3957536933032032048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:47:59.051Z] ---> docker-login.sh [2021-11-10T18:47:59.051Z] nexus3.edgexfoundry.org:10001 [2021-11-10T18:47:59.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:47:59.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:47:59.925Z] Configure a credential helper to remove this warning. See [2021-11-10T18:47:59.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:47:59.925Z] [2021-11-10T18:47:59.925Z] Login Succeeded [2021-11-10T18:47:59.925Z] nexus3.edgexfoundry.org:10002 [2021-11-10T18:48:00.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:48:00.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:48:00.529Z] Configure a credential helper to remove this warning. See [2021-11-10T18:48:00.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:48:00.529Z] [2021-11-10T18:48:00.529Z] Login Succeeded [2021-11-10T18:48:00.529Z] nexus3.edgexfoundry.org:10003 [2021-11-10T18:48:00.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:48:01.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:48:01.072Z] Configure a credential helper to remove this warning. See [2021-11-10T18:48:01.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:48:01.072Z] [2021-11-10T18:48:01.072Z] Login Succeeded [2021-11-10T18:48:01.072Z] nexus3.edgexfoundry.org:10004 [2021-11-10T18:48:01.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:48:02.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:48:02.638Z] Configure a credential helper to remove this warning. See [2021-11-10T18:48:02.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:48:02.638Z] [2021-11-10T18:48:02.638Z] Login Succeeded [2021-11-10T18:48:02.638Z] docker.io [2021-11-10T18:48:02.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:48:02.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:48:02.638Z] Configure a credential helper to remove this warning. See [2021-11-10T18:48:02.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:48:02.638Z] [2021-11-10T18:48:02.638Z] Login Succeeded [2021-11-10T18:48:02.638Z] ---> docker-login.sh ends [Pipeline] } [2021-11-10T18:48:02.655Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-10T18:48:03.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-10T18:48:03.102Z] ========================================================= [2021-11-10T18:48:03.102Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-10T18:48:03.102Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:48:03.481Z] + 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-10T18:48:04.076Z] Sending build context to Docker daemon 2.765MB [2021-11-10T18:48:04.076Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T18:48:04.076Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-10T18:48:04.076Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-10T18:48:04.076Z] 552d1f2373af: Pulling fs layer [2021-11-10T18:48:04.076Z] ea3f2d53f512: Pulling fs layer [2021-11-10T18:48:04.076Z] 9e70ebbbe112: Pulling fs layer [2021-11-10T18:48:04.076Z] 7a9cfe048b4a: Pulling fs layer [2021-11-10T18:48:04.076Z] 72dc09318566: Pulling fs layer [2021-11-10T18:48:04.076Z] f4f7b4309257: Pulling fs layer [2021-11-10T18:48:04.076Z] 0ac9a79272e3: Pulling fs layer [2021-11-10T18:48:04.076Z] b78e95d17946: Pulling fs layer [2021-11-10T18:48:04.076Z] 72dc09318566: Waiting [2021-11-10T18:48:04.076Z] 0ac9a79272e3: Waiting [2021-11-10T18:48:04.076Z] f4f7b4309257: Waiting [2021-11-10T18:48:04.076Z] b78e95d17946: Waiting [2021-11-10T18:48:04.076Z] 9e70ebbbe112: Verifying Checksum [2021-11-10T18:48:04.076Z] 9e70ebbbe112: Download complete [2021-11-10T18:48:04.076Z] ea3f2d53f512: Verifying Checksum [2021-11-10T18:48:04.076Z] ea3f2d53f512: Download complete [2021-11-10T18:48:04.076Z] 72dc09318566: Verifying Checksum [2021-11-10T18:48:04.076Z] 72dc09318566: Download complete [2021-11-10T18:48:04.076Z] f4f7b4309257: Verifying Checksum [2021-11-10T18:48:04.076Z] f4f7b4309257: Download complete [2021-11-10T18:48:04.351Z] 552d1f2373af: Download complete [2021-11-10T18:48:04.351Z] 0ac9a79272e3: Verifying Checksum [2021-11-10T18:48:04.351Z] 0ac9a79272e3: Download complete [2021-11-10T18:48:04.955Z] 552d1f2373af: Pull complete [2021-11-10T18:48:05.559Z] ea3f2d53f512: Pull complete [2021-11-10T18:48:06.162Z] 9e70ebbbe112: Pull complete [2021-11-10T18:48:06.162Z] b78e95d17946: Download complete [2021-11-10T18:48:06.759Z] 7a9cfe048b4a: Verifying Checksum [2021-11-10T18:48:06.759Z] 7a9cfe048b4a: Download complete [2021-11-10T18:48:16.914Z] 7a9cfe048b4a: Pull complete [2021-11-10T18:48:16.914Z] 72dc09318566: Pull complete [2021-11-10T18:48:17.188Z] f4f7b4309257: Pull complete [2021-11-10T18:48:17.461Z] 0ac9a79272e3: Pull complete [2021-11-10T18:48:24.177Z] b78e95d17946: Pull complete [2021-11-10T18:48:24.177Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-10T18:48:24.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-10T18:48:24.177Z] ---> 8b459fc5aaf0 [2021-11-10T18:48:24.177Z] Step 3/10 : ARG MAKE=make build [2021-11-10T18:48:25.155Z] ---> Running in 26445cae2ae1 [2021-11-10T18:48:25.432Z] Removing intermediate container 26445cae2ae1 [2021-11-10T18:48:25.432Z] ---> 4284fb0ad278 [2021-11-10T18:48:25.432Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-10T18:48:25.432Z] ---> Running in b7180a3032a0 [2021-11-10T18:48:26.029Z] Removing intermediate container b7180a3032a0 [2021-11-10T18:48:26.029Z] ---> a47d52b81e6c [2021-11-10T18:48:26.029Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T18:48:26.029Z] ---> Running in d5e4d5110f93 [2021-11-10T18:48:26.628Z] Removing intermediate container d5e4d5110f93 [2021-11-10T18:48:26.628Z] ---> f2e822db124a [2021-11-10T18:48:26.628Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T18:48:26.628Z] ---> Running in d680e6712a9d [2021-11-10T18:48:28.604Z] Removing intermediate container d680e6712a9d [2021-11-10T18:48:28.604Z] ---> 74e6ff35011a [2021-11-10T18:48:28.604Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T18:48:28.880Z] ---> Running in 3130fafe253d [2021-11-10T18:48:29.862Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-10T18:48:30.839Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-10T18:48:31.817Z] OK: 219 MiB in 52 packages [2021-11-10T18:48:33.386Z] Removing intermediate container 3130fafe253d [2021-11-10T18:48:33.386Z] ---> 4a945c08d453 [2021-11-10T18:48:33.386Z] Step 8/10 : COPY . . [2021-11-10T18:48:33.982Z] ---> 5db5739b90fb [2021-11-10T18:48:33.982Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T18:48:33.982Z] ---> Running in 656cfd766adb [2021-11-10T18:49:09.393Z] Running on prd-centos7-docker-4c-2g-30250 in /w/workspace/gexfoundry_device-sdk-go_PR-1056 [Pipeline] { [Pipeline] ws [2021-11-10T18:49:09.406Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-11-10T18:49:09.493Z] Selected Git installation does not exist. Using Default [2021-11-10T18:49:09.494Z] The recommended git tool is: NONE [2021-11-10T18:49:12.308Z] using credential edgex-jenkins-ssh [2021-11-10T18:49:12.325Z] Cloning the remote Git repository [2021-11-10T18:49:12.098Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T18:49:12.152Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-11-10T18:49:12.182Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T18:49:12.182Z] > git --version # timeout=10 [2021-11-10T18:49:12.205Z] > git --version # 'git version 2.24.4' [2021-11-10T18:49:12.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T18:49:12.225Z] [INFO] Currently running in a labeled security context [2021-11-10T18:49:12.225Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-10T18:49:12.225Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh7832527436170222238.key [2021-11-10T18:49:12.240Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T18:49:13.866Z] Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit a0ea57342c624bee91335f4cb6d1021054e409bb [2021-11-10T18:49:13.973Z] Merge succeeded, producing f3ae5fa4f38d4d9ae6a247b9590e6e95b21d361e [2021-11-10T18:49:13.973Z] Checking out Revision f3ae5fa4f38d4d9ae6a247b9590e6e95b21d361e (PR-1056) [2021-11-10T18:49:13.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T18:49:13.119Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T18:49:13.134Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T18:49:13.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T18:49:13.149Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T18:49:13.150Z] [INFO] Currently running in a labeled security context [2021-11-10T18:49:13.150Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-10T18:49:13.150Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8955367154388656964.key [2021-11-10T18:49:13.158Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1056/head:refs/remotes/origin/PR-1056 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-10T18:49:13.630Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T18:49:13.638Z] > git checkout -f a0ea57342c624bee91335f4cb6d1021054e409bb # timeout=10 [2021-11-10T18:49:13.666Z] > git remote # timeout=10 [2021-11-10T18:49:13.676Z] > git config --get remote.origin.url # timeout=10 [2021-11-10T18:49:13.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T18:49:13.697Z] [INFO] Currently running in a labeled security context [2021-11-10T18:49:13.697Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-10T18:49:13.697Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh6239206560359496282.key [2021-11-10T18:49:13.702Z] > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 [2021-11-10T18:49:13.723Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-10T18:49:13.733Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T18:49:13.737Z] > git checkout -f f3ae5fa4f38d4d9ae6a247b9590e6e95b21d361e # timeout=10 [2021-11-10T18:49:18.425Z] Commit message: "Merge commit '26056eb6751852d3be2b177fe263ccb57def27d1' into HEAD" [2021-11-10T18:49:18.433Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T18:49:18.781Z] provisioning config files... [2021-11-10T18:49:18.793Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8027643106356564271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:49:19.171Z] ---> docker-login.sh [2021-11-10T18:49:19.171Z] nexus3.edgexfoundry.org:10001 [2021-11-10T18:49:19.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:49:18.185Z] > git rev-list --no-walk e24ffe3e7bf106c1c0376d1977058e103db801cf # timeout=10 [2021-11-10T18:49:19.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:49:19.436Z] Configure a credential helper to remove this warning. See [2021-11-10T18:49:19.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:49:19.436Z] [2021-11-10T18:49:19.436Z] Login Succeeded [2021-11-10T18:49:19.436Z] nexus3.edgexfoundry.org:10002 [2021-11-10T18:49:19.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:49:19.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:49:19.436Z] Configure a credential helper to remove this warning. See [2021-11-10T18:49:19.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:49:19.436Z] [2021-11-10T18:49:19.436Z] Login Succeeded [2021-11-10T18:49:19.436Z] nexus3.edgexfoundry.org:10003 [2021-11-10T18:49:19.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:49:19.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:49:19.436Z] Configure a credential helper to remove this warning. See [2021-11-10T18:49:19.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:49:19.436Z] [2021-11-10T18:49:19.436Z] Login Succeeded [2021-11-10T18:49:19.436Z] nexus3.edgexfoundry.org:10004 [2021-11-10T18:49:19.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:49:19.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:49:19.698Z] Configure a credential helper to remove this warning. See [2021-11-10T18:49:19.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:49:19.698Z] [2021-11-10T18:49:19.698Z] Login Succeeded [2021-11-10T18:49:19.698Z] docker.io [2021-11-10T18:49:19.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:49:19.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:49:19.958Z] Configure a credential helper to remove this warning. See [2021-11-10T18:49:19.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:49:19.958Z] [2021-11-10T18:49:19.958Z] Login Succeeded [2021-11-10T18:49:19.958Z] ---> docker-login.sh ends [Pipeline] } [2021-11-10T18:49:19.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-10T18:49:20.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-10T18:49:20.127Z] ========================================================= [2021-11-10T18:49:20.127Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-10T18:49:20.127Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:49:20.447Z] + 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-10T18:49:20.447Z] Sending build context to Docker daemon 2.757MB [2021-11-10T18:49:20.447Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T18:49:20.447Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-10T18:49:20.447Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-10T18:49:20.447Z] a0d0a0d46f8b: Pulling fs layer [2021-11-10T18:49:20.447Z] 31adcdaf11c8: Pulling fs layer [2021-11-10T18:49:20.447Z] b8b176561691: Pulling fs layer [2021-11-10T18:49:20.447Z] 4527c011a84f: Pulling fs layer [2021-11-10T18:49:20.447Z] 5d74067f8e1e: Pulling fs layer [2021-11-10T18:49:20.447Z] e0aca202a116: Pulling fs layer [2021-11-10T18:49:20.447Z] 3a43be97a3b4: Pulling fs layer [2021-11-10T18:49:20.447Z] 34cad66bf833: Pulling fs layer [2021-11-10T18:49:20.447Z] b4e3c513aaa6: Pulling fs layer [2021-11-10T18:49:20.447Z] 4527c011a84f: Waiting [2021-11-10T18:49:20.447Z] 5d74067f8e1e: Waiting [2021-11-10T18:49:20.447Z] e0aca202a116: Waiting [2021-11-10T18:49:20.447Z] 3a43be97a3b4: Waiting [2021-11-10T18:49:20.447Z] 34cad66bf833: Waiting [2021-11-10T18:49:20.447Z] b4e3c513aaa6: Waiting [2021-11-10T18:49:20.447Z] b8b176561691: Verifying Checksum [2021-11-10T18:49:20.447Z] b8b176561691: Download complete [2021-11-10T18:49:20.447Z] 31adcdaf11c8: Verifying Checksum [2021-11-10T18:49:20.447Z] 31adcdaf11c8: Download complete [2021-11-10T18:49:20.447Z] 5d74067f8e1e: Verifying Checksum [2021-11-10T18:49:20.447Z] 5d74067f8e1e: Download complete [2021-11-10T18:49:20.718Z] e0aca202a116: Verifying Checksum [2021-11-10T18:49:20.718Z] e0aca202a116: Download complete [2021-11-10T18:49:20.718Z] 3a43be97a3b4: Verifying Checksum [2021-11-10T18:49:20.718Z] 3a43be97a3b4: Download complete [2021-11-10T18:49:20.718Z] a0d0a0d46f8b: Verifying Checksum [2021-11-10T18:49:20.718Z] a0d0a0d46f8b: Download complete [2021-11-10T18:49:20.718Z] 34cad66bf833: Verifying Checksum [2021-11-10T18:49:20.718Z] 34cad66bf833: Download complete [2021-11-10T18:49:20.984Z] a0d0a0d46f8b: Pull complete [2021-11-10T18:49:21.251Z] 4527c011a84f: Verifying Checksum [2021-11-10T18:49:21.251Z] 4527c011a84f: Download complete [2021-11-10T18:49:21.251Z] 31adcdaf11c8: Pull complete [2021-11-10T18:49:21.251Z] b4e3c513aaa6: Verifying Checksum [2021-11-10T18:49:21.251Z] b4e3c513aaa6: Download complete [2021-11-10T18:49:21.251Z] b8b176561691: Pull complete [2021-11-10T18:49:25.545Z] 4527c011a84f: Pull complete [2021-11-10T18:49:25.545Z] 5d74067f8e1e: Pull complete [2021-11-10T18:49:25.545Z] e0aca202a116: Pull complete [2021-11-10T18:49:25.545Z] 3a43be97a3b4: Pull complete [2021-11-10T18:49:25.545Z] 34cad66bf833: Pull complete [2021-11-10T18:49:28.890Z] b4e3c513aaa6: Pull complete [2021-11-10T18:49:28.890Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-10T18:49:28.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-10T18:49:28.890Z] ---> 9f6097aaca64 [2021-11-10T18:49:28.890Z] Step 3/10 : ARG MAKE=make build [2021-11-10T18:49:30.810Z] ---> Running in 066579d7aad2 [2021-11-10T18:49:30.810Z] Removing intermediate container 066579d7aad2 [2021-11-10T18:49:30.810Z] ---> 4d2ab387248f [2021-11-10T18:49:30.810Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-10T18:49:30.810Z] ---> Running in a8b6b4d14dcb [2021-11-10T18:49:30.810Z] Removing intermediate container a8b6b4d14dcb [2021-11-10T18:49:30.810Z] ---> 7ece353f6fa8 [2021-11-10T18:49:30.810Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T18:49:30.810Z] ---> Running in 188165ff863d [2021-11-10T18:49:30.810Z] Removing intermediate container 188165ff863d [2021-11-10T18:49:30.810Z] ---> e69d0ed59c1f [2021-11-10T18:49:30.810Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T18:49:30.810Z] ---> Running in 70dd09bd77c9 [2021-11-10T18:49:31.389Z] Removing intermediate container 70dd09bd77c9 [2021-11-10T18:49:31.389Z] ---> c82336151d87 [2021-11-10T18:49:31.389Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T18:49:31.389Z] ---> Running in b1752f1eae50 [2021-11-10T18:49:31.966Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-10T18:49:32.541Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-10T18:49:32.802Z] OK: 220 MiB in 52 packages [2021-11-10T18:49:33.066Z] Removing intermediate container b1752f1eae50 [2021-11-10T18:49:33.066Z] ---> f7d2e46d0f6f [2021-11-10T18:49:33.066Z] Step 8/10 : COPY . . [2021-11-10T18:49:33.329Z] ---> 443820ca3c53 [2021-11-10T18:49:33.329Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T18:49:33.589Z] ---> Running in 76e9de37d4e1 [2021-11-10T18:49:55.779Z] Removing intermediate container 656cfd766adb [2021-11-10T18:49:55.779Z] ---> 8c35288401fe [2021-11-10T18:49:55.779Z] Step 10/10 : RUN ${MAKE} [2021-11-10T18:49:55.779Z] ---> Running in 71407eaec37f [2021-11-10T18:49:55.779Z] noop [2021-11-10T18:49:55.779Z] Removing intermediate container 71407eaec37f [2021-11-10T18:49:55.779Z] ---> 34496448c6ef [2021-11-10T18:49:55.779Z] Successfully built 34496448c6ef [2021-11-10T18:49:55.779Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:49:56.135Z] + docker inspect -f . ci-base-image-arm64 [2021-11-10T18:49:56.135Z] . [Pipeline] withDockerContainer [2021-11-10T18:49:56.410Z] prd-ubuntu18.04-docker-arm64-4c-16g-30249 does not seem to be running inside a container [2021-11-10T18:49:56.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-10T18:49:58.173Z] $ docker top 3af6b4fcccaf3c9912374c5aac41e9dae9fb3a029b7c9ee702f5e285332a3f32 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-10T18:49:59.172Z] + go version [2021-11-10T18:49:59.172Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-10T18:49:59.198Z] $ docker stop --time=1 3af6b4fcccaf3c9912374c5aac41e9dae9fb3a029b7c9ee702f5e285332a3f32 [2021-11-10T18:50:00.950Z] $ docker rm -f 3af6b4fcccaf3c9912374c5aac41e9dae9fb3a029b7c9ee702f5e285332a3f32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:50:01.646Z] + docker inspect -f . ci-base-image-arm64 [2021-11-10T18:50:01.646Z] . [Pipeline] withDockerContainer [2021-11-10T18:50:01.909Z] prd-ubuntu18.04-docker-arm64-4c-16g-30249 does not seem to be running inside a container [2021-11-10T18:50:01.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-10T18:50:03.598Z] $ docker top 84fcd222eb7e9e38b97f7740cfd3bcf33baa27213984ce0ff9a50e593e6233a6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-10T18:50:04.555Z] + make test [2021-11-10T18:50:04.555Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-10T18:50:06.464Z] Removing intermediate container 76e9de37d4e1 [2021-11-10T18:50:06.464Z] ---> 30870d37cb5c [2021-11-10T18:50:06.464Z] Step 10/10 : RUN ${MAKE} [2021-11-10T18:50:06.464Z] ---> Running in b5e914dd99e5 [2021-11-10T18:50:06.464Z] noop [2021-11-10T18:50:06.464Z] Removing intermediate container b5e914dd99e5 [2021-11-10T18:50:06.464Z] ---> 7c1cd6926ef1 [2021-11-10T18:50:06.464Z] Successfully built 7c1cd6926ef1 [2021-11-10T18:50:06.464Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:50:06.770Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-10T18:50:06.770Z] . [Pipeline] withDockerContainer [2021-11-10T18:50:06.841Z] prd-centos7-docker-4c-2g-30250 does not seem to be running inside a container [2021-11-10T18:50:06.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-10T18:50:07.220Z] $ docker top 3823e6c9919c41b56832e12c62b11c8b7ab50357d4841b0ee8bd09b2651a3a22 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-10T18:50:07.598Z] + go version [2021-11-10T18:50:07.598Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-10T18:50:07.608Z] $ docker stop --time=1 3823e6c9919c41b56832e12c62b11c8b7ab50357d4841b0ee8bd09b2651a3a22 [2021-11-10T18:50:08.819Z] $ docker rm -f 3823e6c9919c41b56832e12c62b11c8b7ab50357d4841b0ee8bd09b2651a3a22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:50:09.332Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-10T18:50:09.332Z] . [Pipeline] withDockerContainer [2021-11-10T18:50:10.364Z] prd-centos7-docker-4c-2g-30250 does not seem to be running inside a container [2021-11-10T18:50:10.400Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-10T18:50:10.733Z] $ docker top ecacbeccdca622498d0317389f03b165a686404fb0513b2dba6bf735642f8963 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-10T18:50:11.097Z] + make test [2021-11-10T18:50:11.097Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-10T18:50:16.449Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-10T18:50:31.727Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-10T18:50:38.659Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-10T18:50:38.659Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-10T18:50:38.659Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-10T18:50:40.085Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.056s coverage: 23.3% of statements [2021-11-10T18:50:40.085Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-10T18:50:40.085Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.047s coverage: 27.6% of statements [2021-11-10T18:50:40.351Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements [2021-11-10T18:50:40.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.044s coverage: 9.0% of statements [2021-11-10T18:50:40.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-10T18:50:40.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-10T18:50:40.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-10T18:50:41.221Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 28.7% of statements [2021-11-10T18:50:41.221Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-10T18:50:42.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements [2021-11-10T18:50:42.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-10T18:50:42.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-10T18:50:42.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 57.8% of statements [2021-11-10T18:50:43.552Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.812s coverage: 89.2% of statements [2021-11-10T18:50:43.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-10T18:50:43.552Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.8% of statements [2021-11-10T18:50:43.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-10T18:50:43.819Z] GO111MODULE=on go vet ./... [2021-11-10T18:51:02.021Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-10T18:51:02.021Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-10T18:51:02.021Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-10T18:51:02.028Z] $ docker stop --time=1 ecacbeccdca622498d0317389f03b165a686404fb0513b2dba6bf735642f8963 [2021-11-10T18:51:03.644Z] $ docker rm -f ecacbeccdca622498d0317389f03b165a686404fb0513b2dba6bf735642f8963 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-10T18:51:04.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-10T18:51:04.323Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-10T18:51:05.926Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-10T18:51:06.222Z] + ls -al . [2021-11-10T18:51:06.222Z] total 264 [2021-11-10T18:51:06.222Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 10 18:51 . [2021-11-10T18:51:06.222Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 10 18:49 .. [2021-11-10T18:51:06.222Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 10 18:49 bin [2021-11-10T18:51:06.222Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 10 18:49 CHANGELOG.md [2021-11-10T18:51:06.222Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 10 18:50 coverage.out [2021-11-10T18:51:06.222Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 10 18:49 .dockerignore [2021-11-10T18:51:06.222Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 10 18:49 example [2021-11-10T18:51:06.222Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 10 18:49 .git [2021-11-10T18:51:06.222Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 10 18:49 .github [2021-11-10T18:51:06.222Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 10 18:49 .gitignore [2021-11-10T18:51:06.222Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 10 18:49 go.mod [2021-11-10T18:51:06.222Z] -rw-rw-r--. 1 jenkins jenkins 49140 Nov 10 18:49 go.sum [2021-11-10T18:51:06.222Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 10 18:49 GOVERNANCE.md [2021-11-10T18:51:06.222Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 10 18:49 internal [2021-11-10T18:51:06.222Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 10 18:49 Jenkinsfile [2021-11-10T18:51:06.222Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 10 18:49 LICENSE [2021-11-10T18:51:06.222Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 10 18:49 Makefile [2021-11-10T18:51:06.222Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 10 18:49 openapi [2021-11-10T18:51:06.222Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 10 18:49 OWNERS.md [2021-11-10T18:51:06.222Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 10 18:49 pkg [2021-11-10T18:51:06.222Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 10 18:49 README.md [2021-11-10T18:51:06.222Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 10 18:49 snap [2021-11-10T18:51:06.222Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 10 18:44 VERSION [2021-11-10T18:51:06.222Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 10 18:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:51:06.524Z] + 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=f3ae5fa4f38d4d9ae6a247b9590e6e95b21d361e --label arch=amd64 --label version=0.0.0 . [2021-11-10T18:51:06.524Z] Sending build context to Docker daemon 2.886MB [2021-11-10T18:51:06.524Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T18:51:06.524Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-10T18:51:06.524Z] ---> 7c1cd6926ef1 [2021-11-10T18:51:06.524Z] Step 3/24 : ARG MAKE=make build [2021-11-10T18:51:06.524Z] ---> Running in 028013f39852 [2021-11-10T18:51:06.783Z] Removing intermediate container 028013f39852 [2021-11-10T18:51:06.783Z] ---> 22903bed0c92 [2021-11-10T18:51:06.783Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-10T18:51:06.783Z] ---> Running in 670460f528a9 [2021-11-10T18:51:06.783Z] Removing intermediate container 670460f528a9 [2021-11-10T18:51:06.783Z] ---> 1b34b969f8e8 [2021-11-10T18:51:06.783Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T18:51:06.783Z] ---> Running in 481472136adf [2021-11-10T18:51:07.042Z] Removing intermediate container 481472136adf [2021-11-10T18:51:07.042Z] ---> a9feeca66f26 [2021-11-10T18:51:07.042Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T18:51:07.042Z] ---> Running in 4ad440015cf5 [2021-11-10T18:51:07.349Z] Removing intermediate container 4ad440015cf5 [2021-11-10T18:51:07.349Z] ---> 33bc28f7c119 [2021-11-10T18:51:07.349Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T18:51:07.349Z] ---> Running in d1eac6af4ce4 [2021-11-10T18:51:07.663Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-10T18:51:08.986Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-10T18:51:08.986Z] OK: 220 MiB in 52 packages [2021-11-10T18:51:09.247Z] Removing intermediate container d1eac6af4ce4 [2021-11-10T18:51:09.247Z] ---> bd36ae9fb59b [2021-11-10T18:51:09.247Z] Step 8/24 : COPY . . [2021-11-10T18:51:09.508Z] ---> c6ef21cbb022 [2021-11-10T18:51:09.508Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T18:51:09.508Z] ---> Running in 512adf3563e2 [2021-11-10T18:51:10.086Z] Removing intermediate container 512adf3563e2 [2021-11-10T18:51:10.086Z] ---> ebc680c7ebd5 [2021-11-10T18:51:10.086Z] Step 10/24 : RUN ${MAKE} [2021-11-10T18:51:10.086Z] ---> Running in cc314ed9a577 [2021-11-10T18:51:10.347Z] 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-10T18:51:20.401Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-10T18:51:21.799Z] Removing intermediate container cc314ed9a577 [2021-11-10T18:51:21.799Z] ---> ce6b70f1f403 [2021-11-10T18:51:21.799Z] Step 11/24 : FROM alpine:3.14 [2021-11-10T18:51:25.101Z] 3.14: Pulling from library/alpine [2021-11-10T18:51:25.361Z] a0d0a0d46f8b: Already exists [2021-11-10T18:51:25.625Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-10T18:51:25.625Z] Status: Downloaded newer image for alpine:3.14 [2021-11-10T18:51:25.625Z] ---> 14119a10abf4 [2021-11-10T18:51:25.625Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T18:51:25.625Z] ---> Running in 1b12bd5d2529 [2021-11-10T18:51:25.625Z] Removing intermediate container 1b12bd5d2529 [2021-11-10T18:51:25.625Z] ---> d866af454481 [2021-11-10T18:51:25.625Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T18:51:25.625Z] ---> Running in a55a184930bf [2021-11-10T18:51:26.196Z] Removing intermediate container a55a184930bf [2021-11-10T18:51:26.196Z] ---> de076ed3e62b [2021-11-10T18:51:26.196Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-10T18:51:26.196Z] ---> Running in 09284fa353d4 [2021-11-10T18:51:26.456Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-10T18:51:27.026Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-10T18:51:27.596Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-10T18:51:27.596Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-10T18:51:27.596Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-10T18:51:27.856Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-10T18:51:27.856Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-10T18:51:27.856Z] Executing busybox-1.33.1-r3.trigger [2021-11-10T18:51:27.856Z] OK: 8 MiB in 19 packages [2021-11-10T18:51:28.426Z] Removing intermediate container 09284fa353d4 [2021-11-10T18:51:28.426Z] ---> 84384f7ccfc8 [2021-11-10T18:51:28.426Z] Step 15/24 : WORKDIR / [2021-11-10T18:51:28.426Z] ---> Running in 0709f31edd30 [2021-11-10T18:51:28.426Z] Removing intermediate container 0709f31edd30 [2021-11-10T18:51:28.426Z] ---> 092da9377796 [2021-11-10T18:51:28.426Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-10T18:51:28.690Z] ---> 01224aa769b9 [2021-11-10T18:51:28.690Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-10T18:51:28.949Z] ---> e933e4a4e9de [2021-11-10T18:51:28.949Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-10T18:51:28.949Z] ---> a8e03a068eda [2021-11-10T18:51:28.949Z] Step 19/24 : EXPOSE 59999 [2021-11-10T18:51:29.211Z] ---> Running in ecbd6a41e5ab [2021-11-10T18:51:29.211Z] Removing intermediate container ecbd6a41e5ab [2021-11-10T18:51:29.211Z] ---> 2bf3fe2c6e1d [2021-11-10T18:51:29.211Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-10T18:51:29.211Z] ---> Running in bc40dd9e2c4f [2021-11-10T18:51:29.211Z] Removing intermediate container bc40dd9e2c4f [2021-11-10T18:51:29.211Z] ---> a467d6de0f5f [2021-11-10T18:51:29.211Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-10T18:51:29.211Z] ---> Running in d561a35a80e3 [2021-11-10T18:51:29.470Z] Removing intermediate container d561a35a80e3 [2021-11-10T18:51:29.470Z] ---> c188e12b77b2 [2021-11-10T18:51:29.470Z] Step 22/24 : LABEL arch=amd64 [2021-11-10T18:51:29.470Z] ---> Running in 9321c70e3f23 [2021-11-10T18:51:29.470Z] Removing intermediate container 9321c70e3f23 [2021-11-10T18:51:29.470Z] ---> ac53df762495 [2021-11-10T18:51:29.470Z] Step 23/24 : LABEL git_sha=f3ae5fa4f38d4d9ae6a247b9590e6e95b21d361e [2021-11-10T18:51:29.470Z] ---> Running in d1d15106d237 [2021-11-10T18:51:29.470Z] Removing intermediate container d1d15106d237 [2021-11-10T18:51:29.470Z] ---> ff67dc8b4cf2 [2021-11-10T18:51:29.470Z] Step 24/24 : LABEL version=0.0.0 [2021-11-10T18:51:29.729Z] ---> Running in 22302d0e5677 [2021-11-10T18:51:29.729Z] Removing intermediate container 22302d0e5677 [2021-11-10T18:51:29.729Z] ---> 47329dc66004 [2021-11-10T18:51:29.729Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-10T18:51:29.729Z] Successfully built 47329dc66004 [2021-11-10T18:51:29.729Z] 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-10T18:51:30.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T18:51:30.375Z] [2021-11-10T18:51:30.375Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:51:30.679Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T18:51:30.679Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-10T18:51:30.679Z] b4d181a07f80: Pulling fs layer [2021-11-10T18:51:30.679Z] a1111a8f2ec3: Pulling fs layer [2021-11-10T18:51:30.679Z] ed53099fbce6: Pulling fs layer [2021-11-10T18:51:30.679Z] dc539afda2c1: Pulling fs layer [2021-11-10T18:51:30.679Z] 77bc0d833cb6: Pulling fs layer [2021-11-10T18:51:30.679Z] 9065ff56babe: Pulling fs layer [2021-11-10T18:51:30.679Z] d287ab97295c: Pulling fs layer [2021-11-10T18:51:30.679Z] dc539afda2c1: Waiting [2021-11-10T18:51:30.679Z] 77bc0d833cb6: Waiting [2021-11-10T18:51:30.679Z] 9065ff56babe: Waiting [2021-11-10T18:51:30.679Z] d287ab97295c: Waiting [2021-11-10T18:51:30.679Z] a1111a8f2ec3: Verifying Checksum [2021-11-10T18:51:30.679Z] a1111a8f2ec3: Download complete [2021-11-10T18:51:30.679Z] dc539afda2c1: Verifying Checksum [2021-11-10T18:51:30.679Z] dc539afda2c1: Download complete [2021-11-10T18:51:30.679Z] ed53099fbce6: Verifying Checksum [2021-11-10T18:51:30.679Z] ed53099fbce6: Download complete [2021-11-10T18:51:30.954Z] 9065ff56babe: Verifying Checksum [2021-11-10T18:51:30.954Z] 9065ff56babe: Download complete [2021-11-10T18:51:30.954Z] 77bc0d833cb6: Verifying Checksum [2021-11-10T18:51:30.954Z] 77bc0d833cb6: Download complete [2021-11-10T18:51:30.954Z] b4d181a07f80: Verifying Checksum [2021-11-10T18:51:30.954Z] b4d181a07f80: Download complete [2021-11-10T18:51:31.535Z] d287ab97295c: Verifying Checksum [2021-11-10T18:51:31.535Z] d287ab97295c: Download complete [2021-11-10T18:51:32.518Z] b4d181a07f80: Pull complete [2021-11-10T18:51:32.518Z] a1111a8f2ec3: Pull complete [2021-11-10T18:51:33.108Z] ed53099fbce6: Pull complete [2021-11-10T18:51:33.108Z] dc539afda2c1: Pull complete [2021-11-10T18:51:34.522Z] 77bc0d833cb6: Pull complete [2021-11-10T18:51:34.522Z] 9065ff56babe: Pull complete [2021-11-10T18:51:38.761Z] d287ab97295c: Pull complete [2021-11-10T18:51:38.761Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-10T18:51:38.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T18:51:38.761Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-10T18:51:38.825Z] prd-centos7-docker-4c-2g-30250 does not seem to be running inside a container [2021-11-10T18:51:38.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-10T18:51:39.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-10T18:51:39.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-10T18:51:39.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-10T18:51:41.214Z] $ docker top 28b7c818b511d3728ab300f08ec64dbe3119b4c3de8b9aab23aa3d1d0dba860d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:51:42.365Z] ---> job-cost.sh [2021-11-10T18:51:42.365Z] lf-activate-venv: SKIPPING [2021-11-10T18:51:42.365Z] INFO: No Stack... [2021-11-10T18:51:42.365Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-10T18:51:42.365Z] INFO: Archiving Costs [Pipeline] sh [2021-11-10T18:51:42.655Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-11-10T18:51:42.655Z] + cut -d, -f6 [Pipeline] lock [2021-11-10T18:51:42.685Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1056-3-stack-cost] [2021-11-10T18:51:42.690Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1056-3-stack-cost] did not exist. Created. [2021-11-10T18:51:42.690Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1056-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-10T18:51:43.012Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-10T18:51:43.039Z] Stashed 1 file(s) [Pipeline] } [2021-11-10T18:51:43.050Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1056-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-10T18:51:43.066Z] $ docker stop --time=1 28b7c818b511d3728ab300f08ec64dbe3119b4c3de8b9aab23aa3d1d0dba860d [2021-11-10T18:51:44.198Z] $ docker rm -f 28b7c818b511d3728ab300f08ec64dbe3119b4c3de8b9aab23aa3d1d0dba860d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-10T18:51:50.570Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.343s coverage: 23.3% of statements [2021-11-10T18:51:50.570Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-10T18:51:50.570Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.220s coverage: 27.6% of statements [2021-11-10T18:51:50.570Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.261s coverage: 78.9% of statements [2021-11-10T18:51:50.570Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.199s coverage: 9.0% of statements [2021-11-10T18:51:50.570Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-10T18:51:50.570Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-10T18:51:50.570Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-10T18:51:50.570Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.341s coverage: 28.7% of statements [2021-11-10T18:51:50.570Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-10T18:51:53.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.223s coverage: 83.3% of statements [2021-11-10T18:51:53.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-10T18:51:53.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-10T18:51:53.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.436s coverage: 57.8% of statements [2021-11-10T18:51:54.672Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.222s coverage: 89.2% of statements [2021-11-10T18:51:54.672Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-10T18:51:55.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.200s coverage: 4.8% of statements [2021-11-10T18:51:55.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-10T18:51:55.860Z] GO111MODULE=on go vet ./... [2021-11-10T18:52:52.425Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-10T18:52:52.425Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-10T18:52:52.425Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-10T18:52:54.414Z] $ docker stop --time=1 84fcd222eb7e9e38b97f7740cfd3bcf33baa27213984ce0ff9a50e593e6233a6 [2021-11-10T18:52:56.348Z] $ docker rm -f 84fcd222eb7e9e38b97f7740cfd3bcf33baa27213984ce0ff9a50e593e6233a6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-10T18:52:57.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-10T18:52:57.585Z] Warning: overwriting stash ‘coverage-report’ [2021-11-10T18:52:59.552Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-10T18:53:00.107Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-10T18:53:00.480Z] + ls -al . [2021-11-10T18:53:00.480Z] total 300 [2021-11-10T18:53:00.480Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 18:52 . [2021-11-10T18:53:00.480Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 18:47 .. [2021-11-10T18:53:00.480Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 10 18:47 .dockerignore [2021-11-10T18:53:00.480Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 18:47 .git [2021-11-10T18:53:00.480Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 18:47 .github [2021-11-10T18:53:00.480Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 10 18:47 .gitignore [2021-11-10T18:53:00.480Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 10 18:47 CHANGELOG.md [2021-11-10T18:53:00.480Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 18:47 GOVERNANCE.md [2021-11-10T18:53:00.480Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 10 18:47 Jenkinsfile [2021-11-10T18:53:00.480Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 10 18:47 LICENSE [2021-11-10T18:53:00.480Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 10 18:47 Makefile [2021-11-10T18:53:00.480Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 10 18:47 OWNERS.md [2021-11-10T18:53:00.480Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 10 18:47 README.md [2021-11-10T18:53:00.480Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 18:44 VERSION [2021-11-10T18:53:00.480Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 18:47 bin [2021-11-10T18:53:00.480Z] -rw-r--r-- 1 jenkins jenkins 128369 Nov 10 18:51 coverage.out [2021-11-10T18:53:00.480Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 10 18:47 example [2021-11-10T18:53:00.480Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 10 18:47 go.mod [2021-11-10T18:53:00.480Z] -rw-rw-r-- 1 jenkins jenkins 49140 Nov 10 18:47 go.sum [2021-11-10T18:53:00.480Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 10 18:47 internal [2021-11-10T18:53:00.480Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 18:47 openapi [2021-11-10T18:53:00.480Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 10 18:47 pkg [2021-11-10T18:53:00.480Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 18:47 snap [2021-11-10T18:53:00.480Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 10 18:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:53:00.821Z] + 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=c78124a23cd262c7d2d853fb5d80309d03d5e75c --label arch=arm64 --label version=0.0.0 . [2021-11-10T18:53:01.415Z] Sending build context to Docker daemon 2.894MB [2021-11-10T18:53:01.415Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T18:53:01.415Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-10T18:53:01.415Z] ---> 34496448c6ef [2021-11-10T18:53:01.415Z] Step 3/24 : ARG MAKE=make build [2021-11-10T18:53:01.689Z] ---> Running in 354ba0cd7bb1 [2021-11-10T18:53:01.963Z] Removing intermediate container 354ba0cd7bb1 [2021-11-10T18:53:01.963Z] ---> 853d81e932cd [2021-11-10T18:53:01.963Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-10T18:53:01.963Z] ---> Running in 5ce2e066e097 [2021-11-10T18:53:03.642Z] Removing intermediate container 5ce2e066e097 [2021-11-10T18:53:03.642Z] ---> c1aaf5b71e38 [2021-11-10T18:53:03.642Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T18:53:03.642Z] ---> Running in ebaf9b208e2c [2021-11-10T18:53:03.642Z] Removing intermediate container ebaf9b208e2c [2021-11-10T18:53:03.642Z] ---> 6b4b3ca6fc1c [2021-11-10T18:53:03.642Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T18:53:03.642Z] ---> Running in 02c22ddd2ba5 [2021-11-10T18:53:05.079Z] Removing intermediate container 02c22ddd2ba5 [2021-11-10T18:53:05.079Z] ---> 7f96ef7b99f6 [2021-11-10T18:53:05.079Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T18:53:05.079Z] ---> Running in a1526a2a0594 [2021-11-10T18:53:06.523Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-10T18:53:07.502Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-10T18:53:08.096Z] OK: 219 MiB in 52 packages [2021-11-10T18:53:09.076Z] Removing intermediate container a1526a2a0594 [2021-11-10T18:53:09.076Z] ---> 6271ca509d06 [2021-11-10T18:53:09.076Z] Step 8/24 : COPY . . [2021-11-10T18:53:10.516Z] ---> 3636a6059366 [2021-11-10T18:53:10.516Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T18:53:10.516Z] ---> Running in 2f026c7456b6 [2021-11-10T18:53:13.130Z] Removing intermediate container 2f026c7456b6 [2021-11-10T18:53:13.130Z] ---> 9cab2bfdbdea [2021-11-10T18:53:13.130Z] Step 10/24 : RUN ${MAKE} [2021-11-10T18:53:13.130Z] ---> Running in 1d1e892fd0c4 [2021-11-10T18:53:14.106Z] 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-10T18:53:46.641Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-10T18:53:49.262Z] Removing intermediate container 1d1e892fd0c4 [2021-11-10T18:53:49.262Z] ---> dd5db2ccc745 [2021-11-10T18:53:49.262Z] Step 11/24 : FROM alpine:3.14 [2021-11-10T18:53:49.866Z] 3.14: Pulling from library/alpine [2021-11-10T18:53:50.135Z] 552d1f2373af: Already exists [2021-11-10T18:53:50.408Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-10T18:53:50.408Z] Status: Downloaded newer image for alpine:3.14 [2021-11-10T18:53:50.408Z] ---> bb3de5531c18 [2021-11-10T18:53:50.408Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T18:53:50.408Z] ---> Running in 77bdd8fbb625 [2021-11-10T18:53:51.005Z] Removing intermediate container 77bdd8fbb625 [2021-11-10T18:53:51.005Z] ---> 86942f3eab78 [2021-11-10T18:53:51.005Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T18:53:51.005Z] ---> Running in b0c9c750b42c [2021-11-10T18:53:52.985Z] Removing intermediate container b0c9c750b42c [2021-11-10T18:53:52.985Z] ---> 1351ddb49337 [2021-11-10T18:53:52.985Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-10T18:53:52.985Z] ---> Running in c8a17c6c659b [2021-11-10T18:53:53.959Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-10T18:53:54.930Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-10T18:53:55.521Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-10T18:53:55.793Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-10T18:53:55.793Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-10T18:53:55.793Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-10T18:53:56.070Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-10T18:53:56.070Z] Executing busybox-1.33.1-r3.trigger [2021-11-10T18:53:56.070Z] OK: 8 MiB in 19 packages [2021-11-10T18:53:57.048Z] Removing intermediate container c8a17c6c659b [2021-11-10T18:53:57.048Z] ---> f4eb0d7a75ca [2021-11-10T18:53:57.048Z] Step 15/24 : WORKDIR / [2021-11-10T18:53:57.048Z] ---> Running in d4d02894053a [2021-11-10T18:53:57.643Z] Removing intermediate container d4d02894053a [2021-11-10T18:53:57.643Z] ---> a4ed368ab78c [2021-11-10T18:53:57.643Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-10T18:53:58.237Z] ---> ca0f75677995 [2021-11-10T18:53:58.237Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-10T18:53:59.548Z] ---> 93611aad6ee3 [2021-11-10T18:53:59.548Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-10T18:54:00.142Z] ---> bff5374572b1 [2021-11-10T18:54:00.142Z] Step 19/24 : EXPOSE 59999 [2021-11-10T18:54:00.142Z] ---> Running in e584c4735cd9 [2021-11-10T18:54:00.415Z] Removing intermediate container e584c4735cd9 [2021-11-10T18:54:00.415Z] ---> bb8dd83b91aa [2021-11-10T18:54:00.415Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-10T18:54:00.688Z] ---> Running in fa8a0b02d659 [2021-11-10T18:54:00.961Z] Removing intermediate container fa8a0b02d659 [2021-11-10T18:54:00.961Z] ---> a5668221436c [2021-11-10T18:54:00.961Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-10T18:54:00.961Z] ---> Running in f424f4f31b40 [2021-11-10T18:54:01.555Z] Removing intermediate container f424f4f31b40 [2021-11-10T18:54:01.555Z] ---> 13f73a25c252 [2021-11-10T18:54:01.555Z] Step 22/24 : LABEL arch=arm64 [2021-11-10T18:54:01.555Z] ---> Running in fef8f661a5d5 [2021-11-10T18:54:01.837Z] Removing intermediate container fef8f661a5d5 [2021-11-10T18:54:01.837Z] ---> 2fea51e4d88a [2021-11-10T18:54:01.837Z] Step 23/24 : LABEL git_sha=c78124a23cd262c7d2d853fb5d80309d03d5e75c [2021-11-10T18:54:02.110Z] ---> Running in 6255ebb4c0d2 [2021-11-10T18:54:02.387Z] Removing intermediate container 6255ebb4c0d2 [2021-11-10T18:54:02.387Z] ---> 52d6924e7e2a [2021-11-10T18:54:02.387Z] Step 24/24 : LABEL version=0.0.0 [2021-11-10T18:54:02.387Z] ---> Running in 6905ab0b1ca6 [2021-11-10T18:54:02.977Z] Removing intermediate container 6905ab0b1ca6 [2021-11-10T18:54:02.977Z] ---> 169713ae99ee [2021-11-10T18:54:02.977Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-10T18:54:02.977Z] Successfully built 169713ae99ee [2021-11-10T18:54:02.977Z] 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-10T18:54:03.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-10T18:54:03.561Z] [2021-11-10T18:54:03.561Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:54:03.910Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-10T18:54:04.183Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-10T18:54:04.183Z] 448f6bf000e3: Pulling fs layer [2021-11-10T18:54:04.183Z] f757da607395: Pulling fs layer [2021-11-10T18:54:04.183Z] 05883995daec: Pulling fs layer [2021-11-10T18:54:04.183Z] 8603b9c90790: Pulling fs layer [2021-11-10T18:54:04.183Z] 1560dd03e051: Pulling fs layer [2021-11-10T18:54:04.183Z] 27f5ce0e4adf: Pulling fs layer [2021-11-10T18:54:04.183Z] c2d8d7efcc4b: Pulling fs layer [2021-11-10T18:54:04.183Z] 1560dd03e051: Waiting [2021-11-10T18:54:04.183Z] 27f5ce0e4adf: Waiting [2021-11-10T18:54:04.183Z] c2d8d7efcc4b: Waiting [2021-11-10T18:54:04.183Z] 8603b9c90790: Waiting [2021-11-10T18:54:04.183Z] f757da607395: Verifying Checksum [2021-11-10T18:54:04.183Z] f757da607395: Download complete [2021-11-10T18:54:04.183Z] 8603b9c90790: Verifying Checksum [2021-11-10T18:54:04.183Z] 8603b9c90790: Download complete [2021-11-10T18:54:04.183Z] 1560dd03e051: Verifying Checksum [2021-11-10T18:54:04.183Z] 1560dd03e051: Download complete [2021-11-10T18:54:04.456Z] 27f5ce0e4adf: Verifying Checksum [2021-11-10T18:54:04.456Z] 27f5ce0e4adf: Download complete [2021-11-10T18:54:04.456Z] 05883995daec: Verifying Checksum [2021-11-10T18:54:04.456Z] 05883995daec: Download complete [2021-11-10T18:54:04.729Z] 448f6bf000e3: Verifying Checksum [2021-11-10T18:54:04.729Z] 448f6bf000e3: Download complete [2021-11-10T18:54:07.345Z] c2d8d7efcc4b: Verifying Checksum [2021-11-10T18:54:07.345Z] c2d8d7efcc4b: Download complete [2021-11-10T18:54:07.941Z] 448f6bf000e3: Pull complete [2021-11-10T18:54:08.533Z] f757da607395: Pull complete [2021-11-10T18:54:09.965Z] 05883995daec: Pull complete [2021-11-10T18:54:10.558Z] 8603b9c90790: Pull complete [2021-11-10T18:54:11.535Z] 1560dd03e051: Pull complete [2021-11-10T18:54:11.808Z] 27f5ce0e4adf: Pull complete [2021-11-10T18:54:26.917Z] c2d8d7efcc4b: Pull complete [2021-11-10T18:54:26.917Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-10T18:54:26.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-10T18:54:26.917Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-10T18:54:27.176Z] prd-ubuntu18.04-docker-arm64-4c-16g-30249 does not seem to be running inside a container [2021-11-10T18:54:27.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-10T18:54:30.922Z] $ docker top cd0b420568c11f08696337b916c5f611f1316cbde5893669bd0db7365c1ab8e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:54:31.897Z] ---> job-cost.sh [2021-11-10T18:54:31.897Z] lf-activate-venv: SKIPPING [2021-11-10T18:54:31.897Z] INFO: No Stack... [2021-11-10T18:54:32.169Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-10T18:54:32.761Z] INFO: Archiving Costs [Pipeline] sh [2021-11-10T18:54:33.419Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-11-10T18:54:33.419Z] + cut -d, -f6 [Pipeline] lock [2021-11-10T18:54:33.475Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1056-3-stack-cost] [2021-11-10T18:54:33.480Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1056-3-stack-cost] did not exist. Created. [2021-11-10T18:54:33.480Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1056-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-10T18:54:34.153Z] /w/workspace/device-sdk-go/3@tmp/durable-17b91be3/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-17b91be3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-10T18:54:34.810Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-10T18:54:34.836Z] Warning: overwriting stash ‘stack-cost’ [2021-11-10T18:54:34.893Z] Stashed 1 file(s) [Pipeline] } [2021-11-10T18:54:34.899Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1056-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-10T18:54:34.909Z] $ docker stop --time=1 cd0b420568c11f08696337b916c5f611f1316cbde5893669bd0db7365c1ab8e0 [2021-11-10T18:54:36.429Z] $ docker rm -f cd0b420568c11f08696337b916c5f611f1316cbde5893669bd0db7365c1ab8e0 [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-10T18:54:37.029Z] provisioning config files... [2021-11-10T18:54:37.036Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/config5899179125038724104tmp [Pipeline] { [Pipeline] sh [2021-11-10T18:54:37.341Z] + set +x [2021-11-10T18:54:37.341Z] + curl -s https://codecov.io/bash [2021-11-10T18:54:37.341Z] + bash -s -- [2021-11-10T18:54:37.341Z] [2021-11-10T18:54:37.341Z] _____ _ [2021-11-10T18:54:37.341Z] / ____| | | [2021-11-10T18:54:37.341Z] | | ___ __| | ___ ___ _____ __ [2021-11-10T18:54:37.341Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-10T18:54:37.341Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-10T18:54:37.341Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-10T18:54:37.341Z] Bash-1.0.6 [2021-11-10T18:54:37.341Z] [2021-11-10T18:54:37.341Z] [2021-11-10T18:54:37.341Z] ==> git version 2.24.4 found [2021-11-10T18:54:37.341Z] ==> 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-10T18:54:37.341Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-10T18:54:37.341Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-10T18:54:37.341Z] ==> Jenkins CI detected. [2021-11-10T18:54:37.341Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1056 [2021-11-10T18:54:37.341Z] project root: . [2021-11-10T18:54:37.341Z] --> token set from env [2021-11-10T18:54:37.341Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-10T18:54:37.341Z] ==> Running gcov in . (disable via -X gcov) [2021-11-10T18:54:37.341Z] ==> Python coveragepy not found [2021-11-10T18:54:37.341Z] ==> Searching for coverage reports in: [2021-11-10T18:54:37.341Z] + . [2021-11-10T18:54:37.341Z] -> Found 1 reports [2021-11-10T18:54:37.341Z] ==> Detecting git/mercurial file structure [2021-11-10T18:54:37.341Z] ==> Reading reports [2021-11-10T18:54:37.602Z] + ./coverage.out bytes=128369 [2021-11-10T18:54:37.602Z] ==> Appending adjustments [2021-11-10T18:54:37.602Z] https://docs.codecov.io/docs/fixing-reports [2021-11-10T18:54:37.864Z] + Found adjustments [2021-11-10T18:54:37.864Z] ==> Gzipping contents [2021-11-10T18:54:37.864Z] 16K /tmp/codecov.05aNmT.gz [2021-11-10T18:54:37.864Z] ==> Uploading reports [2021-11-10T18:54:37.864Z] url: https://codecov.io [2021-11-10T18:54:37.864Z] query: branch=PR-1056&commit=2a9a07360d8aa997ecc2c201774e21852121d551&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1056%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1056&job=&cmd_args= [2021-11-10T18:54:37.864Z] -> Pinging Codecov [2021-11-10T18:54:37.864Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1056&commit=2a9a07360d8aa997ecc2c201774e21852121d551&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1056%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1056&job=&cmd_args= [2021-11-10T18:54:38.126Z] -> Uploading to [2021-11-10T18:54:38.126Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-10/7E55EF52A471D76F132DFD9A03CDDE97/2a9a07360d8aa997ecc2c201774e21852121d551/c6fa9c7d-3623-4f48-b5ef-22a3375f8cb3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211110T185437Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6ae05b4673854cfa65ae92cb7e9f916b927f087f7fbcde910f209a25071bb0de [2021-11-10T18:54:38.126Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-10T18:54:38.126Z] Dload Upload Total Spent Left Speed [2021-11-10T18:54:38.701Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16331 0 0 100 16331 0 27495 --:--:-- --:--:-- --:--:-- 27493 100 16331 0 0 100 16331 0 27488 --:--:-- --:--:-- --:--:-- 27493 [2021-11-10T18:54:38.701Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2a9a07360d8aa997ecc2c201774e21852121d551 [Pipeline] } [2021-11-10T18:54:38.709Z] 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-10T18:54:41.169Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1056/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:54:41.464Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:54:42.017Z] ---> package-listing.sh [2021-11-10T18:54:42.017Z] ++ facter osfamily [2021-11-10T18:54:42.017Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-10T18:54:42.284Z] + OS_FAMILY=redhat [2021-11-10T18:54:42.284Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1056 [2021-11-10T18:54:42.284Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-10T18:54:42.284Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-10T18:54:42.284Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-10T18:54:42.284Z] + PACKAGES=/tmp/packages_start.txt [2021-11-10T18:54:42.284Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1056 ']' [2021-11-10T18:54:42.284Z] + PACKAGES=/tmp/packages_end.txt [2021-11-10T18:54:42.284Z] + case "${OS_FAMILY}" in [2021-11-10T18:54:42.284Z] + rpm -qa [2021-11-10T18:54:42.284Z] + sort [2021-11-10T18:54:42.859Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-10T18:54:42.859Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-10T18:54:42.859Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-10T18:54:42.859Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1056 ']' [2021-11-10T18:54:42.859Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1056/archives/ [2021-11-10T18:54:42.859Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1056/archives/ [Pipeline] echo [2021-11-10T18:54:42.871Z] 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-1056/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-10T18:54:43.153Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:54:43.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T18:54:43.720Z] [2021-11-10T18:54:43.720Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:54:44.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T18:54:44.594Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-10T18:54:44.594Z] b4d181a07f80: Pulling fs layer [2021-11-10T18:54:44.594Z] a1111a8f2ec3: Pulling fs layer [2021-11-10T18:54:44.594Z] ed53099fbce6: Pulling fs layer [2021-11-10T18:54:44.594Z] dc539afda2c1: Pulling fs layer [2021-11-10T18:54:44.594Z] 77bc0d833cb6: Pulling fs layer [2021-11-10T18:54:44.594Z] 9065ff56babe: Pulling fs layer [2021-11-10T18:54:44.594Z] d287ab97295c: Pulling fs layer [2021-11-10T18:54:44.594Z] dc539afda2c1: Waiting [2021-11-10T18:54:44.594Z] 77bc0d833cb6: Waiting [2021-11-10T18:54:44.594Z] 9065ff56babe: Waiting [2021-11-10T18:54:44.594Z] d287ab97295c: Waiting [2021-11-10T18:54:44.594Z] a1111a8f2ec3: Verifying Checksum [2021-11-10T18:54:44.594Z] a1111a8f2ec3: Download complete [2021-11-10T18:54:44.594Z] dc539afda2c1: Verifying Checksum [2021-11-10T18:54:44.594Z] dc539afda2c1: Download complete [2021-11-10T18:54:44.855Z] ed53099fbce6: Verifying Checksum [2021-11-10T18:54:44.855Z] ed53099fbce6: Download complete [2021-11-10T18:54:44.855Z] 9065ff56babe: Verifying Checksum [2021-11-10T18:54:44.855Z] 9065ff56babe: Download complete [2021-11-10T18:54:44.855Z] 77bc0d833cb6: Verifying Checksum [2021-11-10T18:54:44.855Z] 77bc0d833cb6: Download complete [2021-11-10T18:54:44.855Z] b4d181a07f80: Verifying Checksum [2021-11-10T18:54:44.855Z] b4d181a07f80: Download complete [2021-11-10T18:54:45.438Z] d287ab97295c: Verifying Checksum [2021-11-10T18:54:45.438Z] d287ab97295c: Download complete [2021-11-10T18:54:46.387Z] b4d181a07f80: Pull complete [2021-11-10T18:54:46.649Z] a1111a8f2ec3: Pull complete [2021-11-10T18:54:47.223Z] ed53099fbce6: Pull complete [2021-11-10T18:54:47.223Z] dc539afda2c1: Pull complete [2021-11-10T18:54:47.490Z] 77bc0d833cb6: Pull complete [2021-11-10T18:54:47.490Z] 9065ff56babe: Pull complete [2021-11-10T18:54:54.118Z] d287ab97295c: Pull complete [2021-11-10T18:54:54.118Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-10T18:54:54.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T18:54:54.118Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-10T18:54:54.199Z] prd-centos7-docker-4c-2g-30247 does not seem to be running inside a container [2021-11-10T18:54:54.232Z] $ 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-1056/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-1056 -v /w/workspace/gexfoundry_device-sdk-go_PR-1056:/w/workspace/gexfoundry_device-sdk-go_PR-1056:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1056@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-10T18:54:56.883Z] $ docker top 09080257ecc9d43b558d55440eae3345b735747c7cb525300dba3207460ba5cb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-10T18:54:57.258Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-10T18:54:57.554Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-10T18:54:57.853Z] + ls /var/log/sa-host [2021-11-10T18:54:57.853Z] + sadf -c /var/log/sa-host/sa10 [2021-11-10T18:54:57.853Z] file_magic: OK [2021-11-10T18:54:57.853Z] HZ: Using current value: 100 [2021-11-10T18:54:57.853Z] file_header: OK [2021-11-10T18:54:57.853Z] 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-10T18:54:57.853Z] Statistics: [2021-11-10T18:54:57.853Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-10T18:54:57.853Z] File successfully converted to sysstat format version 12.0.3 [2021-11-10T18:54:57.853Z] + sadf -c /var/log/sa-host/sa30 [2021-11-10T18:54:57.853Z] file_magic: OK [2021-11-10T18:54:57.853Z] HZ: Using current value: 100 [2021-11-10T18:54:57.853Z] file_header: OK [2021-11-10T18:54:57.853Z] 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-10T18:54:57.853Z] Statistics: [2021-11-10T18:54:57.853Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-10T18:54:57.853Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T18:54:58.910Z] provisioning config files... [2021-11-10T18:54:58.920Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/config519648771402075136tmp [Pipeline] { [Pipeline] echo [2021-11-10T18:54:58.932Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:54:59.218Z] ---> create-netrc.sh [Pipeline] } [2021-11-10T18:54:59.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:54:59.558Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-10T18:54:59.568Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:54:59.866Z] ---> sudo-logs.sh [2021-11-10T18:54:59.866Z] Archiving 'sudo' log.. [2021-11-10T18:54:59.866Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-30247.novalocal: Name or service not known [2021-11-10T18:54:59.866Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-30247.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-10T18:54:59.891Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:55:00.177Z] ---> job-cost.sh [2021-11-10T18:55:00.177Z] lf-activate-venv: SKIPPING [2021-11-10T18:55:00.177Z] DEBUG: total: 0.10999999940395355 [2021-11-10T18:55:00.177Z] INFO: Retrieving Stack Cost... [2021-11-10T18:55:00.747Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-10T18:55:01.011Z] INFO: Archiving Costs [Pipeline] echo [2021-11-10T18:55:01.021Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:55:01.308Z] ---> logs-deploy.sh [2021-11-10T18:55:01.308Z] lf-activate-venv: SKIPPING [2021-11-10T18:55:01.308Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1056/3 [2021-11-10T18:55:01.308Z] INFO: archiving workspace using pattern(s): [2021-11-10T18:55:01.882Z] Archives upload complete. [2021-11-10T18:55:02.142Z] INFO: archiving logs to Nexus