Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca8f408215d3aa33b4c9f70e2fe77f2cb3750385+65791aa66105356d7211b84a08e8523cbf0bcc17 (c0d7526a754c68359070a6279d027a89587c5fca) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6121403700593324716.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh1288697122624930369.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7141562512055540499.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8139220831144740081.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1619168139482987173.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1434 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [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-1031 # 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-1031@tmp/jenkins-gitclient-ssh8778503488595596275.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 65791aa66105356d7211b84a08e8523cbf0bcc17 into PR head commit ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 Merge succeeded, producing 1617e4c80875676849a8f0e87c23909d6d40c20a Checking out Revision 1617e4c80875676849a8f0e87c23909d6d40c20a (PR-1031) > 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-1031@tmp/jenkins-gitclient-ssh1759957890856579529.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # 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-1031@tmp/jenkins-gitclient-ssh9198951287973457710.key > git merge 65791aa66105356d7211b84a08e8523cbf0bcc17 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1617e4c80875676849a8f0e87c23909d6d40c20a # timeout=10 Commit message: "Merge commit '65791aa66105356d7211b84a08e8523cbf0bcc17' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 67e29f3bab41d361285ad02d6e9943eadf926b06 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-14T14:43:25.050Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-14T14:43:25.093Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-14T14:43:25.106Z] ========================================================= [2021-10-14T14:43:25.106Z] EdgeX Global Pipelines Version Info [2021-10-14T14:43:25.106Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:43:26.246Z] ------------------- [2021-10-14T14:43:26.247Z] stable info: [2021-10-14T14:43:26.247Z] ------------------- [2021-10-14T14:43:26.247Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-14T14:43:26.247Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T14:43:26.247Z] Message: update stable to v1.0.210 [2021-10-14T14:43:26.819Z] ------------------- [2021-10-14T14:43:26.819Z] experimental info: [2021-10-14T14:43:26.819Z] ------------------- [2021-10-14T14:43:26.819Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-14T14:43:26.819Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T14:43:26.819Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-14T14:43:26.907Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-14T14:43:26.921Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-14T14:43:26.937Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-14T14:43:26.952Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-14T14:43:26.963Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-14T14:43:26.976Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-14T14:43:26.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-14T14:43:26.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-14T14:43:27.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-14T14:43:27.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-14T14:43:27.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-14T14:43:27.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-14T14:43:27.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-14T14:43:27.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-14T14:43:27.093Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T14:43:27.106Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T14:43:27.117Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T14:43:27.130Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T14:43:27.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-14T14:43:27.158Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-14T14:43:27.172Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-14T14:43:27.184Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-14T14:43:27.199Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-14T14:43:27.213Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-14T14:43:27.226Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-14T14:43:27.240Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-14T14:43:27.252Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1031 [Pipeline] echo [2021-10-14T14:43:27.266Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1031 [Pipeline] echo [2021-10-14T14:43:27.279Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1031 [Pipeline] echo [2021-10-14T14:43:27.292Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1617e4c80875676849a8f0e87c23909d6d40c20a [Pipeline] echo [2021-10-14T14:43:27.305Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1617e4c [Pipeline] echo [2021-10-14T14:43:27.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T14:43:27.370Z] provisioning config files... [2021-10-14T14:43:27.384Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config3477924109250321209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:43:27.689Z] ---> docker-login.sh [2021-10-14T14:43:27.689Z] nexus3.edgexfoundry.org:10001 [2021-10-14T14:43:27.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:43:27.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:43:27.952Z] Configure a credential helper to remove this warning. See [2021-10-14T14:43:27.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:43:27.952Z] [2021-10-14T14:43:27.952Z] Login Succeeded [2021-10-14T14:43:27.952Z] nexus3.edgexfoundry.org:10002 [2021-10-14T14:43:27.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:43:27.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:43:27.952Z] Configure a credential helper to remove this warning. See [2021-10-14T14:43:27.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:43:27.952Z] [2021-10-14T14:43:27.952Z] Login Succeeded [2021-10-14T14:43:27.952Z] nexus3.edgexfoundry.org:10003 [2021-10-14T14:43:28.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:43:28.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:43:28.214Z] Configure a credential helper to remove this warning. See [2021-10-14T14:43:28.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:43:28.214Z] [2021-10-14T14:43:28.214Z] Login Succeeded [2021-10-14T14:43:28.214Z] nexus3.edgexfoundry.org:10004 [2021-10-14T14:43:28.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:43:28.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:43:28.214Z] Configure a credential helper to remove this warning. See [2021-10-14T14:43:28.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:43:28.214Z] [2021-10-14T14:43:28.214Z] Login Succeeded [2021-10-14T14:43:28.214Z] docker.io [2021-10-14T14:43:28.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:43:28.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:43:28.740Z] Configure a credential helper to remove this warning. See [2021-10-14T14:43:28.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:43:28.740Z] [2021-10-14T14:43:28.740Z] Login Succeeded [2021-10-14T14:43:28.740Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T14:43:28.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T14:43:29.267Z] + git log --format=format:%s -1 1617e4c80875676849a8f0e87c23909d6d40c20a [Pipeline] echo [2021-10-14T14:43:29.305Z] GIT_COMMIT: 1617e4c80875676849a8f0e87c23909d6d40c20a, Commit Message: Merge commit '65791aa66105356d7211b84a08e8523cbf0bcc17' into HEAD [Pipeline] echo [2021-10-14T14:43:29.314Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:43:30.009Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T14:43:30.009Z] [2021-10-14T14:43:30.009Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:43:30.310Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T14:43:30.310Z] latest: Pulling from edgex-devops/git-semver [2021-10-14T14:43:30.310Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T14:43:30.310Z] 3e5f54012d9b: Pulling fs layer [2021-10-14T14:43:30.310Z] 4c7163046ea9: Pulling fs layer [2021-10-14T14:43:30.310Z] 0c2d73faf560: Pulling fs layer [2021-10-14T14:43:30.310Z] 0c2d73faf560: Waiting [2021-10-14T14:43:30.310Z] 3e5f54012d9b: Verifying Checksum [2021-10-14T14:43:30.310Z] 3e5f54012d9b: Download complete [2021-10-14T14:43:30.310Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T14:43:30.310Z] a0d0a0d46f8b: Download complete [2021-10-14T14:43:30.310Z] 0c2d73faf560: Verifying Checksum [2021-10-14T14:43:30.310Z] 0c2d73faf560: Download complete [2021-10-14T14:43:30.310Z] 4c7163046ea9: Verifying Checksum [2021-10-14T14:43:30.310Z] 4c7163046ea9: Download complete [2021-10-14T14:43:30.571Z] a0d0a0d46f8b: Pull complete [2021-10-14T14:43:30.571Z] 3e5f54012d9b: Pull complete [2021-10-14T14:43:30.832Z] 4c7163046ea9: Pull complete [2021-10-14T14:43:31.098Z] 0c2d73faf560: Pull complete [2021-10-14T14:43:31.098Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-14T14:43:31.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T14:43:31.098Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-14T14:43:31.168Z] prd-centos7-docker-4c-2g-1434 does not seem to be running inside a container [2021-10-14T14:43:31.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1031 -v /w/workspace/gexfoundry_device-sdk-go_PR-1031:/w/workspace/gexfoundry_device-sdk-go_PR-1031:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1031@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-10-14T14:43:31.760Z] $ docker top 928e0b63e90fb54571227dfa92e2eebab6b4021b559e9725474713ff1681f4a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T14:43:31.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T14:43:31.852Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T14:43:31.955Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T14:43:31.958Z] $ docker exec 928e0b63e90fb54571227dfa92e2eebab6b4021b559e9725474713ff1681f4a7 ssh-agent [2021-10-14T14:43:32.060Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHAdGeO/agent.13 [2021-10-14T14:43:32.060Z] SSH_AGENT_PID=19 [2021-10-14T14:43:32.067Z] Running ssh-add (command line suppressed) [2021-10-14T14:43:32.157Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_7990046832930187916.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_7990046832930187916.key) [2021-10-14T14:43:32.173Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T14:43:32.476Z] + git tag --points-at HEAD [Pipeline] } [2021-10-14T14:43:32.490Z] $ docker exec --env ******** --env ******** 928e0b63e90fb54571227dfa92e2eebab6b4021b559e9725474713ff1681f4a7 ssh-agent -k [2021-10-14T14:43:32.578Z] unset SSH_AUTH_SOCK; [2021-10-14T14:43:32.578Z] unset SSH_AGENT_PID; [2021-10-14T14:43:32.578Z] echo Agent pid 19 killed; [2021-10-14T14:43:32.590Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-14T14:43:32.613Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T14:43:32.613Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T14:43:32.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T14:43:32.709Z] $ docker exec 928e0b63e90fb54571227dfa92e2eebab6b4021b559e9725474713ff1681f4a7 ssh-agent [2021-10-14T14:43:32.808Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBHeeaD/agent.53 [2021-10-14T14:43:32.808Z] SSH_AGENT_PID=60 [2021-10-14T14:43:32.813Z] Running ssh-add (command line suppressed) [2021-10-14T14:43:32.907Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_8433262985222382863.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_8433262985222382863.key) [2021-10-14T14:43:32.920Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T14:43:33.212Z] + git semver init [2021-10-14T14:43:33.212Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T14:43:33.212Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.git [2021-10-14T14:43:33.212Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-14T14:43:33.212Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T14:43:33.212Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T14:43:33.212Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T14:43:33.212Z] # $SEMVER_BRANCH = PR-1031 [2021-10-14T14:43:33.212Z] # $SEMVER_TEMP = /tmp/semver-821026411 [2021-10-14T14:43:33.212Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-14T14:43:34.160Z] # '/tmp/semver-821026411' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver' [2021-10-14T14:43:34.160Z] # -> Force: false [2021-10-14T14:43:34.160Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver [Pipeline] } [2021-10-14T14:43:34.170Z] $ docker exec --env ******** --env ******** 928e0b63e90fb54571227dfa92e2eebab6b4021b559e9725474713ff1681f4a7 ssh-agent -k [2021-10-14T14:43:34.276Z] unset SSH_AUTH_SOCK; [2021-10-14T14:43:34.276Z] unset SSH_AGENT_PID; [2021-10-14T14:43:34.276Z] echo Agent pid 60 killed; [2021-10-14T14:43:34.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T14:43:34.601Z] + git semver [Pipeline] } [2021-10-14T14:43:34.616Z] $ docker stop --time=1 928e0b63e90fb54571227dfa92e2eebab6b4021b559e9725474713ff1681f4a7 [2021-10-14T14:43:35.830Z] $ docker rm -f 928e0b63e90fb54571227dfa92e2eebab6b4021b559e9725474713ff1681f4a7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T14:43:36.175Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-14T14:43:36.393Z] Stashed 1 file(s) [Pipeline] echo [2021-10-14T14:43:36.396Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-14T14:43:51.602Z] Still waiting to schedule task [2021-10-14T14:43:51.602Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1434’ [2021-10-14T14:43:51.603Z] Still waiting to schedule task [2021-10-14T14:43:51.604Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-14T14:45:58.666Z] Running on prd-centos7-docker-4c-2g-1437 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] ws [2021-10-14T14:45:58.679Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-10-14T14:45:58.767Z] Selected Git installation does not exist. Using Default [2021-10-14T14:45:58.767Z] The recommended git tool is: NONE [2021-10-14T14:46:00.885Z] using credential edgex-jenkins-ssh [2021-10-14T14:46:00.903Z] Cloning the remote Git repository [2021-10-14T14:45:59.909Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T14:45:59.976Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-10-14T14:46:00.008Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T14:46:00.008Z] > git --version # timeout=10 [2021-10-14T14:46:00.018Z] > git --version # 'git version 2.24.4' [2021-10-14T14:46:00.019Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T14:46:00.040Z] [INFO] Currently running in a labeled security context [2021-10-14T14:46:00.040Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T14:46:00.040Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh9050949899765682169.key [2021-10-14T14:46:00.067Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T14:46:01.391Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T14:46:01.413Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T14:46:01.425Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T14:46:01.436Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T14:46:01.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T14:46:01.439Z] [INFO] Currently running in a labeled security context [2021-10-14T14:46:01.439Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T14:46:01.440Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh7431697397002314621.key [2021-10-14T14:46:01.458Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-14T14:46:03.467Z] Merging remotes/origin/main commit 65791aa66105356d7211b84a08e8523cbf0bcc17 into PR head commit ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [2021-10-14T14:46:03.584Z] Merge succeeded, producing 2eba4b8ad6428a4388836a6830c1822660041a04 [2021-10-14T14:46:03.584Z] Checking out Revision 2eba4b8ad6428a4388836a6830c1822660041a04 (PR-1031) [2021-10-14T14:46:02.438Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T14:46:02.450Z] > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 [2021-10-14T14:46:02.492Z] > git remote # timeout=10 [2021-10-14T14:46:02.499Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T14:46:02.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T14:46:02.510Z] [INFO] Currently running in a labeled security context [2021-10-14T14:46:02.510Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T14:46:02.510Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh5419213423641020324.key [2021-10-14T14:46:02.515Z] > git merge 65791aa66105356d7211b84a08e8523cbf0bcc17 # timeout=10 [2021-10-14T14:46:02.543Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T14:46:02.551Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T14:46:02.554Z] > git checkout -f 2eba4b8ad6428a4388836a6830c1822660041a04 # timeout=10 [2021-10-14T14:46:06.152Z] Commit message: "Merge commit '65791aa66105356d7211b84a08e8523cbf0bcc17' into HEAD" [2021-10-14T14:46:06.163Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T14:46:06.824Z] provisioning config files... [2021-10-14T14:46:06.839Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config1558187150009932984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:46:06.156Z] > git rev-list --no-walk 67e29f3bab41d361285ad02d6e9943eadf926b06 # timeout=10 [2021-10-14T14:46:07.229Z] ---> docker-login.sh [2021-10-14T14:46:07.229Z] nexus3.edgexfoundry.org:10001 [2021-10-14T14:46:07.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:46:07.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:46:07.494Z] Configure a credential helper to remove this warning. See [2021-10-14T14:46:07.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:46:07.494Z] [2021-10-14T14:46:07.494Z] Login Succeeded [2021-10-14T14:46:07.494Z] nexus3.edgexfoundry.org:10002 [2021-10-14T14:46:07.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:46:07.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:46:07.494Z] Configure a credential helper to remove this warning. See [2021-10-14T14:46:07.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:46:07.494Z] [2021-10-14T14:46:07.494Z] Login Succeeded [2021-10-14T14:46:07.494Z] nexus3.edgexfoundry.org:10003 [2021-10-14T14:46:07.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:46:07.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:46:07.755Z] Configure a credential helper to remove this warning. See [2021-10-14T14:46:07.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:46:07.755Z] [2021-10-14T14:46:07.755Z] Login Succeeded [2021-10-14T14:46:07.755Z] nexus3.edgexfoundry.org:10004 [2021-10-14T14:46:07.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:46:07.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:46:07.755Z] Configure a credential helper to remove this warning. See [2021-10-14T14:46:07.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:46:07.755Z] [2021-10-14T14:46:07.755Z] Login Succeeded [2021-10-14T14:46:07.755Z] docker.io [2021-10-14T14:46:07.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:46:08.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:46:08.326Z] Configure a credential helper to remove this warning. See [2021-10-14T14:46:08.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:46:08.326Z] [2021-10-14T14:46:08.326Z] Login Succeeded [2021-10-14T14:46:08.326Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T14:46:08.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T14:46:08.494Z] ========================================================= [2021-10-14T14:46:08.494Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-14T14:46:08.494Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:46:08.810Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-14T14:46:08.810Z] Sending build context to Docker daemon 2.682MB [2021-10-14T14:46:08.810Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T14:46:08.810Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T14:46:08.810Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-14T14:46:08.810Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T14:46:08.810Z] 31adcdaf11c8: Pulling fs layer [2021-10-14T14:46:08.810Z] b8b176561691: Pulling fs layer [2021-10-14T14:46:08.810Z] 4527c011a84f: Pulling fs layer [2021-10-14T14:46:08.810Z] 5d74067f8e1e: Pulling fs layer [2021-10-14T14:46:08.810Z] e0aca202a116: Pulling fs layer [2021-10-14T14:46:08.810Z] 3a43be97a3b4: Pulling fs layer [2021-10-14T14:46:08.810Z] 34cad66bf833: Pulling fs layer [2021-10-14T14:46:08.810Z] b4e3c513aaa6: Pulling fs layer [2021-10-14T14:46:08.810Z] 4527c011a84f: Waiting [2021-10-14T14:46:08.810Z] 5d74067f8e1e: Waiting [2021-10-14T14:46:08.810Z] e0aca202a116: Waiting [2021-10-14T14:46:08.810Z] 3a43be97a3b4: Waiting [2021-10-14T14:46:08.810Z] 34cad66bf833: Waiting [2021-10-14T14:46:08.810Z] b4e3c513aaa6: Waiting [2021-10-14T14:46:08.810Z] b8b176561691: Verifying Checksum [2021-10-14T14:46:08.810Z] b8b176561691: Download complete [2021-10-14T14:46:08.810Z] 31adcdaf11c8: Verifying Checksum [2021-10-14T14:46:08.810Z] 31adcdaf11c8: Download complete [2021-10-14T14:46:09.079Z] 5d74067f8e1e: Verifying Checksum [2021-10-14T14:46:09.079Z] 5d74067f8e1e: Download complete [2021-10-14T14:46:09.079Z] e0aca202a116: Verifying Checksum [2021-10-14T14:46:09.079Z] e0aca202a116: Download complete [2021-10-14T14:46:09.079Z] a0d0a0d46f8b: Download complete [2021-10-14T14:46:09.079Z] 3a43be97a3b4: Verifying Checksum [2021-10-14T14:46:09.079Z] 3a43be97a3b4: Download complete [2021-10-14T14:46:09.079Z] 34cad66bf833: Verifying Checksum [2021-10-14T14:46:09.079Z] 34cad66bf833: Download complete [2021-10-14T14:46:09.351Z] a0d0a0d46f8b: Pull complete [2021-10-14T14:46:09.622Z] 31adcdaf11c8: Pull complete [2021-10-14T14:46:09.622Z] 4527c011a84f: Verifying Checksum [2021-10-14T14:46:09.622Z] 4527c011a84f: Download complete [2021-10-14T14:46:09.622Z] b8b176561691: Pull complete [2021-10-14T14:46:09.891Z] b4e3c513aaa6: Verifying Checksum [2021-10-14T14:46:09.891Z] b4e3c513aaa6: Download complete [2021-10-14T14:46:14.143Z] 4527c011a84f: Pull complete [2021-10-14T14:46:14.143Z] 5d74067f8e1e: Pull complete [2021-10-14T14:46:14.143Z] e0aca202a116: Pull complete [2021-10-14T14:46:14.143Z] 3a43be97a3b4: Pull complete [2021-10-14T14:46:14.143Z] 34cad66bf833: Pull complete [2021-10-14T14:46:16.709Z] b4e3c513aaa6: Pull complete [2021-10-14T14:46:16.709Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-14T14:46:16.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-14T14:46:16.709Z] ---> 9f6097aaca64 [2021-10-14T14:46:16.709Z] Step 3/10 : ARG MAKE=make build [2021-10-14T14:46:18.630Z] ---> Running in 36d3256b8ea4 [2021-10-14T14:46:18.630Z] Removing intermediate container 36d3256b8ea4 [2021-10-14T14:46:18.630Z] ---> 463b3d4ce926 [2021-10-14T14:46:18.630Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T14:46:18.630Z] ---> Running in a0dcb844bee6 [2021-10-14T14:46:18.630Z] Removing intermediate container a0dcb844bee6 [2021-10-14T14:46:18.630Z] ---> 7cff1e6991db [2021-10-14T14:46:18.630Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T14:46:18.630Z] ---> Running in 0e93df9e0267 [2021-10-14T14:46:18.630Z] Removing intermediate container 0e93df9e0267 [2021-10-14T14:46:18.630Z] ---> 5d5de4ed162d [2021-10-14T14:46:18.630Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T14:46:18.630Z] ---> Running in 46ad2fa1db5c [2021-10-14T14:46:19.199Z] Removing intermediate container 46ad2fa1db5c [2021-10-14T14:46:19.199Z] ---> 6dfcbc4eeb3d [2021-10-14T14:46:19.199Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T14:46:19.199Z] ---> Running in 07859cf3c269 [2021-10-14T14:46:19.461Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T14:46:20.406Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T14:46:20.673Z] OK: 220 MiB in 52 packages [2021-10-14T14:46:20.935Z] Removing intermediate container 07859cf3c269 [2021-10-14T14:46:20.935Z] ---> 874fcfd31139 [2021-10-14T14:46:20.935Z] Step 8/10 : COPY . . [2021-10-14T14:46:21.199Z] ---> 61246832a0b4 [2021-10-14T14:46:21.199Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T14:46:21.199Z] ---> Running in 502cca913811 [2021-10-14T14:46:53.340Z] Removing intermediate container 502cca913811 [2021-10-14T14:46:53.340Z] ---> cd4ad31e8b8a [2021-10-14T14:46:53.340Z] Step 10/10 : RUN ${MAKE} [2021-10-14T14:46:53.340Z] ---> Running in 6a2fa40cb527 [2021-10-14T14:46:53.340Z] noop [2021-10-14T14:46:53.340Z] Removing intermediate container 6a2fa40cb527 [2021-10-14T14:46:53.340Z] ---> 1f58e03dc620 [2021-10-14T14:46:53.340Z] Successfully built 1f58e03dc620 [2021-10-14T14:46:53.340Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:46:53.639Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T14:46:53.639Z] . [Pipeline] withDockerContainer [2021-10-14T14:46:53.711Z] prd-centos7-docker-4c-2g-1437 does not seem to be running inside a container [2021-10-14T14:46:53.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T14:46:54.114Z] $ docker top 9a9286243335e084c2db538a35ffd96f884af3eac1522b5e30f1b9cddd23b3d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T14:46:54.475Z] + go version [2021-10-14T14:46:54.475Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-14T14:46:54.485Z] $ docker stop --time=1 9a9286243335e084c2db538a35ffd96f884af3eac1522b5e30f1b9cddd23b3d8 [2021-10-14T14:46:55.669Z] $ docker rm -f 9a9286243335e084c2db538a35ffd96f884af3eac1522b5e30f1b9cddd23b3d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-10-14T14:46:55.797Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1436 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] // stage [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] ws [2021-10-14T14:46:55.833Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:46:56.072Z] Selected Git installation does not exist. Using Default [2021-10-14T14:46:56.072Z] The recommended git tool is: NONE [2021-10-14T14:46:56.159Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T14:46:56.159Z] . [Pipeline] withDockerContainer [2021-10-14T14:46:56.228Z] prd-centos7-docker-4c-2g-1437 does not seem to be running inside a container [2021-10-14T14:46:56.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T14:46:56.617Z] $ docker top 34ac9fdabf279b7c2957f58f6dbf21bbf4185d55f6257294fff488d4a802d38d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T14:46:56.968Z] + make test [2021-10-14T14:46:56.968Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T14:47:01.807Z] using credential edgex-jenkins-ssh [2021-10-14T14:47:01.823Z] Cloning the remote Git repository [2021-10-14T14:47:01.885Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T14:47:01.990Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-10-14T14:47:02.074Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T14:47:02.075Z] > git --version # timeout=10 [2021-10-14T14:47:02.090Z] > git --version # 'git version 2.17.1' [2021-10-14T14:47:02.092Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T14:47:02.171Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T14:47:02.345Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T14:47:04.607Z] Merging remotes/origin/main commit 65791aa66105356d7211b84a08e8523cbf0bcc17 into PR head commit ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 [2021-10-14T14:47:04.888Z] Merge succeeded, producing 4a3716d57355c6fc108178c300bce47890576814 [2021-10-14T14:47:04.888Z] Checking out Revision 4a3716d57355c6fc108178c300bce47890576814 (PR-1031) [2021-10-14T14:47:03.847Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T14:47:03.864Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T14:47:03.889Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T14:47:03.918Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T14:47:03.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T14:47:03.931Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-14T14:47:04.631Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T14:47:04.652Z] > git checkout -f ca8f408215d3aa33b4c9f70e2fe77f2cb3750385 # timeout=10 [2021-10-14T14:47:04.753Z] > git remote # timeout=10 [2021-10-14T14:47:04.774Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T14:47:04.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T14:47:04.797Z] > git merge 65791aa66105356d7211b84a08e8523cbf0bcc17 # timeout=10 [2021-10-14T14:47:04.878Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T14:47:04.897Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T14:47:04.908Z] > git checkout -f 4a3716d57355c6fc108178c300bce47890576814 # timeout=10 [2021-10-14T14:47:09.225Z] Commit message: "Merge commit '65791aa66105356d7211b84a08e8523cbf0bcc17' into HEAD" [2021-10-14T14:47:09.252Z] First time build. Skipping changelog. [2021-10-14T14:47:09.238Z] > git rev-list --no-walk 67e29f3bab41d361285ad02d6e9943eadf926b06 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T14:47:10.181Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-14T14:47:10.181Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T14:47:10.181Z] Dload Upload Total Spent Left Speed [2021-10-14T14:47:10.181Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 77789 0 --:--:-- --:--:-- --:--:-- 77789 [Pipeline] sh [2021-10-14T14:47:10.647Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-14T14:47:11.076Z] + sudo tee /etc/docker/daemon.new [2021-10-14T14:47:11.076Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-14T14:47:11.076Z] { [2021-10-14T14:47:11.076Z] "registry-mirrors": [ [2021-10-14T14:47:11.076Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-14T14:47:11.076Z] ], [2021-10-14T14:47:11.076Z] "bip": "10.250.0.254/24", [2021-10-14T14:47:11.076Z] "hosts": [ [2021-10-14T14:47:11.076Z] "tcp://0.0.0.0:5555", [2021-10-14T14:47:11.076Z] "unix:///var/run/docker.sock" [2021-10-14T14:47:11.076Z] ], [2021-10-14T14:47:11.076Z] "mtu": 1458, [2021-10-14T14:47:11.076Z] "selinux-enabled": true, [2021-10-14T14:47:11.076Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-14T14:47:11.076Z] } [Pipeline] sh [2021-10-14T14:47:11.485Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-14T14:47:11.850Z] + sudo service docker restart [2021-10-14T14:47:24.421Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T14:47:24.421Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T14:47:24.421Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T14:47:27.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.062s coverage: 23.5% of statements [2021-10-14T14:47:27.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T14:47:27.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.042s coverage: 28.1% of statements [2021-10-14T14:47:27.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements [2021-10-14T14:47:27.283Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.053s coverage: 9.0% of statements [2021-10-14T14:47:27.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T14:47:27.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T14:47:27.283Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T14:47:28.240Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.080s coverage: 28.7% of statements [2021-10-14T14:47:28.240Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T14:47:29.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 83.3% of statements [2021-10-14T14:47:29.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T14:47:29.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T14:47:29.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 57.8% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T14:47:30.296Z] provisioning config files... [2021-10-14T14:47:30.324Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config8708662650940842468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:47:30.604Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.856s coverage: 89.0% of statements [2021-10-14T14:47:30.604Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T14:47:30.604Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.9% of statements [2021-10-14T14:47:30.604Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T14:47:30.604Z] GO111MODULE=on go vet ./... [2021-10-14T14:47:30.700Z] ---> docker-login.sh [2021-10-14T14:47:30.700Z] nexus3.edgexfoundry.org:10001 [2021-10-14T14:47:32.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:47:32.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:47:32.671Z] Configure a credential helper to remove this warning. See [2021-10-14T14:47:32.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:47:32.671Z] [2021-10-14T14:47:32.671Z] Login Succeeded [2021-10-14T14:47:32.671Z] nexus3.edgexfoundry.org:10002 [2021-10-14T14:47:33.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:47:33.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:47:33.285Z] Configure a credential helper to remove this warning. See [2021-10-14T14:47:33.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:47:33.285Z] [2021-10-14T14:47:33.285Z] Login Succeeded [2021-10-14T14:47:33.285Z] nexus3.edgexfoundry.org:10003 [2021-10-14T14:47:33.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:47:33.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:47:33.846Z] Configure a credential helper to remove this warning. See [2021-10-14T14:47:33.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:47:33.846Z] [2021-10-14T14:47:33.846Z] Login Succeeded [2021-10-14T14:47:33.846Z] nexus3.edgexfoundry.org:10004 [2021-10-14T14:47:34.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:47:34.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:47:34.416Z] Configure a credential helper to remove this warning. See [2021-10-14T14:47:34.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:47:34.416Z] [2021-10-14T14:47:34.416Z] Login Succeeded [2021-10-14T14:47:34.416Z] docker.io [2021-10-14T14:47:35.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:47:35.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:47:35.310Z] Configure a credential helper to remove this warning. See [2021-10-14T14:47:35.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:47:35.310Z] [2021-10-14T14:47:35.310Z] Login Succeeded [2021-10-14T14:47:35.310Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T14:47:35.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T14:47:35.882Z] ========================================================= [2021-10-14T14:47:35.882Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-14T14:47:35.882Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:47:36.311Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-14T14:47:36.932Z] Sending build context to Docker daemon 2.682MB [2021-10-14T14:47:36.932Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T14:47:36.932Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T14:47:37.214Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-14T14:47:37.214Z] 552d1f2373af: Pulling fs layer [2021-10-14T14:47:37.214Z] ea3f2d53f512: Pulling fs layer [2021-10-14T14:47:37.214Z] 9e70ebbbe112: Pulling fs layer [2021-10-14T14:47:37.214Z] 7a9cfe048b4a: Pulling fs layer [2021-10-14T14:47:37.214Z] 72dc09318566: Pulling fs layer [2021-10-14T14:47:37.214Z] f4f7b4309257: Pulling fs layer [2021-10-14T14:47:37.214Z] 0ac9a79272e3: Pulling fs layer [2021-10-14T14:47:37.214Z] b78e95d17946: Pulling fs layer [2021-10-14T14:47:37.214Z] f4f7b4309257: Waiting [2021-10-14T14:47:37.214Z] 0ac9a79272e3: Waiting [2021-10-14T14:47:37.214Z] b78e95d17946: Waiting [2021-10-14T14:47:37.214Z] 72dc09318566: Waiting [2021-10-14T14:47:37.214Z] 7a9cfe048b4a: Waiting [2021-10-14T14:47:37.214Z] 9e70ebbbe112: Verifying Checksum [2021-10-14T14:47:37.214Z] 9e70ebbbe112: Download complete [2021-10-14T14:47:37.214Z] ea3f2d53f512: Verifying Checksum [2021-10-14T14:47:37.214Z] ea3f2d53f512: Download complete [2021-10-14T14:47:37.214Z] 72dc09318566: Verifying Checksum [2021-10-14T14:47:37.214Z] 72dc09318566: Download complete [2021-10-14T14:47:37.214Z] f4f7b4309257: Verifying Checksum [2021-10-14T14:47:37.214Z] f4f7b4309257: Download complete [2021-10-14T14:47:37.214Z] 0ac9a79272e3: Verifying Checksum [2021-10-14T14:47:37.214Z] 0ac9a79272e3: Download complete [2021-10-14T14:47:37.214Z] 552d1f2373af: Verifying Checksum [2021-10-14T14:47:37.214Z] 552d1f2373af: Download complete [2021-10-14T14:47:38.229Z] 552d1f2373af: Pull complete [2021-10-14T14:47:38.860Z] ea3f2d53f512: Pull complete [2021-10-14T14:47:39.144Z] 9e70ebbbe112: Pull complete [2021-10-14T14:47:39.421Z] b78e95d17946: Verifying Checksum [2021-10-14T14:47:39.421Z] b78e95d17946: Download complete [2021-10-14T14:47:39.699Z] 7a9cfe048b4a: Verifying Checksum [2021-10-14T14:47:39.699Z] 7a9cfe048b4a: Download complete [2021-10-14T14:47:48.801Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T14:47:48.801Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T14:47:48.801Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T14:47:49.079Z] $ docker stop --time=1 34ac9fdabf279b7c2957f58f6dbf21bbf4185d55f6257294fff488d4a802d38d [2021-10-14T14:47:50.664Z] $ docker rm -f 34ac9fdabf279b7c2957f58f6dbf21bbf4185d55f6257294fff488d4a802d38d [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T14:47:51.136Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T14:47:51.371Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-10-14T14:47:52.220Z] 7a9cfe048b4a: Pull complete [2021-10-14T14:47:52.221Z] 72dc09318566: Pull complete [2021-10-14T14:47:52.221Z] f4f7b4309257: Pull complete [2021-10-14T14:47:52.221Z] 0ac9a79272e3: Pull complete [Pipeline] sh [2021-10-14T14:47:52.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T14:47:53.020Z] + ls -al . [2021-10-14T14:47:53.020Z] total 264 [2021-10-14T14:47:53.020Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 14 14:47 . [2021-10-14T14:47:53.020Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 14 14:46 .. [2021-10-14T14:47:53.020Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 14 14:46 bin [2021-10-14T14:47:53.020Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 14 14:46 CHANGELOG.md [2021-10-14T14:47:53.020Z] -rw-r--r--. 1 jenkins jenkins 126432 Oct 14 14:47 coverage.out [2021-10-14T14:47:53.020Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 14:46 .dockerignore [2021-10-14T14:47:53.020Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 14 14:46 example [2021-10-14T14:47:53.020Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 14:46 .git [2021-10-14T14:47:53.020Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 14 14:46 .github [2021-10-14T14:47:53.020Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 14 14:46 .gitignore [2021-10-14T14:47:53.020Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 14 14:46 go.mod [2021-10-14T14:47:53.020Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 14 14:46 go.sum [2021-10-14T14:47:53.020Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 14:46 GOVERNANCE.md [2021-10-14T14:47:53.020Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 14 14:46 internal [2021-10-14T14:47:53.020Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 14 14:46 Jenkinsfile [2021-10-14T14:47:53.020Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 14:46 LICENSE [2021-10-14T14:47:53.020Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 14 14:46 Makefile [2021-10-14T14:47:53.020Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 14 14:46 openapi [2021-10-14T14:47:53.020Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 14 14:46 OWNERS.md [2021-10-14T14:47:53.020Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 14:46 pkg [2021-10-14T14:47:53.020Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 14 14:46 README.md [2021-10-14T14:47:53.020Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 14:46 snap [2021-10-14T14:47:53.020Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 14:43 VERSION [2021-10-14T14:47:53.020Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 14:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:47:53.319Z] + 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=2eba4b8ad6428a4388836a6830c1822660041a04 --label arch=amd64 --label version=0.0.0 . [2021-10-14T14:47:53.319Z] Sending build context to Docker daemon 2.809MB [2021-10-14T14:47:53.319Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T14:47:53.319Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T14:47:53.319Z] ---> 1f58e03dc620 [2021-10-14T14:47:53.319Z] Step 3/24 : ARG MAKE=make build [2021-10-14T14:47:53.319Z] ---> Running in 034f972be905 [2021-10-14T14:47:53.579Z] Removing intermediate container 034f972be905 [2021-10-14T14:47:53.579Z] ---> 5a9fd9439895 [2021-10-14T14:47:53.579Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T14:47:53.579Z] ---> Running in 3c4f4f884bcd [2021-10-14T14:47:53.579Z] Removing intermediate container 3c4f4f884bcd [2021-10-14T14:47:53.579Z] ---> 0018a214ec1f [2021-10-14T14:47:53.579Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T14:47:53.579Z] ---> Running in 078cc8c5837a [2021-10-14T14:47:53.843Z] Removing intermediate container 078cc8c5837a [2021-10-14T14:47:53.843Z] ---> f709bae9ba86 [2021-10-14T14:47:53.843Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T14:47:53.843Z] ---> Running in cb84df14b940 [2021-10-14T14:47:54.418Z] Removing intermediate container cb84df14b940 [2021-10-14T14:47:54.418Z] ---> 0e938f8744e0 [2021-10-14T14:47:54.418Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T14:47:54.418Z] ---> Running in 03d6e94f14c6 [2021-10-14T14:47:54.680Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T14:47:55.624Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T14:47:55.888Z] OK: 220 MiB in 52 packages [2021-10-14T14:47:56.151Z] Removing intermediate container 03d6e94f14c6 [2021-10-14T14:47:56.151Z] ---> 2296175aa3e7 [2021-10-14T14:47:56.151Z] Step 8/24 : COPY . . [2021-10-14T14:47:56.419Z] ---> 4efcab60a680 [2021-10-14T14:47:56.419Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T14:47:56.419Z] ---> Running in 0834fb3b6b79 [2021-10-14T14:47:56.997Z] Removing intermediate container 0834fb3b6b79 [2021-10-14T14:47:56.997Z] ---> 87d63a92c44a [2021-10-14T14:47:56.997Z] Step 10/24 : RUN ${MAKE} [2021-10-14T14:47:56.997Z] ---> Running in 2f36fa980857 [2021-10-14T14:47:57.259Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-14T14:47:59.011Z] b78e95d17946: Pull complete [2021-10-14T14:47:59.011Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-14T14:47:59.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-14T14:47:59.011Z] ---> 8b459fc5aaf0 [2021-10-14T14:47:59.011Z] Step 3/10 : ARG MAKE=make build [2021-10-14T14:48:00.466Z] ---> Running in f04a5921034e [2021-10-14T14:48:00.740Z] Removing intermediate container f04a5921034e [2021-10-14T14:48:00.740Z] ---> fdda894b45e6 [2021-10-14T14:48:00.740Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T14:48:01.015Z] ---> Running in 33a49ddd97e4 [2021-10-14T14:48:01.293Z] Removing intermediate container 33a49ddd97e4 [2021-10-14T14:48:01.293Z] ---> 6d69c0fb0999 [2021-10-14T14:48:01.293Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T14:48:01.573Z] ---> Running in 11f16077665c [2021-10-14T14:48:02.175Z] Removing intermediate container 11f16077665c [2021-10-14T14:48:02.175Z] ---> 3661cd9a9f95 [2021-10-14T14:48:02.175Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T14:48:02.175Z] ---> Running in e1b1a7772031 [2021-10-14T14:48:04.832Z] Removing intermediate container e1b1a7772031 [2021-10-14T14:48:04.832Z] ---> bbef51ed9a83 [2021-10-14T14:48:04.832Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T14:48:04.832Z] ---> Running in 4449f9ce6122 [2021-10-14T14:48:05.845Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T14:48:06.837Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T14:48:07.822Z] OK: 219 MiB in 52 packages [2021-10-14T14:48:08.818Z] Removing intermediate container 4449f9ce6122 [2021-10-14T14:48:08.818Z] ---> 7b0040ef6e98 [2021-10-14T14:48:08.818Z] Step 8/10 : COPY . . [2021-10-14T14:48:09.602Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T14:48:09.602Z] Removing intermediate container 2f36fa980857 [2021-10-14T14:48:09.602Z] ---> 547c03b82879 [2021-10-14T14:48:09.602Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T14:48:09.863Z] 3.14: Pulling from library/alpine [2021-10-14T14:48:09.863Z] a0d0a0d46f8b: Already exists [2021-10-14T14:48:10.128Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T14:48:10.128Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T14:48:10.128Z] ---> 14119a10abf4 [2021-10-14T14:48:10.128Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T14:48:10.128Z] ---> Running in 0a7f5665b1f6 [2021-10-14T14:48:10.128Z] Removing intermediate container 0a7f5665b1f6 [2021-10-14T14:48:10.128Z] ---> d7a70aabc7a8 [2021-10-14T14:48:10.128Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T14:48:10.277Z] ---> 47da367b8464 [2021-10-14T14:48:10.278Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T14:48:10.278Z] ---> Running in fd167d0679a1 [2021-10-14T14:48:10.392Z] ---> Running in b9878cd54815 [2021-10-14T14:48:10.654Z] Removing intermediate container b9878cd54815 [2021-10-14T14:48:10.654Z] ---> 4b244d280819 [2021-10-14T14:48:10.654Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T14:48:10.654Z] ---> Running in c4c127ad5615 [2021-10-14T14:48:10.914Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T14:48:11.856Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T14:48:12.115Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T14:48:12.375Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T14:48:12.375Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T14:48:12.375Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T14:48:12.639Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T14:48:12.639Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T14:48:12.639Z] OK: 8 MiB in 19 packages [2021-10-14T14:48:12.900Z] Removing intermediate container c4c127ad5615 [2021-10-14T14:48:12.900Z] ---> 041bc1c28715 [2021-10-14T14:48:12.900Z] Step 15/24 : WORKDIR / [2021-10-14T14:48:12.900Z] ---> Running in d88fe2dbc3fd [2021-10-14T14:48:13.163Z] Removing intermediate container d88fe2dbc3fd [2021-10-14T14:48:13.163Z] ---> ebcff36a0a13 [2021-10-14T14:48:13.163Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T14:48:13.163Z] ---> 80eeefe7ebc0 [2021-10-14T14:48:13.163Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T14:48:13.735Z] ---> 26a751a89bef [2021-10-14T14:48:13.735Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T14:48:13.735Z] ---> 95624cf340fe [2021-10-14T14:48:13.735Z] Step 19/24 : EXPOSE 59999 [2021-10-14T14:48:13.735Z] ---> Running in 784622cefb5d [2021-10-14T14:48:13.735Z] Removing intermediate container 784622cefb5d [2021-10-14T14:48:13.735Z] ---> 1cc8c5e906d7 [2021-10-14T14:48:13.735Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T14:48:13.998Z] ---> Running in 78c6cae6153d [2021-10-14T14:48:13.998Z] Removing intermediate container 78c6cae6153d [2021-10-14T14:48:13.998Z] ---> 28165466b381 [2021-10-14T14:48:13.999Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T14:48:13.999Z] ---> Running in f0344c8d1656 [2021-10-14T14:48:13.999Z] Removing intermediate container f0344c8d1656 [2021-10-14T14:48:13.999Z] ---> a9dca014078f [2021-10-14T14:48:13.999Z] Step 22/24 : LABEL arch=amd64 [2021-10-14T14:48:13.999Z] ---> Running in e4467571a6cb [2021-10-14T14:48:14.261Z] Removing intermediate container e4467571a6cb [2021-10-14T14:48:14.261Z] ---> eb97f0ae4f9c [2021-10-14T14:48:14.261Z] Step 23/24 : LABEL git_sha=2eba4b8ad6428a4388836a6830c1822660041a04 [2021-10-14T14:48:14.261Z] ---> Running in cacf8b61b121 [2021-10-14T14:48:14.261Z] Removing intermediate container cacf8b61b121 [2021-10-14T14:48:14.261Z] ---> 5b4bdde5ce1e [2021-10-14T14:48:14.261Z] Step 24/24 : LABEL version=0.0.0 [2021-10-14T14:48:14.261Z] ---> Running in e70a80448d71 [2021-10-14T14:48:14.261Z] Removing intermediate container e70a80448d71 [2021-10-14T14:48:14.261Z] ---> c8a8d68ab304 [2021-10-14T14:48:14.261Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T14:48:14.261Z] Successfully built c8a8d68ab304 [2021-10-14T14:48:14.261Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:48:14.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T14:48:14.875Z] [2021-10-14T14:48:14.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:48:15.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T14:48:15.180Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T14:48:15.180Z] b4d181a07f80: Pulling fs layer [2021-10-14T14:48:15.180Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T14:48:15.180Z] ed53099fbce6: Pulling fs layer [2021-10-14T14:48:15.180Z] dc539afda2c1: Pulling fs layer [2021-10-14T14:48:15.180Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T14:48:15.180Z] 9065ff56babe: Pulling fs layer [2021-10-14T14:48:15.180Z] d287ab97295c: Pulling fs layer [2021-10-14T14:48:15.180Z] dc539afda2c1: Waiting [2021-10-14T14:48:15.180Z] 77bc0d833cb6: Waiting [2021-10-14T14:48:15.180Z] 9065ff56babe: Waiting [2021-10-14T14:48:15.180Z] d287ab97295c: Waiting [2021-10-14T14:48:15.180Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T14:48:15.180Z] a1111a8f2ec3: Download complete [2021-10-14T14:48:15.180Z] dc539afda2c1: Verifying Checksum [2021-10-14T14:48:15.180Z] dc539afda2c1: Download complete [2021-10-14T14:48:15.450Z] ed53099fbce6: Verifying Checksum [2021-10-14T14:48:15.450Z] ed53099fbce6: Download complete [2021-10-14T14:48:15.450Z] 9065ff56babe: Verifying Checksum [2021-10-14T14:48:15.450Z] 9065ff56babe: Download complete [2021-10-14T14:48:15.450Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T14:48:15.450Z] 77bc0d833cb6: Download complete [2021-10-14T14:48:15.450Z] b4d181a07f80: Verifying Checksum [2021-10-14T14:48:15.450Z] b4d181a07f80: Download complete [2021-10-14T14:48:16.041Z] d287ab97295c: Verifying Checksum [2021-10-14T14:48:16.041Z] d287ab97295c: Download complete [2021-10-14T14:48:16.995Z] b4d181a07f80: Pull complete [2021-10-14T14:48:16.995Z] a1111a8f2ec3: Pull complete [2021-10-14T14:48:17.576Z] ed53099fbce6: Pull complete [2021-10-14T14:48:17.576Z] dc539afda2c1: Pull complete [2021-10-14T14:48:17.838Z] 77bc0d833cb6: Pull complete [2021-10-14T14:48:18.109Z] 9065ff56babe: Pull complete [2021-10-14T14:48:23.452Z] d287ab97295c: Pull complete [2021-10-14T14:48:23.452Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T14:48:23.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T14:48:23.452Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T14:48:23.529Z] prd-centos7-docker-4c-2g-1437 does not seem to be running inside a container [2021-10-14T14:48:23.571Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T14:48:25.978Z] $ docker top afdbb4ffc31d9c6ec05b4e63df011feffec8dba77e298361817364ca805d3225 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:48:26.422Z] ---> job-cost.sh [2021-10-14T14:48:26.422Z] lf-activate-venv: SKIPPING [2021-10-14T14:48:26.422Z] INFO: No Stack... [2021-10-14T14:48:26.682Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T14:48:26.943Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T14:48:27.249Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-10-14T14:48:27.250Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T14:48:27.286Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-5-stack-cost] [2021-10-14T14:48:27.292Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-5-stack-cost] did not exist. Created. [2021-10-14T14:48:27.292Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T14:48:27.610Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-14T14:48:27.649Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T14:48:27.657Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T14:48:27.673Z] $ docker stop --time=1 afdbb4ffc31d9c6ec05b4e63df011feffec8dba77e298361817364ca805d3225 [2021-10-14T14:48:28.816Z] $ docker rm -f afdbb4ffc31d9c6ec05b4e63df011feffec8dba77e298361817364ca805d3225 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-14T14:49:47.222Z] Removing intermediate container fd167d0679a1 [2021-10-14T14:49:47.222Z] ---> 3308d053631e [2021-10-14T14:49:47.222Z] Step 10/10 : RUN ${MAKE} [2021-10-14T14:49:47.222Z] ---> Running in 88d5a38b19ee [2021-10-14T14:49:47.222Z] noop [2021-10-14T14:49:47.222Z] Removing intermediate container 88d5a38b19ee [2021-10-14T14:49:47.222Z] ---> d752bd9b5331 [2021-10-14T14:49:47.222Z] Successfully built d752bd9b5331 [2021-10-14T14:49:47.222Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:49:47.589Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T14:49:47.589Z] . [Pipeline] withDockerContainer [2021-10-14T14:49:47.872Z] prd-ubuntu18.04-docker-arm64-4c-16g-1436 does not seem to be running inside a container [2021-10-14T14:49:47.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-14T14:49:49.679Z] $ docker top 6309d7177cfee4c13a934857719690a380bdb35c0c85693ab8145322834504e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T14:49:50.687Z] + go version [2021-10-14T14:49:50.687Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-14T14:49:50.720Z] $ docker stop --time=1 6309d7177cfee4c13a934857719690a380bdb35c0c85693ab8145322834504e6 [2021-10-14T14:49:52.581Z] $ docker rm -f 6309d7177cfee4c13a934857719690a380bdb35c0c85693ab8145322834504e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:49:53.379Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T14:49:53.379Z] . [Pipeline] withDockerContainer [2021-10-14T14:49:53.656Z] prd-ubuntu18.04-docker-arm64-4c-16g-1436 does not seem to be running inside a container [2021-10-14T14:49:53.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-14T14:49:55.414Z] $ docker top 8407ffefb03db25d37a93c58e8983f37ee460b96021e5ef17b6c3c618b728b79 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T14:49:56.408Z] + make test [2021-10-14T14:49:56.408Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T14:50:18.730Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T14:51:26.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T14:51:26.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T14:51:26.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T14:51:33.725Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.425s coverage: 23.5% of statements [2021-10-14T14:51:33.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T14:51:33.725Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.236s coverage: 28.1% of statements [2021-10-14T14:51:33.725Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.269s coverage: 78.9% of statements [2021-10-14T14:51:33.725Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.232s coverage: 9.0% of statements [2021-10-14T14:51:33.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T14:51:33.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T14:51:33.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T14:51:33.725Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.380s coverage: 28.7% of statements [2021-10-14T14:51:33.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T14:51:36.390Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.321s coverage: 83.3% of statements [2021-10-14T14:51:36.390Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T14:51:36.390Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T14:51:36.390Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.437s coverage: 57.8% of statements [2021-10-14T14:51:37.855Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.020s coverage: 89.0% of statements [2021-10-14T14:51:37.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T14:51:37.855Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.201s coverage: 4.9% of statements [2021-10-14T14:51:37.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T14:51:38.465Z] GO111MODULE=on go vet ./... [2021-10-14T14:52:35.228Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T14:52:35.228Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T14:52:35.228Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T14:52:35.270Z] $ docker stop --time=1 8407ffefb03db25d37a93c58e8983f37ee460b96021e5ef17b6c3c618b728b79 [2021-10-14T14:52:37.437Z] $ docker rm -f 8407ffefb03db25d37a93c58e8983f37ee460b96021e5ef17b6c3c618b728b79 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T14:52:38.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T14:52:38.642Z] Warning: overwriting stash ‘coverage-report’ [2021-10-14T14:52:39.597Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T14:52:40.147Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T14:52:40.501Z] + ls -al . [2021-10-14T14:52:40.501Z] total 300 [2021-10-14T14:52:40.501Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 14:52 . [2021-10-14T14:52:40.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 14:47 .. [2021-10-14T14:52:40.501Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 14:47 .dockerignore [2021-10-14T14:52:40.501Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 14:47 .git [2021-10-14T14:52:40.501Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 14:47 .github [2021-10-14T14:52:40.501Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 14 14:47 .gitignore [2021-10-14T14:52:40.501Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 14 14:47 CHANGELOG.md [2021-10-14T14:52:40.501Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 14:47 GOVERNANCE.md [2021-10-14T14:52:40.501Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 14 14:47 Jenkinsfile [2021-10-14T14:52:40.501Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 14:47 LICENSE [2021-10-14T14:52:40.501Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 14 14:47 Makefile [2021-10-14T14:52:40.501Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 14 14:47 OWNERS.md [2021-10-14T14:52:40.501Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 14 14:47 README.md [2021-10-14T14:52:40.501Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 14:43 VERSION [2021-10-14T14:52:40.501Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 14:47 bin [2021-10-14T14:52:40.501Z] -rw-r--r-- 1 jenkins jenkins 126432 Oct 14 14:51 coverage.out [2021-10-14T14:52:40.501Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 14:47 example [2021-10-14T14:52:40.501Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 14 14:47 go.mod [2021-10-14T14:52:40.501Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 14 14:47 go.sum [2021-10-14T14:52:40.501Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 14:47 internal [2021-10-14T14:52:40.501Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 14:47 openapi [2021-10-14T14:52:40.501Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 14:47 pkg [2021-10-14T14:52:40.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 14:47 snap [2021-10-14T14:52:40.501Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 14:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:52:40.862Z] + 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=4a3716d57355c6fc108178c300bce47890576814 --label arch=arm64 --label version=0.0.0 . [2021-10-14T14:52:41.470Z] Sending build context to Docker daemon 2.809MB [2021-10-14T14:52:41.470Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T14:52:41.470Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T14:52:41.470Z] ---> d752bd9b5331 [2021-10-14T14:52:41.470Z] Step 3/24 : ARG MAKE=make build [2021-10-14T14:52:41.470Z] ---> Running in 3324c2020e8b [2021-10-14T14:52:42.075Z] Removing intermediate container 3324c2020e8b [2021-10-14T14:52:42.075Z] ---> cd76f77eb9cb [2021-10-14T14:52:42.075Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T14:52:42.075Z] ---> Running in 44aa56df7489 [2021-10-14T14:52:42.682Z] Removing intermediate container 44aa56df7489 [2021-10-14T14:52:42.682Z] ---> d4b8adc6cfbd [2021-10-14T14:52:42.682Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T14:52:42.961Z] ---> Running in 42af9d8d628d [2021-10-14T14:52:43.240Z] Removing intermediate container 42af9d8d628d [2021-10-14T14:52:43.240Z] ---> 04b004039d12 [2021-10-14T14:52:43.241Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T14:52:43.518Z] ---> Running in c16340d1b48d [2021-10-14T14:52:45.516Z] Removing intermediate container c16340d1b48d [2021-10-14T14:52:45.516Z] ---> 9cfeb6e2779a [2021-10-14T14:52:45.516Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T14:52:45.795Z] ---> Running in 686c8457ce85 [2021-10-14T14:52:46.791Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T14:52:47.786Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T14:52:48.784Z] OK: 219 MiB in 52 packages [2021-10-14T14:52:49.779Z] Removing intermediate container 686c8457ce85 [2021-10-14T14:52:49.779Z] ---> c09a7e5bb89c [2021-10-14T14:52:49.779Z] Step 8/24 : COPY . . [2021-10-14T14:52:50.774Z] ---> 64480fba213b [2021-10-14T14:52:50.774Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T14:52:51.052Z] ---> Running in f4923e3f790f [2021-10-14T14:52:53.717Z] Removing intermediate container f4923e3f790f [2021-10-14T14:52:53.717Z] ---> bf4353452e82 [2021-10-14T14:52:53.717Z] Step 10/24 : RUN ${MAKE} [2021-10-14T14:52:53.717Z] ---> Running in fcdec276c785 [2021-10-14T14:52:54.714Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-14T14:53:27.157Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T14:53:29.800Z] Removing intermediate container fcdec276c785 [2021-10-14T14:53:29.800Z] ---> 2672c927744e [2021-10-14T14:53:29.800Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T14:53:30.784Z] 3.14: Pulling from library/alpine [2021-10-14T14:53:30.784Z] 552d1f2373af: Already exists [2021-10-14T14:53:31.059Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T14:53:31.059Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T14:53:31.059Z] ---> bb3de5531c18 [2021-10-14T14:53:31.059Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T14:53:31.337Z] ---> Running in 3864e9d01c24 [2021-10-14T14:53:31.610Z] Removing intermediate container 3864e9d01c24 [2021-10-14T14:53:31.610Z] ---> 133b8a8531ad [2021-10-14T14:53:31.611Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T14:53:31.896Z] ---> Running in 03545dfb902c [2021-10-14T14:53:33.908Z] Removing intermediate container 03545dfb902c [2021-10-14T14:53:33.908Z] ---> 0a7246716d81 [2021-10-14T14:53:33.908Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T14:53:33.908Z] ---> Running in f53d8e1d85a8 [2021-10-14T14:53:34.903Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T14:53:36.349Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T14:53:36.951Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T14:53:36.951Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T14:53:37.227Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T14:53:37.227Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T14:53:37.504Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T14:53:37.504Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T14:53:37.504Z] OK: 8 MiB in 19 packages [2021-10-14T14:53:38.964Z] Removing intermediate container f53d8e1d85a8 [2021-10-14T14:53:38.964Z] ---> f42c9342ab05 [2021-10-14T14:53:38.964Z] Step 15/24 : WORKDIR / [2021-10-14T14:53:38.964Z] ---> Running in f0f4bfa94272 [2021-10-14T14:53:39.571Z] Removing intermediate container f0f4bfa94272 [2021-10-14T14:53:39.571Z] ---> 646839d6aa8c [2021-10-14T14:53:39.571Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T14:53:40.177Z] ---> ff85d75213b3 [2021-10-14T14:53:40.177Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T14:53:41.632Z] ---> 28b06905f777 [2021-10-14T14:53:41.632Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T14:53:42.240Z] ---> 88b6c198fd6d [2021-10-14T14:53:42.240Z] Step 19/24 : EXPOSE 59999 [2021-10-14T14:53:42.519Z] ---> Running in 5749255a3027 [2021-10-14T14:53:43.130Z] Removing intermediate container 5749255a3027 [2021-10-14T14:53:43.130Z] ---> bcdce836516f [2021-10-14T14:53:43.130Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T14:53:43.130Z] ---> Running in f9deed915b4a [2021-10-14T14:53:43.742Z] Removing intermediate container f9deed915b4a [2021-10-14T14:53:43.742Z] ---> 8c4f1479c39a [2021-10-14T14:53:43.742Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T14:53:43.742Z] ---> Running in 2894d0bd59a4 [2021-10-14T14:53:44.349Z] Removing intermediate container 2894d0bd59a4 [2021-10-14T14:53:44.349Z] ---> 72ac8aa144d9 [2021-10-14T14:53:44.349Z] Step 22/24 : LABEL arch=arm64 [2021-10-14T14:53:44.349Z] ---> Running in 90fc7efd2981 [2021-10-14T14:53:44.955Z] Removing intermediate container 90fc7efd2981 [2021-10-14T14:53:44.955Z] ---> e4d1ff13b40a [2021-10-14T14:53:44.955Z] Step 23/24 : LABEL git_sha=4a3716d57355c6fc108178c300bce47890576814 [2021-10-14T14:53:44.955Z] ---> Running in 662c808f9d90 [2021-10-14T14:53:45.562Z] Removing intermediate container 662c808f9d90 [2021-10-14T14:53:45.562Z] ---> 585079a5f071 [2021-10-14T14:53:45.562Z] Step 24/24 : LABEL version=0.0.0 [2021-10-14T14:53:45.562Z] ---> Running in 534fd7a37255 [2021-10-14T14:53:46.168Z] Removing intermediate container 534fd7a37255 [2021-10-14T14:53:46.168Z] ---> 52ff11335a41 [2021-10-14T14:53:46.168Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T14:53:46.168Z] Successfully built 52ff11335a41 [2021-10-14T14:53:46.168Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:53:46.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T14:53:47.046Z] [2021-10-14T14:53:47.046Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:53:47.406Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T14:53:47.685Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-14T14:53:47.685Z] 448f6bf000e3: Pulling fs layer [2021-10-14T14:53:47.685Z] f757da607395: Pulling fs layer [2021-10-14T14:53:47.685Z] 05883995daec: Pulling fs layer [2021-10-14T14:53:47.685Z] 8603b9c90790: Pulling fs layer [2021-10-14T14:53:47.685Z] 1560dd03e051: Pulling fs layer [2021-10-14T14:53:47.685Z] 27f5ce0e4adf: Pulling fs layer [2021-10-14T14:53:47.685Z] c2d8d7efcc4b: Pulling fs layer [2021-10-14T14:53:47.685Z] 27f5ce0e4adf: Waiting [2021-10-14T14:53:47.685Z] c2d8d7efcc4b: Waiting [2021-10-14T14:53:47.685Z] 1560dd03e051: Waiting [2021-10-14T14:53:47.685Z] 8603b9c90790: Waiting [2021-10-14T14:53:47.685Z] f757da607395: Verifying Checksum [2021-10-14T14:53:47.685Z] f757da607395: Download complete [2021-10-14T14:53:47.964Z] 8603b9c90790: Verifying Checksum [2021-10-14T14:53:47.964Z] 8603b9c90790: Download complete [2021-10-14T14:53:47.964Z] 1560dd03e051: Verifying Checksum [2021-10-14T14:53:47.964Z] 1560dd03e051: Download complete [2021-10-14T14:53:47.964Z] 27f5ce0e4adf: Download complete [2021-10-14T14:53:47.964Z] 05883995daec: Verifying Checksum [2021-10-14T14:53:47.964Z] 05883995daec: Download complete [2021-10-14T14:53:48.240Z] 448f6bf000e3: Verifying Checksum [2021-10-14T14:53:48.240Z] 448f6bf000e3: Download complete [2021-10-14T14:53:50.886Z] c2d8d7efcc4b: Verifying Checksum [2021-10-14T14:53:50.886Z] c2d8d7efcc4b: Download complete [2021-10-14T14:53:51.881Z] 448f6bf000e3: Pull complete [2021-10-14T14:53:52.487Z] f757da607395: Pull complete [2021-10-14T14:53:54.049Z] 05883995daec: Pull complete [2021-10-14T14:53:54.670Z] 8603b9c90790: Pull complete [2021-10-14T14:53:55.667Z] 1560dd03e051: Pull complete [2021-10-14T14:53:55.946Z] 27f5ce0e4adf: Pull complete [2021-10-14T14:54:11.125Z] c2d8d7efcc4b: Pull complete [2021-10-14T14:54:11.125Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-14T14:54:11.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T14:54:11.125Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-14T14:54:11.408Z] prd-ubuntu18.04-docker-arm64-4c-16g-1436 does not seem to be running inside a container [2021-10-14T14:54:11.525Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-14T14:54:15.492Z] $ docker top 90d49dfbaac2124ea82e992a1211220a2e8cb6945ab5976132ca2d2e7f914379 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:54:16.489Z] ---> job-cost.sh [2021-10-14T14:54:16.489Z] lf-activate-venv: SKIPPING [2021-10-14T14:54:16.489Z] INFO: No Stack... [2021-10-14T14:54:28.914Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-14T14:54:29.517Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T14:54:30.201Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-10-14T14:54:30.201Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T14:54:30.273Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-5-stack-cost] [2021-10-14T14:54:30.280Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-5-stack-cost] did not exist. Created. [2021-10-14T14:54:30.280Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T14:54:30.976Z] /w/workspace/device-sdk-go/5@tmp/durable-68865d3a/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-68865d3a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-14T14:54:31.662Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-14T14:54:31.689Z] Warning: overwriting stash ‘stack-cost’ [2021-10-14T14:54:31.750Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T14:54:31.759Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-5-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T14:54:31.781Z] $ docker stop --time=1 90d49dfbaac2124ea82e992a1211220a2e8cb6945ab5976132ca2d2e7f914379 [2021-10-14T14:54:33.447Z] $ docker rm -f 90d49dfbaac2124ea82e992a1211220a2e8cb6945ab5976132ca2d2e7f914379 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-14T14:54:34.120Z] provisioning config files... [2021-10-14T14:54:34.128Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config9092731141274665966tmp [Pipeline] { [Pipeline] sh [2021-10-14T14:54:34.438Z] + set +x [2021-10-14T14:54:34.438Z] + curl -s https://codecov.io/bash [2021-10-14T14:54:34.438Z] + bash -s -- [2021-10-14T14:54:34.438Z] [2021-10-14T14:54:34.438Z] _____ _ [2021-10-14T14:54:34.438Z] / ____| | | [2021-10-14T14:54:34.438Z] | | ___ __| | ___ ___ _____ __ [2021-10-14T14:54:34.438Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-14T14:54:34.438Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-14T14:54:34.438Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-14T14:54:34.438Z] Bash-1.0.6 [2021-10-14T14:54:34.438Z] [2021-10-14T14:54:34.438Z] [2021-10-14T14:54:34.438Z] ==> git version 2.24.4 found [2021-10-14T14:54:34.438Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-14T14:54:34.438Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-14T14:54:34.438Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-14T14:54:34.438Z] ==> Jenkins CI detected. [2021-10-14T14:54:34.438Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-14T14:54:34.438Z] project root: . [2021-10-14T14:54:34.438Z] --> token set from env [2021-10-14T14:54:34.438Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-14T14:54:34.699Z] ==> Running gcov in . (disable via -X gcov) [2021-10-14T14:54:34.699Z] ==> Python coveragepy not found [2021-10-14T14:54:34.699Z] ==> Searching for coverage reports in: [2021-10-14T14:54:34.699Z] + . [2021-10-14T14:54:34.699Z] -> Found 1 reports [2021-10-14T14:54:34.699Z] ==> Detecting git/mercurial file structure [2021-10-14T14:54:34.699Z] ==> Reading reports [2021-10-14T14:54:34.699Z] + ./coverage.out bytes=126432 [2021-10-14T14:54:34.699Z] ==> Appending adjustments [2021-10-14T14:54:34.699Z] https://docs.codecov.io/docs/fixing-reports [2021-10-14T14:54:34.960Z] + Found adjustments [2021-10-14T14:54:34.960Z] ==> Gzipping contents [2021-10-14T14:54:34.960Z] 16K /tmp/codecov.0AEcG6.gz [2021-10-14T14:54:34.960Z] ==> Uploading reports [2021-10-14T14:54:34.960Z] url: https://codecov.io [2021-10-14T14:54:34.960Z] query: branch=PR-1031&commit=1617e4c80875676849a8f0e87c23909d6d40c20a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= [2021-10-14T14:54:34.960Z] -> Pinging Codecov [2021-10-14T14:54:34.960Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1031&commit=1617e4c80875676849a8f0e87c23909d6d40c20a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= [2021-10-14T14:54:35.221Z] -> Uploading to [2021-10-14T14:54:35.221Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-14/7E55EF52A471D76F132DFD9A03CDDE97/1617e4c80875676849a8f0e87c23909d6d40c20a/43b4ae3c-9a9d-40cd-8aa7-d8bd6bdd01b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T145435Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ba66b03e64570d58223f2213351d0644039592f9311468288392e6eba6cfe6e [2021-10-14T14:54:35.221Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T14:54:35.221Z] Dload Upload Total Spent Left Speed [2021-10-14T14:54:35.482Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16094 0 0 100 16094 0 47756 --:--:-- --:--:-- --:--:-- 47756 100 16094 0 0 100 16094 0 47741 --:--:-- --:--:-- --:--:-- 47615 [2021-10-14T14:54:35.482Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1617e4c80875676849a8f0e87c23909d6d40c20a [Pipeline] } [2021-10-14T14:54:35.490Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-14T14:54:36.807Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:54:37.106Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:54:37.664Z] ---> package-listing.sh [2021-10-14T14:54:37.664Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-14T14:54:37.664Z] ++ facter osfamily [2021-10-14T14:54:37.926Z] + OS_FAMILY=redhat [2021-10-14T14:54:37.926Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-14T14:54:37.926Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-14T14:54:37.926Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-14T14:54:37.926Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-14T14:54:37.926Z] + PACKAGES=/tmp/packages_start.txt [2021-10-14T14:54:37.926Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' [2021-10-14T14:54:37.926Z] + PACKAGES=/tmp/packages_end.txt [2021-10-14T14:54:37.926Z] + case "${OS_FAMILY}" in [2021-10-14T14:54:37.926Z] + rpm -qa [2021-10-14T14:54:37.926Z] + sort [2021-10-14T14:54:38.504Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-14T14:54:38.504Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-14T14:54:38.504Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-14T14:54:38.504Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' [2021-10-14T14:54:38.504Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives/ [2021-10-14T14:54:38.504Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives/ [Pipeline] echo [2021-10-14T14:54:38.515Z] 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-1031/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-14T14:54:38.800Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:54:39.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T14:54:39.362Z] [2021-10-14T14:54:39.362Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:54:39.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T14:54:39.666Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T14:54:39.666Z] b4d181a07f80: Pulling fs layer [2021-10-14T14:54:39.666Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T14:54:39.666Z] ed53099fbce6: Pulling fs layer [2021-10-14T14:54:39.666Z] dc539afda2c1: Pulling fs layer [2021-10-14T14:54:39.666Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T14:54:39.666Z] 9065ff56babe: Pulling fs layer [2021-10-14T14:54:39.666Z] d287ab97295c: Pulling fs layer [2021-10-14T14:54:39.666Z] dc539afda2c1: Waiting [2021-10-14T14:54:39.666Z] 77bc0d833cb6: Waiting [2021-10-14T14:54:39.666Z] 9065ff56babe: Waiting [2021-10-14T14:54:39.666Z] d287ab97295c: Waiting [2021-10-14T14:54:39.666Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T14:54:39.666Z] a1111a8f2ec3: Download complete [2021-10-14T14:54:39.666Z] dc539afda2c1: Verifying Checksum [2021-10-14T14:54:39.666Z] dc539afda2c1: Download complete [2021-10-14T14:54:39.925Z] ed53099fbce6: Verifying Checksum [2021-10-14T14:54:39.925Z] ed53099fbce6: Download complete [2021-10-14T14:54:39.925Z] 9065ff56babe: Verifying Checksum [2021-10-14T14:54:39.925Z] 9065ff56babe: Download complete [2021-10-14T14:54:39.925Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T14:54:39.925Z] 77bc0d833cb6: Download complete [2021-10-14T14:54:39.925Z] b4d181a07f80: Verifying Checksum [2021-10-14T14:54:39.925Z] b4d181a07f80: Download complete [2021-10-14T14:54:40.523Z] d287ab97295c: Verifying Checksum [2021-10-14T14:54:40.523Z] d287ab97295c: Download complete [2021-10-14T14:54:41.474Z] b4d181a07f80: Pull complete [2021-10-14T14:54:41.474Z] a1111a8f2ec3: Pull complete [2021-10-14T14:54:42.045Z] ed53099fbce6: Pull complete [2021-10-14T14:54:42.045Z] dc539afda2c1: Pull complete [2021-10-14T14:54:42.306Z] 77bc0d833cb6: Pull complete [2021-10-14T14:54:42.306Z] 9065ff56babe: Pull complete [2021-10-14T14:54:47.663Z] d287ab97295c: Pull complete [2021-10-14T14:54:47.663Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T14:54:47.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T14:54:47.663Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T14:54:47.728Z] prd-centos7-docker-4c-2g-1434 does not seem to be running inside a container [2021-10-14T14:54:47.761Z] $ 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-1031/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-1031 -v /w/workspace/gexfoundry_device-sdk-go_PR-1031:/w/workspace/gexfoundry_device-sdk-go_PR-1031:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1031@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-10-14T14:54:50.036Z] $ docker top 0473878bf102182010119c44fbc925dc8cfc85e85a0436730373dfa6f69bfbee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T14:54:50.395Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-14T14:54:50.687Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-14T14:54:50.980Z] + ls /var/log/sa-host [2021-10-14T14:54:50.980Z] + sadf -c /var/log/sa-host/sa14 [2021-10-14T14:54:50.980Z] file_magic: OK [2021-10-14T14:54:50.980Z] HZ: Using current value: 100 [2021-10-14T14:54:50.980Z] file_header: OK [2021-10-14T14:54:50.980Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-14T14:54:50.980Z] Statistics: [2021-10-14T14:54:50.980Z] 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-10-14T14:54:50.980Z] File successfully converted to sysstat format version 12.0.3 [2021-10-14T14:54:50.980Z] + sadf -c /var/log/sa-host/sa30 [2021-10-14T14:54:50.980Z] file_magic: OK [2021-10-14T14:54:50.980Z] HZ: Using current value: 100 [2021-10-14T14:54:50.980Z] file_header: OK [2021-10-14T14:54:50.980Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-14T14:54:50.980Z] Statistics: [2021-10-14T14:54:50.980Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T14:54:50.980Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T14:54:51.252Z] provisioning config files... [2021-10-14T14:54:51.261Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config2911076791777333730tmp [Pipeline] { [Pipeline] echo [2021-10-14T14:54:51.275Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:54:51.572Z] ---> create-netrc.sh [Pipeline] } [2021-10-14T14:54:51.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:54:51.922Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-14T14:54:51.935Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:54:52.228Z] ---> sudo-logs.sh [2021-10-14T14:54:52.228Z] Archiving 'sudo' log.. [2021-10-14T14:54:52.228Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1434.novalocal: Name or service not known [2021-10-14T14:54:52.228Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1434.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-14T14:54:52.247Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:54:52.532Z] ---> job-cost.sh [2021-10-14T14:54:52.532Z] lf-activate-venv: SKIPPING [2021-10-14T14:54:52.532Z] DEBUG: total: 0.10999999940395355 [2021-10-14T14:54:52.532Z] INFO: Retrieving Stack Cost... [2021-10-14T14:55:02.533Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T14:55:02.533Z] INFO: Archiving Costs [Pipeline] echo [2021-10-14T14:55:02.545Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:55:02.863Z] ---> logs-deploy.sh [2021-10-14T14:55:02.864Z] lf-activate-venv: SKIPPING [2021-10-14T14:55:02.864Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1031/5 [2021-10-14T14:55:02.864Z] INFO: archiving workspace using pattern(s): [2021-10-14T14:55:03.453Z] Archives upload complete. [2021-10-14T14:55:03.715Z] INFO: archiving logs to Nexus