Pull request #1038 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 2ab93c499751478c937c96849c5331481b2fe78f rather than e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 Obtained Jenkinsfile from 2ab93c499751478c937c96849c5331481b2fe78f 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-ssh5782659068996548006.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-ssh1317814876121126815.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-1038/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-1038/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5231744548733734820.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-ssh1290145926687584722.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-1038/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-1038/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh297230441204075209.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-441 in /w/workspace/gexfoundry_device-sdk-go_PR-1038 [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-1038 # 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-1038@tmp/jenkins-gitclient-ssh2324142744986256654.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/jenkins-gitclient-ssh912484180704509782.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1038/head:refs/remotes/origin/PR-1038 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2ab93c499751478c937c96849c5331481b2fe78f into PR head commit e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 Merge succeeded, producing e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 Checking out Revision e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 (PR-1038) > git config core.sparsecheckout # timeout=10 > git checkout -f e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 # 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-1038@tmp/jenkins-gitclient-ssh1091979260839227626.key > git merge 2ab93c499751478c937c96849c5331481b2fe78f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 # timeout=10 Commit message: "Merge branch 'main' into issue-1037" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-20T11:46:16.042Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-20T11:46:16.137Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-20T11:46:16.149Z] ========================================================= [2021-10-20T11:46:16.149Z] EdgeX Global Pipelines Version Info [2021-10-20T11:46:16.149Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1bdc95181e1969d86fadd578ddd6bffed4dfc114 # timeout=10 [2021-10-20T11:46:17.322Z] ------------------- [2021-10-20T11:46:17.322Z] stable info: [2021-10-20T11:46:17.322Z] ------------------- [2021-10-20T11:46:17.322Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-20T11:46:17.322Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-20T11:46:17.322Z] Message: update stable to v1.0.210 [2021-10-20T11:46:17.896Z] ------------------- [2021-10-20T11:46:17.896Z] experimental info: [2021-10-20T11:46:17.896Z] ------------------- [2021-10-20T11:46:17.896Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-20T11:46:17.896Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-20T11:46:17.896Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-20T11:46:17.994Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-20T11:46:18.007Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-20T11:46:18.017Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-20T11:46:18.027Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-20T11:46:18.036Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-20T11:46:18.049Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-20T11:46:18.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-20T11:46:18.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-20T11:46:18.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-20T11:46:18.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-20T11:46:18.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-20T11:46:18.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-20T11:46:18.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-20T11:46:18.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-20T11:46:18.148Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-20T11:46:18.157Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-20T11:46:18.167Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-20T11:46:18.176Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-20T11:46:18.186Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-20T11:46:18.195Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-20T11:46:18.205Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-20T11:46:18.214Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-20T11:46:18.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-20T11:46:18.239Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-20T11:46:18.249Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-20T11:46:18.258Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-20T11:46:18.268Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1038 [Pipeline] echo [2021-10-20T11:46:18.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1038 [Pipeline] echo [2021-10-20T11:46:18.289Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1038 [Pipeline] echo [2021-10-20T11:46:18.299Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 [Pipeline] echo [2021-10-20T11:46:18.309Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8b3470 [Pipeline] echo [2021-10-20T11:46:18.320Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T11:46:18.362Z] provisioning config files... [2021-10-20T11:46:18.375Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/config2948721612409880318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T11:46:18.686Z] ---> docker-login.sh [2021-10-20T11:46:18.686Z] nexus3.edgexfoundry.org:10001 [2021-10-20T11:46:18.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:46:18.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:46:18.946Z] Configure a credential helper to remove this warning. See [2021-10-20T11:46:18.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:46:18.946Z] [2021-10-20T11:46:18.946Z] Login Succeeded [2021-10-20T11:46:18.946Z] nexus3.edgexfoundry.org:10002 [2021-10-20T11:46:18.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:46:18.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:46:18.946Z] Configure a credential helper to remove this warning. See [2021-10-20T11:46:18.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:46:18.946Z] [2021-10-20T11:46:18.946Z] Login Succeeded [2021-10-20T11:46:18.946Z] nexus3.edgexfoundry.org:10003 [2021-10-20T11:46:18.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:46:19.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:46:19.208Z] Configure a credential helper to remove this warning. See [2021-10-20T11:46:19.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:46:19.208Z] [2021-10-20T11:46:19.208Z] Login Succeeded [2021-10-20T11:46:19.208Z] nexus3.edgexfoundry.org:10004 [2021-10-20T11:46:19.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:46:19.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:46:19.208Z] Configure a credential helper to remove this warning. See [2021-10-20T11:46:19.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:46:19.208Z] [2021-10-20T11:46:19.208Z] Login Succeeded [2021-10-20T11:46:19.208Z] docker.io [2021-10-20T11:46:19.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:46:19.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:46:19.781Z] Configure a credential helper to remove this warning. See [2021-10-20T11:46:19.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:46:19.781Z] [2021-10-20T11:46:19.781Z] Login Succeeded [2021-10-20T11:46:19.781Z] ---> docker-login.sh ends [Pipeline] } [2021-10-20T11:46:19.789Z] 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-20T11:46:20.253Z] + git log --format=format:%s -1 e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 [Pipeline] echo [2021-10-20T11:46:20.295Z] GIT_COMMIT: e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6, Commit Message: Merge branch 'main' into issue-1037 [Pipeline] echo [2021-10-20T11:46:20.302Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:46:20.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T11:46:20.999Z] [2021-10-20T11:46:20.999Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:46:21.314Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T11:46:21.314Z] latest: Pulling from edgex-devops/git-semver [2021-10-20T11:46:21.314Z] a0d0a0d46f8b: Pulling fs layer [2021-10-20T11:46:21.314Z] 3e5f54012d9b: Pulling fs layer [2021-10-20T11:46:21.314Z] 4c7163046ea9: Pulling fs layer [2021-10-20T11:46:21.314Z] 0c2d73faf560: Pulling fs layer [2021-10-20T11:46:21.314Z] 0c2d73faf560: Waiting [2021-10-20T11:46:21.314Z] 3e5f54012d9b: Verifying Checksum [2021-10-20T11:46:21.314Z] 3e5f54012d9b: Download complete [2021-10-20T11:46:21.314Z] a0d0a0d46f8b: Verifying Checksum [2021-10-20T11:46:21.314Z] a0d0a0d46f8b: Download complete [2021-10-20T11:46:21.314Z] 4c7163046ea9: Verifying Checksum [2021-10-20T11:46:21.314Z] 4c7163046ea9: Download complete [2021-10-20T11:46:21.314Z] 0c2d73faf560: Verifying Checksum [2021-10-20T11:46:21.314Z] 0c2d73faf560: Download complete [2021-10-20T11:46:21.592Z] a0d0a0d46f8b: Pull complete [2021-10-20T11:46:21.592Z] 3e5f54012d9b: Pull complete [2021-10-20T11:46:21.867Z] 4c7163046ea9: Pull complete [2021-10-20T11:46:22.133Z] 0c2d73faf560: Pull complete [2021-10-20T11:46:22.133Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-20T11:46:22.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T11:46:22.133Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-20T11:46:22.206Z] prd-centos7-docker-4c-2g-441 does not seem to be running inside a container [2021-10-20T11:46:22.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1038 -v /w/workspace/gexfoundry_device-sdk-go_PR-1038:/w/workspace/gexfoundry_device-sdk-go_PR-1038:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1038@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:10004/edgex-devops/git-semver:latest cat [2021-10-20T11:46:22.780Z] $ docker top c7a6d7e767f42ae70d1ea4175f11b75e05b6abbf0a3b1435959a6d9465e90c5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-20T11:46:22.876Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-20T11:46:22.876Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-20T11:46:22.976Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-20T11:46:22.977Z] $ docker exec c7a6d7e767f42ae70d1ea4175f11b75e05b6abbf0a3b1435959a6d9465e90c5d ssh-agent [2021-10-20T11:46:23.081Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKemhmF/agent.14 [2021-10-20T11:46:23.081Z] SSH_AGENT_PID=20 [2021-10-20T11:46:23.088Z] Running ssh-add (command line suppressed) [2021-10-20T11:46:23.182Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/private_key_8217755556213277329.key (/w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/private_key_8217755556213277329.key) [2021-10-20T11:46:23.196Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-20T11:46:23.491Z] + git tag --points-at HEAD [Pipeline] } [2021-10-20T11:46:23.508Z] $ docker exec --env ******** --env ******** c7a6d7e767f42ae70d1ea4175f11b75e05b6abbf0a3b1435959a6d9465e90c5d ssh-agent -k [2021-10-20T11:46:23.620Z] unset SSH_AUTH_SOCK; [2021-10-20T11:46:23.622Z] unset SSH_AGENT_PID; [2021-10-20T11:46:23.622Z] echo Agent pid 20 killed; [2021-10-20T11:46:23.638Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-20T11:46:23.659Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-20T11:46:23.659Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-20T11:46:23.786Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-20T11:46:23.787Z] $ docker exec c7a6d7e767f42ae70d1ea4175f11b75e05b6abbf0a3b1435959a6d9465e90c5d ssh-agent [2021-10-20T11:46:23.884Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaKpCFA/agent.53 [2021-10-20T11:46:23.884Z] SSH_AGENT_PID=60 [2021-10-20T11:46:23.901Z] Running ssh-add (command line suppressed) [2021-10-20T11:46:23.982Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/private_key_2235360096489765199.key (/w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/private_key_2235360096489765199.key) [2021-10-20T11:46:23.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-20T11:46:24.290Z] + git semver init [2021-10-20T11:46:24.290Z] # -> Open(): unable to determine branch for HEAD [2021-10-20T11:46:24.290Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1038/.git [2021-10-20T11:46:24.290Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1038 [2021-10-20T11:46:24.290Z] # $SEMVER_REMOTE_NAME = origin [2021-10-20T11:46:24.290Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-20T11:46:24.290Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-20T11:46:24.290Z] # $SEMVER_BRANCH = PR-1038 [2021-10-20T11:46:24.290Z] # $SEMVER_TEMP = /tmp/semver-243411023 [2021-10-20T11:46:24.290Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-20T11:46:25.236Z] # '/tmp/semver-243411023' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1038/.semver' [2021-10-20T11:46:25.236Z] # -> Force: false [2021-10-20T11:46:25.236Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1038/.semver [Pipeline] } [2021-10-20T11:46:25.246Z] $ docker exec --env ******** --env ******** c7a6d7e767f42ae70d1ea4175f11b75e05b6abbf0a3b1435959a6d9465e90c5d ssh-agent -k [2021-10-20T11:46:25.343Z] unset SSH_AUTH_SOCK; [2021-10-20T11:46:25.343Z] unset SSH_AGENT_PID; [2021-10-20T11:46:25.343Z] echo Agent pid 60 killed; [2021-10-20T11:46:25.353Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-20T11:46:25.669Z] + git semver [Pipeline] } [2021-10-20T11:46:25.682Z] $ docker stop --time=1 c7a6d7e767f42ae70d1ea4175f11b75e05b6abbf0a3b1435959a6d9465e90c5d [2021-10-20T11:46:26.914Z] $ docker rm -f c7a6d7e767f42ae70d1ea4175f11b75e05b6abbf0a3b1435959a6d9465e90c5d [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-20T11:46:27.264Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-20T11:46:27.520Z] Stashed 1 file(s) [Pipeline] echo [2021-10-20T11:46:27.524Z] [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-20T11:46:42.746Z] Still waiting to schedule task [2021-10-20T11:46:42.747Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-20T11:46:42.748Z] Still waiting to schedule task [2021-10-20T11:46:42.748Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-20T11:49:08.421Z] Running on prd-centos7-docker-4c-2g-444 in /w/workspace/gexfoundry_device-sdk-go_PR-1038 [Pipeline] { [Pipeline] ws [2021-10-20T11:49:08.433Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-10-20T11:49:08.520Z] Selected Git installation does not exist. Using Default [2021-10-20T11:49:08.520Z] The recommended git tool is: NONE [2021-10-20T11:49:10.491Z] using credential edgex-jenkins-ssh [2021-10-20T11:49:10.504Z] Cloning the remote Git repository [2021-10-20T11:49:09.817Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-20T11:49:09.877Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-10-20T11:49:09.915Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-20T11:49:09.915Z] > git --version # timeout=10 [2021-10-20T11:49:09.922Z] > git --version # 'git version 2.24.4' [2021-10-20T11:49:09.922Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T11:49:09.949Z] [INFO] Currently running in a labeled security context [2021-10-20T11:49:09.949Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-20T11:49:09.949Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3891636662298772577.key [2021-10-20T11:49:09.971Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T11:49:10.718Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-20T11:49:10.727Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T11:49:10.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-20T11:49:10.752Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-20T11:49:10.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T11:49:10.753Z] [INFO] Currently running in a labeled security context [2021-10-20T11:49:10.753Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-20T11:49:10.753Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3008544629958527752.key [2021-10-20T11:49:10.762Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1038/head:refs/remotes/origin/PR-1038 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-20T11:49:12.103Z] Merging remotes/origin/main commit 2ab93c499751478c937c96849c5331481b2fe78f into PR head commit e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 [2021-10-20T11:49:12.197Z] Merge succeeded, producing e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 [2021-10-20T11:49:12.197Z] Checking out Revision e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 (PR-1038) [2021-10-20T11:49:11.339Z] > git config core.sparsecheckout # timeout=10 [2021-10-20T11:49:11.345Z] > git checkout -f e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 # timeout=10 [2021-10-20T11:49:11.377Z] > git remote # timeout=10 [2021-10-20T11:49:11.387Z] > git config --get remote.origin.url # timeout=10 [2021-10-20T11:49:11.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T11:49:11.401Z] [INFO] Currently running in a labeled security context [2021-10-20T11:49:11.401Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-20T11:49:11.401Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8479673596702843641.key [2021-10-20T11:49:11.410Z] > git merge 2ab93c499751478c937c96849c5331481b2fe78f # timeout=10 [2021-10-20T11:49:11.419Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-20T11:49:11.428Z] > git config core.sparsecheckout # timeout=10 [2021-10-20T11:49:11.432Z] > git checkout -f e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 # timeout=10 [2021-10-20T11:49:15.646Z] Commit message: "Merge branch 'main' into issue-1037" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T11:49:16.168Z] provisioning config files... [2021-10-20T11:49:16.182Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config9073034852840995010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T11:49:16.569Z] ---> docker-login.sh [2021-10-20T11:49:16.569Z] nexus3.edgexfoundry.org:10001 [2021-10-20T11:49:16.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:49:16.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:49:16.569Z] Configure a credential helper to remove this warning. See [2021-10-20T11:49:16.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:49:16.569Z] [2021-10-20T11:49:16.569Z] Login Succeeded [2021-10-20T11:49:16.569Z] nexus3.edgexfoundry.org:10002 [2021-10-20T11:49:16.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:49:16.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:49:16.832Z] Configure a credential helper to remove this warning. See [2021-10-20T11:49:16.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:49:16.832Z] [2021-10-20T11:49:16.832Z] Login Succeeded [2021-10-20T11:49:16.832Z] nexus3.edgexfoundry.org:10003 [2021-10-20T11:49:16.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:49:16.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:49:16.832Z] Configure a credential helper to remove this warning. See [2021-10-20T11:49:16.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:49:16.832Z] [2021-10-20T11:49:16.832Z] Login Succeeded [2021-10-20T11:49:16.832Z] nexus3.edgexfoundry.org:10004 [2021-10-20T11:49:17.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:49:17.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:49:17.093Z] Configure a credential helper to remove this warning. See [2021-10-20T11:49:17.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:49:17.093Z] [2021-10-20T11:49:17.093Z] Login Succeeded [2021-10-20T11:49:17.093Z] docker.io [2021-10-20T11:49:17.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:49:17.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:49:17.356Z] Configure a credential helper to remove this warning. See [2021-10-20T11:49:17.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:49:17.356Z] [2021-10-20T11:49:17.356Z] Login Succeeded [2021-10-20T11:49:17.356Z] ---> docker-login.sh ends [Pipeline] } [2021-10-20T11:49:17.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-20T11:49:17.532Z] ========================================================= [2021-10-20T11:49:17.532Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-20T11:49:17.532Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:49:17.837Z] + 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-20T11:49:17.837Z] Sending build context to Docker daemon 2.744MB [2021-10-20T11:49:17.837Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-20T11:49:17.837Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-20T11:49:17.837Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-20T11:49:17.837Z] a0d0a0d46f8b: Pulling fs layer [2021-10-20T11:49:17.837Z] 31adcdaf11c8: Pulling fs layer [2021-10-20T11:49:17.837Z] b8b176561691: Pulling fs layer [2021-10-20T11:49:17.837Z] 4527c011a84f: Pulling fs layer [2021-10-20T11:49:17.837Z] 5d74067f8e1e: Pulling fs layer [2021-10-20T11:49:17.837Z] e0aca202a116: Pulling fs layer [2021-10-20T11:49:17.837Z] 3a43be97a3b4: Pulling fs layer [2021-10-20T11:49:17.837Z] 34cad66bf833: Pulling fs layer [2021-10-20T11:49:17.837Z] b4e3c513aaa6: Pulling fs layer [2021-10-20T11:49:17.837Z] 4527c011a84f: Waiting [2021-10-20T11:49:17.837Z] 5d74067f8e1e: Waiting [2021-10-20T11:49:17.837Z] e0aca202a116: Waiting [2021-10-20T11:49:17.837Z] 3a43be97a3b4: Waiting [2021-10-20T11:49:17.837Z] 34cad66bf833: Waiting [2021-10-20T11:49:17.837Z] b4e3c513aaa6: Waiting [2021-10-20T11:49:17.837Z] b8b176561691: Verifying Checksum [2021-10-20T11:49:17.837Z] b8b176561691: Download complete [2021-10-20T11:49:17.837Z] 31adcdaf11c8: Verifying Checksum [2021-10-20T11:49:17.837Z] 31adcdaf11c8: Download complete [2021-10-20T11:49:18.102Z] 5d74067f8e1e: Verifying Checksum [2021-10-20T11:49:18.102Z] 5d74067f8e1e: Download complete [2021-10-20T11:49:18.102Z] a0d0a0d46f8b: Verifying Checksum [2021-10-20T11:49:18.102Z] a0d0a0d46f8b: Download complete [2021-10-20T11:49:18.102Z] e0aca202a116: Verifying Checksum [2021-10-20T11:49:18.102Z] e0aca202a116: Download complete [2021-10-20T11:49:18.102Z] 3a43be97a3b4: Verifying Checksum [2021-10-20T11:49:18.102Z] 3a43be97a3b4: Download complete [2021-10-20T11:49:18.102Z] 34cad66bf833: Verifying Checksum [2021-10-20T11:49:18.102Z] 34cad66bf833: Download complete [2021-10-20T11:49:18.372Z] a0d0a0d46f8b: Pull complete [2021-10-20T11:49:18.372Z] 31adcdaf11c8: Pull complete [2021-10-20T11:49:18.657Z] b8b176561691: Pull complete [2021-10-20T11:49:18.657Z] 4527c011a84f: Verifying Checksum [2021-10-20T11:49:18.657Z] 4527c011a84f: Download complete [2021-10-20T11:49:18.921Z] b4e3c513aaa6: Verifying Checksum [2021-10-20T11:49:18.921Z] b4e3c513aaa6: Download complete [2021-10-20T11:49:22.247Z] 4527c011a84f: Pull complete [2021-10-20T11:49:22.247Z] 5d74067f8e1e: Pull complete [2021-10-20T11:49:22.247Z] e0aca202a116: Pull complete [2021-10-20T11:49:22.515Z] 3a43be97a3b4: Pull complete [2021-10-20T11:49:22.515Z] 34cad66bf833: Pull complete [2021-10-20T11:49:25.174Z] b4e3c513aaa6: Pull complete [2021-10-20T11:49:25.175Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-20T11:49:25.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-20T11:49:25.175Z] ---> 9f6097aaca64 [2021-10-20T11:49:25.175Z] Step 3/10 : ARG MAKE=make build [2021-10-20T11:49:26.565Z] ---> Running in c6ca8a6fd697 [2021-10-20T11:49:26.565Z] Removing intermediate container c6ca8a6fd697 [2021-10-20T11:49:26.565Z] ---> 819e2ae6b942 [2021-10-20T11:49:26.565Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-20T11:49:26.565Z] ---> Running in 89697a32715f [2021-10-20T11:49:26.565Z] Removing intermediate container 89697a32715f [2021-10-20T11:49:26.565Z] ---> ccc6b1fa496c [2021-10-20T11:49:26.565Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-20T11:49:26.565Z] ---> Running in bbd0232686c7 [2021-10-20T11:49:26.565Z] Removing intermediate container bbd0232686c7 [2021-10-20T11:49:26.565Z] ---> 7fad1a037283 [2021-10-20T11:49:26.565Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-20T11:49:26.565Z] ---> Running in 159c64bb918e [2021-10-20T11:49:27.139Z] Removing intermediate container 159c64bb918e [2021-10-20T11:49:27.139Z] ---> 9c58e5969868 [2021-10-20T11:49:27.139Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-20T11:49:27.139Z] ---> Running in a7c012dd3743 [2021-10-20T11:49:27.401Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-20T11:49:28.341Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-20T11:49:28.600Z] OK: 220 MiB in 52 packages [2021-10-20T11:49:28.861Z] Removing intermediate container a7c012dd3743 [2021-10-20T11:49:28.861Z] ---> 506fe8a78c4a [2021-10-20T11:49:28.861Z] Step 8/10 : COPY . . [2021-10-20T11:49:29.134Z] ---> 38881bc25b37 [2021-10-20T11:49:29.134Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-20T11:49:29.397Z] ---> Running in d4fbc024ec08 [2021-10-20T11:50:08.200Z] Removing intermediate container d4fbc024ec08 [2021-10-20T11:50:08.200Z] ---> 4ced32367f09 [2021-10-20T11:50:08.200Z] Step 10/10 : RUN ${MAKE} [2021-10-20T11:50:08.200Z] ---> Running in 0e30759356bc [2021-10-20T11:50:08.200Z] noop [2021-10-20T11:50:08.200Z] Removing intermediate container 0e30759356bc [2021-10-20T11:50:08.200Z] ---> 678fd6127fb5 [2021-10-20T11:50:08.200Z] Successfully built 678fd6127fb5 [2021-10-20T11:50:08.200Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:50:08.502Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-20T11:50:08.502Z] . [Pipeline] withDockerContainer [2021-10-20T11:50:08.569Z] prd-centos7-docker-4c-2g-444 does not seem to be running inside a container [2021-10-20T11:50:08.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-20T11:50:08.937Z] $ docker top 12cdafaf7e9f30ac37144afceda6fddd690ee6ebc6a25ccb44e8467b675bdd21 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-20T11:50:09.291Z] + go version [2021-10-20T11:50:09.291Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-20T11:50:09.302Z] $ docker stop --time=1 12cdafaf7e9f30ac37144afceda6fddd690ee6ebc6a25ccb44e8467b675bdd21 [2021-10-20T11:50:10.467Z] $ docker rm -f 12cdafaf7e9f30ac37144afceda6fddd690ee6ebc6a25ccb44e8467b675bdd21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:50:10.992Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-20T11:50:10.992Z] . [Pipeline] withDockerContainer [2021-10-20T11:50:11.053Z] prd-centos7-docker-4c-2g-444 does not seem to be running inside a container [2021-10-20T11:50:11.102Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-20T11:50:11.436Z] $ docker top e498835bb6677b14892afc821af9f423076c7eb4bf982c26a90b48dea1abda1c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-20T11:50:11.804Z] + make test [2021-10-20T11:50:11.804Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-20T11:50:17.133Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-20T11:50:39.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-20T11:50:39.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-20T11:50:39.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-20T11:50:39.686Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-445 in /w/workspace/gexfoundry_device-sdk-go_PR-1038 [Pipeline] { [Pipeline] ws [2021-10-20T11:50:39.696Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-10-20T11:50:39.922Z] Selected Git installation does not exist. Using Default [2021-10-20T11:50:39.922Z] The recommended git tool is: NONE [2021-10-20T11:50:41.355Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 23.8% of statements [2021-10-20T11:50:41.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-20T11:50:41.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 28.1% of statements [2021-10-20T11:50:41.940Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.049s coverage: 78.9% of statements [2021-10-20T11:50:42.226Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.043s coverage: 9.0% of statements [2021-10-20T11:50:42.226Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-20T11:50:42.226Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-20T11:50:42.226Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-20T11:50:43.179Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.060s coverage: 28.7% of statements [2021-10-20T11:50:43.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-20T11:50:44.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.047s coverage: 83.3% of statements [2021-10-20T11:50:44.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-20T11:50:44.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-20T11:50:44.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.068s coverage: 57.8% of statements [2021-10-20T11:50:45.509Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.802s coverage: 88.8% of statements [2021-10-20T11:50:45.509Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-20T11:50:45.509Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.045s coverage: 4.9% of statements [2021-10-20T11:50:45.509Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-20T11:50:45.509Z] GO111MODULE=on go vet ./... [2021-10-20T11:50:45.714Z] using credential edgex-jenkins-ssh [2021-10-20T11:50:45.732Z] Cloning the remote Git repository [2021-10-20T11:50:45.790Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-20T11:50:45.916Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-10-20T11:50:46.001Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-20T11:50:46.002Z] > git --version # timeout=10 [2021-10-20T11:50:46.020Z] > git --version # 'git version 2.17.1' [2021-10-20T11:50:46.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T11:50:46.133Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T11:50:48.505Z] Merging remotes/origin/main commit 2ab93c499751478c937c96849c5331481b2fe78f into PR head commit e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 [2021-10-20T11:50:48.738Z] Merge succeeded, producing e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 [2021-10-20T11:50:48.738Z] Checking out Revision e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 (PR-1038) [2021-10-20T11:50:47.651Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-20T11:50:47.665Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T11:50:47.688Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-20T11:50:47.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-20T11:50:47.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T11:50:47.734Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1038/head:refs/remotes/origin/PR-1038 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-20T11:50:48.534Z] > git config core.sparsecheckout # timeout=10 [2021-10-20T11:50:48.557Z] > git checkout -f e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 # timeout=10 [2021-10-20T11:50:48.668Z] > git remote # timeout=10 [2021-10-20T11:50:48.686Z] > git config --get remote.origin.url # timeout=10 [2021-10-20T11:50:48.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T11:50:48.711Z] > git merge 2ab93c499751478c937c96849c5331481b2fe78f # timeout=10 [2021-10-20T11:50:48.732Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-20T11:50:48.754Z] > git config core.sparsecheckout # timeout=10 [2021-10-20T11:50:48.767Z] > git checkout -f e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 # timeout=10 [2021-10-20T11:50:53.052Z] Commit message: "Merge branch 'main' into issue-1037" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-20T11:50:53.917Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-20T11:50:53.918Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-20T11:50:53.918Z] Dload Upload Total Spent Left Speed [2021-10-20T11:50:53.918Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 74835 0 --:--:-- --:--:-- --:--:-- 74835 [Pipeline] sh [2021-10-20T11:50:54.367Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-20T11:50:54.717Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-20T11:50:54.717Z] + sudo tee /etc/docker/daemon.new [2021-10-20T11:50:54.717Z] { [2021-10-20T11:50:54.717Z] "registry-mirrors": [ [2021-10-20T11:50:54.717Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-20T11:50:54.717Z] ], [2021-10-20T11:50:54.717Z] "bip": "10.250.0.254/24", [2021-10-20T11:50:54.717Z] "hosts": [ [2021-10-20T11:50:54.717Z] "tcp://0.0.0.0:5555", [2021-10-20T11:50:54.717Z] "unix:///var/run/docker.sock" [2021-10-20T11:50:54.717Z] ], [2021-10-20T11:50:54.717Z] "mtu": 1458, [2021-10-20T11:50:54.717Z] "selinux-enabled": true, [2021-10-20T11:50:54.717Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-20T11:50:54.717Z] } [Pipeline] sh [2021-10-20T11:50:55.157Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-20T11:50:55.514Z] + sudo service docker restart [2021-10-20T11:51:03.713Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-20T11:51:03.713Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-20T11:51:03.713Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-20T11:51:03.725Z] $ docker stop --time=1 e498835bb6677b14892afc821af9f423076c7eb4bf982c26a90b48dea1abda1c [2021-10-20T11:51:05.249Z] $ docker rm -f e498835bb6677b14892afc821af9f423076c7eb4bf982c26a90b48dea1abda1c [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-20T11:51:05.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-20T11:51:05.903Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-20T11:51:07.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-20T11:51:07.625Z] + ls -al . [2021-10-20T11:51:07.625Z] total 264 [2021-10-20T11:51:07.625Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 20 11:51 . [2021-10-20T11:51:07.625Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 20 11:49 .. [2021-10-20T11:51:07.625Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 20 11:49 bin [2021-10-20T11:51:07.625Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 20 11:49 CHANGELOG.md [2021-10-20T11:51:07.625Z] -rw-r--r--. 1 jenkins jenkins 126785 Oct 20 11:50 coverage.out [2021-10-20T11:51:07.625Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 20 11:49 .dockerignore [2021-10-20T11:51:07.625Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 20 11:49 example [2021-10-20T11:51:07.625Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 20 11:49 .git [2021-10-20T11:51:07.625Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 20 11:49 .github [2021-10-20T11:51:07.625Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 20 11:49 .gitignore [2021-10-20T11:51:07.625Z] -rw-rw-r--. 1 jenkins jenkins 602 Oct 20 11:49 go.mod [2021-10-20T11:51:07.625Z] -rw-rw-r--. 1 jenkins jenkins 49868 Oct 20 11:49 go.sum [2021-10-20T11:51:07.625Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 20 11:49 GOVERNANCE.md [2021-10-20T11:51:07.625Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 20 11:49 internal [2021-10-20T11:51:07.625Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 20 11:49 Jenkinsfile [2021-10-20T11:51:07.625Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 20 11:49 LICENSE [2021-10-20T11:51:07.625Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 20 11:49 Makefile [2021-10-20T11:51:07.625Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 20 11:49 openapi [2021-10-20T11:51:07.625Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 20 11:49 OWNERS.md [2021-10-20T11:51:07.625Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 20 11:49 pkg [2021-10-20T11:51:07.625Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 20 11:49 README.md [2021-10-20T11:51:07.625Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 20 11:49 snap [2021-10-20T11:51:07.625Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 20 11:46 VERSION [2021-10-20T11:51:07.625Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 20 11:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:51:07.925Z] + 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=e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 --label arch=amd64 --label version=0.0.0 . [2021-10-20T11:51:07.925Z] Sending build context to Docker daemon 2.871MB [2021-10-20T11:51:07.925Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-20T11:51:07.925Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-20T11:51:07.925Z] ---> 678fd6127fb5 [2021-10-20T11:51:07.925Z] Step 3/24 : ARG MAKE=make build [2021-10-20T11:51:07.925Z] ---> Running in df59fbc470e9 [2021-10-20T11:51:07.925Z] Removing intermediate container df59fbc470e9 [2021-10-20T11:51:07.925Z] ---> 23cca952d7f3 [2021-10-20T11:51:07.925Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-20T11:51:08.186Z] ---> Running in 9737ce22f94c [2021-10-20T11:51:08.186Z] Removing intermediate container 9737ce22f94c [2021-10-20T11:51:08.186Z] ---> 3a4d76e479dd [2021-10-20T11:51:08.186Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-20T11:51:08.186Z] ---> Running in 32c83ae57a6e [2021-10-20T11:51:08.186Z] Removing intermediate container 32c83ae57a6e [2021-10-20T11:51:08.186Z] ---> a87f029c00c7 [2021-10-20T11:51:08.186Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-20T11:51:08.186Z] ---> Running in 9989f608635c [2021-10-20T11:51:08.761Z] Removing intermediate container 9989f608635c [2021-10-20T11:51:08.761Z] ---> 7398e805cc7e [2021-10-20T11:51:08.761Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-20T11:51:08.761Z] ---> Running in 4d4fceb334ef [2021-10-20T11:51:09.018Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-20T11:51:09.959Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-20T11:51:10.224Z] OK: 220 MiB in 52 packages [2021-10-20T11:51:10.484Z] Removing intermediate container 4d4fceb334ef [2021-10-20T11:51:10.484Z] ---> b0bedee86bd2 [2021-10-20T11:51:10.484Z] Step 8/24 : COPY . . [2021-10-20T11:51:10.745Z] ---> a61230d54038 [2021-10-20T11:51:10.745Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-20T11:51:11.008Z] ---> Running in e5c3cf4e6ac0 [2021-10-20T11:51:11.271Z] Removing intermediate container e5c3cf4e6ac0 [2021-10-20T11:51:11.271Z] ---> 74e823883ee2 [2021-10-20T11:51:11.271Z] Step 10/24 : RUN ${MAKE} [2021-10-20T11:51:11.271Z] ---> Running in 72aa035ddb11 [2021-10-20T11:51:11.536Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T11:51:13.942Z] provisioning config files... [2021-10-20T11:51:13.972Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1269915800328946733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T11:51:14.357Z] ---> docker-login.sh [2021-10-20T11:51:14.357Z] nexus3.edgexfoundry.org:10001 [2021-10-20T11:51:15.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:51:16.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:51:16.094Z] Configure a credential helper to remove this warning. See [2021-10-20T11:51:16.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:51:16.094Z] [2021-10-20T11:51:16.094Z] Login Succeeded [2021-10-20T11:51:16.094Z] nexus3.edgexfoundry.org:10002 [2021-10-20T11:51:16.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:51:16.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:51:16.719Z] Configure a credential helper to remove this warning. See [2021-10-20T11:51:16.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:51:16.719Z] [2021-10-20T11:51:16.719Z] Login Succeeded [2021-10-20T11:51:16.719Z] nexus3.edgexfoundry.org:10003 [2021-10-20T11:51:17.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:51:17.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:51:17.326Z] Configure a credential helper to remove this warning. See [2021-10-20T11:51:17.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:51:17.326Z] [2021-10-20T11:51:17.326Z] Login Succeeded [2021-10-20T11:51:17.326Z] nexus3.edgexfoundry.org:10004 [2021-10-20T11:51:17.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:51:17.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:51:17.932Z] Configure a credential helper to remove this warning. See [2021-10-20T11:51:17.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:51:17.932Z] [2021-10-20T11:51:17.932Z] Login Succeeded [2021-10-20T11:51:17.932Z] docker.io [2021-10-20T11:51:18.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T11:51:18.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T11:51:18.813Z] Configure a credential helper to remove this warning. See [2021-10-20T11:51:18.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T11:51:18.813Z] [2021-10-20T11:51:18.813Z] Login Succeeded [2021-10-20T11:51:18.813Z] ---> docker-login.sh ends [Pipeline] } [2021-10-20T11:51:18.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-20T11:51:19.322Z] ========================================================= [2021-10-20T11:51:19.322Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-20T11:51:19.322Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:51:19.731Z] + 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-20T11:51:20.343Z] Sending build context to Docker daemon 2.752MB [2021-10-20T11:51:20.343Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-20T11:51:20.343Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-20T11:51:20.624Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-20T11:51:20.624Z] 552d1f2373af: Pulling fs layer [2021-10-20T11:51:20.624Z] ea3f2d53f512: Pulling fs layer [2021-10-20T11:51:20.624Z] 9e70ebbbe112: Pulling fs layer [2021-10-20T11:51:20.624Z] 7a9cfe048b4a: Pulling fs layer [2021-10-20T11:51:20.624Z] 72dc09318566: Pulling fs layer [2021-10-20T11:51:20.624Z] f4f7b4309257: Pulling fs layer [2021-10-20T11:51:20.624Z] 0ac9a79272e3: Pulling fs layer [2021-10-20T11:51:20.624Z] b78e95d17946: Pulling fs layer [2021-10-20T11:51:20.624Z] 7a9cfe048b4a: Waiting [2021-10-20T11:51:20.624Z] 72dc09318566: Waiting [2021-10-20T11:51:20.624Z] 0ac9a79272e3: Waiting [2021-10-20T11:51:20.624Z] f4f7b4309257: Waiting [2021-10-20T11:51:20.624Z] b78e95d17946: Waiting [2021-10-20T11:51:20.624Z] 9e70ebbbe112: Verifying Checksum [2021-10-20T11:51:20.624Z] 9e70ebbbe112: Download complete [2021-10-20T11:51:20.624Z] ea3f2d53f512: Verifying Checksum [2021-10-20T11:51:20.624Z] ea3f2d53f512: Download complete [2021-10-20T11:51:20.624Z] 72dc09318566: Verifying Checksum [2021-10-20T11:51:20.624Z] f4f7b4309257: Verifying Checksum [2021-10-20T11:51:20.624Z] f4f7b4309257: Download complete [2021-10-20T11:51:20.624Z] 552d1f2373af: Verifying Checksum [2021-10-20T11:51:20.624Z] 552d1f2373af: Download complete [2021-10-20T11:51:20.624Z] 0ac9a79272e3: Verifying Checksum [2021-10-20T11:51:20.624Z] 0ac9a79272e3: Download complete [2021-10-20T11:51:21.596Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-20T11:51:21.630Z] 552d1f2373af: Pull complete [2021-10-20T11:51:22.244Z] ea3f2d53f512: Pull complete [2021-10-20T11:51:22.539Z] Removing intermediate container 72aa035ddb11 [2021-10-20T11:51:22.539Z] ---> 5c4727992328 [2021-10-20T11:51:22.539Z] Step 11/24 : FROM alpine:3.14 [2021-10-20T11:51:22.858Z] b78e95d17946: Verifying Checksum [2021-10-20T11:51:22.858Z] b78e95d17946: Download complete [2021-10-20T11:51:22.858Z] 9e70ebbbe112: Pull complete [2021-10-20T11:51:23.114Z] 3.14: Pulling from library/alpine [2021-10-20T11:51:23.115Z] a0d0a0d46f8b: Already exists [2021-10-20T11:51:23.379Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-20T11:51:23.379Z] Status: Downloaded newer image for alpine:3.14 [2021-10-20T11:51:23.379Z] ---> 14119a10abf4 [2021-10-20T11:51:23.379Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-20T11:51:23.379Z] ---> Running in fe2f31325f12 [2021-10-20T11:51:23.379Z] Removing intermediate container fe2f31325f12 [2021-10-20T11:51:23.379Z] ---> 925738be5d10 [2021-10-20T11:51:23.379Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-20T11:51:23.379Z] ---> Running in f556d565f381 [2021-10-20T11:51:23.469Z] 7a9cfe048b4a: Verifying Checksum [2021-10-20T11:51:23.469Z] 7a9cfe048b4a: Download complete [2021-10-20T11:51:23.954Z] Removing intermediate container f556d565f381 [2021-10-20T11:51:23.954Z] ---> f5912692e922 [2021-10-20T11:51:23.954Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-20T11:51:23.954Z] ---> Running in d3c53bd32d6a [2021-10-20T11:51:24.214Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-20T11:51:25.154Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-20T11:51:25.724Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-20T11:51:25.724Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-20T11:51:25.724Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-20T11:51:25.982Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-20T11:51:25.982Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-20T11:51:25.982Z] Executing busybox-1.33.1-r3.trigger [2021-10-20T11:51:25.982Z] OK: 8 MiB in 19 packages [2021-10-20T11:51:26.243Z] Removing intermediate container d3c53bd32d6a [2021-10-20T11:51:26.243Z] ---> 4cd2768e2fc2 [2021-10-20T11:51:26.243Z] Step 15/24 : WORKDIR / [2021-10-20T11:51:26.502Z] ---> Running in 8e76ad312ffe [2021-10-20T11:51:26.502Z] Removing intermediate container 8e76ad312ffe [2021-10-20T11:51:26.502Z] ---> 0ad9a61b5082 [2021-10-20T11:51:26.502Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-20T11:51:26.502Z] ---> 64ca3a66c309 [2021-10-20T11:51:26.502Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-20T11:51:27.074Z] ---> 4479d534ecd5 [2021-10-20T11:51:27.074Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-20T11:51:27.074Z] ---> 71cccba3a4e3 [2021-10-20T11:51:27.074Z] Step 19/24 : EXPOSE 59999 [2021-10-20T11:51:27.074Z] ---> Running in 0319a6892478 [2021-10-20T11:51:27.074Z] Removing intermediate container 0319a6892478 [2021-10-20T11:51:27.074Z] ---> 33fa148df365 [2021-10-20T11:51:27.074Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-20T11:51:27.074Z] ---> Running in b63789b02087 [2021-10-20T11:51:27.363Z] Removing intermediate container b63789b02087 [2021-10-20T11:51:27.363Z] ---> f6fbfd0c788c [2021-10-20T11:51:27.363Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-20T11:51:27.363Z] ---> Running in 62109937bfb1 [2021-10-20T11:51:27.363Z] Removing intermediate container 62109937bfb1 [2021-10-20T11:51:27.363Z] ---> 788ce170713f [2021-10-20T11:51:27.363Z] Step 22/24 : LABEL arch=amd64 [2021-10-20T11:51:27.363Z] ---> Running in c058d9222948 [2021-10-20T11:51:27.363Z] Removing intermediate container c058d9222948 [2021-10-20T11:51:27.363Z] ---> 752067710389 [2021-10-20T11:51:27.363Z] Step 23/24 : LABEL git_sha=e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 [2021-10-20T11:51:27.363Z] ---> Running in 089d244f53ad [2021-10-20T11:51:27.622Z] Removing intermediate container 089d244f53ad [2021-10-20T11:51:27.622Z] ---> d28efbb81dfb [2021-10-20T11:51:27.622Z] Step 24/24 : LABEL version=0.0.0 [2021-10-20T11:51:27.622Z] ---> Running in 6917a64ee4c0 [2021-10-20T11:51:27.622Z] Removing intermediate container 6917a64ee4c0 [2021-10-20T11:51:27.622Z] ---> e0de944fd601 [2021-10-20T11:51:27.622Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-20T11:51:27.622Z] Successfully built e0de944fd601 [2021-10-20T11:51:27.622Z] 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-20T11:51:28.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T11:51:28.233Z] [2021-10-20T11:51:28.233Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:51:28.545Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T11:51:28.545Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-20T11:51:28.545Z] b4d181a07f80: Pulling fs layer [2021-10-20T11:51:28.545Z] a1111a8f2ec3: Pulling fs layer [2021-10-20T11:51:28.545Z] ed53099fbce6: Pulling fs layer [2021-10-20T11:51:28.545Z] dc539afda2c1: Pulling fs layer [2021-10-20T11:51:28.545Z] 77bc0d833cb6: Pulling fs layer [2021-10-20T11:51:28.545Z] 9065ff56babe: Pulling fs layer [2021-10-20T11:51:28.545Z] d287ab97295c: Pulling fs layer [2021-10-20T11:51:28.545Z] dc539afda2c1: Waiting [2021-10-20T11:51:28.545Z] 77bc0d833cb6: Waiting [2021-10-20T11:51:28.545Z] 9065ff56babe: Waiting [2021-10-20T11:51:28.545Z] d287ab97295c: Waiting [2021-10-20T11:51:28.545Z] a1111a8f2ec3: Verifying Checksum [2021-10-20T11:51:28.545Z] a1111a8f2ec3: Download complete [2021-10-20T11:51:28.545Z] dc539afda2c1: Verifying Checksum [2021-10-20T11:51:28.545Z] dc539afda2c1: Download complete [2021-10-20T11:51:28.545Z] ed53099fbce6: Verifying Checksum [2021-10-20T11:51:28.545Z] ed53099fbce6: Download complete [2021-10-20T11:51:28.545Z] 9065ff56babe: Verifying Checksum [2021-10-20T11:51:28.545Z] 9065ff56babe: Download complete [2021-10-20T11:51:28.545Z] 77bc0d833cb6: Verifying Checksum [2021-10-20T11:51:28.545Z] 77bc0d833cb6: Download complete [2021-10-20T11:51:28.824Z] b4d181a07f80: Download complete [2021-10-20T11:51:29.400Z] d287ab97295c: Verifying Checksum [2021-10-20T11:51:29.400Z] d287ab97295c: Download complete [2021-10-20T11:51:29.975Z] b4d181a07f80: Pull complete [2021-10-20T11:51:30.246Z] a1111a8f2ec3: Pull complete [2021-10-20T11:51:30.832Z] ed53099fbce6: Pull complete [2021-10-20T11:51:30.832Z] dc539afda2c1: Pull complete [2021-10-20T11:51:31.093Z] 77bc0d833cb6: Pull complete [2021-10-20T11:51:31.093Z] 9065ff56babe: Pull complete [2021-10-20T11:51:33.683Z] 7a9cfe048b4a: Pull complete [2021-10-20T11:51:33.959Z] 72dc09318566: Pull complete [2021-10-20T11:51:34.241Z] f4f7b4309257: Pull complete [2021-10-20T11:51:34.844Z] 0ac9a79272e3: Pull complete [2021-10-20T11:51:36.435Z] d287ab97295c: Pull complete [2021-10-20T11:51:36.435Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-20T11:51:36.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T11:51:36.435Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-20T11:51:36.506Z] prd-centos7-docker-4c-2g-444 does not seem to be running inside a container [2021-10-20T11:51:36.537Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-20T11:51:39.329Z] $ docker top b649348eed2c03d5041afc84db2a65a2048eb7d405f646b41366ad89822ed083 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T11:51:39.779Z] ---> job-cost.sh [2021-10-20T11:51:39.779Z] lf-activate-venv: SKIPPING [2021-10-20T11:51:39.779Z] INFO: No Stack... [2021-10-20T11:51:40.279Z] b78e95d17946: Pull complete [2021-10-20T11:51:40.279Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-20T11:51:40.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-20T11:51:40.279Z] ---> 8b459fc5aaf0 [2021-10-20T11:51:40.279Z] Step 3/10 : ARG MAKE=make build [2021-10-20T11:51:44.632Z] ---> Running in 1eedf27fac81 [2021-10-20T11:51:45.237Z] Removing intermediate container 1eedf27fac81 [2021-10-20T11:51:45.237Z] ---> 1422b04da8e2 [2021-10-20T11:51:45.237Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-20T11:51:45.237Z] ---> Running in 0e0c59c8d7b1 [2021-10-20T11:51:45.843Z] Removing intermediate container 0e0c59c8d7b1 [2021-10-20T11:51:45.843Z] ---> ccf9fa4c04bd [2021-10-20T11:51:45.843Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-20T11:51:46.121Z] ---> Running in 4908b7f5f743 [2021-10-20T11:51:46.727Z] Removing intermediate container 4908b7f5f743 [2021-10-20T11:51:46.727Z] ---> 3f85a06c4f59 [2021-10-20T11:51:46.727Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-20T11:51:46.727Z] ---> Running in cbe790e80c05 [2021-10-20T11:51:49.410Z] Removing intermediate container cbe790e80c05 [2021-10-20T11:51:49.410Z] ---> 1ad099a23ae2 [2021-10-20T11:51:49.410Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-20T11:51:49.410Z] ---> Running in 5db39028222a [2021-10-20T11:51:50.860Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-20T11:51:51.844Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-20T11:51:52.447Z] OK: 219 MiB in 52 packages [2021-10-20T11:51:53.443Z] Removing intermediate container 5db39028222a [2021-10-20T11:51:53.443Z] ---> 9f10433cd481 [2021-10-20T11:51:53.443Z] Step 8/10 : COPY . . [2021-10-20T11:51:54.893Z] ---> 1fe3a0c88353 [2021-10-20T11:51:54.893Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-20T11:51:54.893Z] ---> Running in a200ff3d474d [2021-10-20T11:52:06.359Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-20T11:52:06.360Z] INFO: Archiving Costs [Pipeline] sh [2021-10-20T11:52:06.665Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-10-20T11:52:06.665Z] + cut -d, -f6 [Pipeline] lock [2021-10-20T11:52:06.696Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1038-2-stack-cost] [2021-10-20T11:52:06.702Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1038-2-stack-cost] did not exist. Created. [2021-10-20T11:52:06.702Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1038-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-20T11:52:07.014Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-20T11:52:07.050Z] Stashed 1 file(s) [Pipeline] } [2021-10-20T11:52:07.055Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1038-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-20T11:52:07.073Z] $ docker stop --time=1 b649348eed2c03d5041afc84db2a65a2048eb7d405f646b41366ad89822ed083 [2021-10-20T11:52:08.210Z] $ docker rm -f b649348eed2c03d5041afc84db2a65a2048eb7d405f646b41366ad89822ed083 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-20T11:53:16.795Z] Removing intermediate container a200ff3d474d [2021-10-20T11:53:16.795Z] ---> 47f0e50085d7 [2021-10-20T11:53:16.795Z] Step 10/10 : RUN ${MAKE} [2021-10-20T11:53:16.795Z] ---> Running in 954ebadb5ad6 [2021-10-20T11:53:16.795Z] noop [2021-10-20T11:53:16.795Z] Removing intermediate container 954ebadb5ad6 [2021-10-20T11:53:16.795Z] ---> f7526da61e22 [2021-10-20T11:53:16.795Z] Successfully built f7526da61e22 [2021-10-20T11:53:16.795Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:53:17.162Z] + docker inspect -f . ci-base-image-arm64 [2021-10-20T11:53:17.162Z] . [Pipeline] withDockerContainer [2021-10-20T11:53:17.461Z] prd-ubuntu18.04-docker-arm64-4c-16g-445 does not seem to be running inside a container [2021-10-20T11:53:17.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-20T11:53:19.378Z] $ docker top 3d966bb866ee7eafb10f4db7b47aa23102d564adc9ea3aea1dbda48f68e7d326 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-20T11:53:20.352Z] + go version [2021-10-20T11:53:20.352Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-20T11:53:20.427Z] $ docker stop --time=1 3d966bb866ee7eafb10f4db7b47aa23102d564adc9ea3aea1dbda48f68e7d326 [2021-10-20T11:53:22.310Z] $ docker rm -f 3d966bb866ee7eafb10f4db7b47aa23102d564adc9ea3aea1dbda48f68e7d326 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:53:23.138Z] + docker inspect -f . ci-base-image-arm64 [2021-10-20T11:53:23.138Z] . [Pipeline] withDockerContainer [2021-10-20T11:53:23.398Z] prd-ubuntu18.04-docker-arm64-4c-16g-445 does not seem to be running inside a container [2021-10-20T11:53:23.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-20T11:53:25.233Z] $ docker top adfde6e2d69ae1efd6b5bb59bac5ebacff32a8e22b9d4943f4303aada3aa22ec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-20T11:53:26.195Z] + make test [2021-10-20T11:53:26.196Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-20T11:53:53.103Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-20T11:55:01.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-20T11:55:01.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-20T11:55:01.307Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-20T11:55:08.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.304s coverage: 23.8% of statements [2021-10-20T11:55:08.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-20T11:55:08.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.216s coverage: 28.1% of statements [2021-10-20T11:55:08.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.281s coverage: 78.9% of statements [2021-10-20T11:55:08.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.204s coverage: 9.0% of statements [2021-10-20T11:55:08.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-20T11:55:08.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-20T11:55:08.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-20T11:55:09.101Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.376s coverage: 28.7% of statements [2021-10-20T11:55:09.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-20T11:55:11.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.238s coverage: 83.3% of statements [2021-10-20T11:55:11.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-20T11:55:11.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-20T11:55:11.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.409s coverage: 57.8% of statements [2021-10-20T11:55:13.113Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.139s coverage: 88.8% of statements [2021-10-20T11:55:13.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-20T11:55:13.389Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.189s coverage: 4.9% of statements [2021-10-20T11:55:13.389Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-20T11:55:13.995Z] GO111MODULE=on go vet ./... [2021-10-20T11:56:10.692Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-20T11:56:10.692Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-20T11:56:10.692Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-20T11:56:11.799Z] $ docker stop --time=1 adfde6e2d69ae1efd6b5bb59bac5ebacff32a8e22b9d4943f4303aada3aa22ec [2021-10-20T11:56:13.871Z] $ docker rm -f adfde6e2d69ae1efd6b5bb59bac5ebacff32a8e22b9d4943f4303aada3aa22ec [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-20T11:56:14.926Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-20T11:56:14.954Z] Warning: overwriting stash ‘coverage-report’ [2021-10-20T11:56:15.677Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-20T11:56:16.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-20T11:56:16.541Z] + ls -al . [2021-10-20T11:56:16.541Z] total 300 [2021-10-20T11:56:16.541Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 11:56 . [2021-10-20T11:56:16.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 11:50 .. [2021-10-20T11:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 20 11:50 .dockerignore [2021-10-20T11:56:16.541Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 11:50 .git [2021-10-20T11:56:16.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 11:50 .github [2021-10-20T11:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 20 11:50 .gitignore [2021-10-20T11:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 20 11:50 CHANGELOG.md [2021-10-20T11:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 11:50 GOVERNANCE.md [2021-10-20T11:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 20 11:50 Jenkinsfile [2021-10-20T11:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 20 11:50 LICENSE [2021-10-20T11:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 20 11:50 Makefile [2021-10-20T11:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 20 11:50 OWNERS.md [2021-10-20T11:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 20 11:50 README.md [2021-10-20T11:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 11:46 VERSION [2021-10-20T11:56:16.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 11:50 bin [2021-10-20T11:56:16.541Z] -rw-r--r-- 1 jenkins jenkins 126785 Oct 20 11:55 coverage.out [2021-10-20T11:56:16.541Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 20 11:50 example [2021-10-20T11:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 602 Oct 20 11:50 go.mod [2021-10-20T11:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 49868 Oct 20 11:50 go.sum [2021-10-20T11:56:16.541Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 20 11:50 internal [2021-10-20T11:56:16.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 11:50 openapi [2021-10-20T11:56:16.541Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 20 11:50 pkg [2021-10-20T11:56:16.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 11:50 snap [2021-10-20T11:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 20 11:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:56:16.899Z] + 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=e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 --label arch=arm64 --label version=0.0.0 . [2021-10-20T11:56:17.503Z] Sending build context to Docker daemon 2.879MB [2021-10-20T11:56:17.503Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-20T11:56:17.503Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-20T11:56:17.503Z] ---> f7526da61e22 [2021-10-20T11:56:17.503Z] Step 3/24 : ARG MAKE=make build [2021-10-20T11:56:17.781Z] ---> Running in 4f3f5c09c9b2 [2021-10-20T11:56:18.061Z] Removing intermediate container 4f3f5c09c9b2 [2021-10-20T11:56:18.061Z] ---> f7055746f055 [2021-10-20T11:56:18.061Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-20T11:56:18.338Z] ---> Running in b73b5ad147e8 [2021-10-20T11:56:18.945Z] Removing intermediate container b73b5ad147e8 [2021-10-20T11:56:18.945Z] ---> 0aede3cf7866 [2021-10-20T11:56:18.945Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-20T11:56:18.946Z] ---> Running in 9b6daab8408d [2021-10-20T11:56:19.550Z] Removing intermediate container 9b6daab8408d [2021-10-20T11:56:19.550Z] ---> b7037a1c4ed1 [2021-10-20T11:56:19.550Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-20T11:56:19.550Z] ---> Running in 2aac8ec0c0e7 [2021-10-20T11:56:22.192Z] Removing intermediate container 2aac8ec0c0e7 [2021-10-20T11:56:22.192Z] ---> b8edff57c32d [2021-10-20T11:56:22.192Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-20T11:56:22.192Z] ---> Running in 9a3475142cbc [2021-10-20T11:56:23.193Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-20T11:56:24.185Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-20T11:56:24.795Z] OK: 219 MiB in 52 packages [2021-10-20T11:56:26.258Z] Removing intermediate container 9a3475142cbc [2021-10-20T11:56:26.258Z] ---> bd95c06aeb2b [2021-10-20T11:56:26.258Z] Step 8/24 : COPY . . [2021-10-20T11:56:27.253Z] ---> 4476467ac343 [2021-10-20T11:56:27.253Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-20T11:56:27.532Z] ---> Running in dc577a582446 [2021-10-20T11:56:30.180Z] Removing intermediate container dc577a582446 [2021-10-20T11:56:30.180Z] ---> e892a8743aed [2021-10-20T11:56:30.180Z] Step 10/24 : RUN ${MAKE} [2021-10-20T11:56:30.180Z] ---> Running in 858693adc19d [2021-10-20T11:56:31.171Z] 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-20T11:57:03.634Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-20T11:57:07.057Z] Removing intermediate container 858693adc19d [2021-10-20T11:57:07.057Z] ---> 6258c0827aff [2021-10-20T11:57:07.057Z] Step 11/24 : FROM alpine:3.14 [2021-10-20T11:57:08.049Z] 3.14: Pulling from library/alpine [2021-10-20T11:57:08.049Z] 552d1f2373af: Already exists [2021-10-20T11:57:08.328Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-20T11:57:08.328Z] Status: Downloaded newer image for alpine:3.14 [2021-10-20T11:57:08.328Z] ---> bb3de5531c18 [2021-10-20T11:57:08.328Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-20T11:57:08.607Z] ---> Running in e7990d5277cc [2021-10-20T11:57:08.884Z] Removing intermediate container e7990d5277cc [2021-10-20T11:57:08.884Z] ---> 08ceb888b3d0 [2021-10-20T11:57:08.884Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-20T11:57:09.165Z] ---> Running in 01e504604741 [2021-10-20T11:57:11.816Z] Removing intermediate container 01e504604741 [2021-10-20T11:57:11.816Z] ---> 7c42768b1eac [2021-10-20T11:57:11.816Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-20T11:57:11.816Z] ---> Running in e12aa937c92b [2021-10-20T11:57:12.814Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-20T11:57:13.805Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-20T11:57:14.412Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-20T11:57:14.690Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-20T11:57:14.690Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-20T11:57:14.971Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-20T11:57:14.971Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-20T11:57:14.971Z] Executing busybox-1.33.1-r3.trigger [2021-10-20T11:57:14.971Z] OK: 8 MiB in 19 packages [2021-10-20T11:57:16.437Z] Removing intermediate container e12aa937c92b [2021-10-20T11:57:16.437Z] ---> 274b971d7b22 [2021-10-20T11:57:16.437Z] Step 15/24 : WORKDIR / [2021-10-20T11:57:16.437Z] ---> Running in ef6df73e798b [2021-10-20T11:57:17.042Z] Removing intermediate container ef6df73e798b [2021-10-20T11:57:17.042Z] ---> d467ef7a1c21 [2021-10-20T11:57:17.042Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-20T11:57:18.039Z] ---> bf1cb1a151b6 [2021-10-20T11:57:18.039Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-20T11:57:19.035Z] ---> d33b42948e0d [2021-10-20T11:57:19.035Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-20T11:57:20.027Z] ---> 869fb381f8e9 [2021-10-20T11:57:20.027Z] Step 19/24 : EXPOSE 59999 [2021-10-20T11:57:20.027Z] ---> Running in 58d4bf374348 [2021-10-20T11:57:20.635Z] Removing intermediate container 58d4bf374348 [2021-10-20T11:57:20.635Z] ---> 2ddbc62e74fb [2021-10-20T11:57:20.635Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-20T11:57:20.635Z] ---> Running in 3c33316f7acb [2021-10-20T11:57:21.245Z] Removing intermediate container 3c33316f7acb [2021-10-20T11:57:21.245Z] ---> 955a9c1c89a0 [2021-10-20T11:57:21.245Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-20T11:57:21.245Z] ---> Running in 807ed30a2fa1 [2021-10-20T11:57:21.853Z] Removing intermediate container 807ed30a2fa1 [2021-10-20T11:57:21.853Z] ---> 25f923111686 [2021-10-20T11:57:21.853Z] Step 22/24 : LABEL arch=arm64 [2021-10-20T11:57:21.853Z] ---> Running in 148f1bf48361 [2021-10-20T11:57:22.458Z] Removing intermediate container 148f1bf48361 [2021-10-20T11:57:22.458Z] ---> 9982cb65af99 [2021-10-20T11:57:22.458Z] Step 23/24 : LABEL git_sha=e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 [2021-10-20T11:57:22.458Z] ---> Running in f5e5c3e89430 [2021-10-20T11:57:23.064Z] Removing intermediate container f5e5c3e89430 [2021-10-20T11:57:23.064Z] ---> 101542bc7745 [2021-10-20T11:57:23.064Z] Step 24/24 : LABEL version=0.0.0 [2021-10-20T11:57:23.064Z] ---> Running in e7fa0886dda9 [2021-10-20T11:57:23.668Z] Removing intermediate container e7fa0886dda9 [2021-10-20T11:57:23.668Z] ---> 6995c0a2da88 [2021-10-20T11:57:23.668Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-20T11:57:23.668Z] Successfully built 6995c0a2da88 [2021-10-20T11:57:23.668Z] 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-20T11:57:24.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-20T11:57:24.542Z] [2021-10-20T11:57:24.542Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:57:24.910Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-20T11:57:25.190Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-20T11:57:25.190Z] 448f6bf000e3: Pulling fs layer [2021-10-20T11:57:25.190Z] f757da607395: Pulling fs layer [2021-10-20T11:57:25.190Z] 05883995daec: Pulling fs layer [2021-10-20T11:57:25.190Z] 8603b9c90790: Pulling fs layer [2021-10-20T11:57:25.190Z] 1560dd03e051: Pulling fs layer [2021-10-20T11:57:25.190Z] 27f5ce0e4adf: Pulling fs layer [2021-10-20T11:57:25.190Z] c2d8d7efcc4b: Pulling fs layer [2021-10-20T11:57:25.190Z] 8603b9c90790: Waiting [2021-10-20T11:57:25.190Z] 27f5ce0e4adf: Waiting [2021-10-20T11:57:25.190Z] 1560dd03e051: Waiting [2021-10-20T11:57:25.190Z] c2d8d7efcc4b: Waiting [2021-10-20T11:57:25.476Z] f757da607395: Verifying Checksum [2021-10-20T11:57:25.476Z] f757da607395: Download complete [2021-10-20T11:57:25.476Z] 8603b9c90790: Download complete [2021-10-20T11:57:25.764Z] 05883995daec: Verifying Checksum [2021-10-20T11:57:25.764Z] 05883995daec: Download complete [2021-10-20T11:57:25.764Z] 1560dd03e051: Verifying Checksum [2021-10-20T11:57:25.764Z] 1560dd03e051: Download complete [2021-10-20T11:57:25.764Z] 27f5ce0e4adf: Verifying Checksum [2021-10-20T11:57:26.046Z] 448f6bf000e3: Verifying Checksum [2021-10-20T11:57:26.046Z] 448f6bf000e3: Download complete [2021-10-20T11:57:28.729Z] c2d8d7efcc4b: Verifying Checksum [2021-10-20T11:57:28.729Z] c2d8d7efcc4b: Download complete [2021-10-20T11:57:29.731Z] 448f6bf000e3: Pull complete [2021-10-20T11:57:30.340Z] f757da607395: Pull complete [2021-10-20T11:57:31.813Z] 05883995daec: Pull complete [2021-10-20T11:57:32.095Z] 8603b9c90790: Pull complete [2021-10-20T11:57:33.092Z] 1560dd03e051: Pull complete [2021-10-20T11:57:33.371Z] 27f5ce0e4adf: Pull complete [2021-10-20T11:57:48.553Z] c2d8d7efcc4b: Pull complete [2021-10-20T11:57:48.553Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-20T11:57:48.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-20T11:57:48.553Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-20T11:57:48.832Z] prd-ubuntu18.04-docker-arm64-4c-16g-445 does not seem to be running inside a container [2021-10-20T11:57:49.013Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-20T11:57:52.710Z] $ docker top 2287cac74f273ee36171054ce211de5da6cb06285c530347f6a07d47f754c379 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T11:57:53.638Z] ---> job-cost.sh [2021-10-20T11:57:53.638Z] lf-activate-venv: SKIPPING [2021-10-20T11:57:53.638Z] INFO: No Stack... [2021-10-20T11:57:55.632Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-20T11:57:55.908Z] INFO: Archiving Costs [Pipeline] sh [2021-10-20T11:57:56.588Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-10-20T11:57:56.588Z] + cut -d, -f6 [Pipeline] lock [2021-10-20T11:57:56.657Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1038-2-stack-cost] [2021-10-20T11:57:56.664Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1038-2-stack-cost] did not exist. Created. [2021-10-20T11:57:56.664Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1038-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-20T11:57:57.360Z] /w/workspace/device-sdk-go/2@tmp/durable-b0a4e9fa/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-b0a4e9fa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-20T11:57:58.047Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-20T11:57:58.078Z] Warning: overwriting stash ‘stack-cost’ [2021-10-20T11:57:58.142Z] Stashed 1 file(s) [Pipeline] } [2021-10-20T11:57:58.148Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1038-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-20T11:57:58.249Z] $ docker stop --time=1 2287cac74f273ee36171054ce211de5da6cb06285c530347f6a07d47f754c379 [2021-10-20T11:57:59.928Z] $ docker rm -f 2287cac74f273ee36171054ce211de5da6cb06285c530347f6a07d47f754c379 [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-20T11:58:00.729Z] provisioning config files... [2021-10-20T11:58:00.738Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/config3772573343230313041tmp [Pipeline] { [Pipeline] sh [2021-10-20T11:58:01.065Z] + set +x [2021-10-20T11:58:01.065Z] + curl -s https://codecov.io/bash [2021-10-20T11:58:01.066Z] + bash -s -- [2021-10-20T11:58:01.066Z] [2021-10-20T11:58:01.066Z] _____ _ [2021-10-20T11:58:01.066Z] / ____| | | [2021-10-20T11:58:01.066Z] | | ___ __| | ___ ___ _____ __ [2021-10-20T11:58:01.066Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-20T11:58:01.066Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-20T11:58:01.066Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-20T11:58:01.066Z] Bash-1.0.6 [2021-10-20T11:58:01.066Z] [2021-10-20T11:58:01.066Z] [2021-10-20T11:58:01.066Z] ==> git version 2.24.4 found [2021-10-20T11:58:01.066Z] ==> 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-20T11:58:01.066Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-20T11:58:01.066Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-20T11:58:01.066Z] ==> Jenkins CI detected. [2021-10-20T11:58:01.066Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1038 [2021-10-20T11:58:01.066Z] project root: . [2021-10-20T11:58:01.066Z] --> token set from env [2021-10-20T11:58:01.066Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-20T11:58:01.335Z] ==> Running gcov in . (disable via -X gcov) [2021-10-20T11:58:01.335Z] ==> Python coveragepy not found [2021-10-20T11:58:01.335Z] ==> Searching for coverage reports in: [2021-10-20T11:58:01.335Z] + . [2021-10-20T11:58:01.335Z] -> Found 1 reports [2021-10-20T11:58:01.335Z] ==> Detecting git/mercurial file structure [2021-10-20T11:58:01.335Z] ==> Reading reports [2021-10-20T11:58:01.335Z] + ./coverage.out bytes=126785 [2021-10-20T11:58:01.335Z] ==> Appending adjustments [2021-10-20T11:58:01.335Z] https://docs.codecov.io/docs/fixing-reports [2021-10-20T11:58:01.601Z] + Found adjustments [2021-10-20T11:58:01.601Z] ==> Gzipping contents [2021-10-20T11:58:01.601Z] 16K /tmp/codecov.DbHsdY.gz [2021-10-20T11:58:01.601Z] ==> Uploading reports [2021-10-20T11:58:01.601Z] url: https://codecov.io [2021-10-20T11:58:01.601Z] query: branch=PR-1038&commit=e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1038%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1038&job=&cmd_args= [2021-10-20T11:58:01.601Z] -> Pinging Codecov [2021-10-20T11:58:01.601Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1038&commit=e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1038%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1038&job=&cmd_args= [2021-10-20T11:58:01.869Z] -> Uploading to [2021-10-20T11:58:01.869Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-20/7E55EF52A471D76F132DFD9A03CDDE97/e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6/76bde43b-b353-4f1c-9add-9161ab5da160.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211020%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211020T115801Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4cc44c4b3acd842d1f096c3f90de783a8552cf0c8fb88421feb80d1f8347113c [2021-10-20T11:58:01.869Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-20T11:58:01.869Z] Dload Upload Total Spent Left Speed [2021-10-20T11:58:02.443Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16163 0 0 100 16163 0 55177 --:--:-- --:--:-- --:--:-- 55352 [2021-10-20T11:58:02.443Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e8b3470fb938b532cb7ff3a3c47493bd6c5cc3a6 [Pipeline] } [2021-10-20T11:58:02.448Z] 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-20T11:58:03.647Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1038/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-20T11:58:03.947Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T11:58:04.499Z] ---> package-listing.sh [2021-10-20T11:58:04.499Z] ++ facter osfamily [2021-10-20T11:58:04.499Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-20T11:58:04.759Z] + OS_FAMILY=redhat [2021-10-20T11:58:04.759Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1038 [2021-10-20T11:58:04.759Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-20T11:58:04.759Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-20T11:58:04.759Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-20T11:58:04.759Z] + PACKAGES=/tmp/packages_start.txt [2021-10-20T11:58:04.759Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1038 ']' [2021-10-20T11:58:04.759Z] + PACKAGES=/tmp/packages_end.txt [2021-10-20T11:58:04.759Z] + case "${OS_FAMILY}" in [2021-10-20T11:58:04.759Z] + rpm -qa [2021-10-20T11:58:04.759Z] + sort [2021-10-20T11:58:05.327Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-20T11:58:05.327Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-20T11:58:05.327Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-20T11:58:05.327Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1038 ']' [2021-10-20T11:58:05.327Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1038/archives/ [2021-10-20T11:58:05.327Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1038/archives/ [Pipeline] echo [2021-10-20T11:58:05.337Z] 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-1038/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-20T11:58:05.621Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:58:06.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T11:58:06.170Z] [2021-10-20T11:58:06.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T11:58:06.475Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T11:58:06.475Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-20T11:58:06.475Z] b4d181a07f80: Pulling fs layer [2021-10-20T11:58:06.475Z] a1111a8f2ec3: Pulling fs layer [2021-10-20T11:58:06.475Z] ed53099fbce6: Pulling fs layer [2021-10-20T11:58:06.475Z] dc539afda2c1: Pulling fs layer [2021-10-20T11:58:06.475Z] 77bc0d833cb6: Pulling fs layer [2021-10-20T11:58:06.475Z] 9065ff56babe: Pulling fs layer [2021-10-20T11:58:06.475Z] d287ab97295c: Pulling fs layer [2021-10-20T11:58:06.475Z] dc539afda2c1: Waiting [2021-10-20T11:58:06.475Z] 77bc0d833cb6: Waiting [2021-10-20T11:58:06.475Z] 9065ff56babe: Waiting [2021-10-20T11:58:06.475Z] d287ab97295c: Waiting [2021-10-20T11:58:06.475Z] a1111a8f2ec3: Verifying Checksum [2021-10-20T11:58:06.475Z] a1111a8f2ec3: Download complete [2021-10-20T11:58:06.475Z] dc539afda2c1: Verifying Checksum [2021-10-20T11:58:06.475Z] dc539afda2c1: Download complete [2021-10-20T11:58:06.739Z] 77bc0d833cb6: Verifying Checksum [2021-10-20T11:58:06.739Z] 77bc0d833cb6: Download complete [2021-10-20T11:58:06.739Z] ed53099fbce6: Verifying Checksum [2021-10-20T11:58:06.739Z] ed53099fbce6: Download complete [2021-10-20T11:58:06.739Z] 9065ff56babe: Verifying Checksum [2021-10-20T11:58:06.739Z] 9065ff56babe: Download complete [2021-10-20T11:58:06.739Z] b4d181a07f80: Verifying Checksum [2021-10-20T11:58:06.739Z] b4d181a07f80: Download complete [2021-10-20T11:58:07.309Z] d287ab97295c: Verifying Checksum [2021-10-20T11:58:07.309Z] d287ab97295c: Download complete [2021-10-20T11:58:08.265Z] b4d181a07f80: Pull complete [2021-10-20T11:58:08.531Z] a1111a8f2ec3: Pull complete [2021-10-20T11:58:08.792Z] ed53099fbce6: Pull complete [2021-10-20T11:58:09.060Z] dc539afda2c1: Pull complete [2021-10-20T11:58:09.329Z] 77bc0d833cb6: Pull complete [2021-10-20T11:58:09.329Z] 9065ff56babe: Pull complete [2021-10-20T11:58:14.655Z] d287ab97295c: Pull complete [2021-10-20T11:58:14.655Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-20T11:58:14.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T11:58:14.655Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-20T11:58:14.720Z] prd-centos7-docker-4c-2g-441 does not seem to be running inside a container [2021-10-20T11:58:14.757Z] $ 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-1038/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-1038 -v /w/workspace/gexfoundry_device-sdk-go_PR-1038:/w/workspace/gexfoundry_device-sdk-go_PR-1038:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1038@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-20T11:58:17.059Z] $ docker top 3240f1d2e8d3de1ab9e78ace4189521bde7b439fb706ee7a1673f69c203a3421 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-20T11:58:17.418Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-20T11:58:17.709Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-20T11:58:17.994Z] + ls /var/log/sa-host [2021-10-20T11:58:17.995Z] + sadf -c /var/log/sa-host/sa20 [2021-10-20T11:58:17.995Z] file_magic: OK [2021-10-20T11:58:17.995Z] HZ: Using current value: 100 [2021-10-20T11:58:17.995Z] file_header: OK [2021-10-20T11:58:17.995Z] 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-20T11:58:17.995Z] Statistics: [2021-10-20T11:58:17.995Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-20T11:58:17.995Z] File successfully converted to sysstat format version 12.0.3 [2021-10-20T11:58:17.995Z] + sadf -c /var/log/sa-host/sa30 [2021-10-20T11:58:17.995Z] file_magic: OK [2021-10-20T11:58:17.995Z] HZ: Using current value: 100 [2021-10-20T11:58:17.995Z] file_header: OK [2021-10-20T11:58:17.995Z] 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-20T11:58:17.995Z] Statistics: [2021-10-20T11:58:17.995Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-20T11:58:17.995Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T11:58:18.288Z] provisioning config files... [2021-10-20T11:58:18.300Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1038@tmp/config8028222895591358059tmp [Pipeline] { [Pipeline] echo [2021-10-20T11:58:18.313Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T11:58:18.620Z] ---> create-netrc.sh [Pipeline] } [2021-10-20T11:58:18.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-20T11:58:18.990Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-20T11:58:19.000Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T11:58:19.289Z] ---> sudo-logs.sh [2021-10-20T11:58:19.289Z] Archiving 'sudo' log.. [2021-10-20T11:58:19.289Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-441.novalocal: Name or service not known [2021-10-20T11:58:19.289Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-441.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-20T11:58:19.310Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T11:58:19.597Z] ---> job-cost.sh [2021-10-20T11:58:19.597Z] lf-activate-venv: SKIPPING [2021-10-20T11:58:19.597Z] DEBUG: total: 0.10999999940395355 [2021-10-20T11:58:19.597Z] INFO: Retrieving Stack Cost... [2021-10-20T11:58:31.814Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-20T11:58:31.814Z] INFO: Archiving Costs [Pipeline] echo [2021-10-20T11:58:31.823Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T11:58:32.110Z] ---> logs-deploy.sh [2021-10-20T11:58:32.110Z] lf-activate-venv: SKIPPING [2021-10-20T11:58:32.110Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1038/2 [2021-10-20T11:58:32.110Z] INFO: archiving workspace using pattern(s): [2021-10-20T11:58:32.680Z] Archives upload complete. [2021-10-20T11:58:32.942Z] INFO: archiving logs to Nexus