Pull request #1066 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5+26056eb6751852d3be2b177fe263ccb57def27d1 (f446aca216c237a94a5f346d3a82320903f1f86b) 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-ssh3422219112097784526.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh8073873946548359814.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 a03e002eace0db65b27acd1444eb3c4392a49323 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-1066/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-1066/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7734026030009720936.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-1066/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7339188757964399219.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a03e002eace0db65b27acd1444eb3c4392a49323 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a03e002eace0db65b27acd1444eb3c4392a49323 # timeout=10 Commit message: "Merge pull request #364 from ernestojeda/fix-folder-name" > 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-ssh7920175581629230170.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-1066/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-1066/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1872370002708913693.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 a03e002eace0db65b27acd1444eb3c4392a49323 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-186 in /w/workspace/gexfoundry_device-sdk-go_PR-1066 [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-1066 # 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-1066@tmp/jenkins-gitclient-ssh327645892488324649.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1066@tmp/jenkins-gitclient-ssh4424690630738047954.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1066/head:refs/remotes/origin/PR-1066 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 Merge succeeded, producing 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 Checking out Revision 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 (PR-1066) > git config core.sparsecheckout # timeout=10 > git checkout -f 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1066@tmp/jenkins-gitclient-ssh9147147229800068952.key > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 # timeout=10 Commit message: "build: Update to use released versions of go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-11T18:55:43.726Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-11T18:55:43.901Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-11T18:55:43.977Z] ========================================================= [2021-11-11T18:55:43.977Z] EdgeX Global Pipelines Version Info [2021-11-11T18:55:43.977Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:55:45.156Z] ------------------- [2021-11-11T18:55:45.156Z] stable info: [2021-11-11T18:55:45.156Z] ------------------- [2021-11-11T18:55:45.156Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-11T18:55:45.156Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T18:55:45.156Z] Message: update stable to v1.0.213 [2021-11-11T18:55:45.727Z] ------------------- [2021-11-11T18:55:45.727Z] experimental info: [2021-11-11T18:55:45.727Z] ------------------- [2021-11-11T18:55:45.727Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-11T18:55:45.727Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T18:55:45.727Z] Message: update experimental to v1.0.213 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-11T18:55:45.887Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-11T18:55:45.925Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-11T18:55:45.961Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-11T18:55:46.000Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-11T18:55:46.038Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-11T18:55:46.071Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-11T18:55:46.106Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-11T18:55:46.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-11T18:55:46.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-11T18:55:46.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-11T18:55:46.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-11T18:55:46.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-11T18:55:46.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-11T18:55:46.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-11T18:55:46.393Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-11T18:55:46.431Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T18:55:46.470Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T18:55:46.511Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T18:55:46.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-11T18:55:46.575Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-11T18:55:46.611Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-11T18:55:46.652Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-11T18:55:46.693Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-11T18:55:46.727Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-11T18:55:46.766Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-11T18:55:46.802Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-11T18:55:46.845Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1066 [Pipeline] echo [2021-11-11T18:55:46.881Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1066 [Pipeline] echo [2021-11-11T18:55:46.940Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1066 [Pipeline] echo [2021-11-11T18:55:46.991Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 [Pipeline] echo [2021-11-11T18:55:47.031Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2745878 [Pipeline] echo [2021-11-11T18:55:47.064Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T18:55:47.165Z] provisioning config files... [2021-11-11T18:55:47.180Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1066@tmp/config2572581637756075604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:55:47.522Z] ---> docker-login.sh [2021-11-11T18:55:47.522Z] nexus3.edgexfoundry.org:10001 [2021-11-11T18:55:47.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:55:47.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:55:47.784Z] Configure a credential helper to remove this warning. See [2021-11-11T18:55:47.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:55:47.784Z] [2021-11-11T18:55:47.784Z] Login Succeeded [2021-11-11T18:55:47.784Z] nexus3.edgexfoundry.org:10002 [2021-11-11T18:55:47.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:55:47.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:55:47.784Z] Configure a credential helper to remove this warning. See [2021-11-11T18:55:47.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:55:47.784Z] [2021-11-11T18:55:47.784Z] Login Succeeded [2021-11-11T18:55:47.784Z] nexus3.edgexfoundry.org:10003 [2021-11-11T18:55:47.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:55:48.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:55:48.046Z] Configure a credential helper to remove this warning. See [2021-11-11T18:55:48.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:55:48.046Z] [2021-11-11T18:55:48.046Z] Login Succeeded [2021-11-11T18:55:48.046Z] nexus3.edgexfoundry.org:10004 [2021-11-11T18:55:48.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:55:48.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:55:48.046Z] Configure a credential helper to remove this warning. See [2021-11-11T18:55:48.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:55:48.046Z] [2021-11-11T18:55:48.046Z] Login Succeeded [2021-11-11T18:55:48.046Z] docker.io [2021-11-11T18:55:48.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:55:48.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:55:48.617Z] Configure a credential helper to remove this warning. See [2021-11-11T18:55:48.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:55:48.617Z] [2021-11-11T18:55:48.617Z] Login Succeeded [2021-11-11T18:55:48.617Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T18:55:48.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-11T18:55:49.237Z] + git rev-list -1 --merges 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5~1..2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 [Pipeline] echo [2021-11-11T18:55:49.291Z] -----------> git rev-list -1 --merges 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5~1..2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 [false] [Pipeline] sh [2021-11-11T18:55:49.603Z] + git log --format=format:%s -1 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 [Pipeline] echo [2021-11-11T18:55:49.628Z] ========================================================= [2021-11-11T18:55:49.628Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-11T18:55:49.628Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T18:55:50.049Z] + git log --format=format:%s -1 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 [Pipeline] echo [2021-11-11T18:55:50.075Z] [semverPrep] GIT_COMMIT: 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5, Commit Message: build: Update to use released versions of go-mods [Pipeline] echo [2021-11-11T18:55:50.106Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:55:50.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:55:50.579Z] [2021-11-11T18:55:50.579Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:55:50.920Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:55:50.920Z] latest: Pulling from edgex-devops/git-semver [2021-11-11T18:55:50.920Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T18:55:50.920Z] 3e5f54012d9b: Pulling fs layer [2021-11-11T18:55:50.920Z] 4c7163046ea9: Pulling fs layer [2021-11-11T18:55:50.920Z] 0c2d73faf560: Pulling fs layer [2021-11-11T18:55:50.920Z] 0c2d73faf560: Waiting [2021-11-11T18:55:50.920Z] 3e5f54012d9b: Verifying Checksum [2021-11-11T18:55:50.920Z] 3e5f54012d9b: Download complete [2021-11-11T18:55:50.920Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T18:55:50.920Z] a0d0a0d46f8b: Download complete [2021-11-11T18:55:50.920Z] 0c2d73faf560: Verifying Checksum [2021-11-11T18:55:50.920Z] 0c2d73faf560: Download complete [2021-11-11T18:55:50.920Z] 4c7163046ea9: Verifying Checksum [2021-11-11T18:55:50.920Z] 4c7163046ea9: Download complete [2021-11-11T18:55:51.190Z] a0d0a0d46f8b: Pull complete [2021-11-11T18:55:51.190Z] 3e5f54012d9b: Pull complete [2021-11-11T18:55:51.461Z] 4c7163046ea9: Pull complete [2021-11-11T18:55:51.728Z] 0c2d73faf560: Pull complete [2021-11-11T18:55:51.728Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-11T18:55:51.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T18:55:51.728Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-11T18:55:51.846Z] prd-centos7-docker-4c-2g-186 does not seem to be running inside a container [2021-11-11T18:55:51.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1066 -v /w/workspace/gexfoundry_device-sdk-go_PR-1066:/w/workspace/gexfoundry_device-sdk-go_PR-1066:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1066@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1066@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T18:55:52.597Z] $ docker top fe73b25b0a25b9340912f5e3d9fb4ba1d0879c989cbb1518d71cf21d31123480 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T18:55:52.763Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T18:55:52.763Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T18:55:52.872Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T18:55:52.874Z] $ docker exec fe73b25b0a25b9340912f5e3d9fb4ba1d0879c989cbb1518d71cf21d31123480 ssh-agent [2021-11-11T18:55:52.991Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcapBBN/agent.14 [2021-11-11T18:55:52.991Z] SSH_AGENT_PID=20 [2021-11-11T18:55:52.999Z] Running ssh-add (command line suppressed) [2021-11-11T18:55:53.097Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1066@tmp/private_key_2972897585356256951.key (/w/workspace/gexfoundry_device-sdk-go_PR-1066@tmp/private_key_2972897585356256951.key) [2021-11-11T18:55:53.112Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T18:55:53.445Z] + git tag --points-at HEAD [Pipeline] } [2021-11-11T18:55:53.462Z] $ docker exec --env ******** --env ******** fe73b25b0a25b9340912f5e3d9fb4ba1d0879c989cbb1518d71cf21d31123480 ssh-agent -k [2021-11-11T18:55:53.561Z] unset SSH_AUTH_SOCK; [2021-11-11T18:55:53.561Z] unset SSH_AGENT_PID; [2021-11-11T18:55:53.561Z] echo Agent pid 20 killed; [2021-11-11T18:55:53.573Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-11T18:55:53.647Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T18:55:53.647Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T18:55:53.756Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T18:55:53.761Z] $ docker exec fe73b25b0a25b9340912f5e3d9fb4ba1d0879c989cbb1518d71cf21d31123480 ssh-agent [2021-11-11T18:55:53.869Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeMBGPF/agent.53 [2021-11-11T18:55:53.869Z] SSH_AGENT_PID=60 [2021-11-11T18:55:53.874Z] Running ssh-add (command line suppressed) [2021-11-11T18:55:53.968Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1066@tmp/private_key_398832545156723770.key (/w/workspace/gexfoundry_device-sdk-go_PR-1066@tmp/private_key_398832545156723770.key) [2021-11-11T18:55:53.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T18:55:54.300Z] + git semver init [2021-11-11T18:55:54.300Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T18:55:54.300Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1066/.git [2021-11-11T18:55:54.300Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1066 [2021-11-11T18:55:54.300Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T18:55:54.300Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T18:55:54.300Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T18:55:54.300Z] # $SEMVER_BRANCH = PR-1066 [2021-11-11T18:55:54.300Z] # $SEMVER_TEMP = /tmp/semver-060025818 [2021-11-11T18:55:54.300Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-11T18:55:55.238Z] # '/tmp/semver-060025818' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1066/.semver' [2021-11-11T18:55:55.239Z] # -> Force: false [2021-11-11T18:55:55.239Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1066/.semver [Pipeline] } [2021-11-11T18:55:55.255Z] $ docker exec --env ******** --env ******** fe73b25b0a25b9340912f5e3d9fb4ba1d0879c989cbb1518d71cf21d31123480 ssh-agent -k [2021-11-11T18:55:55.344Z] unset SSH_AUTH_SOCK; [2021-11-11T18:55:55.344Z] unset SSH_AGENT_PID; [2021-11-11T18:55:55.344Z] echo Agent pid 60 killed; [2021-11-11T18:55:55.353Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T18:55:55.785Z] + git semver [Pipeline] } [2021-11-11T18:55:55.807Z] $ docker stop --time=1 fe73b25b0a25b9340912f5e3d9fb4ba1d0879c989cbb1518d71cf21d31123480 [2021-11-11T18:55:57.055Z] $ docker rm -f fe73b25b0a25b9340912f5e3d9fb4ba1d0879c989cbb1518d71cf21d31123480 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T18:55:57.449Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-11T18:55:57.722Z] Stashed 1 file(s) [Pipeline] echo [2021-11-11T18:55:57.737Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-11T18:56:13.099Z] Still waiting to schedule task [2021-11-11T18:56:13.100Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-11T18:56:13.119Z] Still waiting to schedule task [2021-11-11T18:56:13.119Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-11T18:57:44.505Z] Running on prd-centos7-docker-4c-2g-188 in /w/workspace/gexfoundry_device-sdk-go_PR-1066 [Pipeline] { [Pipeline] ws [2021-11-11T18:57:44.543Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-11T18:57:44.661Z] Selected Git installation does not exist. Using Default [2021-11-11T18:57:44.661Z] The recommended git tool is: NONE [2021-11-11T18:57:46.647Z] using credential edgex-jenkins-ssh [2021-11-11T18:57:46.658Z] Cloning the remote Git repository [2021-11-11T18:57:45.541Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T18:57:45.592Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-11T18:57:45.634Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T18:57:45.634Z] > git --version # timeout=10 [2021-11-11T18:57:45.644Z] > git --version # 'git version 2.24.4' [2021-11-11T18:57:45.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:57:45.676Z] [INFO] Currently running in a labeled security context [2021-11-11T18:57:45.676Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T18:57:45.680Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh354020737586737791.key [2021-11-11T18:57:45.695Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:57:46.459Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-11T18:57:46.465Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:57:46.482Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-11T18:57:46.496Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T18:57:46.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:57:46.498Z] [INFO] Currently running in a labeled security context [2021-11-11T18:57:46.498Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T18:57:46.498Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6539171255689850083.key [2021-11-11T18:57:46.508Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1066/head:refs/remotes/origin/PR-1066 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-11T18:57:48.423Z] Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 [2021-11-11T18:57:48.544Z] Merge succeeded, producing 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 [2021-11-11T18:57:48.545Z] Checking out Revision 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 (PR-1066) [2021-11-11T18:57:48.430Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T18:57:48.439Z] > git checkout -f 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 # timeout=10 [2021-11-11T18:57:48.477Z] > git remote # timeout=10 [2021-11-11T18:57:48.489Z] > git config --get remote.origin.url # timeout=10 [2021-11-11T18:57:48.498Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:57:48.500Z] [INFO] Currently running in a labeled security context [2021-11-11T18:57:48.500Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T18:57:48.500Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3159913230360199276.key [2021-11-11T18:57:48.509Z] > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 [2021-11-11T18:57:48.531Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-11T18:57:48.547Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T18:57:48.555Z] > git checkout -f 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 # timeout=10 [2021-11-11T18:57:52.129Z] Commit message: "build: Update to use released versions of go-mods" [2021-11-11T18:57:52.153Z] > git --version # timeout=10 [2021-11-11T18:57:52.158Z] > git --version # 'git version 2.24.4' [2021-11-11T18:57:52.163Z] fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T18:57:52.671Z] provisioning config files... [2021-11-11T18:57:52.686Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5583822928163803043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T18:57:53.131Z] ---> docker-login.sh [2021-11-11T18:57:53.132Z] nexus3.edgexfoundry.org:10001 [2021-11-11T18:57:53.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:57:53.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:57:53.393Z] Configure a credential helper to remove this warning. See [2021-11-11T18:57:53.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:57:53.393Z] [2021-11-11T18:57:53.393Z] Login Succeeded [2021-11-11T18:57:53.393Z] nexus3.edgexfoundry.org:10002 [2021-11-11T18:57:53.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:57:53.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:57:53.393Z] Configure a credential helper to remove this warning. See [2021-11-11T18:57:53.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:57:53.393Z] [2021-11-11T18:57:53.393Z] Login Succeeded [2021-11-11T18:57:53.393Z] nexus3.edgexfoundry.org:10003 [2021-11-11T18:57:53.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:57:53.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:57:53.393Z] Configure a credential helper to remove this warning. See [2021-11-11T18:57:53.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:57:53.393Z] [2021-11-11T18:57:53.393Z] Login Succeeded [2021-11-11T18:57:53.393Z] nexus3.edgexfoundry.org:10004 [2021-11-11T18:57:53.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:57:53.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:57:53.655Z] Configure a credential helper to remove this warning. See [2021-11-11T18:57:53.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:57:53.655Z] [2021-11-11T18:57:53.655Z] Login Succeeded [2021-11-11T18:57:53.655Z] docker.io [2021-11-11T18:57:53.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T18:57:53.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T18:57:53.916Z] Configure a credential helper to remove this warning. See [2021-11-11T18:57:53.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T18:57:53.916Z] [2021-11-11T18:57:53.916Z] Login Succeeded [2021-11-11T18:57:53.916Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T18:57:53.961Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T18:57:54.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T18:57:54.215Z] ========================================================= [2021-11-11T18:57:54.215Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-11T18:57:54.215Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:57:54.604Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-11T18:57:54.604Z] Sending build context to Docker daemon 2.788MB [2021-11-11T18:57:54.604Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T18:57:54.604Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-11T18:57:54.873Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-11T18:57:54.873Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T18:57:54.873Z] 31adcdaf11c8: Pulling fs layer [2021-11-11T18:57:54.873Z] b8b176561691: Pulling fs layer [2021-11-11T18:57:54.873Z] 4527c011a84f: Pulling fs layer [2021-11-11T18:57:54.873Z] 5d74067f8e1e: Pulling fs layer [2021-11-11T18:57:54.873Z] e0aca202a116: Pulling fs layer [2021-11-11T18:57:54.873Z] 3a43be97a3b4: Pulling fs layer [2021-11-11T18:57:54.873Z] 34cad66bf833: Pulling fs layer [2021-11-11T18:57:54.873Z] b4e3c513aaa6: Pulling fs layer [2021-11-11T18:57:54.873Z] 4527c011a84f: Waiting [2021-11-11T18:57:54.873Z] 5d74067f8e1e: Waiting [2021-11-11T18:57:54.873Z] e0aca202a116: Waiting [2021-11-11T18:57:54.873Z] 3a43be97a3b4: Waiting [2021-11-11T18:57:54.873Z] 34cad66bf833: Waiting [2021-11-11T18:57:54.873Z] b4e3c513aaa6: Waiting [2021-11-11T18:57:54.873Z] b8b176561691: Verifying Checksum [2021-11-11T18:57:54.873Z] b8b176561691: Download complete [2021-11-11T18:57:54.873Z] 31adcdaf11c8: Verifying Checksum [2021-11-11T18:57:54.873Z] 31adcdaf11c8: Download complete [2021-11-11T18:57:54.873Z] 5d74067f8e1e: Verifying Checksum [2021-11-11T18:57:54.873Z] 5d74067f8e1e: Download complete [2021-11-11T18:57:54.873Z] e0aca202a116: Verifying Checksum [2021-11-11T18:57:54.873Z] e0aca202a116: Download complete [2021-11-11T18:57:54.873Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T18:57:54.873Z] a0d0a0d46f8b: Download complete [2021-11-11T18:57:54.873Z] 3a43be97a3b4: Verifying Checksum [2021-11-11T18:57:54.873Z] 3a43be97a3b4: Download complete [2021-11-11T18:57:55.154Z] 34cad66bf833: Verifying Checksum [2021-11-11T18:57:55.154Z] 34cad66bf833: Download complete [2021-11-11T18:57:55.426Z] 4527c011a84f: Verifying Checksum [2021-11-11T18:57:55.426Z] 4527c011a84f: Download complete [2021-11-11T18:57:55.426Z] a0d0a0d46f8b: Pull complete [2021-11-11T18:57:55.426Z] b4e3c513aaa6: Verifying Checksum [2021-11-11T18:57:55.426Z] b4e3c513aaa6: Download complete [2021-11-11T18:57:55.695Z] 31adcdaf11c8: Pull complete [2021-11-11T18:57:55.695Z] b8b176561691: Pull complete [2021-11-11T18:57:59.961Z] 4527c011a84f: Pull complete [2021-11-11T18:57:59.961Z] 5d74067f8e1e: Pull complete [2021-11-11T18:57:59.961Z] e0aca202a116: Pull complete [2021-11-11T18:57:59.961Z] 3a43be97a3b4: Pull complete [2021-11-11T18:57:59.961Z] 34cad66bf833: Pull complete [2021-11-11T18:58:02.552Z] b4e3c513aaa6: Pull complete [2021-11-11T18:58:02.553Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-11T18:58:02.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-11T18:58:02.553Z] ---> 9f6097aaca64 [2021-11-11T18:58:02.553Z] Step 3/10 : ARG MAKE=make build [2021-11-11T18:58:05.857Z] ---> Running in d2b57a6e910d [2021-11-11T18:58:05.857Z] Removing intermediate container d2b57a6e910d [2021-11-11T18:58:05.857Z] ---> ea1a8f5b34ca [2021-11-11T18:58:05.857Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-11T18:58:06.124Z] ---> Running in 7d7b7d00c2cc [2021-11-11T18:58:06.124Z] Removing intermediate container 7d7b7d00c2cc [2021-11-11T18:58:06.124Z] ---> 3efb886c29ef [2021-11-11T18:58:06.124Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T18:58:06.124Z] ---> Running in a45590717f0b [2021-11-11T18:58:06.384Z] Removing intermediate container a45590717f0b [2021-11-11T18:58:06.384Z] ---> 3a453a24bb63 [2021-11-11T18:58:06.384Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T18:58:06.384Z] ---> Running in 90ac405fe9a3 [2021-11-11T18:58:06.959Z] Removing intermediate container 90ac405fe9a3 [2021-11-11T18:58:06.959Z] ---> 25a4de4a7223 [2021-11-11T18:58:06.959Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T18:58:07.226Z] ---> Running in 9cd70d1865ac [2021-11-11T18:58:07.487Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T18:58:08.432Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T18:58:08.697Z] OK: 220 MiB in 52 packages [2021-11-11T18:58:08.960Z] Removing intermediate container 9cd70d1865ac [2021-11-11T18:58:08.960Z] ---> 3ea497ebcd7f [2021-11-11T18:58:08.960Z] Step 8/10 : COPY . . [2021-11-11T18:58:09.224Z] ---> 310b84f9a7e1 [2021-11-11T18:58:09.224Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T18:58:09.224Z] ---> Running in 8bb0e77c74e6 [2021-11-11T18:58:48.010Z] Removing intermediate container 8bb0e77c74e6 [2021-11-11T18:58:48.010Z] ---> 781c7b1271fd [2021-11-11T18:58:48.010Z] Step 10/10 : RUN ${MAKE} [2021-11-11T18:58:48.010Z] ---> Running in b4a42aaa0f02 [2021-11-11T18:58:48.010Z] noop [2021-11-11T18:58:48.010Z] Removing intermediate container b4a42aaa0f02 [2021-11-11T18:58:48.010Z] ---> 98320cd5bb1a [2021-11-11T18:58:48.010Z] Successfully built 98320cd5bb1a [2021-11-11T18:58:48.010Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:58:48.338Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T18:58:48.338Z] . [Pipeline] withDockerContainer [2021-11-11T18:58:48.421Z] prd-centos7-docker-4c-2g-188 does not seem to be running inside a container [2021-11-11T18:58:48.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-11T18:58:48.892Z] $ docker top 2509e3f35819b38dd60b2287349f72ac691c010ab81760e3f375793a53182400 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T18:58:49.315Z] + go version [2021-11-11T18:58:49.315Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-11T18:58:49.340Z] $ docker stop --time=1 2509e3f35819b38dd60b2287349f72ac691c010ab81760e3f375793a53182400 [2021-11-11T18:58:50.879Z] $ docker rm -f 2509e3f35819b38dd60b2287349f72ac691c010ab81760e3f375793a53182400 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:58:51.818Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T18:58:51.818Z] . [Pipeline] withDockerContainer [2021-11-11T18:58:51.896Z] prd-centos7-docker-4c-2g-188 does not seem to be running inside a container [2021-11-11T18:58:51.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-11T18:58:52.660Z] $ docker top 2e71f206bc45b17fbfe4b76a5ba323e18369603c56d92653925e92edf9b8cb12 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T18:58:53.125Z] + make test [2021-11-11T18:58:53.125Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-11T18:58:58.495Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-11T18:59:25.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-11T18:59:25.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-11T18:59:25.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-11T18:59:25.171Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.059s coverage: 23.3% of statements [2021-11-11T18:59:25.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-11T18:59:25.171Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements [2021-11-11T18:59:25.171Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.055s coverage: 78.9% of statements [2021-11-11T18:59:25.413Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-190 in /w/workspace/gexfoundry_device-sdk-go_PR-1066 [Pipeline] { [2021-11-11T18:59:25.431Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.049s coverage: 9.0% of statements [2021-11-11T18:59:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-11T18:59:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-11T18:59:25.431Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [Pipeline] ws [2021-11-11T18:59:25.468Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-11T18:59:25.722Z] Selected Git installation does not exist. Using Default [2021-11-11T18:59:25.722Z] The recommended git tool is: NONE [2021-11-11T18:59:26.384Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.070s coverage: 28.7% of statements [2021-11-11T18:59:26.384Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-11T18:59:27.333Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.077s coverage: 83.3% of statements [2021-11-11T18:59:27.333Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-11T18:59:27.333Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-11T18:59:27.333Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 57.8% of statements [2021-11-11T18:59:28.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.798s coverage: 89.2% of statements [2021-11-11T18:59:28.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-11T18:59:28.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 4.8% of statements [2021-11-11T18:59:28.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-11T18:59:28.739Z] GO111MODULE=on go vet ./... [2021-11-11T18:59:31.620Z] using credential edgex-jenkins-ssh [2021-11-11T18:59:31.643Z] Cloning the remote Git repository [2021-11-11T18:59:31.707Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T18:59:31.813Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-11T18:59:31.892Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T18:59:31.893Z] > git --version # timeout=10 [2021-11-11T18:59:31.913Z] > git --version # 'git version 2.17.1' [2021-11-11T18:59:31.915Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:59:32.044Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:59:34.183Z] Merging remotes/origin/main commit 26056eb6751852d3be2b177fe263ccb57def27d1 into PR head commit 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 [2021-11-11T18:59:33.304Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-11T18:59:33.324Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T18:59:33.354Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-11T18:59:33.403Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T18:59:33.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:59:33.419Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1066/head:refs/remotes/origin/PR-1066 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-11T18:59:34.176Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T18:59:34.197Z] > git checkout -f 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 # timeout=10 [2021-11-11T18:59:34.311Z] > git remote # timeout=10 [2021-11-11T18:59:34.333Z] > git config --get remote.origin.url # timeout=10 [2021-11-11T18:59:34.361Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T18:59:34.374Z] > git merge 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 [2021-11-11T18:59:34.401Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-11T18:59:34.456Z] Merge succeeded, producing 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 [2021-11-11T18:59:34.456Z] Checking out Revision 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 (PR-1066) [2021-11-11T18:59:34.433Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T18:59:34.453Z] > git checkout -f 2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 # timeout=10 [2021-11-11T18:59:38.849Z] Commit message: "build: Update to use released versions of go-mods" [2021-11-11T18:59:38.868Z] > git --version # timeout=10 [2021-11-11T18:59:38.879Z] > git --version # 'git version 2.17.1' [2021-11-11T18:59:38.891Z] fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T18:59:39.932Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-11T18:59:39.932Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T18:59:39.932Z] Dload Upload Total Spent Left Speed [2021-11-11T18:59:39.932Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 174k 0 --:--:-- --:--:-- --:--:-- 174k [Pipeline] sh [2021-11-11T18:59:40.353Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-11T18:59:40.716Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo tee /etc/docker/daemon.new /etc/docker/daemon.json [2021-11-11T18:59:40.717Z] [2021-11-11T18:59:40.717Z] { [2021-11-11T18:59:40.717Z] "registry-mirrors": [ [2021-11-11T18:59:40.717Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-11T18:59:40.717Z] ], [2021-11-11T18:59:40.717Z] "bip": "10.250.0.254/24", [2021-11-11T18:59:40.717Z] "hosts": [ [2021-11-11T18:59:40.717Z] "tcp://0.0.0.0:5555", [2021-11-11T18:59:40.717Z] "unix:///var/run/docker.sock" [2021-11-11T18:59:40.717Z] ], [2021-11-11T18:59:40.717Z] "mtu": 1458, [2021-11-11T18:59:40.717Z] "selinux-enabled": true, [2021-11-11T18:59:40.717Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-11T18:59:40.717Z] } [Pipeline] sh [2021-11-11T18:59:41.082Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-11T18:59:41.436Z] + sudo service docker restart [2021-11-11T18:59:50.784Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T18:59:50.784Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T18:59:50.784Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-11T18:59:50.820Z] $ docker stop --time=1 2e71f206bc45b17fbfe4b76a5ba323e18369603c56d92653925e92edf9b8cb12 [2021-11-11T18:59:52.607Z] $ docker rm -f 2e71f206bc45b17fbfe4b76a5ba323e18369603c56d92653925e92edf9b8cb12 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T18:59:53.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T18:59:53.302Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-11T18:59:54.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T18:59:54.538Z] + ls -al . [2021-11-11T18:59:54.538Z] total 264 [2021-11-11T18:59:54.538Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 11 18:59 . [2021-11-11T18:59:54.538Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 11 18:57 .. [2021-11-11T18:59:54.538Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 11 18:57 bin [2021-11-11T18:59:54.538Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 11 18:57 CHANGELOG.md [2021-11-11T18:59:54.538Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 11 18:59 coverage.out [2021-11-11T18:59:54.538Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 11 18:57 .dockerignore [2021-11-11T18:59:54.538Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 11 18:57 example [2021-11-11T18:59:54.538Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 11 18:57 .git [2021-11-11T18:59:54.538Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 11 18:57 .github [2021-11-11T18:59:54.538Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 11 18:57 .gitignore [2021-11-11T18:59:54.538Z] -rw-rw-r--. 1 jenkins jenkins 576 Nov 11 18:57 go.mod [2021-11-11T18:59:54.538Z] -rw-rw-r--. 1 jenkins jenkins 48946 Nov 11 18:57 go.sum [2021-11-11T18:59:54.538Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 11 18:57 GOVERNANCE.md [2021-11-11T18:59:54.538Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 11 18:57 internal [2021-11-11T18:59:54.538Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 11 18:57 Jenkinsfile [2021-11-11T18:59:54.538Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 11 18:57 LICENSE [2021-11-11T18:59:54.538Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 11 18:57 Makefile [2021-11-11T18:59:54.538Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 11 18:57 openapi [2021-11-11T18:59:54.538Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 11 18:57 OWNERS.md [2021-11-11T18:59:54.538Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 11 18:57 pkg [2021-11-11T18:59:54.538Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 11 18:57 README.md [2021-11-11T18:59:54.538Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 11 18:57 snap [2021-11-11T18:59:54.538Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 11 18:55 VERSION [2021-11-11T18:59:54.538Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 11 18:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T18:59:54.863Z] + 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=2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 --label arch=amd64 --label version=0.0.0 . [2021-11-11T18:59:54.864Z] Sending build context to Docker daemon 2.917MB [2021-11-11T18:59:54.864Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T18:59:54.864Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-11T18:59:54.864Z] ---> 98320cd5bb1a [2021-11-11T18:59:54.864Z] Step 3/24 : ARG MAKE=make build [2021-11-11T18:59:54.864Z] ---> Running in d3d0d1f41976 [2021-11-11T18:59:55.130Z] Removing intermediate container d3d0d1f41976 [2021-11-11T18:59:55.130Z] ---> a570aa284ae5 [2021-11-11T18:59:55.130Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-11T18:59:55.130Z] ---> Running in bd50322747b8 [2021-11-11T18:59:55.130Z] Removing intermediate container bd50322747b8 [2021-11-11T18:59:55.130Z] ---> 3cc05f80ac4c [2021-11-11T18:59:55.130Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T18:59:55.130Z] ---> Running in 1fb23a370e95 [2021-11-11T18:59:55.390Z] Removing intermediate container 1fb23a370e95 [2021-11-11T18:59:55.390Z] ---> 49249902060c [2021-11-11T18:59:55.390Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T18:59:55.390Z] ---> Running in 4057f807307f [2021-11-11T18:59:55.971Z] Removing intermediate container 4057f807307f [2021-11-11T18:59:55.972Z] ---> 709982da2673 [2021-11-11T18:59:55.972Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T18:59:55.972Z] ---> Running in a19253fc59e7 [2021-11-11T18:59:56.230Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T18:59:57.169Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T18:59:57.430Z] OK: 220 MiB in 52 packages [2021-11-11T18:59:57.697Z] Removing intermediate container a19253fc59e7 [2021-11-11T18:59:57.697Z] ---> f30157b04977 [2021-11-11T18:59:57.697Z] Step 8/24 : COPY . . [2021-11-11T18:59:57.963Z] ---> 1a96d645e084 [2021-11-11T18:59:57.964Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T18:59:57.964Z] ---> Running in 02309c473a46 [2021-11-11T18:59:58.540Z] Removing intermediate container 02309c473a46 [2021-11-11T18:59:58.540Z] ---> 4fae684c0646 [2021-11-11T18:59:58.540Z] Step 10/24 : RUN ${MAKE} [2021-11-11T18:59:58.540Z] ---> Running in b78481c5365c [2021-11-11T18:59:58.801Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T19:00:00.128Z] provisioning config files... [2021-11-11T19:00:00.160Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5855176347908014704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T19:00:00.572Z] ---> docker-login.sh [2021-11-11T19:00:00.572Z] nexus3.edgexfoundry.org:10001 [2021-11-11T19:00:01.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T19:00:01.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T19:00:01.780Z] Configure a credential helper to remove this warning. See [2021-11-11T19:00:01.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T19:00:01.780Z] [2021-11-11T19:00:01.780Z] Login Succeeded [2021-11-11T19:00:01.780Z] nexus3.edgexfoundry.org:10002 [2021-11-11T19:00:02.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T19:00:02.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T19:00:02.333Z] Configure a credential helper to remove this warning. See [2021-11-11T19:00:02.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T19:00:02.333Z] [2021-11-11T19:00:02.333Z] Login Succeeded [2021-11-11T19:00:02.333Z] nexus3.edgexfoundry.org:10003 [2021-11-11T19:00:02.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T19:00:02.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T19:00:02.890Z] Configure a credential helper to remove this warning. See [2021-11-11T19:00:02.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T19:00:02.890Z] [2021-11-11T19:00:02.890Z] Login Succeeded [2021-11-11T19:00:02.890Z] nexus3.edgexfoundry.org:10004 [2021-11-11T19:00:03.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T19:00:03.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T19:00:03.501Z] Configure a credential helper to remove this warning. See [2021-11-11T19:00:03.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T19:00:03.501Z] [2021-11-11T19:00:03.501Z] Login Succeeded [2021-11-11T19:00:03.501Z] docker.io [2021-11-11T19:00:03.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T19:00:04.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T19:00:04.385Z] Configure a credential helper to remove this warning. See [2021-11-11T19:00:04.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T19:00:04.385Z] [2021-11-11T19:00:04.385Z] Login Succeeded [2021-11-11T19:00:04.385Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T19:00:04.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T19:00:05.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T19:00:05.100Z] ========================================================= [2021-11-11T19:00:05.100Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-11T19:00:05.100Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T19:00:05.583Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-11T19:00:06.202Z] Sending build context to Docker daemon 2.787MB [2021-11-11T19:00:06.202Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T19:00:06.202Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-11T19:00:06.202Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-11T19:00:06.202Z] 552d1f2373af: Pulling fs layer [2021-11-11T19:00:06.202Z] ea3f2d53f512: Pulling fs layer [2021-11-11T19:00:06.202Z] 9e70ebbbe112: Pulling fs layer [2021-11-11T19:00:06.202Z] 7a9cfe048b4a: Pulling fs layer [2021-11-11T19:00:06.202Z] 72dc09318566: Pulling fs layer [2021-11-11T19:00:06.202Z] f4f7b4309257: Pulling fs layer [2021-11-11T19:00:06.202Z] 0ac9a79272e3: Pulling fs layer [2021-11-11T19:00:06.202Z] b78e95d17946: Pulling fs layer [2021-11-11T19:00:06.202Z] 7a9cfe048b4a: Waiting [2021-11-11T19:00:06.202Z] f4f7b4309257: Waiting [2021-11-11T19:00:06.202Z] 0ac9a79272e3: Waiting [2021-11-11T19:00:06.202Z] b78e95d17946: Waiting [2021-11-11T19:00:06.482Z] 72dc09318566: Waiting [2021-11-11T19:00:06.482Z] 9e70ebbbe112: Verifying Checksum [2021-11-11T19:00:06.482Z] 9e70ebbbe112: Download complete [2021-11-11T19:00:06.482Z] ea3f2d53f512: Verifying Checksum [2021-11-11T19:00:06.482Z] ea3f2d53f512: Download complete [2021-11-11T19:00:06.482Z] 72dc09318566: Verifying Checksum [2021-11-11T19:00:06.482Z] 72dc09318566: Download complete [2021-11-11T19:00:06.482Z] 552d1f2373af: Verifying Checksum [2021-11-11T19:00:06.482Z] 552d1f2373af: Download complete [2021-11-11T19:00:06.482Z] f4f7b4309257: Verifying Checksum [2021-11-11T19:00:06.482Z] f4f7b4309257: Download complete [2021-11-11T19:00:06.482Z] 0ac9a79272e3: Verifying Checksum [2021-11-11T19:00:06.482Z] 0ac9a79272e3: Download complete [2021-11-11T19:00:07.483Z] 552d1f2373af: Pull complete [2021-11-11T19:00:08.086Z] ea3f2d53f512: Pull complete [2021-11-11T19:00:08.363Z] 9e70ebbbe112: Pull complete [2021-11-11T19:00:08.637Z] b78e95d17946: Verifying Checksum [2021-11-11T19:00:08.637Z] b78e95d17946: Download complete [2021-11-11T19:00:09.236Z] 7a9cfe048b4a: Verifying Checksum [2021-11-11T19:00:09.236Z] 7a9cfe048b4a: Download complete [2021-11-11T19:00:11.090Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-11T19:00:11.090Z] Removing intermediate container b78481c5365c [2021-11-11T19:00:11.090Z] ---> 95f7eae73ee0 [2021-11-11T19:00:11.090Z] Step 11/24 : FROM alpine:3.14 [2021-11-11T19:00:15.291Z] 3.14: Pulling from library/alpine [2021-11-11T19:00:15.291Z] a0d0a0d46f8b: Already exists [2021-11-11T19:00:15.291Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T19:00:15.291Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T19:00:15.291Z] ---> 14119a10abf4 [2021-11-11T19:00:15.291Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T19:00:15.291Z] ---> Running in 188ecf9f243d [2021-11-11T19:00:15.291Z] Removing intermediate container 188ecf9f243d [2021-11-11T19:00:15.291Z] ---> 94c190db39fa [2021-11-11T19:00:15.291Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T19:00:15.291Z] ---> Running in f2f3c8470350 [2021-11-11T19:00:15.552Z] Removing intermediate container f2f3c8470350 [2021-11-11T19:00:15.552Z] ---> 22ab30c75f9f [2021-11-11T19:00:15.552Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-11T19:00:15.552Z] ---> Running in 0550328e822f [2021-11-11T19:00:15.812Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T19:00:16.750Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T19:00:17.008Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T19:00:17.008Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-11T19:00:17.271Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T19:00:17.271Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-11T19:00:17.531Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-11T19:00:17.531Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T19:00:17.531Z] OK: 8 MiB in 19 packages [2021-11-11T19:00:17.798Z] Removing intermediate container 0550328e822f [2021-11-11T19:00:17.798Z] ---> df4f23d17314 [2021-11-11T19:00:17.798Z] Step 15/24 : WORKDIR / [2021-11-11T19:00:17.798Z] ---> Running in ba97d04479fb [2021-11-11T19:00:18.070Z] Removing intermediate container ba97d04479fb [2021-11-11T19:00:18.070Z] ---> a09b85214026 [2021-11-11T19:00:18.070Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-11T19:00:18.070Z] ---> 857865864b10 [2021-11-11T19:00:18.070Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-11T19:00:18.647Z] ---> e86a35116f7e [2021-11-11T19:00:18.647Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-11T19:00:18.647Z] ---> 615437b90e48 [2021-11-11T19:00:18.647Z] Step 19/24 : EXPOSE 59999 [2021-11-11T19:00:18.647Z] ---> Running in 3aae93cbfd55 [2021-11-11T19:00:18.906Z] Removing intermediate container 3aae93cbfd55 [2021-11-11T19:00:18.906Z] ---> a9c1578b4778 [2021-11-11T19:00:18.906Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-11T19:00:18.906Z] ---> Running in 0d39e7a6bfa2 [2021-11-11T19:00:18.906Z] Removing intermediate container 0d39e7a6bfa2 [2021-11-11T19:00:18.906Z] ---> d2cb6b4cf408 [2021-11-11T19:00:18.906Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-11T19:00:18.906Z] ---> Running in b4e1780d6604 [2021-11-11T19:00:19.166Z] Removing intermediate container b4e1780d6604 [2021-11-11T19:00:19.166Z] ---> 08b07bb39948 [2021-11-11T19:00:19.166Z] Step 22/24 : LABEL arch=amd64 [2021-11-11T19:00:19.166Z] ---> Running in ba4b6dc776cc [2021-11-11T19:00:19.166Z] Removing intermediate container ba4b6dc776cc [2021-11-11T19:00:19.166Z] ---> 6bb4864c5e3f [2021-11-11T19:00:19.166Z] Step 23/24 : LABEL git_sha=2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 [2021-11-11T19:00:19.166Z] ---> Running in 81ccd499ed88 [2021-11-11T19:00:19.398Z] 7a9cfe048b4a: Pull complete [2021-11-11T19:00:19.426Z] Removing intermediate container 81ccd499ed88 [2021-11-11T19:00:19.426Z] ---> 044d58e03515 [2021-11-11T19:00:19.426Z] Step 24/24 : LABEL version=0.0.0 [2021-11-11T19:00:19.426Z] ---> Running in cbe16dd054f5 [2021-11-11T19:00:19.426Z] Removing intermediate container cbe16dd054f5 [2021-11-11T19:00:19.426Z] ---> d871650e4ad4 [2021-11-11T19:00:19.426Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T19:00:19.426Z] Successfully built d871650e4ad4 [2021-11-11T19:00:19.426Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-11-11T19:00:19.672Z] 72dc09318566: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T19:00:20.277Z] f4f7b4309257: Pull complete [2021-11-11T19:00:20.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T19:00:20.289Z] [2021-11-11T19:00:20.289Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T19:00:20.553Z] 0ac9a79272e3: Pull complete [2021-11-11T19:00:20.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T19:00:20.637Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T19:00:20.637Z] b4d181a07f80: Pulling fs layer [2021-11-11T19:00:20.637Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T19:00:20.637Z] ed53099fbce6: Pulling fs layer [2021-11-11T19:00:20.637Z] dc539afda2c1: Pulling fs layer [2021-11-11T19:00:20.637Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T19:00:20.637Z] 9065ff56babe: Pulling fs layer [2021-11-11T19:00:20.637Z] d287ab97295c: Pulling fs layer [2021-11-11T19:00:20.637Z] 77bc0d833cb6: Waiting [2021-11-11T19:00:20.637Z] 9065ff56babe: Waiting [2021-11-11T19:00:20.637Z] d287ab97295c: Waiting [2021-11-11T19:00:20.637Z] dc539afda2c1: Waiting [2021-11-11T19:00:20.637Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T19:00:20.637Z] a1111a8f2ec3: Download complete [2021-11-11T19:00:20.637Z] dc539afda2c1: Verifying Checksum [2021-11-11T19:00:20.637Z] dc539afda2c1: Download complete [2021-11-11T19:00:20.637Z] ed53099fbce6: Verifying Checksum [2021-11-11T19:00:20.637Z] ed53099fbce6: Download complete [2021-11-11T19:00:20.900Z] 9065ff56babe: Verifying Checksum [2021-11-11T19:00:20.900Z] 9065ff56babe: Download complete [2021-11-11T19:00:20.900Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T19:00:20.900Z] 77bc0d833cb6: Download complete [2021-11-11T19:00:20.900Z] b4d181a07f80: Verifying Checksum [2021-11-11T19:00:20.900Z] b4d181a07f80: Download complete [2021-11-11T19:00:21.473Z] d287ab97295c: Verifying Checksum [2021-11-11T19:00:21.473Z] d287ab97295c: Download complete [2021-11-11T19:00:22.427Z] b4d181a07f80: Pull complete [2021-11-11T19:00:22.692Z] a1111a8f2ec3: Pull complete [2021-11-11T19:00:23.260Z] ed53099fbce6: Pull complete [2021-11-11T19:00:23.260Z] dc539afda2c1: Pull complete [2021-11-11T19:00:23.520Z] 77bc0d833cb6: Pull complete [2021-11-11T19:00:23.520Z] 9065ff56babe: Pull complete [2021-11-11T19:00:27.285Z] b78e95d17946: Pull complete [2021-11-11T19:00:27.285Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-11T19:00:27.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-11T19:00:27.285Z] ---> 8b459fc5aaf0 [2021-11-11T19:00:27.285Z] Step 3/10 : ARG MAKE=make build [2021-11-11T19:00:28.269Z] ---> Running in c41f6cbb8dd3 [2021-11-11T19:00:28.848Z] d287ab97295c: Pull complete [2021-11-11T19:00:28.848Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T19:00:28.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T19:00:28.848Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T19:00:28.873Z] Removing intermediate container c41f6cbb8dd3 [2021-11-11T19:00:28.873Z] ---> 983a1c64e66b [2021-11-11T19:00:28.873Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-11T19:00:28.873Z] ---> Running in ba72ebccde04 [Pipeline] withDockerContainer [2021-11-11T19:00:28.946Z] prd-centos7-docker-4c-2g-188 does not seem to be running inside a container [2021-11-11T19:00:28.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T19:00:29.471Z] Removing intermediate container ba72ebccde04 [2021-11-11T19:00:29.471Z] ---> 0624ba9ed9bb [2021-11-11T19:00:29.471Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T19:00:29.471Z] ---> Running in 96bc2f5b9d7f [2021-11-11T19:00:30.070Z] Removing intermediate container 96bc2f5b9d7f [2021-11-11T19:00:30.070Z] ---> c32701302774 [2021-11-11T19:00:30.070Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T19:00:30.070Z] ---> Running in f1e6ca57cb85 [2021-11-11T19:00:32.606Z] $ docker top 7bfd7c099e93e066383a97ae1e964723bc0f605d5679abcb2b54e679d30d2632 -eo pid,comm [2021-11-11T19:00:32.706Z] Removing intermediate container f1e6ca57cb85 [2021-11-11T19:00:32.706Z] ---> 8fa38cf6d8a2 [2021-11-11T19:00:32.706Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T19:00:32.706Z] ---> Running in 718e1b020484 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T19:00:33.111Z] ---> job-cost.sh [2021-11-11T19:00:33.111Z] lf-activate-venv: SKIPPING [2021-11-11T19:00:33.111Z] INFO: No Stack... [2021-11-11T19:00:33.685Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T19:00:34.658Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T19:00:35.253Z] OK: 219 MiB in 52 packages [2021-11-11T19:00:35.662Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T19:00:35.662Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T19:00:35.982Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-11-11T19:00:35.982Z] + cut -d, -f6 [Pipeline] lock [2021-11-11T19:00:36.026Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1066-1-stack-cost] [2021-11-11T19:00:36.030Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1066-1-stack-cost] did not exist. Created. [2021-11-11T19:00:36.030Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1066-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T19:00:36.246Z] Removing intermediate container 718e1b020484 [2021-11-11T19:00:36.246Z] ---> 19ec6c4642c5 [2021-11-11T19:00:36.246Z] Step 8/10 : COPY . . [2021-11-11T19:00:36.409Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-11T19:00:36.459Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T19:00:36.473Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1066-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T19:00:36.532Z] $ docker stop --time=1 7bfd7c099e93e066383a97ae1e964723bc0f605d5679abcb2b54e679d30d2632 [2021-11-11T19:00:37.692Z] ---> fdba4ddc0981 [2021-11-11T19:00:37.692Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T19:00:37.692Z] ---> Running in 3a29f2592419 [2021-11-11T19:00:37.725Z] $ docker rm -f 7bfd7c099e93e066383a97ae1e964723bc0f605d5679abcb2b54e679d30d2632 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-11T19:01:59.494Z] Removing intermediate container 3a29f2592419 [2021-11-11T19:01:59.495Z] ---> 82f9bf29ae79 [2021-11-11T19:01:59.495Z] Step 10/10 : RUN ${MAKE} [2021-11-11T19:01:59.495Z] ---> Running in 2d6c9d4cbf87 [2021-11-11T19:01:59.495Z] noop [2021-11-11T19:01:59.495Z] Removing intermediate container 2d6c9d4cbf87 [2021-11-11T19:01:59.495Z] ---> f032ebeb7c39 [2021-11-11T19:01:59.495Z] Successfully built f032ebeb7c39 [2021-11-11T19:01:59.495Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T19:01:59.872Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T19:01:59.872Z] . [Pipeline] withDockerContainer [2021-11-11T19:02:00.176Z] prd-ubuntu18.04-docker-arm64-4c-16g-190 does not seem to be running inside a container [2021-11-11T19:02:00.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-11T19:02:01.929Z] $ docker top 8539c41b86368fb5eff34a181f9b81bd71e393048e3c54bc17cde80a500e8495 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T19:02:02.971Z] + go version [2021-11-11T19:02:02.972Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-11T19:02:03.016Z] $ docker stop --time=1 8539c41b86368fb5eff34a181f9b81bd71e393048e3c54bc17cde80a500e8495 [2021-11-11T19:02:04.829Z] $ docker rm -f 8539c41b86368fb5eff34a181f9b81bd71e393048e3c54bc17cde80a500e8495 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T19:02:05.770Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T19:02:05.770Z] . [Pipeline] withDockerContainer [2021-11-11T19:02:06.064Z] prd-ubuntu18.04-docker-arm64-4c-16g-190 does not seem to be running inside a container [2021-11-11T19:02:06.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-11T19:02:07.800Z] $ docker top d0559b58d360637a762cd6cd5a8ea7f5ddab4726fe85e3ebaad6a1c93693b5d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T19:02:08.878Z] + make test [2021-11-11T19:02:08.878Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-11T19:02:41.261Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-11T19:04:03.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-11T19:04:03.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-11T19:04:03.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-11T19:04:05.750Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.333s coverage: 23.3% of statements [2021-11-11T19:04:05.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-11T19:04:05.750Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.214s coverage: 27.6% of statements [2021-11-11T19:04:05.750Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.305s coverage: 78.9% of statements [2021-11-11T19:04:05.750Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.273s coverage: 9.0% of statements [2021-11-11T19:04:05.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-11T19:04:05.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-11T19:04:05.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-11T19:04:06.364Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.369s coverage: 28.7% of statements [2021-11-11T19:04:06.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-11T19:04:09.011Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.299s coverage: 83.3% of statements [2021-11-11T19:04:09.011Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-11T19:04:09.011Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-11T19:04:09.011Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.424s coverage: 57.8% of statements [2021-11-11T19:04:11.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.325s coverage: 89.2% of statements [2021-11-11T19:04:11.642Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-11T19:04:11.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.211s coverage: 4.8% of statements [2021-11-11T19:04:11.642Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-11T19:04:12.240Z] GO111MODULE=on go vet ./... [2021-11-11T19:05:20.319Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T19:05:20.319Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T19:05:20.319Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-11T19:05:20.445Z] $ docker stop --time=1 d0559b58d360637a762cd6cd5a8ea7f5ddab4726fe85e3ebaad6a1c93693b5d8 [2021-11-11T19:05:22.390Z] $ docker rm -f d0559b58d360637a762cd6cd5a8ea7f5ddab4726fe85e3ebaad6a1c93693b5d8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T19:05:23.647Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T19:05:23.687Z] Warning: overwriting stash ‘coverage-report’ [2021-11-11T19:05:24.437Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T19:05:25.101Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T19:05:25.456Z] + ls -al . [2021-11-11T19:05:25.456Z] total 300 [2021-11-11T19:05:25.456Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 19:05 . [2021-11-11T19:05:25.456Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 18:59 .. [2021-11-11T19:05:25.456Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 18:59 .dockerignore [2021-11-11T19:05:25.456Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 18:59 .git [2021-11-11T19:05:25.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 18:59 .github [2021-11-11T19:05:25.456Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 11 18:59 .gitignore [2021-11-11T19:05:25.456Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 11 18:59 CHANGELOG.md [2021-11-11T19:05:25.456Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 18:59 GOVERNANCE.md [2021-11-11T19:05:25.456Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 11 18:59 Jenkinsfile [2021-11-11T19:05:25.456Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 18:59 LICENSE [2021-11-11T19:05:25.456Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 11 18:59 Makefile [2021-11-11T19:05:25.456Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 18:59 OWNERS.md [2021-11-11T19:05:25.456Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 11 18:59 README.md [2021-11-11T19:05:25.456Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 18:55 VERSION [2021-11-11T19:05:25.456Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 18:59 bin [2021-11-11T19:05:25.456Z] -rw-r--r-- 1 jenkins jenkins 128369 Nov 11 19:04 coverage.out [2021-11-11T19:05:25.456Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 18:59 example [2021-11-11T19:05:25.456Z] -rw-rw-r-- 1 jenkins jenkins 576 Nov 11 18:59 go.mod [2021-11-11T19:05:25.456Z] -rw-rw-r-- 1 jenkins jenkins 48946 Nov 11 18:59 go.sum [2021-11-11T19:05:25.456Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 11 18:59 internal [2021-11-11T19:05:25.456Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 18:59 openapi [2021-11-11T19:05:25.456Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 18:59 pkg [2021-11-11T19:05:25.456Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 18:59 snap [2021-11-11T19:05:25.456Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 18:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T19:05:25.842Z] + 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=2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 --label arch=arm64 --label version=0.0.0 . [2021-11-11T19:05:26.440Z] Sending build context to Docker daemon 2.916MB [2021-11-11T19:05:26.440Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T19:05:26.440Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-11T19:05:26.440Z] ---> f032ebeb7c39 [2021-11-11T19:05:26.440Z] Step 3/24 : ARG MAKE=make build [2021-11-11T19:05:26.440Z] ---> Running in 5c52506dca24 [2021-11-11T19:05:27.050Z] Removing intermediate container 5c52506dca24 [2021-11-11T19:05:27.050Z] ---> 156216dc605a [2021-11-11T19:05:27.050Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-11T19:05:27.050Z] ---> Running in a368620f2c9d [2021-11-11T19:05:27.651Z] Removing intermediate container a368620f2c9d [2021-11-11T19:05:27.651Z] ---> 0eaee9e393be [2021-11-11T19:05:27.651Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T19:05:27.651Z] ---> Running in c303ad2f8fad [2021-11-11T19:05:28.260Z] Removing intermediate container c303ad2f8fad [2021-11-11T19:05:28.260Z] ---> b8ad8eeb6c59 [2021-11-11T19:05:28.260Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T19:05:28.260Z] ---> Running in 6e30e7957fb7 [2021-11-11T19:05:30.240Z] Removing intermediate container 6e30e7957fb7 [2021-11-11T19:05:30.240Z] ---> c9165c6633c7 [2021-11-11T19:05:30.240Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T19:05:30.513Z] ---> Running in e376eec5e661 [2021-11-11T19:05:31.952Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T19:05:32.948Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T19:05:33.937Z] OK: 219 MiB in 52 packages [2021-11-11T19:05:34.929Z] Removing intermediate container e376eec5e661 [2021-11-11T19:05:34.929Z] ---> 030deeaf7660 [2021-11-11T19:05:34.929Z] Step 8/24 : COPY . . [2021-11-11T19:05:36.374Z] ---> df7c0ad5b11e [2021-11-11T19:05:36.374Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T19:05:36.374Z] ---> Running in 885f10242054 [2021-11-11T19:05:39.016Z] Removing intermediate container 885f10242054 [2021-11-11T19:05:39.016Z] ---> 68fe94a5c10a [2021-11-11T19:05:39.016Z] Step 10/24 : RUN ${MAKE} [2021-11-11T19:05:39.016Z] ---> Running in e93492cf1580 [2021-11-11T19:05:40.454Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-11T19:06:27.492Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-11T19:06:27.492Z] Removing intermediate container e93492cf1580 [2021-11-11T19:06:27.492Z] ---> 28c89afe249a [2021-11-11T19:06:27.492Z] Step 11/24 : FROM alpine:3.14 [2021-11-11T19:06:27.492Z] 3.14: Pulling from library/alpine [2021-11-11T19:06:27.492Z] 552d1f2373af: Already exists [2021-11-11T19:06:27.492Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T19:06:27.492Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T19:06:27.492Z] ---> bb3de5531c18 [2021-11-11T19:06:27.492Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T19:06:27.766Z] ---> Running in 398c6dfec076 [2021-11-11T19:06:28.040Z] Removing intermediate container 398c6dfec076 [2021-11-11T19:06:28.040Z] ---> 72056d1e472a [2021-11-11T19:06:28.040Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T19:06:28.314Z] ---> Running in c71443626934 [2021-11-11T19:06:30.307Z] Removing intermediate container c71443626934 [2021-11-11T19:06:30.307Z] ---> 03fd9603aad2 [2021-11-11T19:06:30.307Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-11T19:06:30.307Z] ---> Running in a38f3a0f4138 [2021-11-11T19:06:31.763Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T19:06:32.744Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T19:06:33.724Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T19:06:33.724Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-11T19:06:33.724Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T19:06:33.999Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-11T19:06:33.999Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-11T19:06:34.273Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T19:06:34.273Z] OK: 8 MiB in 19 packages [2021-11-11T19:06:35.255Z] Removing intermediate container a38f3a0f4138 [2021-11-11T19:06:35.255Z] ---> da00d1b60fa5 [2021-11-11T19:06:35.255Z] Step 15/24 : WORKDIR / [2021-11-11T19:06:35.532Z] ---> Running in c578f87aa2f0 [2021-11-11T19:06:35.806Z] Removing intermediate container c578f87aa2f0 [2021-11-11T19:06:35.806Z] ---> 3506ebf2e7d0 [2021-11-11T19:06:35.806Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-11T19:06:36.789Z] ---> b14cbb6211e5 [2021-11-11T19:06:36.789Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-11T19:06:37.769Z] ---> 8e7700c4c72b [2021-11-11T19:06:37.769Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-11T19:06:38.761Z] ---> 1d5f6020fa8f [2021-11-11T19:06:38.761Z] Step 19/24 : EXPOSE 59999 [2021-11-11T19:06:38.761Z] ---> Running in b87ecc8f85a8 [2021-11-11T19:06:39.362Z] Removing intermediate container b87ecc8f85a8 [2021-11-11T19:06:39.362Z] ---> d59b626682bb [2021-11-11T19:06:39.362Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-11T19:06:39.362Z] ---> Running in d4db1e64e350 [2021-11-11T19:06:39.639Z] Removing intermediate container d4db1e64e350 [2021-11-11T19:06:39.639Z] ---> 3b95fc84099c [2021-11-11T19:06:39.639Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-11T19:06:39.917Z] ---> Running in 2471ba428221 [2021-11-11T19:06:40.195Z] Removing intermediate container 2471ba428221 [2021-11-11T19:06:40.195Z] ---> 38eb07717cd3 [2021-11-11T19:06:40.195Z] Step 22/24 : LABEL arch=arm64 [2021-11-11T19:06:40.471Z] ---> Running in b6e58dfad9f8 [2021-11-11T19:06:40.744Z] Removing intermediate container b6e58dfad9f8 [2021-11-11T19:06:40.744Z] ---> dfb145680ead [2021-11-11T19:06:40.744Z] Step 23/24 : LABEL git_sha=2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 [2021-11-11T19:06:41.019Z] ---> Running in 515ed8ab50f0 [2021-11-11T19:06:41.293Z] Removing intermediate container 515ed8ab50f0 [2021-11-11T19:06:41.293Z] ---> 31d8b68e51ae [2021-11-11T19:06:41.293Z] Step 24/24 : LABEL version=0.0.0 [2021-11-11T19:06:41.293Z] ---> Running in 4f7fa8633987 [2021-11-11T19:06:41.892Z] Removing intermediate container 4f7fa8633987 [2021-11-11T19:06:41.892Z] ---> 8088085b5a38 [2021-11-11T19:06:41.892Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T19:06:41.892Z] Successfully built 8088085b5a38 [2021-11-11T19:06:41.892Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T19:06:42.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T19:06:42.957Z] [2021-11-11T19:06:42.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T19:06:43.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T19:06:43.612Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-11T19:06:43.612Z] 448f6bf000e3: Pulling fs layer [2021-11-11T19:06:43.612Z] f757da607395: Pulling fs layer [2021-11-11T19:06:43.612Z] 05883995daec: Pulling fs layer [2021-11-11T19:06:43.612Z] 8603b9c90790: Pulling fs layer [2021-11-11T19:06:43.612Z] 1560dd03e051: Pulling fs layer [2021-11-11T19:06:43.612Z] 8603b9c90790: Waiting [2021-11-11T19:06:43.612Z] 27f5ce0e4adf: Pulling fs layer [2021-11-11T19:06:43.612Z] c2d8d7efcc4b: Pulling fs layer [2021-11-11T19:06:43.612Z] 1560dd03e051: Waiting [2021-11-11T19:06:43.612Z] 27f5ce0e4adf: Waiting [2021-11-11T19:06:43.612Z] f757da607395: Verifying Checksum [2021-11-11T19:06:43.612Z] f757da607395: Download complete [2021-11-11T19:06:43.612Z] 8603b9c90790: Verifying Checksum [2021-11-11T19:06:43.612Z] 8603b9c90790: Download complete [2021-11-11T19:06:43.888Z] 1560dd03e051: Verifying Checksum [2021-11-11T19:06:43.888Z] 1560dd03e051: Download complete [2021-11-11T19:06:43.888Z] 27f5ce0e4adf: Download complete [2021-11-11T19:06:43.888Z] 05883995daec: Verifying Checksum [2021-11-11T19:06:43.888Z] 05883995daec: Download complete [2021-11-11T19:06:44.162Z] 448f6bf000e3: Verifying Checksum [2021-11-11T19:06:44.162Z] 448f6bf000e3: Download complete [2021-11-11T19:06:46.797Z] c2d8d7efcc4b: Verifying Checksum [2021-11-11T19:06:46.797Z] c2d8d7efcc4b: Download complete [2021-11-11T19:06:47.775Z] 448f6bf000e3: Pull complete [2021-11-11T19:06:48.756Z] f757da607395: Pull complete [2021-11-11T19:06:50.190Z] 05883995daec: Pull complete [2021-11-11T19:06:50.464Z] 8603b9c90790: Pull complete [2021-11-11T19:06:51.447Z] 1560dd03e051: Pull complete [2021-11-11T19:06:51.724Z] 27f5ce0e4adf: Pull complete [2021-11-11T19:07:06.819Z] c2d8d7efcc4b: Pull complete [2021-11-11T19:07:06.819Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-11T19:07:06.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T19:07:06.819Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-11T19:07:07.108Z] prd-ubuntu18.04-docker-arm64-4c-16g-190 does not seem to be running inside a container [2021-11-11T19:07:07.165Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-11T19:07:10.575Z] $ docker top 999480f87b0ac2d3f44ca17a604659292bc7d03e5194f3514b2ca2eef5393335 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T19:07:11.688Z] ---> job-cost.sh [2021-11-11T19:07:11.688Z] lf-activate-venv: SKIPPING [2021-11-11T19:07:11.688Z] INFO: No Stack... [2021-11-11T19:07:15.073Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-11T19:07:15.073Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T19:07:16.034Z] + cut -d, -f6 [2021-11-11T19:07:16.034Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-11-11T19:07:16.134Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1066-1-stack-cost] [2021-11-11T19:07:16.138Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1066-1-stack-cost] did not exist. Created. [2021-11-11T19:07:16.138Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1066-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T19:07:16.870Z] /w/workspace/device-sdk-go/1@tmp/durable-7be0e9af/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-7be0e9af/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-11T19:07:17.552Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-11T19:07:17.592Z] Warning: overwriting stash ‘stack-cost’ [2021-11-11T19:07:17.658Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T19:07:17.673Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1066-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T19:07:17.702Z] $ docker stop --time=1 999480f87b0ac2d3f44ca17a604659292bc7d03e5194f3514b2ca2eef5393335 [2021-11-11T19:07:19.302Z] $ docker rm -f 999480f87b0ac2d3f44ca17a604659292bc7d03e5194f3514b2ca2eef5393335 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-11T19:07:20.323Z] provisioning config files... [2021-11-11T19:07:20.332Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1066@tmp/config9029080250548608919tmp [Pipeline] { [Pipeline] sh [2021-11-11T19:07:20.906Z] + set +x [2021-11-11T19:07:20.906Z] + curl -s https://codecov.io/bash [2021-11-11T19:07:20.906Z] + bash -s -- [2021-11-11T19:07:20.906Z] [2021-11-11T19:07:20.906Z] _____ _ [2021-11-11T19:07:20.906Z] / ____| | | [2021-11-11T19:07:20.906Z] | | ___ __| | ___ ___ _____ __ [2021-11-11T19:07:20.906Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-11T19:07:20.906Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-11T19:07:20.906Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-11T19:07:20.906Z] Bash-1.0.6 [2021-11-11T19:07:20.906Z] [2021-11-11T19:07:20.906Z] [2021-11-11T19:07:20.906Z] ==> git version 2.24.4 found [2021-11-11T19:07:20.906Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-11T19:07:20.906Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-11T19:07:20.906Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-11T19:07:20.906Z] ==> Jenkins CI detected. [2021-11-11T19:07:21.167Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1066 [2021-11-11T19:07:21.167Z] project root: . [2021-11-11T19:07:21.167Z] --> token set from env [2021-11-11T19:07:21.167Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-11T19:07:21.167Z] ==> Running gcov in . (disable via -X gcov) [2021-11-11T19:07:21.167Z] ==> Python coveragepy not found [2021-11-11T19:07:21.167Z] ==> Searching for coverage reports in: [2021-11-11T19:07:21.167Z] + . [2021-11-11T19:07:21.167Z] -> Found 1 reports [2021-11-11T19:07:21.167Z] ==> Detecting git/mercurial file structure [2021-11-11T19:07:21.167Z] ==> Reading reports [2021-11-11T19:07:21.167Z] + ./coverage.out bytes=128369 [2021-11-11T19:07:21.167Z] ==> Appending adjustments [2021-11-11T19:07:21.167Z] https://docs.codecov.io/docs/fixing-reports [2021-11-11T19:07:21.429Z] + Found adjustments [2021-11-11T19:07:21.429Z] ==> Gzipping contents [2021-11-11T19:07:21.429Z] 16K /tmp/codecov.jVMfbo.gz [2021-11-11T19:07:21.429Z] ==> Uploading reports [2021-11-11T19:07:21.429Z] url: https://codecov.io [2021-11-11T19:07:21.429Z] query: branch=PR-1066&commit=2745878a1c105db39ef2d121e8f0e3ef86d9eaa5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1066%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1066&job=&cmd_args= [2021-11-11T19:07:21.429Z] -> Pinging Codecov [2021-11-11T19:07:21.429Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1066&commit=2745878a1c105db39ef2d121e8f0e3ef86d9eaa5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1066%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1066&job=&cmd_args= [2021-11-11T19:07:22.001Z] -> Uploading to [2021-11-11T19:07:22.001Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-11/7E55EF52A471D76F132DFD9A03CDDE97/2745878a1c105db39ef2d121e8f0e3ef86d9eaa5/d380b430-09e7-4437-8cc3-dd558c13e845.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211111T190721Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bd13e564b983b54ddf14ef06b7dbbca5dc615f679934aab50641f4755a5f527d [2021-11-11T19:07:22.001Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T19:07:22.001Z] Dload Upload Total Spent Left Speed [2021-11-11T19:07:22.263Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16294 0 0 100 16294 0 50543 --:--:-- --:--:-- --:--:-- 50602 [2021-11-11T19:07:22.263Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2745878a1c105db39ef2d121e8f0e3ef86d9eaa5 [Pipeline] } [2021-11-11T19:07:22.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-11T19:07:24.340Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1066/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-11T19:07:24.679Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T19:07:25.278Z] ---> package-listing.sh [2021-11-11T19:07:25.278Z] ++ facter osfamily [2021-11-11T19:07:25.278Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-11T19:07:25.545Z] + OS_FAMILY=redhat [2021-11-11T19:07:25.545Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1066 [2021-11-11T19:07:25.545Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-11T19:07:25.545Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-11T19:07:25.545Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-11T19:07:25.545Z] + PACKAGES=/tmp/packages_start.txt [2021-11-11T19:07:25.545Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1066 ']' [2021-11-11T19:07:25.545Z] + PACKAGES=/tmp/packages_end.txt [2021-11-11T19:07:25.545Z] + case "${OS_FAMILY}" in [2021-11-11T19:07:25.545Z] + rpm -qa [2021-11-11T19:07:25.545Z] + sort [2021-11-11T19:07:26.488Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-11T19:07:26.489Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-11T19:07:26.489Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-11T19:07:26.489Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1066 ']' [2021-11-11T19:07:26.489Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1066/archives/ [2021-11-11T19:07:26.489Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1066/archives/ [Pipeline] echo [2021-11-11T19:07:26.526Z] 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-1066/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-11T19:07:26.831Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-11T19:07:27.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T19:07:27.417Z] [2021-11-11T19:07:27.417Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T19:07:27.762Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T19:07:27.762Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T19:07:27.762Z] b4d181a07f80: Pulling fs layer [2021-11-11T19:07:27.762Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T19:07:27.762Z] ed53099fbce6: Pulling fs layer [2021-11-11T19:07:27.762Z] dc539afda2c1: Pulling fs layer [2021-11-11T19:07:27.762Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T19:07:27.762Z] 9065ff56babe: Pulling fs layer [2021-11-11T19:07:27.762Z] d287ab97295c: Pulling fs layer [2021-11-11T19:07:27.762Z] dc539afda2c1: Waiting [2021-11-11T19:07:27.762Z] 77bc0d833cb6: Waiting [2021-11-11T19:07:27.762Z] 9065ff56babe: Waiting [2021-11-11T19:07:27.762Z] d287ab97295c: Waiting [2021-11-11T19:07:27.762Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T19:07:27.762Z] a1111a8f2ec3: Download complete [2021-11-11T19:07:28.033Z] dc539afda2c1: Verifying Checksum [2021-11-11T19:07:28.033Z] dc539afda2c1: Download complete [2021-11-11T19:07:28.033Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T19:07:28.033Z] 77bc0d833cb6: Download complete [2021-11-11T19:07:28.033Z] ed53099fbce6: Verifying Checksum [2021-11-11T19:07:28.033Z] ed53099fbce6: Download complete [2021-11-11T19:07:28.033Z] b4d181a07f80: Verifying Checksum [2021-11-11T19:07:28.033Z] b4d181a07f80: Download complete [2021-11-11T19:07:28.033Z] 9065ff56babe: Verifying Checksum [2021-11-11T19:07:28.033Z] 9065ff56babe: Download complete [2021-11-11T19:07:28.613Z] d287ab97295c: Verifying Checksum [2021-11-11T19:07:28.613Z] d287ab97295c: Download complete [2021-11-11T19:07:29.587Z] b4d181a07f80: Pull complete [2021-11-11T19:07:29.850Z] a1111a8f2ec3: Pull complete [2021-11-11T19:07:30.434Z] ed53099fbce6: Pull complete [2021-11-11T19:07:30.696Z] dc539afda2c1: Pull complete [2021-11-11T19:07:30.963Z] 77bc0d833cb6: Pull complete [2021-11-11T19:07:31.304Z] 9065ff56babe: Pull complete [2021-11-11T19:07:36.637Z] d287ab97295c: Pull complete [2021-11-11T19:07:36.637Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T19:07:36.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T19:07:36.637Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T19:07:36.726Z] prd-centos7-docker-4c-2g-186 does not seem to be running inside a container [2021-11-11T19:07:36.764Z] $ 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-1066/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-1066 -v /w/workspace/gexfoundry_device-sdk-go_PR-1066:/w/workspace/gexfoundry_device-sdk-go_PR-1066:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1066@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1066@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T19:07:39.421Z] $ docker top 8e103a0779256436c6172ee8934d99fb340d7ae0b550e62e290940e79e3dbe12 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T19:07:39.827Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-11T19:07:40.140Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-11T19:07:40.450Z] + ls /var/log/sa-host [2021-11-11T19:07:40.450Z] + sadf -c /var/log/sa-host/sa11 [2021-11-11T19:07:40.450Z] file_magic: OK [2021-11-11T19:07:40.450Z] HZ: Using current value: 100 [2021-11-11T19:07:40.450Z] file_header: OK [2021-11-11T19:07:40.450Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T19:07:40.450Z] Statistics: [2021-11-11T19:07:40.450Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T19:07:40.450Z] File successfully converted to sysstat format version 12.0.3 [2021-11-11T19:07:40.450Z] + sadf -c /var/log/sa-host/sa30 [2021-11-11T19:07:40.450Z] file_magic: OK [2021-11-11T19:07:40.450Z] HZ: Using current value: 100 [2021-11-11T19:07:40.450Z] file_header: OK [2021-11-11T19:07:40.450Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T19:07:40.450Z] Statistics: [2021-11-11T19:07:40.450Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T19:07:40.450Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T19:07:40.579Z] provisioning config files... [2021-11-11T19:07:40.590Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1066@tmp/config5501096157312796255tmp [Pipeline] { [Pipeline] echo [2021-11-11T19:07:40.638Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T19:07:40.964Z] ---> create-netrc.sh [Pipeline] } [2021-11-11T19:07:40.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-11T19:07:41.394Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-11T19:07:41.429Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T19:07:41.757Z] ---> sudo-logs.sh [2021-11-11T19:07:41.757Z] Archiving 'sudo' log.. [2021-11-11T19:07:41.757Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-186.novalocal: Name or service not known [2021-11-11T19:07:41.757Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-186.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-11T19:07:41.823Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T19:07:42.147Z] ---> job-cost.sh [2021-11-11T19:07:42.147Z] lf-activate-venv: SKIPPING [2021-11-11T19:07:42.147Z] DEBUG: total: 0.10999999940395355 [2021-11-11T19:07:42.147Z] INFO: Retrieving Stack Cost... [2021-11-11T19:07:43.094Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T19:07:43.357Z] INFO: Archiving Costs [Pipeline] echo [2021-11-11T19:07:43.392Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T19:07:43.714Z] ---> logs-deploy.sh [2021-11-11T19:07:43.714Z] lf-activate-venv: SKIPPING [2021-11-11T19:07:43.714Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1066/1 [2021-11-11T19:07:43.714Z] INFO: archiving workspace using pattern(s): [2021-11-11T19:07:44.666Z] Archives upload complete. [2021-11-11T19:07:44.666Z] INFO: archiving logs to Nexus