Pull request #1047 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bd22ad67da03dec9edc5730c8b0bd051af39755b+1be87f15213c05ab1957194b5dea87ff4eff74a4 (15eccf046ce2123b3eb527716726ee14cbe2a4e2) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh699203414828774523.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 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-ssh4913924016078499115.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 d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1047/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1047/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2974769151747694967.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1047/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3132298944788330232.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 # timeout=10 Commit message: "feat: implement new function to grab latest lts commit" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3331895509784585422.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1047/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1047/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh717742668033049269.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1820 in /w/workspace/gexfoundry_device-sdk-go_PR-1047 [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-1047 # 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-1047@tmp/jenkins-gitclient-ssh5719695084981770157.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 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit bd22ad67da03dec9edc5730c8b0bd051af39755b > 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-1047@tmp/jenkins-gitclient-ssh236277476965038191.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1047/head:refs/remotes/origin/PR-1047 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd22ad67da03dec9edc5730c8b0bd051af39755b # timeout=10 Merge succeeded, producing bd22ad67da03dec9edc5730c8b0bd051af39755b Checking out Revision bd22ad67da03dec9edc5730c8b0bd051af39755b (PR-1047) > 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-1047@tmp/jenkins-gitclient-ssh5653642174348345688.key > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd22ad67da03dec9edc5730c8b0bd051af39755b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-26T04:09:31.756Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-26T04:09:31.867Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-26T04:09:31.935Z] ========================================================= [2021-10-26T04:09:31.935Z] EdgeX Global Pipelines Version Info [2021-10-26T04:09:31.935Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:09:33.100Z] ------------------- [2021-10-26T04:09:33.100Z] stable info: [2021-10-26T04:09:33.100Z] ------------------- [2021-10-26T04:09:33.100Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-26T04:09:33.100Z] Commit SHA: d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [2021-10-26T04:09:33.100Z] Message: testing jakarta lts changes [2021-10-26T04:09:33.675Z] ------------------- [2021-10-26T04:09:33.675Z] experimental info: [2021-10-26T04:09:33.675Z] ------------------- [2021-10-26T04:09:33.675Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-26T04:09:33.675Z] Commit SHA: d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [2021-10-26T04:09:33.675Z] Message: testing jakarta lts changes [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-26T04:09:33.826Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-26T04:09:33.867Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-26T04:09:33.900Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-26T04:09:33.936Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-26T04:09:33.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-26T04:09:34.010Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-26T04:09:34.045Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-10-26T04:09:34.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-26T04:09:34.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-26T04:09:34.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-26T04:09:34.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-26T04:09:34.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-26T04:09:34.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-26T04:09:34.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-26T04:09:34.411Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-26T04:09:34.445Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-26T04:09:34.481Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-26T04:09:34.521Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-26T04:09:34.553Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-26T04:09:34.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-26T04:09:34.626Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-26T04:09:34.659Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-26T04:09:34.693Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-26T04:09:34.734Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-26T04:09:34.770Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-26T04:09:34.805Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-26T04:09:34.841Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1047 [Pipeline] echo [2021-10-26T04:09:34.878Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1047 [Pipeline] echo [2021-10-26T04:09:34.916Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1047 [Pipeline] echo [2021-10-26T04:09:34.955Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bd22ad67da03dec9edc5730c8b0bd051af39755b [Pipeline] echo [2021-10-26T04:09:34.992Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bd22ad6 [Pipeline] echo [2021-10-26T04:09:35.025Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-26T04:09:35.151Z] provisioning config files... [2021-10-26T04:09:35.169Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/config8248510941763268995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:09:35.542Z] ---> docker-login.sh [2021-10-26T04:09:35.542Z] nexus3.edgexfoundry.org:10001 [2021-10-26T04:09:35.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:09:35.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:09:35.542Z] Configure a credential helper to remove this warning. See [2021-10-26T04:09:35.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:09:35.542Z] [2021-10-26T04:09:35.542Z] Login Succeeded [2021-10-26T04:09:35.542Z] nexus3.edgexfoundry.org:10002 [2021-10-26T04:09:35.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:09:35.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:09:35.805Z] Configure a credential helper to remove this warning. See [2021-10-26T04:09:35.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:09:35.805Z] [2021-10-26T04:09:35.805Z] Login Succeeded [2021-10-26T04:09:35.805Z] nexus3.edgexfoundry.org:10003 [2021-10-26T04:09:35.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:09:35.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:09:35.805Z] Configure a credential helper to remove this warning. See [2021-10-26T04:09:35.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:09:35.805Z] [2021-10-26T04:09:35.805Z] Login Succeeded [2021-10-26T04:09:35.805Z] nexus3.edgexfoundry.org:10004 [2021-10-26T04:09:36.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:09:36.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:09:36.071Z] Configure a credential helper to remove this warning. See [2021-10-26T04:09:36.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:09:36.071Z] [2021-10-26T04:09:36.071Z] Login Succeeded [2021-10-26T04:09:36.071Z] docker.io [2021-10-26T04:09:36.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:09:36.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:09:36.333Z] Configure a credential helper to remove this warning. See [2021-10-26T04:09:36.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:09:36.333Z] [2021-10-26T04:09:36.333Z] Login Succeeded [2021-10-26T04:09:36.333Z] ---> docker-login.sh ends [Pipeline] } [2021-10-26T04:09:36.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-10-26T04:09:36.946Z] + git rev-list -1 --merges bd22ad67da03dec9edc5730c8b0bd051af39755b~1..bd22ad67da03dec9edc5730c8b0bd051af39755b [Pipeline] echo [2021-10-26T04:09:36.993Z] -----------> git rev-list -1 --merges bd22ad67da03dec9edc5730c8b0bd051af39755b~1..bd22ad67da03dec9edc5730c8b0bd051af39755b bd22ad67da03dec9edc5730c8b0bd051af39755b [false] [Pipeline] sh [2021-10-26T04:09:37.314Z] + git log --format=format:%s -1 bd22ad67da03dec9edc5730c8b0bd051af39755b [Pipeline] echo [2021-10-26T04:09:37.346Z] ========================================================= [2021-10-26T04:09:37.346Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-10-26T04:09:37.346Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-26T04:09:37.772Z] + git log --format=format:%s -1 bd22ad67da03dec9edc5730c8b0bd051af39755b [Pipeline] echo [2021-10-26T04:09:37.800Z] [semverPrep] GIT_COMMIT: bd22ad67da03dec9edc5730c8b0bd051af39755b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo [2021-10-26T04:09:37.827Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:09:38.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-26T04:09:38.297Z] [2021-10-26T04:09:38.297Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:09:38.625Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-26T04:09:38.625Z] latest: Pulling from edgex-devops/git-semver [2021-10-26T04:09:38.625Z] a0d0a0d46f8b: Pulling fs layer [2021-10-26T04:09:38.625Z] 3e5f54012d9b: Pulling fs layer [2021-10-26T04:09:38.625Z] 4c7163046ea9: Pulling fs layer [2021-10-26T04:09:38.625Z] 0c2d73faf560: Pulling fs layer [2021-10-26T04:09:38.625Z] 0c2d73faf560: Waiting [2021-10-26T04:09:38.625Z] 3e5f54012d9b: Verifying Checksum [2021-10-26T04:09:38.625Z] 3e5f54012d9b: Download complete [2021-10-26T04:09:38.625Z] a0d0a0d46f8b: Verifying Checksum [2021-10-26T04:09:38.625Z] a0d0a0d46f8b: Download complete [2021-10-26T04:09:38.625Z] 4c7163046ea9: Verifying Checksum [2021-10-26T04:09:38.625Z] 4c7163046ea9: Download complete [2021-10-26T04:09:38.625Z] 0c2d73faf560: Verifying Checksum [2021-10-26T04:09:38.625Z] 0c2d73faf560: Download complete [2021-10-26T04:09:38.897Z] a0d0a0d46f8b: Pull complete [2021-10-26T04:09:38.897Z] 3e5f54012d9b: Pull complete [2021-10-26T04:09:39.169Z] 4c7163046ea9: Pull complete [2021-10-26T04:09:39.435Z] 0c2d73faf560: Pull complete [2021-10-26T04:09:39.435Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-26T04:09:39.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-26T04:09:39.435Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-26T04:09:39.522Z] prd-centos7-docker-4c-2g-1820 does not seem to be running inside a container [2021-10-26T04:09:39.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1047 -v /w/workspace/gexfoundry_device-sdk-go_PR-1047:/w/workspace/gexfoundry_device-sdk-go_PR-1047:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-26T04:09:40.146Z] $ docker top 9a5c62fbc305ad32724fac7f9340daf68045fe6e91e5c8326ba021400241d22d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-26T04:09:40.382Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-26T04:09:40.382Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-26T04:09:40.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-26T04:09:40.475Z] $ docker exec 9a5c62fbc305ad32724fac7f9340daf68045fe6e91e5c8326ba021400241d22d ssh-agent [2021-10-26T04:09:40.595Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPpMGCN/agent.13 [2021-10-26T04:09:40.595Z] SSH_AGENT_PID=19 [2021-10-26T04:09:40.602Z] Running ssh-add (command line suppressed) [2021-10-26T04:09:40.692Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/private_key_8034537606988537326.key (/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/private_key_8034537606988537326.key) [2021-10-26T04:09:40.709Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-26T04:09:41.034Z] + git tag --points-at HEAD [Pipeline] } [2021-10-26T04:09:41.055Z] $ docker exec --env ******** --env ******** 9a5c62fbc305ad32724fac7f9340daf68045fe6e91e5c8326ba021400241d22d ssh-agent -k [2021-10-26T04:09:41.149Z] unset SSH_AUTH_SOCK; [2021-10-26T04:09:41.149Z] unset SSH_AGENT_PID; [2021-10-26T04:09:41.149Z] echo Agent pid 19 killed; [2021-10-26T04:09:41.158Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-26T04:09:41.230Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-26T04:09:41.230Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-26T04:09:41.338Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-26T04:09:41.343Z] $ docker exec 9a5c62fbc305ad32724fac7f9340daf68045fe6e91e5c8326ba021400241d22d ssh-agent [2021-10-26T04:09:41.453Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIhpIDK/agent.54 [2021-10-26T04:09:41.453Z] SSH_AGENT_PID=60 [2021-10-26T04:09:41.467Z] Running ssh-add (command line suppressed) [2021-10-26T04:09:41.555Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/private_key_5826271092281195208.key (/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/private_key_5826271092281195208.key) [2021-10-26T04:09:41.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-26T04:09:41.894Z] + git semver init [2021-10-26T04:09:41.894Z] # -> Open(): unable to determine branch for HEAD [2021-10-26T04:09:41.894Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1047/.git [2021-10-26T04:09:41.894Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1047 [2021-10-26T04:09:41.894Z] # $SEMVER_REMOTE_NAME = origin [2021-10-26T04:09:41.894Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-26T04:09:41.894Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-26T04:09:41.894Z] # $SEMVER_BRANCH = PR-1047 [2021-10-26T04:09:41.894Z] # $SEMVER_TEMP = /tmp/semver-589425742 [2021-10-26T04:09:41.894Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-26T04:09:42.837Z] # '/tmp/semver-589425742' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1047/.semver' [2021-10-26T04:09:42.837Z] # -> Force: false [2021-10-26T04:09:42.837Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1047/.semver [Pipeline] } [2021-10-26T04:09:42.851Z] $ docker exec --env ******** --env ******** 9a5c62fbc305ad32724fac7f9340daf68045fe6e91e5c8326ba021400241d22d ssh-agent -k [2021-10-26T04:09:42.945Z] unset SSH_AUTH_SOCK; [2021-10-26T04:09:42.945Z] unset SSH_AGENT_PID; [2021-10-26T04:09:42.945Z] echo Agent pid 60 killed; [2021-10-26T04:09:42.954Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-26T04:09:43.329Z] + git semver [Pipeline] } [2021-10-26T04:09:43.355Z] $ docker stop --time=1 9a5c62fbc305ad32724fac7f9340daf68045fe6e91e5c8326ba021400241d22d [2021-10-26T04:09:44.594Z] $ docker rm -f 9a5c62fbc305ad32724fac7f9340daf68045fe6e91e5c8326ba021400241d22d [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-26T04:09:44.987Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-26T04:09:45.265Z] Stashed 1 file(s) [Pipeline] echo [2021-10-26T04:09:45.281Z] [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-10-26T04:10:00.618Z] Still waiting to schedule task [2021-10-26T04:10:00.618Z] ‘prd-centos7-docker-4c-2g-1824’ is offline [2021-10-26T04:10:00.618Z] ‘prd-centos7-docker-4c-2g-1825’ is offline [2021-10-26T04:10:00.618Z] ‘prd-ubuntu18.04-docker-8c-8g-1716’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-26T04:10:00.618Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1765’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-26T04:10:00.637Z] Still waiting to schedule task [2021-10-26T04:10:00.637Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1765’ is offline [2021-10-26T04:10:32.434Z] Running on prd-centos7-docker-4c-2g-1826 in /w/workspace/gexfoundry_device-sdk-go_PR-1047 [Pipeline] { [Pipeline] ws [2021-10-26T04:10:32.476Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-26T04:10:32.596Z] Selected Git installation does not exist. Using Default [2021-10-26T04:10:32.596Z] The recommended git tool is: NONE [2021-10-26T04:10:34.666Z] using credential edgex-jenkins-ssh [2021-10-26T04:10:34.805Z] Cloning the remote Git repository [2021-10-26T04:10:34.725Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-26T04:10:34.782Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-26T04:10:34.811Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-26T04:10:34.812Z] > git --version # timeout=10 [2021-10-26T04:10:34.818Z] > git --version # 'git version 2.24.4' [2021-10-26T04:10:34.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T04:10:34.845Z] [INFO] Currently running in a labeled security context [2021-10-26T04:10:34.845Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-26T04:10:34.845Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh5672837253227556535.key [2021-10-26T04:10:34.881Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-26T04:10:35.665Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-26T04:10:35.675Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-26T04:10:35.689Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-26T04:10:35.701Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-26T04:10:35.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T04:10:35.702Z] [INFO] Currently running in a labeled security context [2021-10-26T04:10:35.702Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-26T04:10:35.702Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4282646849320921154.key [2021-10-26T04:10:35.716Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1047/head:refs/remotes/origin/PR-1047 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-26T04:10:36.302Z] Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit bd22ad67da03dec9edc5730c8b0bd051af39755b [2021-10-26T04:10:36.396Z] Merge succeeded, producing bd22ad67da03dec9edc5730c8b0bd051af39755b [2021-10-26T04:10:36.396Z] Checking out Revision bd22ad67da03dec9edc5730c8b0bd051af39755b (PR-1047) [2021-10-26T04:10:36.210Z] > git config core.sparsecheckout # timeout=10 [2021-10-26T04:10:36.219Z] > git checkout -f bd22ad67da03dec9edc5730c8b0bd051af39755b # timeout=10 [2021-10-26T04:10:36.253Z] > git remote # timeout=10 [2021-10-26T04:10:36.262Z] > git config --get remote.origin.url # timeout=10 [2021-10-26T04:10:36.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T04:10:36.273Z] [INFO] Currently running in a labeled security context [2021-10-26T04:10:36.273Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-26T04:10:36.273Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2309346449736996927.key [2021-10-26T04:10:36.281Z] > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 [2021-10-26T04:10:36.288Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-26T04:10:36.300Z] > git config core.sparsecheckout # timeout=10 [2021-10-26T04:10:36.309Z] > git checkout -f bd22ad67da03dec9edc5730c8b0bd051af39755b # timeout=10 [2021-10-26T04:10:40.055Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [2021-10-26T04:10:39.994Z] > git --version # timeout=10 [2021-10-26T04:10:40.000Z] > git --version # 'git version 2.24.4' [2021-10-26T04:10:40.006Z] fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-26T04:10:40.603Z] provisioning config files... [2021-10-26T04:10:40.618Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2124554037234036256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:10:41.025Z] ---> docker-login.sh [2021-10-26T04:10:41.025Z] nexus3.edgexfoundry.org:10001 [2021-10-26T04:10:41.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:10:41.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:10:41.025Z] Configure a credential helper to remove this warning. See [2021-10-26T04:10:41.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:10:41.025Z] [2021-10-26T04:10:41.025Z] Login Succeeded [2021-10-26T04:10:41.025Z] nexus3.edgexfoundry.org:10002 [2021-10-26T04:10:41.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:10:41.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:10:41.297Z] Configure a credential helper to remove this warning. See [2021-10-26T04:10:41.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:10:41.297Z] [2021-10-26T04:10:41.297Z] Login Succeeded [2021-10-26T04:10:41.297Z] nexus3.edgexfoundry.org:10003 [2021-10-26T04:10:41.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:10:41.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:10:41.297Z] Configure a credential helper to remove this warning. See [2021-10-26T04:10:41.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:10:41.297Z] [2021-10-26T04:10:41.297Z] Login Succeeded [2021-10-26T04:10:41.297Z] nexus3.edgexfoundry.org:10004 [2021-10-26T04:10:41.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:10:41.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:10:41.556Z] Configure a credential helper to remove this warning. See [2021-10-26T04:10:41.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:10:41.556Z] [2021-10-26T04:10:41.556Z] Login Succeeded [2021-10-26T04:10:41.556Z] docker.io [2021-10-26T04:10:41.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:10:41.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:10:41.816Z] Configure a credential helper to remove this warning. See [2021-10-26T04:10:41.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:10:41.816Z] [2021-10-26T04:10:41.816Z] Login Succeeded [2021-10-26T04:10:41.816Z] ---> docker-login.sh ends [Pipeline] } [2021-10-26T04:10:41.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-26T04:10:42.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-10-26T04:10:42.101Z] ========================================================= [2021-10-26T04:10:42.101Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-26T04:10:42.101Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:10:42.485Z] + 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-10-26T04:10:42.485Z] Sending build context to Docker daemon 2.717MB [2021-10-26T04:10:42.485Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-26T04:10:42.485Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-26T04:10:42.485Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-26T04:10:42.485Z] a0d0a0d46f8b: Pulling fs layer [2021-10-26T04:10:42.485Z] 31adcdaf11c8: Pulling fs layer [2021-10-26T04:10:42.485Z] b8b176561691: Pulling fs layer [2021-10-26T04:10:42.485Z] 4527c011a84f: Pulling fs layer [2021-10-26T04:10:42.485Z] 5d74067f8e1e: Pulling fs layer [2021-10-26T04:10:42.485Z] e0aca202a116: Pulling fs layer [2021-10-26T04:10:42.485Z] 3a43be97a3b4: Pulling fs layer [2021-10-26T04:10:42.485Z] 34cad66bf833: Pulling fs layer [2021-10-26T04:10:42.485Z] b4e3c513aaa6: Pulling fs layer [2021-10-26T04:10:42.485Z] 4527c011a84f: Waiting [2021-10-26T04:10:42.485Z] e0aca202a116: Waiting [2021-10-26T04:10:42.485Z] 34cad66bf833: Waiting [2021-10-26T04:10:42.485Z] 3a43be97a3b4: Waiting [2021-10-26T04:10:42.485Z] b4e3c513aaa6: Waiting [2021-10-26T04:10:42.485Z] b8b176561691: Verifying Checksum [2021-10-26T04:10:42.485Z] b8b176561691: Download complete [2021-10-26T04:10:42.485Z] 31adcdaf11c8: Verifying Checksum [2021-10-26T04:10:42.485Z] 31adcdaf11c8: Download complete [2021-10-26T04:10:42.485Z] 5d74067f8e1e: Verifying Checksum [2021-10-26T04:10:42.485Z] 5d74067f8e1e: Download complete [2021-10-26T04:10:42.750Z] e0aca202a116: Verifying Checksum [2021-10-26T04:10:42.750Z] e0aca202a116: Download complete [2021-10-26T04:10:42.750Z] a0d0a0d46f8b: Verifying Checksum [2021-10-26T04:10:42.750Z] a0d0a0d46f8b: Download complete [2021-10-26T04:10:42.750Z] 3a43be97a3b4: Verifying Checksum [2021-10-26T04:10:42.750Z] 3a43be97a3b4: Download complete [2021-10-26T04:10:42.750Z] 34cad66bf833: Verifying Checksum [2021-10-26T04:10:42.750Z] 34cad66bf833: Download complete [2021-10-26T04:10:43.018Z] a0d0a0d46f8b: Pull complete [2021-10-26T04:10:43.018Z] 31adcdaf11c8: Pull complete [2021-10-26T04:10:43.293Z] 4527c011a84f: Verifying Checksum [2021-10-26T04:10:43.293Z] 4527c011a84f: Download complete [2021-10-26T04:10:43.293Z] b8b176561691: Pull complete [2021-10-26T04:10:43.293Z] b4e3c513aaa6: Verifying Checksum [2021-10-26T04:10:43.293Z] b4e3c513aaa6: Download complete [2021-10-26T04:10:47.536Z] 4527c011a84f: Pull complete [2021-10-26T04:10:47.536Z] 5d74067f8e1e: Pull complete [2021-10-26T04:10:47.536Z] e0aca202a116: Pull complete [2021-10-26T04:10:47.536Z] 3a43be97a3b4: Pull complete [2021-10-26T04:10:47.536Z] 34cad66bf833: Pull complete [2021-10-26T04:10:49.470Z] b4e3c513aaa6: Pull complete [2021-10-26T04:10:49.470Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-26T04:10:49.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-26T04:10:49.470Z] ---> 9f6097aaca64 [2021-10-26T04:10:49.470Z] Step 3/10 : ARG MAKE=make build [2021-10-26T04:10:53.684Z] ---> Running in 35dc8abaf94e [2021-10-26T04:10:53.684Z] Removing intermediate container 35dc8abaf94e [2021-10-26T04:10:53.684Z] ---> 82340614b748 [2021-10-26T04:10:53.684Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-26T04:10:53.684Z] ---> Running in 70933abc3774 [2021-10-26T04:10:53.684Z] Removing intermediate container 70933abc3774 [2021-10-26T04:10:53.684Z] ---> 0d9f5bbdffe0 [2021-10-26T04:10:53.684Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-26T04:10:53.684Z] ---> Running in 232be5d778eb [2021-10-26T04:10:53.684Z] Removing intermediate container 232be5d778eb [2021-10-26T04:10:53.684Z] ---> 211dc2b1cb4c [2021-10-26T04:10:53.685Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-26T04:10:53.685Z] ---> Running in 3875fe7e01a9 [2021-10-26T04:10:54.261Z] Removing intermediate container 3875fe7e01a9 [2021-10-26T04:10:54.261Z] ---> 880cb25d55c5 [2021-10-26T04:10:54.261Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-26T04:10:54.261Z] ---> Running in 2b491f07a33a [2021-10-26T04:10:54.261Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-26T04:10:55.202Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-26T04:10:55.470Z] OK: 220 MiB in 52 packages [2021-10-26T04:10:55.732Z] Removing intermediate container 2b491f07a33a [2021-10-26T04:10:55.732Z] ---> 7cbefafc7164 [2021-10-26T04:10:55.732Z] Step 8/10 : COPY . . [2021-10-26T04:10:56.309Z] ---> 5a59edb44654 [2021-10-26T04:10:56.309Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-26T04:10:56.309Z] ---> Running in c93c3a61dfce [2021-10-26T04:11:22.941Z] Removing intermediate container c93c3a61dfce [2021-10-26T04:11:22.941Z] ---> 02c47ed736f4 [2021-10-26T04:11:22.941Z] Step 10/10 : RUN ${MAKE} [2021-10-26T04:11:22.941Z] ---> Running in de3c6bf8e0a1 [2021-10-26T04:11:23.207Z] noop [2021-10-26T04:11:23.470Z] Removing intermediate container de3c6bf8e0a1 [2021-10-26T04:11:23.470Z] ---> af86780d1763 [2021-10-26T04:11:23.470Z] Successfully built af86780d1763 [2021-10-26T04:11:23.470Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:11:23.810Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-26T04:11:23.810Z] . [Pipeline] withDockerContainer [2021-10-26T04:11:23.897Z] prd-centos7-docker-4c-2g-1826 does not seem to be running inside a container [2021-10-26T04:11:23.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-26T04:11:24.305Z] $ docker top 1d44ce9d192e05b291762d61a396c12b9298b17b0d1f5e207eb9bf7c63dbdf9f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-26T04:11:24.727Z] + go version [2021-10-26T04:11:24.728Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-26T04:11:24.749Z] $ docker stop --time=1 1d44ce9d192e05b291762d61a396c12b9298b17b0d1f5e207eb9bf7c63dbdf9f [2021-10-26T04:11:26.028Z] $ docker rm -f 1d44ce9d192e05b291762d61a396c12b9298b17b0d1f5e207eb9bf7c63dbdf9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:11:26.769Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-26T04:11:26.769Z] . [Pipeline] withDockerContainer [2021-10-26T04:11:26.850Z] prd-centos7-docker-4c-2g-1826 does not seem to be running inside a container [2021-10-26T04:11:26.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-26T04:11:27.320Z] $ docker top d8a4cf80d41d4096e088703ed9bc4149c097342cd108841238669e91624ef905 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-26T04:11:27.769Z] + make test [2021-10-26T04:11:27.769Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-26T04:11:33.099Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-26T04:12:00.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-26T04:12:00.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-26T04:12:00.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-26T04:12:00.518Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.056s coverage: 23.8% of statements [2021-10-26T04:12:00.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-26T04:12:00.518Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 28.1% of statements [2021-10-26T04:12:00.518Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.052s coverage: 78.9% of statements [2021-10-26T04:12:00.518Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 9.0% of statements [2021-10-26T04:12:00.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-26T04:12:00.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-26T04:12:00.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-26T04:12:00.518Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.070s coverage: 28.7% of statements [2021-10-26T04:12:00.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-26T04:12:01.466Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.058s coverage: 83.3% of statements [2021-10-26T04:12:01.466Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-26T04:12:01.466Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-26T04:12:01.466Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 57.8% of statements [2021-10-26T04:12:02.854Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.839s coverage: 88.8% of statements [2021-10-26T04:12:02.854Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-26T04:12:02.854Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.045s coverage: 4.9% of statements [2021-10-26T04:12:02.854Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-26T04:12:02.854Z] GO111MODULE=on go vet ./... [2021-10-26T04:12:21.057Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-26T04:12:21.057Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-26T04:12:21.057Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-26T04:12:21.078Z] $ docker stop --time=1 d8a4cf80d41d4096e088703ed9bc4149c097342cd108841238669e91624ef905 [2021-10-26T04:12:22.509Z] $ docker rm -f d8a4cf80d41d4096e088703ed9bc4149c097342cd108841238669e91624ef905 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-26T04:12:23.006Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-26T04:12:23.214Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-26T04:12:23.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-26T04:12:24.287Z] + ls -al . [2021-10-26T04:12:24.287Z] total 264 [2021-10-26T04:12:24.287Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 26 04:12 . [2021-10-26T04:12:24.287Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 26 04:10 .. [2021-10-26T04:12:24.287Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 26 04:10 bin [2021-10-26T04:12:24.287Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 26 04:10 CHANGELOG.md [2021-10-26T04:12:24.287Z] -rw-r--r--. 1 jenkins jenkins 126785 Oct 26 04:12 coverage.out [2021-10-26T04:12:24.287Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 26 04:10 .dockerignore [2021-10-26T04:12:24.287Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 26 04:10 example [2021-10-26T04:12:24.287Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 26 04:10 .git [2021-10-26T04:12:24.287Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 26 04:10 .github [2021-10-26T04:12:24.287Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 26 04:10 .gitignore [2021-10-26T04:12:24.287Z] -rw-rw-r--. 1 jenkins jenkins 602 Oct 26 04:10 go.mod [2021-10-26T04:12:24.287Z] -rw-rw-r--. 1 jenkins jenkins 49979 Oct 26 04:10 go.sum [2021-10-26T04:12:24.287Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 26 04:10 GOVERNANCE.md [2021-10-26T04:12:24.287Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 26 04:10 internal [2021-10-26T04:12:24.287Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 26 04:10 Jenkinsfile [2021-10-26T04:12:24.287Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 26 04:10 LICENSE [2021-10-26T04:12:24.287Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 26 04:10 Makefile [2021-10-26T04:12:24.287Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 26 04:10 openapi [2021-10-26T04:12:24.287Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 26 04:10 OWNERS.md [2021-10-26T04:12:24.287Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 26 04:10 pkg [2021-10-26T04:12:24.287Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 26 04:10 README.md [2021-10-26T04:12:24.287Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 26 04:10 snap [2021-10-26T04:12:24.287Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 26 04:09 VERSION [2021-10-26T04:12:24.287Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 26 04:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:12:24.617Z] + 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=bd22ad67da03dec9edc5730c8b0bd051af39755b --label arch=amd64 --label version=0.0.0 . [2021-10-26T04:12:24.617Z] Sending build context to Docker daemon 2.845MB [2021-10-26T04:12:24.617Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-26T04:12:24.617Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-26T04:12:24.617Z] ---> af86780d1763 [2021-10-26T04:12:24.617Z] Step 3/24 : ARG MAKE=make build [2021-10-26T04:12:24.617Z] ---> Running in bfb1d9c8d512 [2021-10-26T04:12:24.879Z] Removing intermediate container bfb1d9c8d512 [2021-10-26T04:12:24.879Z] ---> 825b7df2197c [2021-10-26T04:12:24.879Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-26T04:12:24.879Z] ---> Running in 73cc8a4d40cd [2021-10-26T04:12:24.879Z] Removing intermediate container 73cc8a4d40cd [2021-10-26T04:12:24.879Z] ---> 5b5d13031609 [2021-10-26T04:12:24.879Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-26T04:12:24.879Z] ---> Running in aadb1511ab09 [2021-10-26T04:12:24.879Z] Removing intermediate container aadb1511ab09 [2021-10-26T04:12:24.879Z] ---> 014320e20ef8 [2021-10-26T04:12:24.879Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-26T04:12:25.146Z] ---> Running in fc8da7f790ac [2021-10-26T04:12:25.407Z] Removing intermediate container fc8da7f790ac [2021-10-26T04:12:25.407Z] ---> de099408ba08 [2021-10-26T04:12:25.407Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-26T04:12:25.407Z] ---> Running in cf3b3f0d11f5 [2021-10-26T04:12:25.675Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-26T04:12:26.616Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-26T04:12:26.885Z] OK: 220 MiB in 52 packages [2021-10-26T04:12:27.146Z] Removing intermediate container cf3b3f0d11f5 [2021-10-26T04:12:27.146Z] ---> 9320e48a9cb7 [2021-10-26T04:12:27.146Z] Step 8/24 : COPY . . [2021-10-26T04:12:27.409Z] ---> 1a200b1904fb [2021-10-26T04:12:27.409Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-26T04:12:27.409Z] ---> Running in 8c41d5e288ae [2021-10-26T04:12:27.986Z] Removing intermediate container 8c41d5e288ae [2021-10-26T04:12:27.986Z] ---> 3e6aa9931bda [2021-10-26T04:12:27.986Z] Step 10/24 : RUN ${MAKE} [2021-10-26T04:12:27.986Z] ---> Running in a5b56f9a7d57 [2021-10-26T04:12:28.251Z] 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-10-26T04:12:40.572Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-26T04:12:40.572Z] Removing intermediate container a5b56f9a7d57 [2021-10-26T04:12:40.572Z] ---> f614250866ac [2021-10-26T04:12:40.572Z] Step 11/24 : FROM alpine:3.14 [2021-10-26T04:12:40.572Z] 3.14: Pulling from library/alpine [2021-10-26T04:12:40.572Z] a0d0a0d46f8b: Already exists [2021-10-26T04:12:40.834Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-26T04:12:40.834Z] Status: Downloaded newer image for alpine:3.14 [2021-10-26T04:12:40.834Z] ---> 14119a10abf4 [2021-10-26T04:12:40.834Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-26T04:12:40.834Z] ---> Running in 1f4a071b164b [2021-10-26T04:12:40.834Z] Removing intermediate container 1f4a071b164b [2021-10-26T04:12:40.834Z] ---> acb6247a8640 [2021-10-26T04:12:40.834Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-26T04:12:40.834Z] ---> Running in a83f5694171e [2021-10-26T04:12:41.418Z] Removing intermediate container a83f5694171e [2021-10-26T04:12:41.418Z] ---> 30b18370c435 [2021-10-26T04:12:41.418Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-26T04:12:41.418Z] ---> Running in 281ba73e73a1 [2021-10-26T04:12:41.679Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-26T04:12:42.619Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-26T04:12:42.880Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-26T04:12:42.880Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-26T04:12:42.880Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-26T04:12:43.141Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-26T04:12:43.141Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-26T04:12:43.401Z] Executing busybox-1.33.1-r3.trigger [2021-10-26T04:12:43.401Z] OK: 8 MiB in 19 packages [2021-10-26T04:12:43.660Z] Removing intermediate container 281ba73e73a1 [2021-10-26T04:12:43.660Z] ---> 6aae5b39be18 [2021-10-26T04:12:43.660Z] Step 15/24 : WORKDIR / [2021-10-26T04:12:43.660Z] ---> Running in 8f451134a54d [2021-10-26T04:12:43.660Z] Removing intermediate container 8f451134a54d [2021-10-26T04:12:43.660Z] ---> 42f51a5bb400 [2021-10-26T04:12:43.660Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-26T04:12:43.920Z] ---> 673f3053e5f4 [2021-10-26T04:12:43.920Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-26T04:12:44.187Z] ---> d1a8e07a2bae [2021-10-26T04:12:44.187Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-26T04:12:44.187Z] ---> 4a22df9180b2 [2021-10-26T04:12:44.187Z] Step 19/24 : EXPOSE 59999 [2021-10-26T04:12:44.187Z] ---> Running in 9a73b3dbf258 [2021-10-26T04:12:44.448Z] Removing intermediate container 9a73b3dbf258 [2021-10-26T04:12:44.448Z] ---> eb6e0674d6fe [2021-10-26T04:12:44.448Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-26T04:12:44.448Z] ---> Running in ba70a67f78b3 [2021-10-26T04:12:44.448Z] Removing intermediate container ba70a67f78b3 [2021-10-26T04:12:44.448Z] ---> a95f6a09e4ec [2021-10-26T04:12:44.448Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-26T04:12:44.448Z] ---> Running in 1a4d4df1ac33 [2021-10-26T04:12:44.448Z] Removing intermediate container 1a4d4df1ac33 [2021-10-26T04:12:44.448Z] ---> 1f5454c77d15 [2021-10-26T04:12:44.448Z] Step 22/24 : LABEL arch=amd64 [2021-10-26T04:12:44.713Z] ---> Running in 5b77065e9db3 [2021-10-26T04:12:44.713Z] Removing intermediate container 5b77065e9db3 [2021-10-26T04:12:44.713Z] ---> dd952048370f [2021-10-26T04:12:44.713Z] Step 23/24 : LABEL git_sha=bd22ad67da03dec9edc5730c8b0bd051af39755b [2021-10-26T04:12:44.713Z] ---> Running in 6f953a9a51ef [2021-10-26T04:12:44.713Z] Removing intermediate container 6f953a9a51ef [2021-10-26T04:12:44.713Z] ---> 100217d81438 [2021-10-26T04:12:44.713Z] Step 24/24 : LABEL version=0.0.0 [2021-10-26T04:12:44.713Z] ---> Running in 6001f24c47b3 [2021-10-26T04:12:44.980Z] Removing intermediate container 6001f24c47b3 [2021-10-26T04:12:44.980Z] ---> ae3c4fdb1b6e [2021-10-26T04:12:44.980Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-26T04:12:44.980Z] Successfully built ae3c4fdb1b6e [2021-10-26T04:12:44.980Z] 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-10-26T04:12:45.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T04:12:45.818Z] [2021-10-26T04:12:45.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:12:46.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T04:12:46.176Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-26T04:12:46.176Z] b4d181a07f80: Pulling fs layer [2021-10-26T04:12:46.176Z] a1111a8f2ec3: Pulling fs layer [2021-10-26T04:12:46.176Z] ed53099fbce6: Pulling fs layer [2021-10-26T04:12:46.176Z] dc539afda2c1: Pulling fs layer [2021-10-26T04:12:46.176Z] 77bc0d833cb6: Pulling fs layer [2021-10-26T04:12:46.176Z] 9065ff56babe: Pulling fs layer [2021-10-26T04:12:46.176Z] d287ab97295c: Pulling fs layer [2021-10-26T04:12:46.176Z] dc539afda2c1: Waiting [2021-10-26T04:12:46.176Z] 77bc0d833cb6: Waiting [2021-10-26T04:12:46.176Z] 9065ff56babe: Waiting [2021-10-26T04:12:46.176Z] d287ab97295c: Waiting [2021-10-26T04:12:46.176Z] a1111a8f2ec3: Verifying Checksum [2021-10-26T04:12:46.176Z] a1111a8f2ec3: Download complete [2021-10-26T04:12:46.176Z] dc539afda2c1: Verifying Checksum [2021-10-26T04:12:46.176Z] dc539afda2c1: Download complete [2021-10-26T04:12:46.176Z] ed53099fbce6: Verifying Checksum [2021-10-26T04:12:46.176Z] ed53099fbce6: Download complete [2021-10-26T04:12:46.443Z] 9065ff56babe: Verifying Checksum [2021-10-26T04:12:46.443Z] 9065ff56babe: Download complete [2021-10-26T04:12:46.443Z] 77bc0d833cb6: Verifying Checksum [2021-10-26T04:12:46.443Z] 77bc0d833cb6: Download complete [2021-10-26T04:12:46.443Z] b4d181a07f80: Verifying Checksum [2021-10-26T04:12:46.443Z] b4d181a07f80: Download complete [2021-10-26T04:12:47.027Z] d287ab97295c: Verifying Checksum [2021-10-26T04:12:47.027Z] d287ab97295c: Download complete [2021-10-26T04:12:47.971Z] b4d181a07f80: Pull complete [2021-10-26T04:12:48.233Z] a1111a8f2ec3: Pull complete [2021-10-26T04:12:48.808Z] ed53099fbce6: Pull complete [2021-10-26T04:12:48.808Z] dc539afda2c1: Pull complete [2021-10-26T04:12:49.069Z] 77bc0d833cb6: Pull complete [2021-10-26T04:12:49.069Z] 9065ff56babe: Pull complete [2021-10-26T04:12:54.395Z] d287ab97295c: Pull complete [2021-10-26T04:12:54.395Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-26T04:12:54.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T04:12:54.395Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-26T04:12:54.491Z] prd-centos7-docker-4c-2g-1826 does not seem to be running inside a container [2021-10-26T04:12:54.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-26T04:12:56.908Z] $ docker top 21c802038a113a03c24e92ff3ed39ad9138a7e906a3f467dde14ca26b1030f05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:12:57.350Z] ---> job-cost.sh [2021-10-26T04:12:57.350Z] lf-activate-venv: SKIPPING [2021-10-26T04:12:57.350Z] INFO: No Stack... [2021-10-26T04:12:59.264Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-26T04:12:59.525Z] INFO: Archiving Costs [Pipeline] sh [2021-10-26T04:12:59.843Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-10-26T04:12:59.843Z] + cut -d, -f6 [Pipeline] lock [2021-10-26T04:12:59.887Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1047-1-stack-cost] [2021-10-26T04:12:59.892Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1047-1-stack-cost] did not exist. Created. [2021-10-26T04:12:59.893Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1047-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-26T04:13:00.273Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-26T04:13:00.329Z] Stashed 1 file(s) [Pipeline] } [2021-10-26T04:13:00.345Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1047-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-26T04:13:00.403Z] $ docker stop --time=1 21c802038a113a03c24e92ff3ed39ad9138a7e906a3f467dde14ca26b1030f05 [2021-10-26T04:13:01.561Z] $ docker rm -f 21c802038a113a03c24e92ff3ed39ad9138a7e906a3f467dde14ca26b1030f05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-26T04:14:17.527Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1836 in /w/workspace/gexfoundry_device-sdk-go_PR-1047 [Pipeline] { [Pipeline] ws [2021-10-26T04:14:17.571Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-26T04:14:17.825Z] Selected Git installation does not exist. Using Default [2021-10-26T04:14:17.825Z] The recommended git tool is: NONE [2021-10-26T04:14:23.943Z] using credential edgex-jenkins-ssh [2021-10-26T04:14:23.965Z] Cloning the remote Git repository [2021-10-26T04:14:24.074Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-26T04:14:24.194Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-26T04:14:24.299Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-26T04:14:24.300Z] > git --version # timeout=10 [2021-10-26T04:14:24.326Z] > git --version # 'git version 2.17.1' [2021-10-26T04:14:24.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T04:14:24.438Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-26T04:14:26.437Z] Merging remotes/origin/main commit 1be87f15213c05ab1957194b5dea87ff4eff74a4 into PR head commit bd22ad67da03dec9edc5730c8b0bd051af39755b [2021-10-26T04:14:25.747Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-26T04:14:25.768Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-26T04:14:25.796Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-26T04:14:25.839Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-26T04:14:25.840Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T04:14:25.853Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1047/head:refs/remotes/origin/PR-1047 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-26T04:14:26.462Z] > git config core.sparsecheckout # timeout=10 [2021-10-26T04:14:26.481Z] > git checkout -f bd22ad67da03dec9edc5730c8b0bd051af39755b # timeout=10 [2021-10-26T04:14:26.689Z] Merge succeeded, producing bd22ad67da03dec9edc5730c8b0bd051af39755b [2021-10-26T04:14:26.690Z] Checking out Revision bd22ad67da03dec9edc5730c8b0bd051af39755b (PR-1047) [2021-10-26T04:14:26.607Z] > git remote # timeout=10 [2021-10-26T04:14:26.624Z] > git config --get remote.origin.url # timeout=10 [2021-10-26T04:14:26.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-26T04:14:26.650Z] > git merge 1be87f15213c05ab1957194b5dea87ff4eff74a4 # timeout=10 [2021-10-26T04:14:26.675Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-26T04:14:26.699Z] > git config core.sparsecheckout # timeout=10 [2021-10-26T04:14:26.711Z] > git checkout -f bd22ad67da03dec9edc5730c8b0bd051af39755b # timeout=10 [2021-10-26T04:14:31.225Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [2021-10-26T04:14:31.306Z] > git --version # timeout=10 [2021-10-26T04:14:31.318Z] > git --version # 'git version 2.17.1' [2021-10-26T04:14:31.334Z] fatal: bad object d6e30de53e58ee600d2faf3c85e3282d6a9cdf22 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-26T04:14:32.456Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-26T04:14:32.456Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-26T04:14:32.456Z] Dload Upload Total Spent Left Speed [2021-10-26T04:14:32.456Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 156k 0 --:--:-- --:--:-- --:--:-- 156k [Pipeline] sh [2021-10-26T04:14:32.929Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-26T04:14:33.311Z] + sudo+ tee /etc/docker/daemon.new [2021-10-26T04:14:33.311Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-26T04:14:33.311Z] { [2021-10-26T04:14:33.311Z] "registry-mirrors": [ [2021-10-26T04:14:33.311Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-26T04:14:33.311Z] ], [2021-10-26T04:14:33.311Z] "bip": "10.250.0.254/24", [2021-10-26T04:14:33.311Z] "hosts": [ [2021-10-26T04:14:33.311Z] "tcp://0.0.0.0:5555", [2021-10-26T04:14:33.311Z] "unix:///var/run/docker.sock" [2021-10-26T04:14:33.311Z] ], [2021-10-26T04:14:33.311Z] "mtu": 1458, [2021-10-26T04:14:33.311Z] "selinux-enabled": true, [2021-10-26T04:14:33.311Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-26T04:14:33.311Z] } [Pipeline] sh [2021-10-26T04:14:33.688Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-26T04:14:34.064Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-26T04:14:52.554Z] provisioning config files... [2021-10-26T04:14:52.588Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config332053701423445151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:14:53.063Z] ---> docker-login.sh [2021-10-26T04:14:53.063Z] nexus3.edgexfoundry.org:10001 [2021-10-26T04:14:53.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:14:55.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:14:55.673Z] Configure a credential helper to remove this warning. See [2021-10-26T04:14:55.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:14:55.673Z] [2021-10-26T04:14:55.673Z] Login Succeeded [2021-10-26T04:14:55.673Z] nexus3.edgexfoundry.org:10002 [2021-10-26T04:14:55.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:14:56.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:14:56.224Z] Configure a credential helper to remove this warning. See [2021-10-26T04:14:56.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:14:56.224Z] [2021-10-26T04:14:56.224Z] Login Succeeded [2021-10-26T04:14:56.224Z] nexus3.edgexfoundry.org:10003 [2021-10-26T04:14:56.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:14:56.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:14:56.826Z] Configure a credential helper to remove this warning. See [2021-10-26T04:14:56.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:14:56.826Z] [2021-10-26T04:14:56.826Z] Login Succeeded [2021-10-26T04:14:56.826Z] nexus3.edgexfoundry.org:10004 [2021-10-26T04:14:57.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:14:57.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:14:57.432Z] Configure a credential helper to remove this warning. See [2021-10-26T04:14:57.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:14:57.432Z] [2021-10-26T04:14:57.432Z] Login Succeeded [2021-10-26T04:14:57.432Z] docker.io [2021-10-26T04:14:58.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-26T04:14:58.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-26T04:14:58.319Z] Configure a credential helper to remove this warning. See [2021-10-26T04:14:58.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-26T04:14:58.319Z] [2021-10-26T04:14:58.319Z] Login Succeeded [2021-10-26T04:14:58.319Z] ---> docker-login.sh ends [Pipeline] } [2021-10-26T04:14:58.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-26T04:14:59.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-10-26T04:14:59.059Z] ========================================================= [2021-10-26T04:14:59.059Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-26T04:14:59.059Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:14:59.535Z] + 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-10-26T04:15:00.146Z] Sending build context to Docker daemon 2.716MB [2021-10-26T04:15:00.146Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-26T04:15:00.146Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-26T04:15:00.436Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-26T04:15:00.436Z] 552d1f2373af: Pulling fs layer [2021-10-26T04:15:00.436Z] ea3f2d53f512: Pulling fs layer [2021-10-26T04:15:00.436Z] 9e70ebbbe112: Pulling fs layer [2021-10-26T04:15:00.436Z] 7a9cfe048b4a: Pulling fs layer [2021-10-26T04:15:00.436Z] 72dc09318566: Pulling fs layer [2021-10-26T04:15:00.436Z] f4f7b4309257: Pulling fs layer [2021-10-26T04:15:00.436Z] 0ac9a79272e3: Pulling fs layer [2021-10-26T04:15:00.436Z] b78e95d17946: Pulling fs layer [2021-10-26T04:15:00.436Z] f4f7b4309257: Waiting [2021-10-26T04:15:00.436Z] 7a9cfe048b4a: Waiting [2021-10-26T04:15:00.436Z] 0ac9a79272e3: Waiting [2021-10-26T04:15:00.436Z] b78e95d17946: Waiting [2021-10-26T04:15:00.436Z] 72dc09318566: Waiting [2021-10-26T04:15:00.436Z] 9e70ebbbe112: Verifying Checksum [2021-10-26T04:15:00.436Z] 9e70ebbbe112: Download complete [2021-10-26T04:15:00.436Z] ea3f2d53f512: Download complete [2021-10-26T04:15:00.436Z] 72dc09318566: Download complete [2021-10-26T04:15:00.436Z] f4f7b4309257: Verifying Checksum [2021-10-26T04:15:00.436Z] f4f7b4309257: Download complete [2021-10-26T04:15:00.436Z] 552d1f2373af: Verifying Checksum [2021-10-26T04:15:00.436Z] 552d1f2373af: Download complete [2021-10-26T04:15:00.436Z] 0ac9a79272e3: Verifying Checksum [2021-10-26T04:15:00.436Z] 0ac9a79272e3: Download complete [2021-10-26T04:15:01.435Z] 552d1f2373af: Pull complete [2021-10-26T04:15:02.056Z] ea3f2d53f512: Pull complete [2021-10-26T04:15:02.674Z] 9e70ebbbe112: Pull complete [2021-10-26T04:15:02.674Z] b78e95d17946: Verifying Checksum [2021-10-26T04:15:02.674Z] b78e95d17946: Download complete [2021-10-26T04:15:03.282Z] 7a9cfe048b4a: Verifying Checksum [2021-10-26T04:15:03.282Z] 7a9cfe048b4a: Download complete [2021-10-26T04:15:13.495Z] 7a9cfe048b4a: Pull complete [2021-10-26T04:15:14.104Z] 72dc09318566: Pull complete [2021-10-26T04:15:14.385Z] f4f7b4309257: Pull complete [2021-10-26T04:15:14.996Z] 0ac9a79272e3: Pull complete [2021-10-26T04:15:20.450Z] b78e95d17946: Pull complete [2021-10-26T04:15:20.450Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-26T04:15:20.450Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-26T04:15:20.450Z] ---> 8b459fc5aaf0 [2021-10-26T04:15:20.450Z] Step 3/10 : ARG MAKE=make build [2021-10-26T04:15:23.100Z] ---> Running in 132a324bedb8 [2021-10-26T04:15:23.100Z] Removing intermediate container 132a324bedb8 [2021-10-26T04:15:23.100Z] ---> bcc924f80d7c [2021-10-26T04:15:23.100Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-26T04:15:23.380Z] ---> Running in 0ad0e35da8a2 [2021-10-26T04:15:23.991Z] Removing intermediate container 0ad0e35da8a2 [2021-10-26T04:15:23.991Z] ---> 5188e8fe222a [2021-10-26T04:15:23.991Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-26T04:15:23.991Z] ---> Running in 5e8bddf92151 [2021-10-26T04:15:24.601Z] Removing intermediate container 5e8bddf92151 [2021-10-26T04:15:24.601Z] ---> 9e7255621120 [2021-10-26T04:15:24.601Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-26T04:15:24.880Z] ---> Running in c7b573b75e7e [2021-10-26T04:15:27.533Z] Removing intermediate container c7b573b75e7e [2021-10-26T04:15:27.533Z] ---> c59e55197c47 [2021-10-26T04:15:27.533Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-26T04:15:27.533Z] ---> Running in b70eda472fec [2021-10-26T04:15:28.536Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-26T04:15:29.984Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-26T04:15:30.584Z] OK: 219 MiB in 52 packages [2021-10-26T04:15:31.581Z] Removing intermediate container b70eda472fec [2021-10-26T04:15:31.581Z] ---> f934f1cc48c2 [2021-10-26T04:15:31.581Z] Step 8/10 : COPY . . [2021-10-26T04:15:33.025Z] ---> d7ef2fa910d3 [2021-10-26T04:15:33.025Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-26T04:15:33.025Z] ---> Running in a7051543a955 [2021-10-26T04:17:10.107Z] Removing intermediate container a7051543a955 [2021-10-26T04:17:10.107Z] ---> f245b78a0428 [2021-10-26T04:17:10.107Z] Step 10/10 : RUN ${MAKE} [2021-10-26T04:17:10.107Z] ---> Running in ef997f82ad50 [2021-10-26T04:17:10.107Z] noop [2021-10-26T04:17:10.107Z] Removing intermediate container ef997f82ad50 [2021-10-26T04:17:10.107Z] ---> 783863acbd8e [2021-10-26T04:17:10.107Z] Successfully built 783863acbd8e [2021-10-26T04:17:10.107Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:17:10.492Z] + docker inspect -f . ci-base-image-arm64 [2021-10-26T04:17:10.492Z] . [Pipeline] withDockerContainer [2021-10-26T04:17:10.825Z] prd-ubuntu18.04-docker-arm64-4c-16g-1836 does not seem to be running inside a container [2021-10-26T04:17:10.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-26T04:17:12.838Z] $ docker top c47395452da92bdfac9a7a1c3f707fed4a7a180aff2cb1410a2ec9010ab37f6f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-26T04:17:13.975Z] + go version [2021-10-26T04:17:13.975Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-26T04:17:14.015Z] $ docker stop --time=1 c47395452da92bdfac9a7a1c3f707fed4a7a180aff2cb1410a2ec9010ab37f6f [2021-10-26T04:17:15.866Z] $ docker rm -f c47395452da92bdfac9a7a1c3f707fed4a7a180aff2cb1410a2ec9010ab37f6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:17:16.782Z] + docker inspect -f . ci-base-image-arm64 [2021-10-26T04:17:16.782Z] . [Pipeline] withDockerContainer [2021-10-26T04:17:17.123Z] prd-ubuntu18.04-docker-arm64-4c-16g-1836 does not seem to be running inside a container [2021-10-26T04:17:17.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-26T04:17:19.056Z] $ docker top f6377f3473e7e29a0d2872c58562f05c1899430a72ab2a704bf9d3fd1b0b76f5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-26T04:17:20.184Z] + make test [2021-10-26T04:17:20.184Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-26T04:17:52.604Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-26T04:19:14.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-26T04:19:14.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-26T04:19:14.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-26T04:19:24.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.607s coverage: 23.8% of statements [2021-10-26T04:19:24.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-26T04:19:24.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.225s coverage: 28.1% of statements [2021-10-26T04:19:24.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.270s coverage: 78.9% of statements [2021-10-26T04:19:24.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.209s coverage: 9.0% of statements [2021-10-26T04:19:24.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-26T04:19:24.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-26T04:19:24.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-26T04:19:24.817Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.374s coverage: 28.7% of statements [2021-10-26T04:19:24.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-26T04:19:26.834Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.221s coverage: 83.3% of statements [2021-10-26T04:19:26.834Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-26T04:19:26.834Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-26T04:19:26.834Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.420s coverage: 57.8% of statements [2021-10-26T04:19:29.487Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.523s coverage: 88.8% of statements [2021-10-26T04:19:29.487Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-26T04:19:30.089Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.262s coverage: 4.9% of statements [2021-10-26T04:19:30.089Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-26T04:19:30.695Z] GO111MODULE=on go vet ./... [2021-10-26T04:20:38.862Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-26T04:20:38.862Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-26T04:20:38.862Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-26T04:20:38.903Z] $ docker stop --time=1 f6377f3473e7e29a0d2872c58562f05c1899430a72ab2a704bf9d3fd1b0b76f5 [2021-10-26T04:20:40.804Z] $ docker rm -f f6377f3473e7e29a0d2872c58562f05c1899430a72ab2a704bf9d3fd1b0b76f5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-26T04:20:42.013Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-26T04:20:42.052Z] Warning: overwriting stash ‘coverage-report’ [2021-10-26T04:20:43.111Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-26T04:20:43.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-26T04:20:44.135Z] + ls -al . [2021-10-26T04:20:44.135Z] total 300 [2021-10-26T04:20:44.135Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 04:20 . [2021-10-26T04:20:44.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:14 .. [2021-10-26T04:20:44.135Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 04:14 .dockerignore [2021-10-26T04:20:44.135Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 04:14 .git [2021-10-26T04:20:44.135Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:14 .github [2021-10-26T04:20:44.135Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 04:14 .gitignore [2021-10-26T04:20:44.135Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 26 04:14 CHANGELOG.md [2021-10-26T04:20:44.135Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 04:14 GOVERNANCE.md [2021-10-26T04:20:44.135Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 04:14 Jenkinsfile [2021-10-26T04:20:44.135Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 04:14 LICENSE [2021-10-26T04:20:44.135Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 26 04:14 Makefile [2021-10-26T04:20:44.135Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 04:14 OWNERS.md [2021-10-26T04:20:44.135Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 26 04:14 README.md [2021-10-26T04:20:44.135Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 04:09 VERSION [2021-10-26T04:20:44.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:14 bin [2021-10-26T04:20:44.135Z] -rw-r--r-- 1 jenkins jenkins 126785 Oct 26 04:19 coverage.out [2021-10-26T04:20:44.135Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 04:14 example [2021-10-26T04:20:44.135Z] -rw-rw-r-- 1 jenkins jenkins 602 Oct 26 04:14 go.mod [2021-10-26T04:20:44.135Z] -rw-rw-r-- 1 jenkins jenkins 49979 Oct 26 04:14 go.sum [2021-10-26T04:20:44.135Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 26 04:14 internal [2021-10-26T04:20:44.135Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:14 openapi [2021-10-26T04:20:44.135Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 04:14 pkg [2021-10-26T04:20:44.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:14 snap [2021-10-26T04:20:44.135Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 04:14 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:20:44.494Z] + 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=bd22ad67da03dec9edc5730c8b0bd051af39755b --label arch=arm64 --label version=0.0.0 . [2021-10-26T04:20:45.094Z] Sending build context to Docker daemon 2.844MB [2021-10-26T04:20:45.094Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-26T04:20:45.094Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-26T04:20:45.094Z] ---> 783863acbd8e [2021-10-26T04:20:45.094Z] Step 3/24 : ARG MAKE=make build [2021-10-26T04:20:45.094Z] ---> Running in ef74c0aeab9a [2021-10-26T04:20:45.694Z] Removing intermediate container ef74c0aeab9a [2021-10-26T04:20:45.694Z] ---> ab2e3aeeb11f [2021-10-26T04:20:45.694Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-26T04:20:45.694Z] ---> Running in 53bcf96bace9 [2021-10-26T04:20:45.971Z] Removing intermediate container 53bcf96bace9 [2021-10-26T04:20:45.971Z] ---> 2c342f7976c2 [2021-10-26T04:20:45.971Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-26T04:20:46.251Z] ---> Running in 566a1823ccb6 [2021-10-26T04:20:46.526Z] Removing intermediate container 566a1823ccb6 [2021-10-26T04:20:46.526Z] ---> 6aa1895affaf [2021-10-26T04:20:46.526Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-26T04:20:46.799Z] ---> Running in a8a3142dddad [2021-10-26T04:20:48.775Z] Removing intermediate container a8a3142dddad [2021-10-26T04:20:48.775Z] ---> bd498065e20e [2021-10-26T04:20:48.775Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-26T04:20:48.775Z] ---> Running in 98e29c59dbd6 [2021-10-26T04:20:50.214Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-26T04:20:51.190Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-26T04:20:51.788Z] OK: 219 MiB in 52 packages [2021-10-26T04:20:52.777Z] Removing intermediate container 98e29c59dbd6 [2021-10-26T04:20:52.777Z] ---> 18a18bc7bfb0 [2021-10-26T04:20:52.777Z] Step 8/24 : COPY . . [2021-10-26T04:20:53.761Z] ---> 03e8ba4f43f5 [2021-10-26T04:20:53.761Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-26T04:20:54.047Z] ---> Running in baaa63431625 [2021-10-26T04:20:56.032Z] Removing intermediate container baaa63431625 [2021-10-26T04:20:56.032Z] ---> c07c2c96c545 [2021-10-26T04:20:56.032Z] Step 10/24 : RUN ${MAKE} [2021-10-26T04:20:56.306Z] ---> Running in 4b2572cfaf07 [2021-10-26T04:20:57.304Z] 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-10-26T04:21:29.689Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-26T04:21:33.076Z] Removing intermediate container 4b2572cfaf07 [2021-10-26T04:21:33.076Z] ---> ea45690c24c4 [2021-10-26T04:21:33.076Z] Step 11/24 : FROM alpine:3.14 [2021-10-26T04:21:33.347Z] 3.14: Pulling from library/alpine [2021-10-26T04:21:33.625Z] 552d1f2373af: Already exists [2021-10-26T04:21:33.625Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-26T04:21:33.625Z] Status: Downloaded newer image for alpine:3.14 [2021-10-26T04:21:33.625Z] ---> bb3de5531c18 [2021-10-26T04:21:33.625Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-26T04:21:33.901Z] ---> Running in c7dbbaf7aa53 [2021-10-26T04:21:34.178Z] Removing intermediate container c7dbbaf7aa53 [2021-10-26T04:21:34.178Z] ---> 616ba2ceb030 [2021-10-26T04:21:34.178Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-26T04:21:34.450Z] ---> Running in f039aa253baa [2021-10-26T04:21:36.429Z] Removing intermediate container f039aa253baa [2021-10-26T04:21:36.429Z] ---> 92c6c3a52a1b [2021-10-26T04:21:36.429Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-26T04:21:36.429Z] ---> Running in a14b0d903bc0 [2021-10-26T04:21:37.412Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-26T04:21:38.385Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-26T04:21:39.359Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-26T04:21:39.359Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-26T04:21:39.359Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-26T04:21:39.631Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-26T04:21:39.631Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-26T04:21:39.631Z] Executing busybox-1.33.1-r3.trigger [2021-10-26T04:21:39.902Z] OK: 8 MiB in 19 packages [2021-10-26T04:21:40.879Z] Removing intermediate container a14b0d903bc0 [2021-10-26T04:21:40.879Z] ---> de0a63377c38 [2021-10-26T04:21:40.879Z] Step 15/24 : WORKDIR / [2021-10-26T04:21:40.879Z] ---> Running in 03ebaa1bf81f [2021-10-26T04:21:41.481Z] Removing intermediate container 03ebaa1bf81f [2021-10-26T04:21:41.481Z] ---> 37241d806168 [2021-10-26T04:21:41.481Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-26T04:21:42.078Z] ---> 63becdf81261 [2021-10-26T04:21:42.078Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-26T04:21:43.540Z] ---> 2ed90e856087 [2021-10-26T04:21:43.540Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-26T04:21:44.136Z] ---> 3431d7df305b [2021-10-26T04:21:44.136Z] Step 19/24 : EXPOSE 59999 [2021-10-26T04:21:44.136Z] ---> Running in 4ac72a43429f [2021-10-26T04:21:44.730Z] Removing intermediate container 4ac72a43429f [2021-10-26T04:21:44.730Z] ---> 085cb9fd05b7 [2021-10-26T04:21:44.730Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-26T04:21:44.730Z] ---> Running in 9fbc6e2ee790 [2021-10-26T04:21:45.004Z] Removing intermediate container 9fbc6e2ee790 [2021-10-26T04:21:45.004Z] ---> 0e43aa63b066 [2021-10-26T04:21:45.004Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-26T04:21:45.277Z] ---> Running in 0c1ae246bfc4 [2021-10-26T04:21:45.553Z] Removing intermediate container 0c1ae246bfc4 [2021-10-26T04:21:45.553Z] ---> 95391a53c86a [2021-10-26T04:21:45.553Z] Step 22/24 : LABEL arch=arm64 [2021-10-26T04:21:45.553Z] ---> Running in c32a8d30a3bc [2021-10-26T04:21:46.149Z] Removing intermediate container c32a8d30a3bc [2021-10-26T04:21:46.149Z] ---> 07e8a3517a4e [2021-10-26T04:21:46.149Z] Step 23/24 : LABEL git_sha=bd22ad67da03dec9edc5730c8b0bd051af39755b [2021-10-26T04:21:46.149Z] ---> Running in 3b19d783fb80 [2021-10-26T04:21:46.745Z] Removing intermediate container 3b19d783fb80 [2021-10-26T04:21:46.745Z] ---> 36b4de21c69d [2021-10-26T04:21:46.745Z] Step 24/24 : LABEL version=0.0.0 [2021-10-26T04:21:46.745Z] ---> Running in 3d0f599e9e74 [2021-10-26T04:21:47.019Z] Removing intermediate container 3d0f599e9e74 [2021-10-26T04:21:47.019Z] ---> d04ef23d1688 [2021-10-26T04:21:47.019Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-26T04:21:47.019Z] Successfully built d04ef23d1688 [2021-10-26T04:21:47.296Z] 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-10-26T04:21:48.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-26T04:21:48.280Z] [2021-10-26T04:21:48.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:21:48.665Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-26T04:21:48.940Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-26T04:21:48.940Z] 448f6bf000e3: Pulling fs layer [2021-10-26T04:21:48.940Z] f757da607395: Pulling fs layer [2021-10-26T04:21:48.940Z] 05883995daec: Pulling fs layer [2021-10-26T04:21:48.940Z] 8603b9c90790: Pulling fs layer [2021-10-26T04:21:48.940Z] 1560dd03e051: Pulling fs layer [2021-10-26T04:21:48.940Z] 27f5ce0e4adf: Pulling fs layer [2021-10-26T04:21:48.940Z] c2d8d7efcc4b: Pulling fs layer [2021-10-26T04:21:48.940Z] c2d8d7efcc4b: Waiting [2021-10-26T04:21:48.940Z] 1560dd03e051: Waiting [2021-10-26T04:21:48.940Z] 27f5ce0e4adf: Waiting [2021-10-26T04:21:48.940Z] 8603b9c90790: Waiting [2021-10-26T04:21:48.940Z] f757da607395: Verifying Checksum [2021-10-26T04:21:48.940Z] f757da607395: Download complete [2021-10-26T04:21:48.940Z] 8603b9c90790: Verifying Checksum [2021-10-26T04:21:48.940Z] 8603b9c90790: Download complete [2021-10-26T04:21:49.215Z] 1560dd03e051: Verifying Checksum [2021-10-26T04:21:49.215Z] 1560dd03e051: Download complete [2021-10-26T04:21:49.215Z] 27f5ce0e4adf: Verifying Checksum [2021-10-26T04:21:49.215Z] 27f5ce0e4adf: Download complete [2021-10-26T04:21:49.215Z] 05883995daec: Verifying Checksum [2021-10-26T04:21:49.215Z] 05883995daec: Download complete [2021-10-26T04:21:49.489Z] 448f6bf000e3: Verifying Checksum [2021-10-26T04:21:49.489Z] 448f6bf000e3: Download complete [2021-10-26T04:21:52.126Z] c2d8d7efcc4b: Verifying Checksum [2021-10-26T04:21:52.126Z] c2d8d7efcc4b: Download complete [2021-10-26T04:21:53.105Z] 448f6bf000e3: Pull complete [2021-10-26T04:21:53.710Z] f757da607395: Pull complete [2021-10-26T04:21:55.746Z] 05883995daec: Pull complete [2021-10-26T04:21:55.746Z] 8603b9c90790: Pull complete [2021-10-26T04:21:56.721Z] 1560dd03e051: Pull complete [2021-10-26T04:21:56.995Z] 27f5ce0e4adf: Pull complete [2021-10-26T04:22:12.088Z] c2d8d7efcc4b: Pull complete [2021-10-26T04:22:12.088Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-26T04:22:12.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-26T04:22:12.088Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-26T04:22:12.361Z] prd-ubuntu18.04-docker-arm64-4c-16g-1836 does not seem to be running inside a container [2021-10-26T04:22:12.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-26T04:22:15.263Z] $ docker top cb22605ad470dc9977dc7f2db68c8334cba88f80a79ffe25fb43069b2dd33656 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:22:16.338Z] ---> job-cost.sh [2021-10-26T04:22:16.338Z] lf-activate-venv: SKIPPING [2021-10-26T04:22:16.338Z] INFO: No Stack... [2021-10-26T04:22:31.418Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-26T04:22:31.418Z] INFO: Archiving Costs [Pipeline] sh [2021-10-26T04:22:32.087Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-10-26T04:22:32.087Z] + cut -d, -f6 [Pipeline] lock [2021-10-26T04:22:32.162Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1047-1-stack-cost] [2021-10-26T04:22:32.167Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1047-1-stack-cost] did not exist. Created. [2021-10-26T04:22:32.167Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1047-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-26T04:22:32.897Z] /w/workspace/device-sdk-go/1@tmp/durable-bfc36d13/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-bfc36d13/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-26T04:22:33.582Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-26T04:22:33.617Z] Warning: overwriting stash ‘stack-cost’ [2021-10-26T04:22:33.677Z] Stashed 1 file(s) [Pipeline] } [2021-10-26T04:22:33.693Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1047-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-26T04:22:33.754Z] $ docker stop --time=1 cb22605ad470dc9977dc7f2db68c8334cba88f80a79ffe25fb43069b2dd33656 [2021-10-26T04:22:35.331Z] $ docker rm -f cb22605ad470dc9977dc7f2db68c8334cba88f80a79ffe25fb43069b2dd33656 [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-10-26T04:22:36.547Z] provisioning config files... [2021-10-26T04:22:36.558Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/config8869944853213614112tmp [Pipeline] { [Pipeline] sh [2021-10-26T04:22:36.888Z] + set +x [2021-10-26T04:22:36.888Z] + curl -s https://codecov.io/bash [2021-10-26T04:22:36.888Z] + bash -s -- [2021-10-26T04:22:36.888Z] [2021-10-26T04:22:36.888Z] _____ _ [2021-10-26T04:22:36.888Z] / ____| | | [2021-10-26T04:22:36.888Z] | | ___ __| | ___ ___ _____ __ [2021-10-26T04:22:36.888Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-26T04:22:36.888Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-26T04:22:36.888Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-26T04:22:36.888Z] Bash-1.0.6 [2021-10-26T04:22:36.888Z] [2021-10-26T04:22:36.888Z] [2021-10-26T04:22:36.888Z] ==> git version 2.24.4 found [2021-10-26T04:22:36.888Z] ==> 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-10-26T04:22:36.888Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-26T04:22:36.888Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-26T04:22:36.888Z] ==> Jenkins CI detected. [2021-10-26T04:22:36.888Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1047 [2021-10-26T04:22:36.888Z] project root: . [2021-10-26T04:22:36.888Z] --> token set from env [2021-10-26T04:22:36.888Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-26T04:22:36.888Z] ==> Running gcov in . (disable via -X gcov) [2021-10-26T04:22:36.888Z] ==> Python coveragepy not found [2021-10-26T04:22:36.888Z] ==> Searching for coverage reports in: [2021-10-26T04:22:36.888Z] + . [2021-10-26T04:22:36.888Z] -> Found 1 reports [2021-10-26T04:22:36.888Z] ==> Detecting git/mercurial file structure [2021-10-26T04:22:36.888Z] ==> Reading reports [2021-10-26T04:22:36.888Z] + ./coverage.out bytes=126785 [2021-10-26T04:22:36.888Z] ==> Appending adjustments [2021-10-26T04:22:36.888Z] https://docs.codecov.io/docs/fixing-reports [2021-10-26T04:22:37.150Z] + Found adjustments [2021-10-26T04:22:37.150Z] ==> Gzipping contents [2021-10-26T04:22:37.410Z] 16K /tmp/codecov.3HlKHV.gz [2021-10-26T04:22:37.410Z] ==> Uploading reports [2021-10-26T04:22:37.410Z] url: https://codecov.io [2021-10-26T04:22:37.410Z] query: branch=PR-1047&commit=bd22ad67da03dec9edc5730c8b0bd051af39755b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1047%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1047&job=&cmd_args= [2021-10-26T04:22:37.410Z] -> Pinging Codecov [2021-10-26T04:22:37.410Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1047&commit=bd22ad67da03dec9edc5730c8b0bd051af39755b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1047%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1047&job=&cmd_args= [2021-10-26T04:22:37.670Z] -> Uploading to [2021-10-26T04:22:37.671Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-26/7E55EF52A471D76F132DFD9A03CDDE97/bd22ad67da03dec9edc5730c8b0bd051af39755b/3736dd9e-a846-4862-ade5-0d4fb0c96e5e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211026T042237Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=253a2f0a60761204b4565f0662e7edbca2182687846080eb6fe8c68500a0286d [2021-10-26T04:22:37.671Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-26T04:22:37.671Z] Dload Upload Total Spent Left Speed [2021-10-26T04:22:37.934Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16169 0 0 100 16169 0 58512 --:--:-- --:--:-- --:--:-- 58583 [2021-10-26T04:22:37.934Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bd22ad67da03dec9edc5730c8b0bd051af39755b [Pipeline] } [2021-10-26T04:22:37.954Z] 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-10-26T04:22:39.964Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1047/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:22:40.299Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:22:40.887Z] ---> package-listing.sh [2021-10-26T04:22:40.888Z] ++ facter osfamily [2021-10-26T04:22:40.888Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-26T04:22:41.151Z] + OS_FAMILY=redhat [2021-10-26T04:22:41.151Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1047 [2021-10-26T04:22:41.151Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-26T04:22:41.151Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-26T04:22:41.151Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-26T04:22:41.151Z] + PACKAGES=/tmp/packages_start.txt [2021-10-26T04:22:41.151Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1047 ']' [2021-10-26T04:22:41.151Z] + PACKAGES=/tmp/packages_end.txt [2021-10-26T04:22:41.151Z] + case "${OS_FAMILY}" in [2021-10-26T04:22:41.151Z] + sort [2021-10-26T04:22:41.151Z] + rpm -qa [2021-10-26T04:22:41.729Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-26T04:22:41.729Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-26T04:22:41.729Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-26T04:22:41.729Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1047 ']' [2021-10-26T04:22:41.729Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1047/archives/ [2021-10-26T04:22:41.729Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1047/archives/ [Pipeline] echo [2021-10-26T04:22:41.756Z] 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-1047/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-26T04:22:42.059Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:22:42.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T04:22:42.653Z] [2021-10-26T04:22:42.653Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-26T04:22:42.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T04:22:42.993Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-26T04:22:42.993Z] b4d181a07f80: Pulling fs layer [2021-10-26T04:22:42.993Z] a1111a8f2ec3: Pulling fs layer [2021-10-26T04:22:42.993Z] ed53099fbce6: Pulling fs layer [2021-10-26T04:22:42.993Z] dc539afda2c1: Pulling fs layer [2021-10-26T04:22:42.993Z] 77bc0d833cb6: Pulling fs layer [2021-10-26T04:22:42.993Z] 9065ff56babe: Pulling fs layer [2021-10-26T04:22:42.993Z] d287ab97295c: Pulling fs layer [2021-10-26T04:22:42.993Z] dc539afda2c1: Waiting [2021-10-26T04:22:42.993Z] 77bc0d833cb6: Waiting [2021-10-26T04:22:42.993Z] 9065ff56babe: Waiting [2021-10-26T04:22:42.993Z] d287ab97295c: Waiting [2021-10-26T04:22:42.993Z] a1111a8f2ec3: Verifying Checksum [2021-10-26T04:22:42.993Z] a1111a8f2ec3: Download complete [2021-10-26T04:22:42.993Z] dc539afda2c1: Verifying Checksum [2021-10-26T04:22:42.993Z] dc539afda2c1: Download complete [2021-10-26T04:22:43.257Z] 77bc0d833cb6: Verifying Checksum [2021-10-26T04:22:43.257Z] 77bc0d833cb6: Download complete [2021-10-26T04:22:43.257Z] ed53099fbce6: Verifying Checksum [2021-10-26T04:22:43.257Z] ed53099fbce6: Download complete [2021-10-26T04:22:43.257Z] 9065ff56babe: Verifying Checksum [2021-10-26T04:22:43.257Z] 9065ff56babe: Download complete [2021-10-26T04:22:43.257Z] b4d181a07f80: Verifying Checksum [2021-10-26T04:22:43.257Z] b4d181a07f80: Download complete [2021-10-26T04:22:43.853Z] d287ab97295c: Verifying Checksum [2021-10-26T04:22:43.853Z] d287ab97295c: Download complete [2021-10-26T04:22:44.806Z] b4d181a07f80: Pull complete [2021-10-26T04:22:44.806Z] a1111a8f2ec3: Pull complete [2021-10-26T04:22:45.756Z] ed53099fbce6: Pull complete [2021-10-26T04:22:45.756Z] dc539afda2c1: Pull complete [2021-10-26T04:22:45.756Z] 77bc0d833cb6: Pull complete [2021-10-26T04:22:46.026Z] 9065ff56babe: Pull complete [2021-10-26T04:22:51.393Z] d287ab97295c: Pull complete [2021-10-26T04:22:51.393Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-26T04:22:51.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-26T04:22:51.393Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-26T04:22:51.470Z] prd-centos7-docker-4c-2g-1820 does not seem to be running inside a container [2021-10-26T04:22:51.505Z] $ 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-1047/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-1047 -v /w/workspace/gexfoundry_device-sdk-go_PR-1047:/w/workspace/gexfoundry_device-sdk-go_PR-1047:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-26T04:22:54.019Z] $ docker top 4149377b5b737349275afca08b5fa31c15ed766753fb4e7305a7a05588b88ea5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-26T04:22:54.427Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-26T04:22:54.734Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-26T04:22:55.039Z] + ls /var/log/sa-host [2021-10-26T04:22:55.039Z] + sadf -c /var/log/sa-host/sa26 [2021-10-26T04:22:55.039Z] file_magic: OK [2021-10-26T04:22:55.039Z] HZ: Using current value: 100 [2021-10-26T04:22:55.039Z] file_header: OK [2021-10-26T04:22:55.039Z] 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-10-26T04:22:55.039Z] Statistics: [2021-10-26T04:22:55.039Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-26T04:22:55.039Z] File successfully converted to sysstat format version 12.0.3 [2021-10-26T04:22:55.039Z] + sadf -c /var/log/sa-host/sa30 [2021-10-26T04:22:55.039Z] file_magic: OK [2021-10-26T04:22:55.039Z] HZ: Using current value: 100 [2021-10-26T04:22:55.039Z] file_header: OK [2021-10-26T04:22:55.039Z] 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-10-26T04:22:55.039Z] Statistics: [2021-10-26T04:22:55.039Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-26T04:22:55.039Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-26T04:22:55.161Z] provisioning config files... [2021-10-26T04:22:55.171Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/config8310001858275682105tmp [Pipeline] { [Pipeline] echo [2021-10-26T04:22:55.204Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:22:55.519Z] ---> create-netrc.sh [Pipeline] } [2021-10-26T04:22:55.536Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:22:55.908Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-26T04:22:55.932Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:22:56.245Z] ---> sudo-logs.sh [2021-10-26T04:22:56.245Z] Archiving 'sudo' log.. [2021-10-26T04:22:56.245Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1820.novalocal: Name or service not known [2021-10-26T04:22:56.245Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1820.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-26T04:22:56.308Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:22:56.627Z] ---> job-cost.sh [2021-10-26T04:22:56.627Z] lf-activate-venv: SKIPPING [2021-10-26T04:22:56.627Z] DEBUG: total: 0.10999999940395355 [2021-10-26T04:22:56.627Z] INFO: Retrieving Stack Cost... [2021-10-26T04:22:56.892Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-26T04:22:57.464Z] INFO: Archiving Costs [Pipeline] echo [2021-10-26T04:22:57.489Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-26T04:22:57.810Z] ---> logs-deploy.sh [2021-10-26T04:22:57.810Z] lf-activate-venv: SKIPPING [2021-10-26T04:22:57.810Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1047/1 [2021-10-26T04:22:57.810Z] INFO: archiving workspace using pattern(s): [2021-10-26T04:22:58.382Z] Archives upload complete. [2021-10-26T04:22:58.642Z] INFO: archiving logs to Nexus