Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from acaad2eaf7e331afa60e093f2992ed3dd0e5840e+26056eb6751852d3be2b177fe263ccb57def27d1 (ea2f427a95e8b7a35a25516ef5480f90ca9c6fbc) 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-ssh4196741913546694077.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-ssh401474159807653450.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-1060/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-1060/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6446019382389852701.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-ssh3815313460813852454.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-1060/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-1060/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6225250108387516941.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-30245 in /w/workspace/gexfoundry_device-sdk-go_PR-1060 [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-1060 # 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-1060@tmp/jenkins-gitclient-ssh3834335205841496644.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 acaad2eaf7e331afa60e093f2992ed3dd0e5840e Merge succeeded, producing 440f1c2552ae780b7cc0acfe999c469232d0ffad Checking out Revision 440f1c2552ae780b7cc0acfe999c469232d0ffad (PR-1060) > 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-1060@tmp/jenkins-gitclient-ssh7435056049871015912.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1060/head:refs/remotes/origin/PR-1060 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acaad2eaf7e331afa60e093f2992ed3dd0e5840e # 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-1060@tmp/jenkins-gitclient-ssh4548750564575328772.key > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 440f1c2552ae780b7cc0acfe999c469232d0ffad # timeout=10 Commit message: "Merge commit '26056eb6751852d3be2b177fe263ccb57def27d1' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk d2189140b37be7edb294bbd18987d1f097bef8f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-10T18:43:40.151Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-10T18:43:40.216Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-10T18:43:40.228Z] ========================================================= [2021-11-10T18:43:40.228Z] EdgeX Global Pipelines Version Info [2021-11-10T18:43:40.228Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:43:42.350Z] ------------------- [2021-11-10T18:43:42.350Z] stable info: [2021-11-10T18:43:42.350Z] ------------------- [2021-11-10T18:43:42.350Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-10T18:43:42.350Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-10T18:43:42.350Z] Message: update stable to v1.0.211 [2021-11-10T18:43:42.925Z] ------------------- [2021-11-10T18:43:42.925Z] experimental info: [2021-11-10T18:43:42.925Z] ------------------- [2021-11-10T18:43:42.925Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-10T18:43:42.925Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-10T18:43:42.925Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-10T18:43:43.015Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-10T18:43:43.025Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-10T18:43:43.037Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-10T18:43:43.051Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-10T18:43:43.061Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-10T18:43:43.070Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-10T18:43:43.080Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-10T18:43:43.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-10T18:43:43.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-10T18:43:43.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-10T18:43:43.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-10T18:43:43.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-10T18:43:43.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-10T18:43:43.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-10T18:43:43.174Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-10T18:43:43.185Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-10T18:43:43.195Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-10T18:43:43.207Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-10T18:43:43.217Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-10T18:43:43.227Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-10T18:43:43.239Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-10T18:43:43.250Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-10T18:43:43.259Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-10T18:43:43.270Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-10T18:43:43.283Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-10T18:43:43.292Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-10T18:43:43.300Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1060 [Pipeline] echo [2021-11-10T18:43:43.307Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1060 [Pipeline] echo [2021-11-10T18:43:43.314Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1060 [Pipeline] echo [2021-11-10T18:43:43.321Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 440f1c2552ae780b7cc0acfe999c469232d0ffad [Pipeline] echo [2021-11-10T18:43:43.329Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 440f1c2 [Pipeline] echo [2021-11-10T18:43:43.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T18:43:44.337Z] provisioning config files... [2021-11-10T18:43:44.353Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/config3894763339842463049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:43:44.671Z] ---> docker-login.sh [2021-11-10T18:43:44.671Z] nexus3.edgexfoundry.org:10001 [2021-11-10T18:43:44.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:43:44.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:43:44.949Z] Configure a credential helper to remove this warning. See [2021-11-10T18:43:44.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:43:44.949Z] [2021-11-10T18:43:44.949Z] Login Succeeded [2021-11-10T18:43:44.949Z] nexus3.edgexfoundry.org:10002 [2021-11-10T18:43:44.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:43:44.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:43:44.949Z] Configure a credential helper to remove this warning. See [2021-11-10T18:43:44.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:43:44.949Z] [2021-11-10T18:43:44.949Z] Login Succeeded [2021-11-10T18:43:44.949Z] nexus3.edgexfoundry.org:10003 [2021-11-10T18:43:45.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:43:45.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:43:45.214Z] Configure a credential helper to remove this warning. See [2021-11-10T18:43:45.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:43:45.214Z] [2021-11-10T18:43:45.214Z] Login Succeeded [2021-11-10T18:43:45.214Z] nexus3.edgexfoundry.org:10004 [2021-11-10T18:43:45.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:43:45.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:43:45.214Z] Configure a credential helper to remove this warning. See [2021-11-10T18:43:45.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:43:45.214Z] [2021-11-10T18:43:45.214Z] Login Succeeded [2021-11-10T18:43:45.214Z] docker.io [2021-11-10T18:43:45.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:43:45.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:43:45.793Z] Configure a credential helper to remove this warning. See [2021-11-10T18:43:45.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:43:45.793Z] [2021-11-10T18:43:45.793Z] Login Succeeded [2021-11-10T18:43:45.793Z] ---> docker-login.sh ends [Pipeline] } [2021-11-10T18:43:45.799Z] 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:43:46.229Z] + git rev-list -1 --merges 440f1c2552ae780b7cc0acfe999c469232d0ffad~1..440f1c2552ae780b7cc0acfe999c469232d0ffad [Pipeline] echo [2021-11-10T18:43:46.272Z] -----------> git rev-list -1 --merges 440f1c2552ae780b7cc0acfe999c469232d0ffad~1..440f1c2552ae780b7cc0acfe999c469232d0ffad 440f1c2552ae780b7cc0acfe999c469232d0ffad [2021-11-10T18:43:46.272Z] 440f1c2552ae780b7cc0acfe999c469232d0ffad [false] [Pipeline] sh [2021-11-10T18:43:46.563Z] + git log --format=format:%s -1 440f1c2552ae780b7cc0acfe999c469232d0ffad [Pipeline] echo [2021-11-10T18:43:46.579Z] ========================================================= [2021-11-10T18:43:46.579Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-10T18:43:46.579Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-10T18:43:46.920Z] + git log --format=format:%s -1 440f1c2552ae780b7cc0acfe999c469232d0ffad [Pipeline] echo [2021-11-10T18:43:46.931Z] [semverPrep] GIT_COMMIT: 440f1c2552ae780b7cc0acfe999c469232d0ffad, Commit Message: Merge commit '26056eb6751852d3be2b177fe263ccb57def27d1' into HEAD [Pipeline] echo [2021-11-10T18:43:46.941Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:43:48.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T18:43:48.517Z] [2021-11-10T18:43:48.517Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:43:48.828Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T18:43:48.828Z] latest: Pulling from edgex-devops/git-semver [2021-11-10T18:43:48.828Z] a0d0a0d46f8b: Pulling fs layer [2021-11-10T18:43:48.828Z] 3e5f54012d9b: Pulling fs layer [2021-11-10T18:43:48.828Z] 4c7163046ea9: Pulling fs layer [2021-11-10T18:43:48.828Z] 0c2d73faf560: Pulling fs layer [2021-11-10T18:43:48.828Z] 0c2d73faf560: Waiting [2021-11-10T18:43:48.828Z] 3e5f54012d9b: Verifying Checksum [2021-11-10T18:43:48.828Z] 3e5f54012d9b: Download complete [2021-11-10T18:43:48.828Z] a0d0a0d46f8b: Verifying Checksum [2021-11-10T18:43:48.828Z] a0d0a0d46f8b: Download complete [2021-11-10T18:43:48.828Z] 0c2d73faf560: Verifying Checksum [2021-11-10T18:43:48.828Z] 0c2d73faf560: Download complete [2021-11-10T18:43:48.828Z] 4c7163046ea9: Verifying Checksum [2021-11-10T18:43:48.828Z] 4c7163046ea9: Download complete [2021-11-10T18:43:49.103Z] a0d0a0d46f8b: Pull complete [2021-11-10T18:43:49.103Z] 3e5f54012d9b: Pull complete [2021-11-10T18:43:49.382Z] 4c7163046ea9: Pull complete [2021-11-10T18:43:49.648Z] 0c2d73faf560: Pull complete [2021-11-10T18:43:49.648Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-10T18:43:49.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T18:43:49.648Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-10T18:43:49.722Z] prd-centos7-docker-4c-2g-30245 does not seem to be running inside a container [2021-11-10T18:43:49.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1060 -v /w/workspace/gexfoundry_device-sdk-go_PR-1060:/w/workspace/gexfoundry_device-sdk-go_PR-1060:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1060@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:43:50.360Z] $ docker top 57cde5af92f605c7e1d32e5e71461f4ce4fc45ecf8ecc577be5603523346c62a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-10T18:43:50.458Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-10T18:43:50.458Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-10T18:43:50.563Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-10T18:43:50.565Z] $ docker exec 57cde5af92f605c7e1d32e5e71461f4ce4fc45ecf8ecc577be5603523346c62a ssh-agent [2021-11-10T18:43:50.662Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeCdopB/agent.13 [2021-11-10T18:43:50.662Z] SSH_AGENT_PID=20 [2021-11-10T18:43:50.672Z] Running ssh-add (command line suppressed) [2021-11-10T18:43:50.771Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/private_key_3217499615377138274.key (/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/private_key_3217499615377138274.key) [2021-11-10T18:43:50.784Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-10T18:43:51.081Z] + git tag --points-at HEAD [Pipeline] } [2021-11-10T18:43:51.095Z] $ docker exec --env ******** --env ******** 57cde5af92f605c7e1d32e5e71461f4ce4fc45ecf8ecc577be5603523346c62a ssh-agent -k [2021-11-10T18:43:51.197Z] unset SSH_AUTH_SOCK; [2021-11-10T18:43:51.197Z] unset SSH_AGENT_PID; [2021-11-10T18:43:51.197Z] echo Agent pid 20 killed; [2021-11-10T18:43:51.205Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-10T18:43:51.230Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-10T18:43:51.230Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-10T18:43:51.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-10T18:43:51.337Z] $ docker exec 57cde5af92f605c7e1d32e5e71461f4ce4fc45ecf8ecc577be5603523346c62a ssh-agent [2021-11-10T18:43:51.455Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPClOcB/agent.53 [2021-11-10T18:43:51.455Z] SSH_AGENT_PID=60 [2021-11-10T18:43:51.465Z] Running ssh-add (command line suppressed) [2021-11-10T18:43:51.570Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/private_key_5345142175208253838.key (/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/private_key_5345142175208253838.key) [2021-11-10T18:43:51.587Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-10T18:43:51.881Z] + git semver init [2021-11-10T18:43:51.881Z] # -> Open(): unable to determine branch for HEAD [2021-11-10T18:43:51.881Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1060/.git [2021-11-10T18:43:51.881Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1060 [2021-11-10T18:43:51.881Z] # $SEMVER_REMOTE_NAME = origin [2021-11-10T18:43:51.881Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-10T18:43:51.881Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-10T18:43:51.881Z] # $SEMVER_BRANCH = PR-1060 [2021-11-10T18:43:51.881Z] # $SEMVER_TEMP = /tmp/semver-638378525 [2021-11-10T18:43:51.881Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-10T18:43:52.833Z] # '/tmp/semver-638378525' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1060/.semver' [2021-11-10T18:43:52.833Z] # -> Force: false [2021-11-10T18:43:52.833Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1060/.semver [Pipeline] } [2021-11-10T18:43:52.842Z] $ docker exec --env ******** --env ******** 57cde5af92f605c7e1d32e5e71461f4ce4fc45ecf8ecc577be5603523346c62a ssh-agent -k [2021-11-10T18:43:52.941Z] unset SSH_AUTH_SOCK; [2021-11-10T18:43:52.942Z] unset SSH_AGENT_PID; [2021-11-10T18:43:52.942Z] echo Agent pid 60 killed; [2021-11-10T18:43:52.951Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-10T18:43:54.225Z] + git semver [Pipeline] } [2021-11-10T18:43:54.237Z] $ docker stop --time=1 57cde5af92f605c7e1d32e5e71461f4ce4fc45ecf8ecc577be5603523346c62a [2021-11-10T18:43:55.467Z] $ docker rm -f 57cde5af92f605c7e1d32e5e71461f4ce4fc45ecf8ecc577be5603523346c62a [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-10T18:43:55.830Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-10T18:43:56.085Z] Stashed 1 file(s) [Pipeline] echo [2021-11-10T18:43:56.087Z] [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:11.226Z] Still waiting to schedule task [2021-11-10T18:44:11.227Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-10T18:44:11.228Z] Still waiting to schedule task [2021-11-10T18:44:11.228Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-10T18:45:37.131Z] Running on prd-centos7-docker-4c-2g-30246 in /w/workspace/gexfoundry_device-sdk-go_PR-1060 [Pipeline] { [Pipeline] ws [2021-11-10T18:45:37.144Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-11-10T18:45:37.242Z] Selected Git installation does not exist. Using Default [2021-11-10T18:45:37.242Z] The recommended git tool is: NONE [2021-11-10T18:45:40.270Z] using credential edgex-jenkins-ssh [2021-11-10T18:45:40.281Z] Cloning the remote Git repository [2021-11-10T18:45:39.316Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T18:45:39.373Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-11-10T18:45:39.556Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T18:45:39.556Z] > git --version # timeout=10 [2021-11-10T18:45:39.570Z] > git --version # 'git version 2.24.4' [2021-11-10T18:45:39.570Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T18:45:39.600Z] [INFO] Currently running in a labeled security context [2021-11-10T18:45:39.600Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-10T18:45:39.600Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8155611110731884369.key [2021-11-10T18:45:39.620Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T18:45:40.612Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T18:45:40.620Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T18:45:40.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T18:45:40.651Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T18:45:40.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T18:45:40.656Z] [INFO] Currently running in a labeled security context [2021-11-10T18:45:40.656Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-10T18:45:40.656Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh4281065852092972609.key [2021-11-10T18:45:40.667Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1060/head:refs/remotes/origin/PR-1060 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-10T18:45:42.139Z] Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit acaad2eaf7e331afa60e093f2992ed3dd0e5840e [2021-11-10T18:45:42.255Z] Merge succeeded, producing 7c0db67375d48ce836d9fc2dfce62d4dac4d9d8b [2021-11-10T18:45:42.255Z] Checking out Revision 7c0db67375d48ce836d9fc2dfce62d4dac4d9d8b (PR-1060) [2021-11-10T18:45:41.162Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T18:45:41.172Z] > git checkout -f acaad2eaf7e331afa60e093f2992ed3dd0e5840e # timeout=10 [2021-11-10T18:45:41.210Z] > git remote # timeout=10 [2021-11-10T18:45:41.220Z] > git config --get remote.origin.url # timeout=10 [2021-11-10T18:45:41.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T18:45:41.226Z] [INFO] Currently running in a labeled security context [2021-11-10T18:45:41.226Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-10T18:45:41.226Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh4186227829223786535.key [2021-11-10T18:45:41.232Z] > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 [2021-11-10T18:45:41.254Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-10T18:45:41.270Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T18:45:41.278Z] > git checkout -f 7c0db67375d48ce836d9fc2dfce62d4dac4d9d8b # timeout=10 [2021-11-10T18:45:45.713Z] Commit message: "Merge commit '26056eb6751852d3be2b177fe263ccb57def27d1' into HEAD" [2021-11-10T18:45:45.722Z] 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:45:46.112Z] provisioning config files... [2021-11-10T18:45:46.126Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5934452054959265291tmp [Pipeline] { [Pipeline] libraryResource [2021-11-10T18:45:44.860Z] > git rev-list --no-walk d2189140b37be7edb294bbd18987d1f097bef8f0 # timeout=10 [Pipeline] sh [2021-11-10T18:45:47.639Z] ---> docker-login.sh [2021-11-10T18:45:47.639Z] nexus3.edgexfoundry.org:10001 [2021-11-10T18:45:47.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:45:47.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:45:47.900Z] Configure a credential helper to remove this warning. See [2021-11-10T18:45:47.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:45:47.900Z] [2021-11-10T18:45:47.900Z] Login Succeeded [2021-11-10T18:45:47.900Z] nexus3.edgexfoundry.org:10002 [2021-11-10T18:45:47.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:45:47.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:45:47.900Z] Configure a credential helper to remove this warning. See [2021-11-10T18:45:47.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:45:47.900Z] [2021-11-10T18:45:47.900Z] Login Succeeded [2021-11-10T18:45:47.900Z] nexus3.edgexfoundry.org:10003 [2021-11-10T18:45:47.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:45:48.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:45:48.163Z] Configure a credential helper to remove this warning. See [2021-11-10T18:45:48.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:45:48.163Z] [2021-11-10T18:45:48.163Z] Login Succeeded [2021-11-10T18:45:48.163Z] nexus3.edgexfoundry.org:10004 [2021-11-10T18:45:48.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:45:48.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:45:48.163Z] Configure a credential helper to remove this warning. See [2021-11-10T18:45:48.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:45:48.163Z] [2021-11-10T18:45:48.163Z] Login Succeeded [2021-11-10T18:45:48.163Z] docker.io [2021-11-10T18:45:48.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:45:48.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:45:48.744Z] Configure a credential helper to remove this warning. See [2021-11-10T18:45:48.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:45:48.744Z] [2021-11-10T18:45:48.744Z] Login Succeeded [2021-11-10T18:45:48.744Z] ---> docker-login.sh ends [Pipeline] } [2021-11-10T18:45:48.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-10T18:45:48.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-10T18:45:48.925Z] ========================================================= [2021-11-10T18:45:48.925Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-10T18:45:48.925Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:45:49.241Z] + 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:45:49.241Z] Sending build context to Docker daemon 2.756MB [2021-11-10T18:45:49.241Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T18:45:49.241Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-10T18:45:49.241Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-10T18:45:49.241Z] a0d0a0d46f8b: Pulling fs layer [2021-11-10T18:45:49.241Z] 31adcdaf11c8: Pulling fs layer [2021-11-10T18:45:49.241Z] b8b176561691: Pulling fs layer [2021-11-10T18:45:49.241Z] 4527c011a84f: Pulling fs layer [2021-11-10T18:45:49.241Z] 5d74067f8e1e: Pulling fs layer [2021-11-10T18:45:49.241Z] e0aca202a116: Pulling fs layer [2021-11-10T18:45:49.241Z] 3a43be97a3b4: Pulling fs layer [2021-11-10T18:45:49.241Z] 34cad66bf833: Pulling fs layer [2021-11-10T18:45:49.241Z] b4e3c513aaa6: Pulling fs layer [2021-11-10T18:45:49.241Z] 4527c011a84f: Waiting [2021-11-10T18:45:49.241Z] 5d74067f8e1e: Waiting [2021-11-10T18:45:49.241Z] e0aca202a116: Waiting [2021-11-10T18:45:49.241Z] 3a43be97a3b4: Waiting [2021-11-10T18:45:49.241Z] 34cad66bf833: Waiting [2021-11-10T18:45:49.241Z] b4e3c513aaa6: Waiting [2021-11-10T18:45:49.241Z] b8b176561691: Verifying Checksum [2021-11-10T18:45:49.241Z] b8b176561691: Download complete [2021-11-10T18:45:49.241Z] 31adcdaf11c8: Verifying Checksum [2021-11-10T18:45:49.241Z] 31adcdaf11c8: Download complete [2021-11-10T18:45:49.241Z] 5d74067f8e1e: Verifying Checksum [2021-11-10T18:45:49.241Z] 5d74067f8e1e: Download complete [2021-11-10T18:45:49.515Z] a0d0a0d46f8b: Verifying Checksum [2021-11-10T18:45:49.515Z] a0d0a0d46f8b: Download complete [2021-11-10T18:45:49.515Z] e0aca202a116: Verifying Checksum [2021-11-10T18:45:49.515Z] e0aca202a116: Download complete [2021-11-10T18:45:49.515Z] 3a43be97a3b4: Verifying Checksum [2021-11-10T18:45:49.515Z] 3a43be97a3b4: Download complete [2021-11-10T18:45:49.515Z] 34cad66bf833: Verifying Checksum [2021-11-10T18:45:49.515Z] 34cad66bf833: Download complete [2021-11-10T18:45:49.777Z] a0d0a0d46f8b: Pull complete [2021-11-10T18:45:49.777Z] 31adcdaf11c8: Pull complete [2021-11-10T18:45:50.049Z] b8b176561691: Pull complete [2021-11-10T18:45:50.049Z] 4527c011a84f: Verifying Checksum [2021-11-10T18:45:50.049Z] 4527c011a84f: Download complete [2021-11-10T18:45:50.316Z] b4e3c513aaa6: Verifying Checksum [2021-11-10T18:45:50.317Z] b4e3c513aaa6: Download complete [2021-11-10T18:45:53.137Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30248 in /w/workspace/gexfoundry_device-sdk-go_PR-1060 [Pipeline] { [Pipeline] ws [2021-11-10T18:45:53.148Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-11-10T18:45:53.348Z] Selected Git installation does not exist. Using Default [2021-11-10T18:45:53.348Z] The recommended git tool is: NONE [2021-11-10T18:45:54.297Z] 4527c011a84f: Pull complete [2021-11-10T18:45:54.297Z] 5d74067f8e1e: Pull complete [2021-11-10T18:45:54.297Z] e0aca202a116: Pull complete [2021-11-10T18:45:54.297Z] 3a43be97a3b4: Pull complete [2021-11-10T18:45:54.297Z] 34cad66bf833: Pull complete [2021-11-10T18:45:56.841Z] b4e3c513aaa6: Pull complete [2021-11-10T18:45:56.841Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-10T18:45:56.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-10T18:45:56.841Z] ---> 9f6097aaca64 [2021-11-10T18:45:56.841Z] Step 3/10 : ARG MAKE=make build [2021-11-10T18:45:58.231Z] ---> Running in 538d490e58a8 [2021-11-10T18:45:58.231Z] Removing intermediate container 538d490e58a8 [2021-11-10T18:45:58.231Z] ---> a6aa35f30429 [2021-11-10T18:45:58.231Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-10T18:45:58.492Z] ---> Running in 0cbb0927c600 [2021-11-10T18:45:58.492Z] Removing intermediate container 0cbb0927c600 [2021-11-10T18:45:58.492Z] ---> 807bb6302ba9 [2021-11-10T18:45:58.492Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T18:45:58.492Z] ---> Running in 19d10b2ca3dc [2021-11-10T18:45:58.492Z] Removing intermediate container 19d10b2ca3dc [2021-11-10T18:45:58.492Z] ---> 129fe91d81c2 [2021-11-10T18:45:58.492Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T18:45:58.492Z] ---> Running in 18897a3a6fab [2021-11-10T18:45:59.073Z] Removing intermediate container 18897a3a6fab [2021-11-10T18:45:59.073Z] ---> adf1fb797680 [2021-11-10T18:45:59.073Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T18:45:59.073Z] ---> Running in 9ba9de62617a [2021-11-10T18:45:59.335Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-10T18:45:59.633Z] using credential edgex-jenkins-ssh [2021-11-10T18:45:59.649Z] Cloning the remote Git repository [2021-11-10T18:46:00.278Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-10T18:46:00.540Z] OK: 220 MiB in 52 packages [2021-11-10T18:45:59.717Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T18:45:59.826Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-11-10T18:45:59.896Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T18:45:59.897Z] > git --version # timeout=10 [2021-11-10T18:45:59.912Z] > git --version # 'git version 2.17.1' [2021-11-10T18:45:59.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T18:45:59.974Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T18:46:00.803Z] Removing intermediate container 9ba9de62617a [2021-11-10T18:46:00.803Z] ---> 860e2b45b091 [2021-11-10T18:46:00.803Z] Step 8/10 : COPY . . [2021-11-10T18:46:01.071Z] ---> 136a91d44ee5 [2021-11-10T18:46:01.071Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T18:46:01.071Z] ---> Running in 6100ad933ea4 [2021-11-10T18:46:01.451Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T18:46:01.469Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T18:46:01.490Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T18:46:01.519Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T18:46:01.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T18:46:01.531Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1060/head:refs/remotes/origin/PR-1060 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-10T18:46:02.321Z] Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit acaad2eaf7e331afa60e093f2992ed3dd0e5840e [2021-11-10T18:46:02.593Z] Merge succeeded, producing 736bfb0baca2c16513e621675612a979de037a94 [2021-11-10T18:46:02.593Z] Checking out Revision 736bfb0baca2c16513e621675612a979de037a94 (PR-1060) [2021-11-10T18:46:02.334Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T18:46:02.346Z] > git checkout -f acaad2eaf7e331afa60e093f2992ed3dd0e5840e # timeout=10 [2021-11-10T18:46:02.447Z] > git remote # timeout=10 [2021-11-10T18:46:02.462Z] > git config --get remote.origin.url # timeout=10 [2021-11-10T18:46:02.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T18:46:02.487Z] > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 [2021-11-10T18:46:02.574Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-10T18:46:02.594Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T18:46:02.609Z] > git checkout -f 736bfb0baca2c16513e621675612a979de037a94 # timeout=10 [2021-11-10T18:46:06.764Z] Commit message: "Merge commit '26056eb6751852d3be2b177fe263ccb57def27d1' into HEAD" [2021-11-10T18:46:06.792Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-10T18:46:07.691Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-10T18:46:07.691Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-10T18:46:07.691Z] Dload Upload Total Spent Left Speed [2021-11-10T18:46:07.691Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 67565 0 --:--:-- --:--:-- --:--:-- 67954 [Pipeline] sh [2021-11-10T18:46:06.770Z] > git rev-list --no-walk d2189140b37be7edb294bbd18987d1f097bef8f0 # timeout=10 [2021-11-10T18:46:08.114Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-10T18:46:08.465Z] + + sudo teesudo /etc/docker/daemon.new jq [2021-11-10T18:46:08.465Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-10T18:46:08.465Z] { [2021-11-10T18:46:08.465Z] "registry-mirrors": [ [2021-11-10T18:46:08.465Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-10T18:46:08.465Z] ], [2021-11-10T18:46:08.465Z] "bip": "10.250.0.254/24", [2021-11-10T18:46:08.465Z] "hosts": [ [2021-11-10T18:46:08.465Z] "tcp://0.0.0.0:5555", [2021-11-10T18:46:08.465Z] "unix:///var/run/docker.sock" [2021-11-10T18:46:08.465Z] ], [2021-11-10T18:46:08.465Z] "mtu": 1458, [2021-11-10T18:46:08.465Z] "selinux-enabled": true, [2021-11-10T18:46:08.465Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-10T18:46:08.465Z] } [Pipeline] sh [2021-11-10T18:46:08.814Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-10T18:46:09.167Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T18:46:27.552Z] provisioning config files... [2021-11-10T18:46:27.578Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2781478580966804613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:46:27.933Z] ---> docker-login.sh [2021-11-10T18:46:27.933Z] nexus3.edgexfoundry.org:10001 [2021-11-10T18:46:28.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:46:28.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:46:28.811Z] Configure a credential helper to remove this warning. See [2021-11-10T18:46:28.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:46:28.811Z] [2021-11-10T18:46:28.811Z] Login Succeeded [2021-11-10T18:46:29.085Z] nexus3.edgexfoundry.org:10002 [2021-11-10T18:46:29.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:46:29.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:46:29.630Z] Configure a credential helper to remove this warning. See [2021-11-10T18:46:29.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:46:29.630Z] [2021-11-10T18:46:29.630Z] Login Succeeded [2021-11-10T18:46:29.630Z] nexus3.edgexfoundry.org:10003 [2021-11-10T18:46:29.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:46:30.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:46:30.179Z] Configure a credential helper to remove this warning. See [2021-11-10T18:46:30.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:46:30.179Z] [2021-11-10T18:46:30.179Z] Login Succeeded [2021-11-10T18:46:30.179Z] nexus3.edgexfoundry.org:10004 [2021-11-10T18:46:30.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:46:30.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:46:30.723Z] Configure a credential helper to remove this warning. See [2021-11-10T18:46:30.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:46:30.723Z] [2021-11-10T18:46:30.723Z] Login Succeeded [2021-11-10T18:46:30.723Z] docker.io [2021-11-10T18:46:30.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T18:46:31.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T18:46:31.590Z] Configure a credential helper to remove this warning. See [2021-11-10T18:46:31.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T18:46:31.590Z] [2021-11-10T18:46:31.590Z] Login Succeeded [2021-11-10T18:46:31.590Z] ---> docker-login.sh ends [Pipeline] } [2021-11-10T18:46:31.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-10T18:46:32.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-10T18:46:33.188Z] ========================================================= [2021-11-10T18:46:33.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-10T18:46:33.188Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:46:33.539Z] + 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:46:34.011Z] Removing intermediate container 6100ad933ea4 [2021-11-10T18:46:34.011Z] ---> a84b4a74c91b [2021-11-10T18:46:34.011Z] Step 10/10 : RUN ${MAKE} [2021-11-10T18:46:34.011Z] ---> Running in e9a2debd56b3 [2021-11-10T18:46:34.011Z] noop [2021-11-10T18:46:34.011Z] Removing intermediate container e9a2debd56b3 [2021-11-10T18:46:34.011Z] ---> 86916613fac7 [2021-11-10T18:46:34.011Z] Successfully built 86916613fac7 [2021-11-10T18:46:34.011Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:46:34.143Z] Sending build context to Docker daemon 2.755MB [2021-11-10T18:46:34.143Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T18:46:34.143Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-10T18:46:34.143Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-10T18:46:34.143Z] 552d1f2373af: Pulling fs layer [2021-11-10T18:46:34.143Z] ea3f2d53f512: Pulling fs layer [2021-11-10T18:46:34.143Z] 9e70ebbbe112: Pulling fs layer [2021-11-10T18:46:34.143Z] 7a9cfe048b4a: Pulling fs layer [2021-11-10T18:46:34.143Z] 72dc09318566: Pulling fs layer [2021-11-10T18:46:34.143Z] f4f7b4309257: Pulling fs layer [2021-11-10T18:46:34.143Z] 0ac9a79272e3: Pulling fs layer [2021-11-10T18:46:34.143Z] b78e95d17946: Pulling fs layer [2021-11-10T18:46:34.143Z] 7a9cfe048b4a: Waiting [2021-11-10T18:46:34.143Z] 72dc09318566: Waiting [2021-11-10T18:46:34.143Z] f4f7b4309257: Waiting [2021-11-10T18:46:34.143Z] 0ac9a79272e3: Waiting [2021-11-10T18:46:34.143Z] b78e95d17946: Waiting [2021-11-10T18:46:34.143Z] 9e70ebbbe112: Verifying Checksum [2021-11-10T18:46:34.143Z] 9e70ebbbe112: Download complete [2021-11-10T18:46:34.143Z] ea3f2d53f512: Verifying Checksum [2021-11-10T18:46:34.143Z] ea3f2d53f512: Download complete [2021-11-10T18:46:34.143Z] 72dc09318566: Verifying Checksum [2021-11-10T18:46:34.143Z] 72dc09318566: Download complete [2021-11-10T18:46:34.312Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-10T18:46:34.312Z] . [Pipeline] withDockerContainer [2021-11-10T18:46:34.385Z] prd-centos7-docker-4c-2g-30246 does not seem to be running inside a container [2021-11-10T18:46:34.420Z] f4f7b4309257: Verifying Checksum [2021-11-10T18:46:34.420Z] f4f7b4309257: Download complete [2021-11-10T18:46:34.420Z] 552d1f2373af: Verifying Checksum [2021-11-10T18:46:34.420Z] 552d1f2373af: Download complete [2021-11-10T18:46:34.420Z] 0ac9a79272e3: Verifying Checksum [2021-11-10T18:46:34.420Z] 0ac9a79272e3: Download complete [2021-11-10T18:46:34.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-10T18:46:34.783Z] $ docker top 887ba49d057a22feaa2c144c2bd6de7dbdb8163d3b0a735feea9c7d9ac42f679 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-10T18:46:35.025Z] 552d1f2373af: Pull complete [2021-11-10T18:46:35.176Z] + go version [2021-11-10T18:46:35.176Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-10T18:46:35.187Z] $ docker stop --time=1 887ba49d057a22feaa2c144c2bd6de7dbdb8163d3b0a735feea9c7d9ac42f679 [2021-11-10T18:46:35.633Z] ea3f2d53f512: Pull complete [2021-11-10T18:46:36.233Z] 9e70ebbbe112: Pull complete [2021-11-10T18:46:36.233Z] b78e95d17946: Download complete [2021-11-10T18:46:36.367Z] $ docker rm -f 887ba49d057a22feaa2c144c2bd6de7dbdb8163d3b0a735feea9c7d9ac42f679 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:46:36.826Z] 7a9cfe048b4a: Verifying Checksum [2021-11-10T18:46:36.827Z] 7a9cfe048b4a: Download complete [2021-11-10T18:46:36.944Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-10T18:46:36.944Z] . [Pipeline] withDockerContainer [2021-11-10T18:46:37.012Z] prd-centos7-docker-4c-2g-30246 does not seem to be running inside a container [2021-11-10T18:46:37.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-10T18:46:37.369Z] $ docker top f05f1b4ab0d82240cb92c3c5d4b735d53223f706803e95b6a5ff78d2d390919f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-10T18:46:37.732Z] + make test [2021-11-10T18:46:37.732Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-10T18:46:43.064Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-10T18:46:46.976Z] 7a9cfe048b4a: Pull complete [2021-11-10T18:46:46.976Z] 72dc09318566: Pull complete [2021-11-10T18:46:47.570Z] f4f7b4309257: Pull complete [2021-11-10T18:46:47.843Z] 0ac9a79272e3: Pull complete [2021-11-10T18:46:53.253Z] b78e95d17946: Pull complete [2021-11-10T18:46:53.531Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-10T18:46:53.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-10T18:46:53.532Z] ---> 8b459fc5aaf0 [2021-11-10T18:46:53.532Z] Step 3/10 : ARG MAKE=make build [2021-11-10T18:46:54.961Z] ---> Running in fb3149d013dd [2021-11-10T18:46:56.378Z] Removing intermediate container fb3149d013dd [2021-11-10T18:46:56.378Z] ---> f81fe591905b [2021-11-10T18:46:56.378Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-10T18:46:56.378Z] ---> Running in 11a6ccdb2e7f [2021-11-10T18:46:56.378Z] Removing intermediate container 11a6ccdb2e7f [2021-11-10T18:46:56.378Z] ---> 3fd8c00be4d5 [2021-11-10T18:46:56.378Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T18:46:56.378Z] ---> Running in faba2de25470 [2021-11-10T18:46:56.378Z] Removing intermediate container faba2de25470 [2021-11-10T18:46:56.378Z] ---> bbf29a94f227 [2021-11-10T18:46:56.378Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T18:46:56.648Z] ---> Running in e1dd4b87e376 [2021-11-10T18:46:58.615Z] Removing intermediate container e1dd4b87e376 [2021-11-10T18:46:58.615Z] ---> 3a445e555dfc [2021-11-10T18:46:58.615Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T18:46:58.900Z] ---> Running in ffde15b6ac05 [2021-11-10T18:46:59.874Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-10T18:47:00.844Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-10T18:47:01.450Z] OK: 219 MiB in 52 packages [2021-11-10T18:47:02.423Z] Removing intermediate container ffde15b6ac05 [2021-11-10T18:47:02.423Z] ---> 4f6d78a38b0f [2021-11-10T18:47:02.423Z] Step 8/10 : COPY . . [2021-11-10T18:47:03.398Z] ---> 7584e43f206c [2021-11-10T18:47:03.398Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T18:47:03.398Z] ---> Running in 187556d1454e [2021-11-10T18:47:06.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-10T18:47:06.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-10T18:47:06.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-10T18:47:08.049Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.061s coverage: 23.3% of statements [2021-11-10T18:47:08.049Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-10T18:47:08.049Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.044s coverage: 27.6% of statements [2021-11-10T18:47:08.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.055s coverage: 78.9% of statements [2021-11-10T18:47:08.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.051s coverage: 9.0% of statements [2021-11-10T18:47:08.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-10T18:47:08.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-10T18:47:08.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-10T18:47:09.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.070s coverage: 28.7% of statements [2021-11-10T18:47:09.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-10T18:47:10.219Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.056s coverage: 83.3% of statements [2021-11-10T18:47:10.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-10T18:47:10.219Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-10T18:47:10.219Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 57.8% of statements [2021-11-10T18:47:11.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.830s coverage: 89.2% of statements [2021-11-10T18:47:11.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-10T18:47:11.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.8% of statements [2021-11-10T18:47:11.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-10T18:47:11.619Z] GO111MODULE=on go vet ./... [2021-11-10T18:47:29.801Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-10T18:47:29.801Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-10T18:47:29.801Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-10T18:47:29.810Z] $ docker stop --time=1 f05f1b4ab0d82240cb92c3c5d4b735d53223f706803e95b6a5ff78d2d390919f [2021-11-10T18:47:31.293Z] $ docker rm -f f05f1b4ab0d82240cb92c3c5d4b735d53223f706803e95b6a5ff78d2d390919f [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-10T18:47:31.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-10T18:47:31.921Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-10T18:47:37.224Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-10T18:47:38.496Z] + ls -al . [2021-11-10T18:47:38.496Z] total 264 [2021-11-10T18:47:38.496Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 10 18:47 . [2021-11-10T18:47:38.496Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 10 18:45 .. [2021-11-10T18:47:38.496Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 10 18:45 bin [2021-11-10T18:47:38.496Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 10 18:45 CHANGELOG.md [2021-11-10T18:47:38.496Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 10 18:47 coverage.out [2021-11-10T18:47:38.496Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 10 18:45 .dockerignore [2021-11-10T18:47:38.496Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 10 18:45 example [2021-11-10T18:47:38.496Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 10 18:45 .git [2021-11-10T18:47:38.496Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 10 18:45 .github [2021-11-10T18:47:38.496Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 10 18:45 .gitignore [2021-11-10T18:47:38.496Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 10 18:45 go.mod [2021-11-10T18:47:38.496Z] -rw-rw-r--. 1 jenkins jenkins 49140 Nov 10 18:45 go.sum [2021-11-10T18:47:38.496Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 10 18:45 GOVERNANCE.md [2021-11-10T18:47:38.496Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 10 18:45 internal [2021-11-10T18:47:38.496Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 10 18:45 Jenkinsfile [2021-11-10T18:47:38.496Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 10 18:45 LICENSE [2021-11-10T18:47:38.496Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 10 18:45 Makefile [2021-11-10T18:47:38.496Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 10 18:45 openapi [2021-11-10T18:47:38.496Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 10 18:45 OWNERS.md [2021-11-10T18:47:38.496Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 10 18:45 pkg [2021-11-10T18:47:38.496Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 10 18:45 README.md [2021-11-10T18:47:38.496Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 10 18:45 snap [2021-11-10T18:47:38.496Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 10 18:43 VERSION [2021-11-10T18:47:38.496Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 10 18:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:47:38.791Z] + 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=7c0db67375d48ce836d9fc2dfce62d4dac4d9d8b --label arch=amd64 --label version=0.0.0 . [2021-11-10T18:47:38.791Z] Sending build context to Docker daemon 2.885MB [2021-11-10T18:47:38.791Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T18:47:38.791Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-10T18:47:38.791Z] ---> 86916613fac7 [2021-11-10T18:47:38.791Z] Step 3/24 : ARG MAKE=make build [2021-11-10T18:47:38.791Z] ---> Running in 40bd72333acf [2021-11-10T18:47:39.052Z] Removing intermediate container 40bd72333acf [2021-11-10T18:47:39.052Z] ---> ee6be2c79c9e [2021-11-10T18:47:39.052Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-10T18:47:39.052Z] ---> Running in 08ad94555c41 [2021-11-10T18:47:39.052Z] Removing intermediate container 08ad94555c41 [2021-11-10T18:47:39.052Z] ---> d921c3594193 [2021-11-10T18:47:39.052Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T18:47:39.052Z] ---> Running in b3f9482d59d1 [2021-11-10T18:47:39.052Z] Removing intermediate container b3f9482d59d1 [2021-11-10T18:47:39.052Z] ---> b9dab63f3610 [2021-11-10T18:47:39.052Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T18:47:39.311Z] ---> Running in 303fe3776698 [2021-11-10T18:47:39.576Z] Removing intermediate container 303fe3776698 [2021-11-10T18:47:39.576Z] ---> 9e8093e074fe [2021-11-10T18:47:39.576Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T18:47:39.576Z] ---> Running in 3dd1a6822ff8 [2021-11-10T18:47:39.837Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-10T18:47:40.781Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-10T18:47:41.045Z] OK: 220 MiB in 52 packages [2021-11-10T18:47:41.308Z] Removing intermediate container 3dd1a6822ff8 [2021-11-10T18:47:41.308Z] ---> 2a8127eea055 [2021-11-10T18:47:41.308Z] Step 8/24 : COPY . . [2021-11-10T18:47:41.572Z] ---> 52a8a3d81ab4 [2021-11-10T18:47:41.572Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T18:47:41.572Z] ---> Running in 8be021475b6f [2021-11-10T18:47:42.154Z] Removing intermediate container 8be021475b6f [2021-11-10T18:47:42.154Z] ---> aa961d7d208f [2021-11-10T18:47:42.154Z] Step 10/24 : RUN ${MAKE} [2021-11-10T18:47:42.154Z] ---> Running in 83fa933ae7f2 [2021-11-10T18:47:42.421Z] 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:47:52.551Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-10T18:47:53.504Z] Removing intermediate container 83fa933ae7f2 [2021-11-10T18:47:53.504Z] ---> cc215f8d3914 [2021-11-10T18:47:53.504Z] Step 11/24 : FROM alpine:3.14 [2021-11-10T18:47:57.711Z] 3.14: Pulling from library/alpine [2021-11-10T18:47:57.711Z] a0d0a0d46f8b: Already exists [2021-11-10T18:47:57.711Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-10T18:47:57.711Z] Status: Downloaded newer image for alpine:3.14 [2021-11-10T18:47:57.711Z] ---> 14119a10abf4 [2021-11-10T18:47:57.711Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T18:47:57.711Z] ---> Running in b7064434473a [2021-11-10T18:47:57.711Z] Removing intermediate container b7064434473a [2021-11-10T18:47:57.711Z] ---> 6303903870c2 [2021-11-10T18:47:57.711Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T18:47:57.711Z] ---> Running in 8f414aad24ec [2021-11-10T18:47:57.711Z] Removing intermediate container 8f414aad24ec [2021-11-10T18:47:57.711Z] ---> 0f6baa4b5a14 [2021-11-10T18:47:57.711Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-10T18:47:57.974Z] ---> Running in 93f18526194f [2021-11-10T18:47:58.235Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-10T18:47:58.806Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-10T18:47:59.378Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-10T18:47:59.378Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-10T18:47:59.378Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-10T18:47:59.639Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-10T18:47:59.639Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-10T18:47:59.639Z] Executing busybox-1.33.1-r3.trigger [2021-11-10T18:47:59.639Z] OK: 8 MiB in 19 packages [2021-11-10T18:47:59.902Z] Removing intermediate container 93f18526194f [2021-11-10T18:47:59.902Z] ---> 88111202aee5 [2021-11-10T18:47:59.902Z] Step 15/24 : WORKDIR / [2021-11-10T18:47:59.902Z] ---> Running in 2c2b4124f958 [2021-11-10T18:48:00.172Z] Removing intermediate container 2c2b4124f958 [2021-11-10T18:48:00.172Z] ---> ac6c08e5142e [2021-11-10T18:48:00.172Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-10T18:48:00.172Z] ---> 11698cefc134 [2021-11-10T18:48:00.172Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-10T18:48:00.749Z] ---> eae18dce068a [2021-11-10T18:48:00.749Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-10T18:48:00.749Z] ---> 3b31bb49f3cf [2021-11-10T18:48:00.749Z] Step 19/24 : EXPOSE 59999 [2021-11-10T18:48:00.749Z] ---> Running in f78ac1456e74 [2021-11-10T18:48:00.749Z] Removing intermediate container f78ac1456e74 [2021-11-10T18:48:00.749Z] ---> 8ce5b94e0219 [2021-11-10T18:48:00.749Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-10T18:48:01.008Z] ---> Running in fe0327a809fc [2021-11-10T18:48:01.008Z] Removing intermediate container fe0327a809fc [2021-11-10T18:48:01.008Z] ---> 4ff3e175867e [2021-11-10T18:48:01.008Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-10T18:48:01.008Z] ---> Running in 8bc1719ddfbc [2021-11-10T18:48:01.008Z] Removing intermediate container 8bc1719ddfbc [2021-11-10T18:48:01.008Z] ---> cad79851daf3 [2021-11-10T18:48:01.008Z] Step 22/24 : LABEL arch=amd64 [2021-11-10T18:48:01.008Z] ---> Running in caf1d25eaf87 [2021-11-10T18:48:01.276Z] Removing intermediate container caf1d25eaf87 [2021-11-10T18:48:01.276Z] ---> 39dfb3c3954f [2021-11-10T18:48:01.276Z] Step 23/24 : LABEL git_sha=7c0db67375d48ce836d9fc2dfce62d4dac4d9d8b [2021-11-10T18:48:01.276Z] ---> Running in 61d2c64786b5 [2021-11-10T18:48:01.276Z] Removing intermediate container 61d2c64786b5 [2021-11-10T18:48:01.276Z] ---> 05f3b5ab4f5e [2021-11-10T18:48:01.276Z] Step 24/24 : LABEL version=0.0.0 [2021-11-10T18:48:01.276Z] ---> Running in dbacdd49a457 [2021-11-10T18:48:01.276Z] Removing intermediate container dbacdd49a457 [2021-11-10T18:48:01.276Z] ---> 90b04f231efa [2021-11-10T18:48:01.276Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-10T18:48:01.276Z] Successfully built 90b04f231efa [2021-11-10T18:48:01.276Z] 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:48:02.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T18:48:02.929Z] [2021-11-10T18:48:02.929Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:48:03.244Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T18:48:03.244Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-10T18:48:03.244Z] b4d181a07f80: Pulling fs layer [2021-11-10T18:48:03.244Z] a1111a8f2ec3: Pulling fs layer [2021-11-10T18:48:03.244Z] ed53099fbce6: Pulling fs layer [2021-11-10T18:48:03.244Z] dc539afda2c1: Pulling fs layer [2021-11-10T18:48:03.244Z] 77bc0d833cb6: Pulling fs layer [2021-11-10T18:48:03.244Z] 9065ff56babe: Pulling fs layer [2021-11-10T18:48:03.244Z] d287ab97295c: Pulling fs layer [2021-11-10T18:48:03.244Z] dc539afda2c1: Waiting [2021-11-10T18:48:03.244Z] 77bc0d833cb6: Waiting [2021-11-10T18:48:03.244Z] 9065ff56babe: Waiting [2021-11-10T18:48:03.244Z] d287ab97295c: Waiting [2021-11-10T18:48:03.244Z] a1111a8f2ec3: Verifying Checksum [2021-11-10T18:48:03.244Z] a1111a8f2ec3: Download complete [2021-11-10T18:48:03.244Z] dc539afda2c1: Verifying Checksum [2021-11-10T18:48:03.244Z] dc539afda2c1: Download complete [2021-11-10T18:48:03.244Z] ed53099fbce6: Verifying Checksum [2021-11-10T18:48:03.244Z] ed53099fbce6: Download complete [2021-11-10T18:48:03.506Z] 9065ff56babe: Verifying Checksum [2021-11-10T18:48:03.506Z] 9065ff56babe: Download complete [2021-11-10T18:48:03.506Z] 77bc0d833cb6: Verifying Checksum [2021-11-10T18:48:03.506Z] 77bc0d833cb6: Download complete [2021-11-10T18:48:03.506Z] b4d181a07f80: Verifying Checksum [2021-11-10T18:48:03.506Z] b4d181a07f80: Download complete [2021-11-10T18:48:04.083Z] d287ab97295c: Verifying Checksum [2021-11-10T18:48:04.083Z] d287ab97295c: Download complete [2021-11-10T18:48:05.036Z] b4d181a07f80: Pull complete [2021-11-10T18:48:05.306Z] a1111a8f2ec3: Pull complete [2021-11-10T18:48:05.568Z] ed53099fbce6: Pull complete [2021-11-10T18:48:05.829Z] dc539afda2c1: Pull complete [2021-11-10T18:48:06.090Z] 77bc0d833cb6: Pull complete [2021-11-10T18:48:06.090Z] 9065ff56babe: Pull complete [2021-11-10T18:48:11.397Z] d287ab97295c: Pull complete [2021-11-10T18:48:11.397Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-10T18:48:11.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T18:48:11.397Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-10T18:48:11.460Z] prd-centos7-docker-4c-2g-30246 does not seem to be running inside a container [2021-11-10T18:48:11.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-10T18:48:13.844Z] $ docker top 935d0bc11ba0b6e9cef4f7091b4f24b7dc425fbbf7c653d49b976f763248ed5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:48:15.240Z] ---> job-cost.sh [2021-11-10T18:48:15.241Z] lf-activate-venv: SKIPPING [2021-11-10T18:48:15.241Z] INFO: No Stack... [2021-11-10T18:48:17.786Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-10T18:48:18.361Z] INFO: Archiving Costs [Pipeline] sh [2021-11-10T18:48:18.665Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-11-10T18:48:18.665Z] + cut -d, -f6 [Pipeline] lock [2021-11-10T18:48:18.697Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1060-3-stack-cost] [2021-11-10T18:48:18.704Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1060-3-stack-cost] did not exist. Created. [2021-11-10T18:48:18.705Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1060-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-10T18:48:19.014Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-10T18:48:19.049Z] Stashed 1 file(s) [Pipeline] } [2021-11-10T18:48:19.058Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1060-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-10T18:48:19.074Z] $ docker stop --time=1 935d0bc11ba0b6e9cef4f7091b4f24b7dc425fbbf7c653d49b976f763248ed5c [2021-11-10T18:48:20.201Z] $ docker rm -f 935d0bc11ba0b6e9cef4f7091b4f24b7dc425fbbf7c653d49b976f763248ed5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-10T18:48:25.200Z] Removing intermediate container 187556d1454e [2021-11-10T18:48:25.200Z] ---> 0f866768d411 [2021-11-10T18:48:25.200Z] Step 10/10 : RUN ${MAKE} [2021-11-10T18:48:25.200Z] ---> Running in 31e911ea9fef [2021-11-10T18:48:25.200Z] noop [2021-11-10T18:48:25.200Z] Removing intermediate container 31e911ea9fef [2021-11-10T18:48:25.200Z] ---> 1b7e194784e2 [2021-11-10T18:48:25.200Z] Successfully built 1b7e194784e2 [2021-11-10T18:48:25.200Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:48:25.547Z] + docker inspect -f . ci-base-image-arm64 [2021-11-10T18:48:25.547Z] . [Pipeline] withDockerContainer [2021-11-10T18:48:25.818Z] prd-ubuntu18.04-docker-arm64-4c-16g-30248 does not seem to be running inside a container [2021-11-10T18:48:25.895Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-10T18:48:27.479Z] $ docker top f59af8391c1e2f981b3bee81a39e8b7507b9aabeb13ed8de94b4060bd41f7145 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-10T18:48:28.459Z] + go version [2021-11-10T18:48:28.459Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-10T18:48:28.481Z] $ docker stop --time=1 f59af8391c1e2f981b3bee81a39e8b7507b9aabeb13ed8de94b4060bd41f7145 [2021-11-10T18:48:30.217Z] $ docker rm -f f59af8391c1e2f981b3bee81a39e8b7507b9aabeb13ed8de94b4060bd41f7145 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:48:31.081Z] + docker inspect -f . ci-base-image-arm64 [2021-11-10T18:48:31.081Z] . [Pipeline] withDockerContainer [2021-11-10T18:48:31.351Z] prd-ubuntu18.04-docker-arm64-4c-16g-30248 does not seem to be running inside a container [2021-11-10T18:48:31.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-10T18:48:33.396Z] $ docker top 3a8c5d564026fa97edf75c0bee86a24170b48ef83092616f85855b9725156871 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-10T18:48:34.399Z] + make test [2021-11-10T18:48:34.399Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-10T18:49:01.210Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-10T18:50:10.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-10T18:50:10.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-10T18:50:10.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-10T18:50:14.648Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.400s coverage: 23.3% of statements [2021-11-10T18:50:14.648Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-10T18:50:14.648Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.218s coverage: 27.6% of statements [2021-11-10T18:50:14.648Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.265s coverage: 78.9% of statements [2021-11-10T18:50:14.648Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.241s coverage: 9.0% of statements [2021-11-10T18:50:14.648Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-10T18:50:14.648Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-10T18:50:14.648Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-10T18:50:16.105Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.322s coverage: 28.7% of statements [2021-11-10T18:50:16.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-10T18:50:18.750Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.251s coverage: 83.3% of statements [2021-11-10T18:50:18.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-10T18:50:18.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-10T18:50:18.750Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.473s coverage: 57.8% of statements [2021-11-10T18:50:20.731Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.143s coverage: 89.2% of statements [2021-11-10T18:50:20.731Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-10T18:50:21.003Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.199s coverage: 4.8% of statements [2021-11-10T18:50:21.003Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-10T18:50:21.277Z] GO111MODULE=on go vet ./... [2021-11-10T18:51:29.717Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-10T18:51:29.717Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-10T18:51:29.717Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-10T18:51:29.737Z] $ docker stop --time=1 3a8c5d564026fa97edf75c0bee86a24170b48ef83092616f85855b9725156871 [2021-11-10T18:51:31.643Z] $ docker rm -f 3a8c5d564026fa97edf75c0bee86a24170b48ef83092616f85855b9725156871 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-10T18:51:32.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-10T18:51:32.951Z] Warning: overwriting stash ‘coverage-report’ [2021-11-10T18:51:35.100Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-10T18:51:35.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-10T18:51:35.940Z] + ls -al . [2021-11-10T18:51:35.940Z] total 300 [2021-11-10T18:51:35.940Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 18:51 . [2021-11-10T18:51:35.940Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 18:45 .. [2021-11-10T18:51:35.940Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 10 18:46 .dockerignore [2021-11-10T18:51:35.940Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 18:46 .git [2021-11-10T18:51:35.940Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 18:46 .github [2021-11-10T18:51:35.940Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 10 18:46 .gitignore [2021-11-10T18:51:35.940Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 10 18:46 CHANGELOG.md [2021-11-10T18:51:35.940Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 18:46 GOVERNANCE.md [2021-11-10T18:51:35.940Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 10 18:46 Jenkinsfile [2021-11-10T18:51:35.940Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 10 18:46 LICENSE [2021-11-10T18:51:35.940Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 10 18:46 Makefile [2021-11-10T18:51:35.940Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 10 18:46 OWNERS.md [2021-11-10T18:51:35.940Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 10 18:46 README.md [2021-11-10T18:51:35.940Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 18:43 VERSION [2021-11-10T18:51:35.940Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 18:46 bin [2021-11-10T18:51:35.940Z] -rw-r--r-- 1 jenkins jenkins 128369 Nov 10 18:50 coverage.out [2021-11-10T18:51:35.940Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 10 18:46 example [2021-11-10T18:51:35.940Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 10 18:46 go.mod [2021-11-10T18:51:35.940Z] -rw-rw-r-- 1 jenkins jenkins 49140 Nov 10 18:46 go.sum [2021-11-10T18:51:35.940Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 10 18:46 internal [2021-11-10T18:51:35.940Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 18:46 openapi [2021-11-10T18:51:35.940Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 10 18:46 pkg [2021-11-10T18:51:35.940Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 18:46 snap [2021-11-10T18:51:35.940Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 10 18:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:51:36.303Z] + 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=736bfb0baca2c16513e621675612a979de037a94 --label arch=arm64 --label version=0.0.0 . [2021-11-10T18:51:36.910Z] Sending build context to Docker daemon 2.884MB [2021-11-10T18:51:36.910Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T18:51:36.910Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-10T18:51:36.910Z] ---> 1b7e194784e2 [2021-11-10T18:51:36.910Z] Step 3/24 : ARG MAKE=make build [2021-11-10T18:51:36.910Z] ---> Running in 256ce046ae34 [2021-11-10T18:51:37.509Z] Removing intermediate container 256ce046ae34 [2021-11-10T18:51:37.509Z] ---> 8fa200a3a704 [2021-11-10T18:51:37.509Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-10T18:51:37.509Z] ---> Running in 2be130abc142 [2021-11-10T18:51:38.106Z] Removing intermediate container 2be130abc142 [2021-11-10T18:51:38.106Z] ---> fd7636d4701a [2021-11-10T18:51:38.106Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T18:51:38.106Z] ---> Running in e3f48e06636d [2021-11-10T18:51:38.380Z] Removing intermediate container e3f48e06636d [2021-11-10T18:51:38.380Z] ---> d980c2a5bb1f [2021-11-10T18:51:38.380Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T18:51:38.653Z] ---> Running in 885e4e23dc96 [2021-11-10T18:51:40.624Z] Removing intermediate container 885e4e23dc96 [2021-11-10T18:51:40.624Z] ---> 096639956d4f [2021-11-10T18:51:40.624Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T18:51:40.624Z] ---> Running in 0083853952f4 [2021-11-10T18:51:42.373Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-10T18:51:42.646Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-10T18:51:43.623Z] OK: 219 MiB in 52 packages [2021-11-10T18:51:44.599Z] Removing intermediate container 0083853952f4 [2021-11-10T18:51:44.599Z] ---> 69b6c0c4b86f [2021-11-10T18:51:44.599Z] Step 8/24 : COPY . . [2021-11-10T18:51:46.037Z] ---> f6973a8243ab [2021-11-10T18:51:46.037Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T18:51:46.037Z] ---> Running in 9973a44623eb [2021-11-10T18:51:48.660Z] Removing intermediate container 9973a44623eb [2021-11-10T18:51:48.660Z] ---> a62dba6ee6e2 [2021-11-10T18:51:48.660Z] Step 10/24 : RUN ${MAKE} [2021-11-10T18:51:48.660Z] ---> Running in d6c31068a5c8 [2021-11-10T18:51:49.640Z] 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:52:28.661Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-10T18:52:28.661Z] Removing intermediate container d6c31068a5c8 [2021-11-10T18:52:28.661Z] ---> ee4a67e39317 [2021-11-10T18:52:28.661Z] Step 11/24 : FROM alpine:3.14 [2021-11-10T18:52:32.475Z] 3.14: Pulling from library/alpine [2021-11-10T18:52:32.475Z] 552d1f2373af: Already exists [2021-11-10T18:52:32.475Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-10T18:52:32.475Z] Status: Downloaded newer image for alpine:3.14 [2021-11-10T18:52:32.475Z] ---> bb3de5531c18 [2021-11-10T18:52:32.475Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T18:52:32.475Z] ---> Running in 382307aa7021 [2021-11-10T18:52:32.748Z] Removing intermediate container 382307aa7021 [2021-11-10T18:52:32.748Z] ---> 04418fef6419 [2021-11-10T18:52:32.748Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T18:52:33.031Z] ---> Running in e45670b2c06f [2021-11-10T18:52:35.013Z] Removing intermediate container e45670b2c06f [2021-11-10T18:52:35.013Z] ---> 62aae641de87 [2021-11-10T18:52:35.013Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-10T18:52:35.013Z] ---> Running in 774abfde69da [2021-11-10T18:52:35.991Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-10T18:52:36.965Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-10T18:52:37.944Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-10T18:52:37.944Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-10T18:52:37.945Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-10T18:52:38.217Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-10T18:52:38.217Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-10T18:52:38.490Z] Executing busybox-1.33.1-r3.trigger [2021-11-10T18:52:38.490Z] OK: 8 MiB in 19 packages [2021-11-10T18:52:39.471Z] Removing intermediate container 774abfde69da [2021-11-10T18:52:39.471Z] ---> 132bc938fcbb [2021-11-10T18:52:39.471Z] Step 15/24 : WORKDIR / [2021-11-10T18:52:39.471Z] ---> Running in 08eef86c78f1 [2021-11-10T18:52:40.067Z] Removing intermediate container 08eef86c78f1 [2021-11-10T18:52:40.067Z] ---> f6dacc65de14 [2021-11-10T18:52:40.067Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-10T18:52:40.666Z] ---> 5105eb4d11b6 [2021-11-10T18:52:40.666Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-10T18:52:42.099Z] ---> 232432c82bd2 [2021-11-10T18:52:42.099Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-10T18:52:42.697Z] ---> e7c2d2eaf365 [2021-11-10T18:52:42.697Z] Step 19/24 : EXPOSE 59999 [2021-11-10T18:52:42.970Z] ---> Running in c36a4e70c06a [2021-11-10T18:52:43.243Z] Removing intermediate container c36a4e70c06a [2021-11-10T18:52:43.243Z] ---> f62ce0bda120 [2021-11-10T18:52:43.243Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-10T18:52:43.519Z] ---> Running in ec9b9a918d80 [2021-11-10T18:52:43.792Z] Removing intermediate container ec9b9a918d80 [2021-11-10T18:52:43.792Z] ---> 06a195ef0ff1 [2021-11-10T18:52:43.792Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-10T18:52:43.792Z] ---> Running in 838a4ee6cc15 [2021-11-10T18:52:44.392Z] Removing intermediate container 838a4ee6cc15 [2021-11-10T18:52:44.392Z] ---> 006ea04f8713 [2021-11-10T18:52:44.392Z] Step 22/24 : LABEL arch=arm64 [2021-11-10T18:52:44.392Z] ---> Running in 43547a1b0707 [2021-11-10T18:52:44.994Z] Removing intermediate container 43547a1b0707 [2021-11-10T18:52:44.994Z] ---> f67604854e25 [2021-11-10T18:52:44.994Z] Step 23/24 : LABEL git_sha=736bfb0baca2c16513e621675612a979de037a94 [2021-11-10T18:52:44.994Z] ---> Running in 9405a2848f1b [2021-11-10T18:52:45.268Z] Removing intermediate container 9405a2848f1b [2021-11-10T18:52:45.268Z] ---> f2a47fe74e32 [2021-11-10T18:52:45.268Z] Step 24/24 : LABEL version=0.0.0 [2021-11-10T18:52:45.541Z] ---> Running in 927bb03b06c0 [2021-11-10T18:52:45.815Z] Removing intermediate container 927bb03b06c0 [2021-11-10T18:52:45.815Z] ---> f9e0844737f0 [2021-11-10T18:52:45.815Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-10T18:52:45.815Z] Successfully built f9e0844737f0 [2021-11-10T18:52:45.815Z] 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:52:46.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-10T18:52:46.634Z] [2021-11-10T18:52:46.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:52:46.982Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-10T18:52:47.257Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-10T18:52:47.257Z] 448f6bf000e3: Pulling fs layer [2021-11-10T18:52:47.257Z] f757da607395: Pulling fs layer [2021-11-10T18:52:47.257Z] 05883995daec: Pulling fs layer [2021-11-10T18:52:47.257Z] 8603b9c90790: Pulling fs layer [2021-11-10T18:52:47.257Z] 1560dd03e051: Pulling fs layer [2021-11-10T18:52:47.257Z] 27f5ce0e4adf: Pulling fs layer [2021-11-10T18:52:47.257Z] c2d8d7efcc4b: Pulling fs layer [2021-11-10T18:52:47.257Z] 1560dd03e051: Waiting [2021-11-10T18:52:47.257Z] 27f5ce0e4adf: Waiting [2021-11-10T18:52:47.257Z] c2d8d7efcc4b: Waiting [2021-11-10T18:52:47.257Z] 8603b9c90790: Waiting [2021-11-10T18:52:47.257Z] f757da607395: Verifying Checksum [2021-11-10T18:52:47.257Z] f757da607395: Download complete [2021-11-10T18:52:47.257Z] 8603b9c90790: Verifying Checksum [2021-11-10T18:52:47.257Z] 8603b9c90790: Download complete [2021-11-10T18:52:47.531Z] 1560dd03e051: Verifying Checksum [2021-11-10T18:52:47.531Z] 1560dd03e051: Download complete [2021-11-10T18:52:47.531Z] 27f5ce0e4adf: Verifying Checksum [2021-11-10T18:52:47.531Z] 05883995daec: Verifying Checksum [2021-11-10T18:52:47.531Z] 05883995daec: Download complete [2021-11-10T18:52:47.806Z] 448f6bf000e3: Download complete [2021-11-10T18:52:50.426Z] c2d8d7efcc4b: Verifying Checksum [2021-11-10T18:52:50.426Z] c2d8d7efcc4b: Download complete [2021-11-10T18:52:51.860Z] 448f6bf000e3: Pull complete [2021-11-10T18:52:52.457Z] f757da607395: Pull complete [2021-11-10T18:52:53.887Z] 05883995daec: Pull complete [2021-11-10T18:52:54.161Z] 8603b9c90790: Pull complete [2021-11-10T18:52:55.146Z] 1560dd03e051: Pull complete [2021-11-10T18:52:55.420Z] 27f5ce0e4adf: Pull complete [2021-11-10T18:53:12.012Z] c2d8d7efcc4b: Pull complete [2021-11-10T18:53:12.012Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-10T18:53:12.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-10T18:53:12.012Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-10T18:53:12.256Z] prd-ubuntu18.04-docker-arm64-4c-16g-30248 does not seem to be running inside a container [2021-11-10T18:53:12.341Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-10T18:53:15.402Z] $ docker top 4437505a303c643986d525eb144dd79c54fad3e340dcfe06f8bf4fc27ea03b31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:53:16.352Z] ---> job-cost.sh [2021-11-10T18:53:16.352Z] lf-activate-venv: SKIPPING [2021-11-10T18:53:16.352Z] INFO: No Stack... [2021-11-10T18:53:16.625Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-10T18:53:17.217Z] INFO: Archiving Costs [Pipeline] sh [2021-11-10T18:53:17.879Z] + cut -d, -f6 [2021-11-10T18:53:17.879Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2021-11-10T18:53:17.938Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1060-3-stack-cost] [2021-11-10T18:53:17.946Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1060-3-stack-cost] did not exist. Created. [2021-11-10T18:53:17.946Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1060-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-10T18:53:18.621Z] /w/workspace/device-sdk-go/3@tmp/durable-f9bdaeec/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-f9bdaeec/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-10T18:53:19.285Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-10T18:53:19.311Z] Warning: overwriting stash ‘stack-cost’ [2021-11-10T18:53:19.373Z] Stashed 1 file(s) [Pipeline] } [2021-11-10T18:53:19.379Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1060-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-10T18:53:19.396Z] $ docker stop --time=1 4437505a303c643986d525eb144dd79c54fad3e340dcfe06f8bf4fc27ea03b31 [2021-11-10T18:53:20.937Z] $ docker rm -f 4437505a303c643986d525eb144dd79c54fad3e340dcfe06f8bf4fc27ea03b31 [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:53:22.648Z] provisioning config files... [2021-11-10T18:53:22.661Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/config7077837100097569723tmp [Pipeline] { [Pipeline] sh [2021-11-10T18:53:22.977Z] + set +x [2021-11-10T18:53:22.977Z] + bash -s -- [2021-11-10T18:53:22.977Z] + curl -s https://codecov.io/bash [2021-11-10T18:53:22.977Z] [2021-11-10T18:53:22.977Z] _____ _ [2021-11-10T18:53:22.977Z] / ____| | | [2021-11-10T18:53:22.977Z] | | ___ __| | ___ ___ _____ __ [2021-11-10T18:53:22.977Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-10T18:53:22.977Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-10T18:53:22.977Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-10T18:53:22.977Z] Bash-1.0.6 [2021-11-10T18:53:22.977Z] [2021-11-10T18:53:22.977Z] [2021-11-10T18:53:22.977Z] ==> git version 2.24.4 found [2021-11-10T18:53:22.977Z] ==> 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:53:22.977Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-10T18:53:22.977Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-10T18:53:22.977Z] ==> Jenkins CI detected. [2021-11-10T18:53:22.977Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1060 [2021-11-10T18:53:22.977Z] project root: . [2021-11-10T18:53:22.977Z] --> token set from env [2021-11-10T18:53:23.238Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-10T18:53:23.238Z] ==> Running gcov in . (disable via -X gcov) [2021-11-10T18:53:23.238Z] ==> Python coveragepy not found [2021-11-10T18:53:23.238Z] ==> Searching for coverage reports in: [2021-11-10T18:53:23.238Z] + . [2021-11-10T18:53:23.238Z] -> Found 1 reports [2021-11-10T18:53:23.238Z] ==> Detecting git/mercurial file structure [2021-11-10T18:53:23.238Z] ==> Reading reports [2021-11-10T18:53:23.238Z] + ./coverage.out bytes=128369 [2021-11-10T18:53:23.238Z] ==> Appending adjustments [2021-11-10T18:53:23.238Z] https://docs.codecov.io/docs/fixing-reports [2021-11-10T18:53:23.511Z] + Found adjustments [2021-11-10T18:53:23.511Z] ==> Gzipping contents [2021-11-10T18:53:23.511Z] 16K /tmp/codecov.wJfkf9.gz [2021-11-10T18:53:23.511Z] ==> Uploading reports [2021-11-10T18:53:23.511Z] url: https://codecov.io [2021-11-10T18:53:23.511Z] query: branch=PR-1060&commit=440f1c2552ae780b7cc0acfe999c469232d0ffad&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1060%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1060&job=&cmd_args= [2021-11-10T18:53:23.511Z] -> Pinging Codecov [2021-11-10T18:53:23.511Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1060&commit=440f1c2552ae780b7cc0acfe999c469232d0ffad&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1060%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1060&job=&cmd_args= [2021-11-10T18:53:23.787Z] -> Uploading to [2021-11-10T18:53:23.787Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-10/7E55EF52A471D76F132DFD9A03CDDE97/440f1c2552ae780b7cc0acfe999c469232d0ffad/2630bedc-5c65-4079-853f-5bea8aee42df.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211110T185323Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fde19571d61cd7b27e9d81b69a8833bd5692a5655392a6c0d8bb79b422e24b50 [2021-11-10T18:53:23.787Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-10T18:53:23.787Z] Dload Upload Total Spent Left Speed [2021-11-10T18:53:24.362Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16320 0 0 100 16320 0 39316 --:--:-- --:--:-- --:--:-- 39420 [2021-11-10T18:53:24.362Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/440f1c2552ae780b7cc0acfe999c469232d0ffad [Pipeline] } [2021-11-10T18:53:24.370Z] 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:53:26.823Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1060/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:53:27.133Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:53:27.711Z] ---> package-listing.sh [2021-11-10T18:53:27.711Z] ++ facter osfamily [2021-11-10T18:53:27.711Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-10T18:53:27.985Z] + OS_FAMILY=redhat [2021-11-10T18:53:27.985Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1060 [2021-11-10T18:53:27.985Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-10T18:53:27.985Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-10T18:53:27.985Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-10T18:53:27.985Z] + PACKAGES=/tmp/packages_start.txt [2021-11-10T18:53:27.985Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1060 ']' [2021-11-10T18:53:27.985Z] + PACKAGES=/tmp/packages_end.txt [2021-11-10T18:53:27.985Z] + case "${OS_FAMILY}" in [2021-11-10T18:53:27.985Z] + rpm -qa [2021-11-10T18:53:27.985Z] + sort [2021-11-10T18:53:28.560Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-10T18:53:28.560Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-10T18:53:28.560Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-10T18:53:28.560Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1060 ']' [2021-11-10T18:53:28.560Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1060/archives/ [2021-11-10T18:53:28.560Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1060/archives/ [Pipeline] echo [2021-11-10T18:53:28.573Z] 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-1060/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:53:28.859Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:53:29.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T18:53:29.420Z] [2021-11-10T18:53:29.420Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T18:53:29.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T18:53:29.731Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-10T18:53:29.731Z] b4d181a07f80: Pulling fs layer [2021-11-10T18:53:29.731Z] a1111a8f2ec3: Pulling fs layer [2021-11-10T18:53:29.731Z] ed53099fbce6: Pulling fs layer [2021-11-10T18:53:29.731Z] dc539afda2c1: Pulling fs layer [2021-11-10T18:53:29.731Z] 77bc0d833cb6: Pulling fs layer [2021-11-10T18:53:29.731Z] 9065ff56babe: Pulling fs layer [2021-11-10T18:53:29.731Z] d287ab97295c: Pulling fs layer [2021-11-10T18:53:29.731Z] 77bc0d833cb6: Waiting [2021-11-10T18:53:29.731Z] 9065ff56babe: Waiting [2021-11-10T18:53:29.731Z] d287ab97295c: Waiting [2021-11-10T18:53:29.731Z] dc539afda2c1: Waiting [2021-11-10T18:53:29.731Z] a1111a8f2ec3: Verifying Checksum [2021-11-10T18:53:29.731Z] a1111a8f2ec3: Download complete [2021-11-10T18:53:29.731Z] dc539afda2c1: Verifying Checksum [2021-11-10T18:53:29.731Z] dc539afda2c1: Download complete [2021-11-10T18:53:30.000Z] ed53099fbce6: Verifying Checksum [2021-11-10T18:53:30.000Z] ed53099fbce6: Download complete [2021-11-10T18:53:30.000Z] 9065ff56babe: Verifying Checksum [2021-11-10T18:53:30.000Z] 9065ff56babe: Download complete [2021-11-10T18:53:30.000Z] 77bc0d833cb6: Verifying Checksum [2021-11-10T18:53:30.000Z] 77bc0d833cb6: Download complete [2021-11-10T18:53:30.000Z] b4d181a07f80: Verifying Checksum [2021-11-10T18:53:30.000Z] b4d181a07f80: Download complete [2021-11-10T18:53:30.578Z] d287ab97295c: Verifying Checksum [2021-11-10T18:53:30.578Z] d287ab97295c: Download complete [2021-11-10T18:53:31.528Z] b4d181a07f80: Pull complete [2021-11-10T18:53:31.796Z] a1111a8f2ec3: Pull complete [2021-11-10T18:53:32.370Z] ed53099fbce6: Pull complete [2021-11-10T18:53:32.631Z] dc539afda2c1: Pull complete [2021-11-10T18:53:32.893Z] 77bc0d833cb6: Pull complete [2021-11-10T18:53:32.893Z] 9065ff56babe: Pull complete [2021-11-10T18:53:39.548Z] d287ab97295c: Pull complete [2021-11-10T18:53:39.548Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-10T18:53:39.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T18:53:39.548Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-10T18:53:39.615Z] prd-centos7-docker-4c-2g-30245 does not seem to be running inside a container [2021-11-10T18:53:39.658Z] $ 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-1060/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-1060 -v /w/workspace/gexfoundry_device-sdk-go_PR-1060:/w/workspace/gexfoundry_device-sdk-go_PR-1060:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1060@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:53:41.536Z] $ docker top 43e8a9031e1305c861b56514dbaadf254b64ad9d30b2fe65486013d95a744a5d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-10T18:53:41.917Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-10T18:53:42.210Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-10T18:53:42.511Z] + ls /var/log/sa-host [2021-11-10T18:53:42.511Z] + sadf -c /var/log/sa-host/sa10 [2021-11-10T18:53:42.511Z] file_magic: OK [2021-11-10T18:53:42.511Z] HZ: Using current value: 100 [2021-11-10T18:53:42.511Z] file_header: OK [2021-11-10T18:53:42.511Z] 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:53:42.511Z] Statistics: [2021-11-10T18:53:42.511Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-10T18:53:42.511Z] File successfully converted to sysstat format version 12.0.3 [2021-11-10T18:53:42.511Z] + sadf -c /var/log/sa-host/sa30 [2021-11-10T18:53:42.511Z] file_magic: OK [2021-11-10T18:53:42.511Z] HZ: Using current value: 100 [2021-11-10T18:53:42.511Z] file_header: OK [2021-11-10T18:53:42.511Z] 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:53:42.511Z] Statistics: [2021-11-10T18:53:42.511Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-10T18:53:42.511Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T18:53:43.751Z] provisioning config files... [2021-11-10T18:53:43.770Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/config6572712180842536496tmp [Pipeline] { [Pipeline] echo [2021-11-10T18:53:43.785Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:53:44.086Z] ---> create-netrc.sh [Pipeline] } [2021-11-10T18:53:44.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:53:45.168Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-10T18:53:45.177Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:53:45.465Z] ---> sudo-logs.sh [2021-11-10T18:53:45.465Z] Archiving 'sudo' log.. [2021-11-10T18:53:45.465Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-30245.novalocal: Name or service not known [2021-11-10T18:53:45.465Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-30245.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-10T18:53:45.495Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:53:45.781Z] ---> job-cost.sh [2021-11-10T18:53:45.781Z] lf-activate-venv: SKIPPING [2021-11-10T18:53:45.781Z] DEBUG: total: 0.10999999940395355 [2021-11-10T18:53:45.781Z] INFO: Retrieving Stack Cost... [2021-11-10T18:53:47.164Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-10T18:53:47.425Z] INFO: Archiving Costs [Pipeline] echo [2021-11-10T18:53:47.440Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T18:53:47.742Z] ---> logs-deploy.sh [2021-11-10T18:53:47.742Z] lf-activate-venv: SKIPPING [2021-11-10T18:53:47.742Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1060/3 [2021-11-10T18:53:47.742Z] INFO: archiving workspace using pattern(s): [2021-11-10T18:53:48.314Z] Archives upload complete. [2021-11-10T18:53:48.576Z] INFO: archiving logs to Nexus