Pull request #1047 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 139c5c34749d337829d637ec9110b2c5b37b8d1c+1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 (3502e3be09db12831b7aeeadb9f3d7b1675d5eda) 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-ssh7953108544456773934.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-ssh2942420774113524192.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-1047/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-1047/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5744552556330819482.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-ssh5349876384769670590.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-1047/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-1047/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4623241336022010522.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-25 in /w/workspace/gexfoundry_device-sdk-go_PR-1047 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1047 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/jenkins-gitclient-ssh5366124516462547719.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-1047@tmp/jenkins-gitclient-ssh1564320972955620236.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1047/head:refs/remotes/origin/PR-1047 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 into PR head commit 139c5c34749d337829d637ec9110b2c5b37b8d1c Merge succeeded, producing 139c5c34749d337829d637ec9110b2c5b37b8d1c Checking out Revision 139c5c34749d337829d637ec9110b2c5b37b8d1c (PR-1047) > git config core.sparsecheckout # timeout=10 > git checkout -f 139c5c34749d337829d637ec9110b2c5b37b8d1c # 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-1047@tmp/jenkins-gitclient-ssh4307284147417601698.key > git merge 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 139c5c34749d337829d637ec9110b2c5b37b8d1c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-28T17:55:04.282Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-28T17:55:04.331Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-28T17:55:04.348Z] ========================================================= [2021-10-28T17:55:04.349Z] EdgeX Global Pipelines Version Info [2021-10-28T17:55:04.349Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk bd22ad67da03dec9edc5730c8b0bd051af39755b # timeout=10 [2021-10-28T17:55:05.481Z] ------------------- [2021-10-28T17:55:05.481Z] stable info: [2021-10-28T17:55:05.481Z] ------------------- [2021-10-28T17:55:05.481Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-28T17:55:05.481Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-28T17:55:05.481Z] Message: update stable to v1.0.210 [2021-10-28T17:55:06.053Z] ------------------- [2021-10-28T17:55:06.053Z] experimental info: [2021-10-28T17:55:06.053Z] ------------------- [2021-10-28T17:55:06.053Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-28T17:55:06.053Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-28T17:55:06.053Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-28T17:55:06.132Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-28T17:55:06.145Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-28T17:55:06.159Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-28T17:55:06.171Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-28T17:55:06.182Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-28T17:55:06.194Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-28T17:55:06.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-28T17:55:06.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-28T17:55:06.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-28T17:55:06.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-28T17:55:06.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-28T17:55:06.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-28T17:55:06.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-28T17:55:06.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-28T17:55:06.297Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T17:55:06.313Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T17:55:06.324Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T17:55:06.341Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T17:55:06.353Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-28T17:55:06.369Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-28T17:55:06.380Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-28T17:55:06.395Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-28T17:55:06.407Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-28T17:55:06.419Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-28T17:55:06.429Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-28T17:55:06.438Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-28T17:55:06.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1047 [Pipeline] echo [2021-10-28T17:55:06.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1047 [Pipeline] echo [2021-10-28T17:55:06.480Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1047 [Pipeline] echo [2021-10-28T17:55:06.492Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 139c5c34749d337829d637ec9110b2c5b37b8d1c [Pipeline] echo [2021-10-28T17:55:06.501Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 139c5c3 [Pipeline] echo [2021-10-28T17:55:06.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T17:55:06.549Z] provisioning config files... [2021-10-28T17:55:06.575Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/config7340333290091044716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:55:06.890Z] ---> docker-login.sh [2021-10-28T17:55:06.890Z] nexus3.edgexfoundry.org:10001 [2021-10-28T17:55:06.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:55:07.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:55:07.156Z] Configure a credential helper to remove this warning. See [2021-10-28T17:55:07.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:55:07.156Z] [2021-10-28T17:55:07.156Z] Login Succeeded [2021-10-28T17:55:07.156Z] nexus3.edgexfoundry.org:10002 [2021-10-28T17:55:07.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:55:07.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:55:07.156Z] Configure a credential helper to remove this warning. See [2021-10-28T17:55:07.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:55:07.156Z] [2021-10-28T17:55:07.156Z] Login Succeeded [2021-10-28T17:55:07.156Z] nexus3.edgexfoundry.org:10003 [2021-10-28T17:55:07.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:55:07.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:55:07.156Z] Configure a credential helper to remove this warning. See [2021-10-28T17:55:07.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:55:07.156Z] [2021-10-28T17:55:07.156Z] Login Succeeded [2021-10-28T17:55:07.156Z] nexus3.edgexfoundry.org:10004 [2021-10-28T17:55:07.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:55:07.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:55:07.416Z] Configure a credential helper to remove this warning. See [2021-10-28T17:55:07.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:55:07.416Z] [2021-10-28T17:55:07.416Z] Login Succeeded [2021-10-28T17:55:07.416Z] docker.io [2021-10-28T17:55:07.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:55:07.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:55:07.678Z] Configure a credential helper to remove this warning. See [2021-10-28T17:55:07.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:55:07.679Z] [2021-10-28T17:55:07.679Z] Login Succeeded [2021-10-28T17:55:07.679Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T17:55:07.687Z] 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-28T17:55:08.106Z] + git log --format=format:%s -1 139c5c34749d337829d637ec9110b2c5b37b8d1c [Pipeline] echo [2021-10-28T17:55:08.141Z] GIT_COMMIT: 139c5c34749d337829d637ec9110b2c5b37b8d1c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo [2021-10-28T17:55:08.148Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:55:08.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T17:55:08.630Z] [2021-10-28T17:55:08.630Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:55:08.928Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T17:55:08.928Z] latest: Pulling from edgex-devops/git-semver [2021-10-28T17:55:08.928Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T17:55:08.928Z] 3e5f54012d9b: Pulling fs layer [2021-10-28T17:55:08.928Z] 4c7163046ea9: Pulling fs layer [2021-10-28T17:55:08.928Z] 0c2d73faf560: Pulling fs layer [2021-10-28T17:55:08.928Z] 0c2d73faf560: Waiting [2021-10-28T17:55:08.928Z] 3e5f54012d9b: Download complete [2021-10-28T17:55:08.928Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T17:55:08.928Z] a0d0a0d46f8b: Download complete [2021-10-28T17:55:08.928Z] 4c7163046ea9: Verifying Checksum [2021-10-28T17:55:08.928Z] 4c7163046ea9: Download complete [2021-10-28T17:55:09.192Z] 0c2d73faf560: Verifying Checksum [2021-10-28T17:55:09.192Z] 0c2d73faf560: Download complete [2021-10-28T17:55:09.192Z] a0d0a0d46f8b: Pull complete [2021-10-28T17:55:09.192Z] 3e5f54012d9b: Pull complete [2021-10-28T17:55:09.458Z] 4c7163046ea9: Pull complete [2021-10-28T17:55:09.721Z] 0c2d73faf560: Pull complete [2021-10-28T17:55:09.721Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-28T17:55:09.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T17:55:09.721Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-28T17:55:09.795Z] prd-centos7-docker-4c-2g-25 does not seem to be running inside a container [2021-10-28T17:55:09.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1047 -v /w/workspace/gexfoundry_device-sdk-go_PR-1047:/w/workspace/gexfoundry_device-sdk-go_PR-1047:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T17:55:10.447Z] $ docker top c49585cc300de02537c41410a6e7446ba24dc74a7926d0ddecd4d6c7751181e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T17:55:10.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T17:55:10.551Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T17:55:10.649Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T17:55:10.651Z] $ docker exec c49585cc300de02537c41410a6e7446ba24dc74a7926d0ddecd4d6c7751181e2 ssh-agent [2021-10-28T17:55:10.750Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDnOBmB/agent.15 [2021-10-28T17:55:10.750Z] SSH_AGENT_PID=21 [2021-10-28T17:55:10.760Z] Running ssh-add (command line suppressed) [2021-10-28T17:55:10.840Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/private_key_2678219959650684583.key (/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/private_key_2678219959650684583.key) [2021-10-28T17:55:10.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T17:55:11.145Z] + git tag --points-at HEAD [Pipeline] } [2021-10-28T17:55:11.162Z] $ docker exec --env ******** --env ******** c49585cc300de02537c41410a6e7446ba24dc74a7926d0ddecd4d6c7751181e2 ssh-agent -k [2021-10-28T17:55:11.258Z] unset SSH_AUTH_SOCK; [2021-10-28T17:55:11.260Z] unset SSH_AGENT_PID; [2021-10-28T17:55:11.260Z] echo Agent pid 21 killed; [2021-10-28T17:55:11.269Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-28T17:55:11.293Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T17:55:11.294Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T17:55:11.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T17:55:11.403Z] $ docker exec c49585cc300de02537c41410a6e7446ba24dc74a7926d0ddecd4d6c7751181e2 ssh-agent [2021-10-28T17:55:11.511Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoMfKka/agent.54 [2021-10-28T17:55:11.511Z] SSH_AGENT_PID=60 [2021-10-28T17:55:11.516Z] Running ssh-add (command line suppressed) [2021-10-28T17:55:11.610Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/private_key_4848016414802348373.key (/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/private_key_4848016414802348373.key) [2021-10-28T17:55:11.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T17:55:11.915Z] + git semver init [2021-10-28T17:55:11.915Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T17:55:11.915Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1047/.git [2021-10-28T17:55:11.915Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1047 [2021-10-28T17:55:11.915Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T17:55:11.915Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T17:55:11.915Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T17:55:11.915Z] # $SEMVER_BRANCH = PR-1047 [2021-10-28T17:55:11.915Z] # $SEMVER_TEMP = /tmp/semver-917942872 [2021-10-28T17:55:11.915Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-28T17:55:12.876Z] # '/tmp/semver-917942872' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1047/.semver' [2021-10-28T17:55:12.876Z] # -> Force: false [2021-10-28T17:55:12.876Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1047/.semver [Pipeline] } [2021-10-28T17:55:12.886Z] $ docker exec --env ******** --env ******** c49585cc300de02537c41410a6e7446ba24dc74a7926d0ddecd4d6c7751181e2 ssh-agent -k [2021-10-28T17:55:12.972Z] unset SSH_AUTH_SOCK; [2021-10-28T17:55:12.973Z] unset SSH_AGENT_PID; [2021-10-28T17:55:12.973Z] echo Agent pid 60 killed; [2021-10-28T17:55:12.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T17:55:13.298Z] + git semver [Pipeline] } [2021-10-28T17:55:13.309Z] $ docker stop --time=1 c49585cc300de02537c41410a6e7446ba24dc74a7926d0ddecd4d6c7751181e2 [2021-10-28T17:55:14.527Z] $ docker rm -f c49585cc300de02537c41410a6e7446ba24dc74a7926d0ddecd4d6c7751181e2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T17:55:14.877Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-28T17:55:15.105Z] Stashed 1 file(s) [Pipeline] echo [2021-10-28T17:55:15.107Z] [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-28T17:55:30.299Z] Still waiting to schedule task [2021-10-28T17:55:30.299Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-28T17:55:30.301Z] Still waiting to schedule task [2021-10-28T17:55:30.301Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-28T17:56:08.971Z] Running on prd-centos7-docker-4c-2g-27 in /w/workspace/gexfoundry_device-sdk-go_PR-1047 [Pipeline] { [Pipeline] ws [2021-10-28T17:56:08.984Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-10-28T17:56:09.087Z] Selected Git installation does not exist. Using Default [2021-10-28T17:56:09.087Z] The recommended git tool is: NONE [2021-10-28T17:56:11.086Z] using credential edgex-jenkins-ssh [2021-10-28T17:56:11.098Z] Cloning the remote Git repository [2021-10-28T17:56:10.765Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T17:56:10.829Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-10-28T17:56:10.863Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T17:56:10.863Z] > git --version # timeout=10 [2021-10-28T17:56:10.875Z] > git --version # 'git version 2.24.4' [2021-10-28T17:56:10.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:56:10.895Z] [INFO] Currently running in a labeled security context [2021-10-28T17:56:10.895Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T17:56:10.895Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh7057933025146188663.key [2021-10-28T17:56:10.919Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T17:56:11.692Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T17:56:11.707Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T17:56:11.717Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T17:56:11.734Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T17:56:11.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:56:11.735Z] [INFO] Currently running in a labeled security context [2021-10-28T17:56:11.735Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T17:56:11.735Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8583463556527122322.key [2021-10-28T17:56:11.744Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1047/head:refs/remotes/origin/PR-1047 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-28T17:56:12.601Z] Merging remotes/origin/main commit 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 into PR head commit 139c5c34749d337829d637ec9110b2c5b37b8d1c [2021-10-28T17:56:12.708Z] Merge succeeded, producing 139c5c34749d337829d637ec9110b2c5b37b8d1c [2021-10-28T17:56:12.709Z] Checking out Revision 139c5c34749d337829d637ec9110b2c5b37b8d1c (PR-1047) [2021-10-28T17:56:12.253Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T17:56:12.265Z] > git checkout -f 139c5c34749d337829d637ec9110b2c5b37b8d1c # timeout=10 [2021-10-28T17:56:12.297Z] > git remote # timeout=10 [2021-10-28T17:56:12.307Z] > git config --get remote.origin.url # timeout=10 [2021-10-28T17:56:12.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:56:12.322Z] [INFO] Currently running in a labeled security context [2021-10-28T17:56:12.322Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T17:56:12.322Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3060787770255709854.key [2021-10-28T17:56:12.327Z] > git merge 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 # timeout=10 [2021-10-28T17:56:12.339Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-28T17:56:12.353Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T17:56:12.361Z] > git checkout -f 139c5c34749d337829d637ec9110b2c5b37b8d1c # timeout=10 [2021-10-28T17:56:16.300Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T17:56:16.703Z] provisioning config files... [2021-10-28T17:56:16.720Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5256695111186783402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:56:17.130Z] ---> docker-login.sh [2021-10-28T17:56:17.130Z] nexus3.edgexfoundry.org:10001 [2021-10-28T17:56:17.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:56:17.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:56:17.395Z] Configure a credential helper to remove this warning. See [2021-10-28T17:56:17.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:56:17.395Z] [2021-10-28T17:56:17.395Z] Login Succeeded [2021-10-28T17:56:17.395Z] nexus3.edgexfoundry.org:10002 [2021-10-28T17:56:17.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:56:17.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:56:17.395Z] Configure a credential helper to remove this warning. See [2021-10-28T17:56:17.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:56:17.395Z] [2021-10-28T17:56:17.395Z] Login Succeeded [2021-10-28T17:56:17.395Z] nexus3.edgexfoundry.org:10003 [2021-10-28T17:56:17.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:56:17.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:56:17.658Z] Configure a credential helper to remove this warning. See [2021-10-28T17:56:17.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:56:17.658Z] [2021-10-28T17:56:17.658Z] Login Succeeded [2021-10-28T17:56:17.658Z] nexus3.edgexfoundry.org:10004 [2021-10-28T17:56:17.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:56:17.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:56:17.658Z] Configure a credential helper to remove this warning. See [2021-10-28T17:56:17.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:56:17.658Z] [2021-10-28T17:56:17.658Z] Login Succeeded [2021-10-28T17:56:17.658Z] docker.io [2021-10-28T17:56:17.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:56:18.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:56:18.230Z] Configure a credential helper to remove this warning. See [2021-10-28T17:56:18.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:56:18.230Z] [2021-10-28T17:56:18.230Z] Login Succeeded [2021-10-28T17:56:18.230Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T17:56:18.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T17:56:18.387Z] ========================================================= [2021-10-28T17:56:18.387Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-28T17:56:18.387Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:56:18.696Z] + 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-28T17:56:18.696Z] Sending build context to Docker daemon 2.725MB [2021-10-28T17:56:18.696Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T17:56:18.696Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-28T17:56:18.696Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-28T17:56:18.696Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T17:56:18.696Z] 31adcdaf11c8: Pulling fs layer [2021-10-28T17:56:18.696Z] b8b176561691: Pulling fs layer [2021-10-28T17:56:18.696Z] 4527c011a84f: Pulling fs layer [2021-10-28T17:56:18.696Z] 5d74067f8e1e: Pulling fs layer [2021-10-28T17:56:18.696Z] e0aca202a116: Pulling fs layer [2021-10-28T17:56:18.696Z] 3a43be97a3b4: Pulling fs layer [2021-10-28T17:56:18.696Z] 34cad66bf833: Pulling fs layer [2021-10-28T17:56:18.696Z] b4e3c513aaa6: Pulling fs layer [2021-10-28T17:56:18.696Z] 4527c011a84f: Waiting [2021-10-28T17:56:18.696Z] 5d74067f8e1e: Waiting [2021-10-28T17:56:18.696Z] e0aca202a116: Waiting [2021-10-28T17:56:18.696Z] 3a43be97a3b4: Waiting [2021-10-28T17:56:18.696Z] 34cad66bf833: Waiting [2021-10-28T17:56:18.696Z] b4e3c513aaa6: Waiting [2021-10-28T17:56:18.696Z] b8b176561691: Verifying Checksum [2021-10-28T17:56:18.696Z] b8b176561691: Download complete [2021-10-28T17:56:18.696Z] 31adcdaf11c8: Verifying Checksum [2021-10-28T17:56:18.696Z] 31adcdaf11c8: Download complete [2021-10-28T17:56:18.696Z] 5d74067f8e1e: Verifying Checksum [2021-10-28T17:56:18.696Z] 5d74067f8e1e: Download complete [2021-10-28T17:56:18.696Z] e0aca202a116: Verifying Checksum [2021-10-28T17:56:18.696Z] e0aca202a116: Download complete [2021-10-28T17:56:18.696Z] 3a43be97a3b4: Verifying Checksum [2021-10-28T17:56:18.696Z] 3a43be97a3b4: Download complete [2021-10-28T17:56:18.696Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T17:56:18.696Z] a0d0a0d46f8b: Download complete [2021-10-28T17:56:18.966Z] 34cad66bf833: Verifying Checksum [2021-10-28T17:56:18.966Z] 34cad66bf833: Download complete [2021-10-28T17:56:19.247Z] a0d0a0d46f8b: Pull complete [2021-10-28T17:56:19.518Z] b4e3c513aaa6: Verifying Checksum [2021-10-28T17:56:19.518Z] b4e3c513aaa6: Download complete [2021-10-28T17:56:19.518Z] 4527c011a84f: Verifying Checksum [2021-10-28T17:56:19.518Z] 4527c011a84f: Download complete [2021-10-28T17:56:19.518Z] 31adcdaf11c8: Pull complete [2021-10-28T17:56:19.518Z] b8b176561691: Pull complete [2021-10-28T17:56:23.767Z] 4527c011a84f: Pull complete [2021-10-28T17:56:23.767Z] 5d74067f8e1e: Pull complete [2021-10-28T17:56:23.767Z] e0aca202a116: Pull complete [2021-10-28T17:56:23.767Z] 3a43be97a3b4: Pull complete [2021-10-28T17:56:24.030Z] 34cad66bf833: Pull complete [2021-10-28T17:56:26.614Z] b4e3c513aaa6: Pull complete [2021-10-28T17:56:26.614Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-28T17:56:26.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-28T17:56:26.614Z] ---> 9f6097aaca64 [2021-10-28T17:56:26.614Z] Step 3/10 : ARG MAKE=make build [2021-10-28T17:56:30.837Z] ---> Running in 4b9582ec63ae [2021-10-28T17:56:30.837Z] Removing intermediate container 4b9582ec63ae [2021-10-28T17:56:30.837Z] ---> cc60fe4c7614 [2021-10-28T17:56:30.837Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-28T17:56:30.837Z] ---> Running in 4bb234e52c73 [2021-10-28T17:56:30.837Z] Removing intermediate container 4bb234e52c73 [2021-10-28T17:56:30.837Z] ---> 4f4bdee28a80 [2021-10-28T17:56:30.837Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T17:56:30.837Z] ---> Running in 60b68a1686b8 [2021-10-28T17:56:30.837Z] Removing intermediate container 60b68a1686b8 [2021-10-28T17:56:30.837Z] ---> a38f3dba2531 [2021-10-28T17:56:30.837Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T17:56:30.837Z] ---> Running in 96ac4f9eba3e [2021-10-28T17:56:31.099Z] Removing intermediate container 96ac4f9eba3e [2021-10-28T17:56:31.099Z] ---> a4f742ee3796 [2021-10-28T17:56:31.099Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T17:56:31.099Z] ---> Running in e734afbec685 [2021-10-28T17:56:31.362Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T17:56:32.308Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T17:56:32.571Z] OK: 220 MiB in 52 packages [2021-10-28T17:56:32.831Z] Removing intermediate container e734afbec685 [2021-10-28T17:56:32.831Z] ---> 865a300ae516 [2021-10-28T17:56:32.831Z] Step 8/10 : COPY . . [2021-10-28T17:56:33.098Z] ---> cd1686b9d9ae [2021-10-28T17:56:33.098Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T17:56:33.098Z] ---> Running in f7f2f9e60b3c [2021-10-28T17:57:05.295Z] Removing intermediate container f7f2f9e60b3c [2021-10-28T17:57:05.295Z] ---> 683512c065fc [2021-10-28T17:57:05.295Z] Step 10/10 : RUN ${MAKE} [2021-10-28T17:57:05.295Z] ---> Running in 2db03fae2b27 [2021-10-28T17:57:05.295Z] noop [2021-10-28T17:57:05.295Z] Removing intermediate container 2db03fae2b27 [2021-10-28T17:57:05.295Z] ---> f2f08c86aa58 [2021-10-28T17:57:05.295Z] Successfully built f2f08c86aa58 [2021-10-28T17:57:05.295Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:57:05.594Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T17:57:05.594Z] . [Pipeline] withDockerContainer [2021-10-28T17:57:05.666Z] prd-centos7-docker-4c-2g-27 does not seem to be running inside a container [2021-10-28T17:57:05.707Z] $ 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 ******** ci-base-image-x86_64 cat [2021-10-28T17:57:06.060Z] $ docker top 984c13dbe3ddb9e979045f1f3bb40c93c837eb48245e3eb9d0736d72bceea51f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T17:57:06.419Z] + go version [2021-10-28T17:57:06.419Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-28T17:57:06.428Z] $ docker stop --time=1 984c13dbe3ddb9e979045f1f3bb40c93c837eb48245e3eb9d0736d72bceea51f [2021-10-28T17:57:07.617Z] $ docker rm -f 984c13dbe3ddb9e979045f1f3bb40c93c837eb48245e3eb9d0736d72bceea51f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:57:08.080Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T17:57:08.080Z] . [Pipeline] withDockerContainer [2021-10-28T17:57:08.149Z] prd-centos7-docker-4c-2g-27 does not seem to be running inside a container [2021-10-28T17:57:08.183Z] $ 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 ******** ci-base-image-x86_64 cat [2021-10-28T17:57:08.550Z] $ docker top bd935bdf8f169098865379f6abaac3d0ac6da318132376f817d66f56e9f4b6b2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T17:57:08.930Z] + make test [2021-10-28T17:57:08.930Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-28T17:57:14.248Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-28T17:57:36.350Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-28T17:57:36.350Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-28T17:57:36.350Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-28T17:57:38.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.063s coverage: 23.8% of statements [2021-10-28T17:57:38.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-28T17:57:38.294Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 28.1% of statements [2021-10-28T17:57:38.563Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-10-28T17:57:38.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.074s coverage: 9.0% of statements [2021-10-28T17:57:38.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-28T17:57:38.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-28T17:57:38.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-28T17:57:39.406Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.069s coverage: 28.7% of statements [2021-10-28T17:57:39.406Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-28T17:57:40.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.053s coverage: 83.3% of statements [2021-10-28T17:57:40.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-28T17:57:40.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-28T17:57:40.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 57.8% of statements [2021-10-28T17:57:41.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.824s coverage: 88.8% of statements [2021-10-28T17:57:41.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-28T17:57:41.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.043s coverage: 4.9% of statements [2021-10-28T17:57:41.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-28T17:57:42.007Z] GO111MODULE=on go vet ./... [2021-10-28T17:58:00.224Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T17:58:00.224Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T17:58:00.224Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-28T17:58:00.233Z] $ docker stop --time=1 bd935bdf8f169098865379f6abaac3d0ac6da318132376f817d66f56e9f4b6b2 [2021-10-28T17:58:01.815Z] $ docker rm -f bd935bdf8f169098865379f6abaac3d0ac6da318132376f817d66f56e9f4b6b2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T17:58:02.267Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-28T17:58:02.486Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-28T17:58:03.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-28T17:58:03.386Z] + ls -al . [2021-10-28T17:58:03.386Z] total 264 [2021-10-28T17:58:03.386Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 28 17:57 . [2021-10-28T17:58:03.386Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 28 17:56 .. [2021-10-28T17:58:03.386Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 28 17:56 bin [2021-10-28T17:58:03.386Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 28 17:56 CHANGELOG.md [2021-10-28T17:58:03.386Z] -rw-r--r--. 1 jenkins jenkins 126785 Oct 28 17:57 coverage.out [2021-10-28T17:58:03.386Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 28 17:56 .dockerignore [2021-10-28T17:58:03.386Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 28 17:56 example [2021-10-28T17:58:03.386Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 28 17:56 .git [2021-10-28T17:58:03.386Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 28 17:56 .github [2021-10-28T17:58:03.386Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 28 17:56 .gitignore [2021-10-28T17:58:03.386Z] -rw-rw-r--. 1 jenkins jenkins 602 Oct 28 17:56 go.mod [2021-10-28T17:58:03.386Z] -rw-rw-r--. 1 jenkins jenkins 49979 Oct 28 17:56 go.sum [2021-10-28T17:58:03.386Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 28 17:56 GOVERNANCE.md [2021-10-28T17:58:03.386Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 28 17:56 internal [2021-10-28T17:58:03.387Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 28 17:56 Jenkinsfile [2021-10-28T17:58:03.387Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 28 17:56 LICENSE [2021-10-28T17:58:03.387Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 28 17:56 Makefile [2021-10-28T17:58:03.387Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 28 17:56 openapi [2021-10-28T17:58:03.387Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 28 17:56 OWNERS.md [2021-10-28T17:58:03.387Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 28 17:56 pkg [2021-10-28T17:58:03.387Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 28 17:56 README.md [2021-10-28T17:58:03.387Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 28 17:56 snap [2021-10-28T17:58:03.387Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 28 17:55 VERSION [2021-10-28T17:58:03.387Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 28 17:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:58:03.680Z] + 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=139c5c34749d337829d637ec9110b2c5b37b8d1c --label arch=amd64 --label version=0.0.0 . [2021-10-28T17:58:03.680Z] Sending build context to Docker daemon 2.852MB [2021-10-28T17:58:03.680Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T17:58:03.680Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-28T17:58:03.680Z] ---> f2f08c86aa58 [2021-10-28T17:58:03.680Z] Step 3/24 : ARG MAKE=make build [2021-10-28T17:58:03.680Z] ---> Running in 789f1a44657c [2021-10-28T17:58:03.945Z] Removing intermediate container 789f1a44657c [2021-10-28T17:58:03.945Z] ---> 02277d5f17b5 [2021-10-28T17:58:03.945Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-28T17:58:03.945Z] ---> Running in a47a7b7e6fa5 [2021-10-28T17:58:03.945Z] Removing intermediate container a47a7b7e6fa5 [2021-10-28T17:58:03.945Z] ---> 46141a10c5c9 [2021-10-28T17:58:03.945Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T17:58:03.945Z] ---> Running in 2c141ba9a500 [2021-10-28T17:58:03.945Z] Removing intermediate container 2c141ba9a500 [2021-10-28T17:58:03.945Z] ---> 027d5da5183c [2021-10-28T17:58:03.945Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T17:58:03.945Z] ---> Running in 8e5d790aac4c [2021-10-28T17:58:04.515Z] Removing intermediate container 8e5d790aac4c [2021-10-28T17:58:04.515Z] ---> 11701417d61d [2021-10-28T17:58:04.515Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T17:58:04.515Z] ---> Running in a0e25f439350 [2021-10-28T17:58:04.775Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T17:58:05.713Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T17:58:05.974Z] OK: 220 MiB in 52 packages [2021-10-28T17:58:06.238Z] Removing intermediate container a0e25f439350 [2021-10-28T17:58:06.238Z] ---> 6c151d5f887b [2021-10-28T17:58:06.238Z] Step 8/24 : COPY . . [2021-10-28T17:58:06.497Z] ---> 61b030a5d289 [2021-10-28T17:58:06.497Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T17:58:06.497Z] ---> Running in 1ea8df01a717 [2021-10-28T17:58:07.082Z] Removing intermediate container 1ea8df01a717 [2021-10-28T17:58:07.082Z] ---> 1aa4f5b60d56 [2021-10-28T17:58:07.082Z] Step 10/24 : RUN ${MAKE} [2021-10-28T17:58:07.082Z] ---> Running in da4e61824538 [2021-10-28T17:58:07.342Z] 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-28T17:58:17.419Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-28T17:58:18.366Z] Removing intermediate container da4e61824538 [2021-10-28T17:58:18.366Z] ---> 77aa54757149 [2021-10-28T17:58:18.366Z] Step 11/24 : FROM alpine:3.14 [2021-10-28T17:58:18.932Z] 3.14: Pulling from library/alpine [2021-10-28T17:58:19.199Z] a0d0a0d46f8b: Already exists [2021-10-28T17:58:19.460Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-28T17:58:19.460Z] Status: Downloaded newer image for alpine:3.14 [2021-10-28T17:58:19.460Z] ---> 14119a10abf4 [2021-10-28T17:58:19.460Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T17:58:19.460Z] ---> Running in e6c65ff7c3d0 [2021-10-28T17:58:19.460Z] Removing intermediate container e6c65ff7c3d0 [2021-10-28T17:58:19.460Z] ---> ff9ba0ef92c9 [2021-10-28T17:58:19.460Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T17:58:19.460Z] ---> Running in 0dbfdb7d81d1 [2021-10-28T17:58:20.032Z] Removing intermediate container 0dbfdb7d81d1 [2021-10-28T17:58:20.032Z] ---> 812e3018efe9 [2021-10-28T17:58:20.032Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-28T17:58:20.032Z] ---> Running in 70dd75767b56 [2021-10-28T17:58:20.291Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T17:58:21.247Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T17:58:21.507Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-28T17:58:21.507Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-28T17:58:21.507Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-28T17:58:21.767Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-28T17:58:21.767Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-28T17:58:21.767Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T17:58:21.767Z] OK: 8 MiB in 19 packages [2021-10-28T17:58:22.029Z] Removing intermediate container 70dd75767b56 [2021-10-28T17:58:22.029Z] ---> c93bea899230 [2021-10-28T17:58:22.029Z] Step 15/24 : WORKDIR / [2021-10-28T17:58:22.029Z] ---> Running in 52dfbfcf0d76 [2021-10-28T17:58:22.287Z] Removing intermediate container 52dfbfcf0d76 [2021-10-28T17:58:22.287Z] ---> 684a88540c3e [2021-10-28T17:58:22.287Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-28T17:58:22.287Z] ---> 7ba52b94ea71 [2021-10-28T17:58:22.287Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-28T17:58:22.863Z] ---> 49b5a078e1ce [2021-10-28T17:58:22.863Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-28T17:58:22.863Z] ---> f2c6c6009346 [2021-10-28T17:58:22.863Z] Step 19/24 : EXPOSE 59999 [2021-10-28T17:58:22.863Z] ---> Running in c1516026166e [2021-10-28T17:58:23.124Z] Removing intermediate container c1516026166e [2021-10-28T17:58:23.124Z] ---> 5bbb28a27cdc [2021-10-28T17:58:23.124Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-28T17:58:23.124Z] ---> Running in 5a4b0195d83d [2021-10-28T17:58:23.124Z] Removing intermediate container 5a4b0195d83d [2021-10-28T17:58:23.124Z] ---> 3bbec7ba7bfa [2021-10-28T17:58:23.124Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-28T17:58:23.124Z] ---> Running in b88236681a19 [2021-10-28T17:58:23.124Z] Removing intermediate container b88236681a19 [2021-10-28T17:58:23.124Z] ---> 28b0682bcdda [2021-10-28T17:58:23.124Z] Step 22/24 : LABEL arch=amd64 [2021-10-28T17:58:23.124Z] ---> Running in d42994367171 [2021-10-28T17:58:23.384Z] Removing intermediate container d42994367171 [2021-10-28T17:58:23.384Z] ---> 729eb21e3771 [2021-10-28T17:58:23.384Z] Step 23/24 : LABEL git_sha=139c5c34749d337829d637ec9110b2c5b37b8d1c [2021-10-28T17:58:23.384Z] ---> Running in 5dedfba4c671 [2021-10-28T17:58:23.384Z] Removing intermediate container 5dedfba4c671 [2021-10-28T17:58:23.384Z] ---> 09b3a7f7d27c [2021-10-28T17:58:23.384Z] Step 24/24 : LABEL version=0.0.0 [2021-10-28T17:58:23.384Z] ---> Running in 1ce216dcf451 [2021-10-28T17:58:23.645Z] Removing intermediate container 1ce216dcf451 [2021-10-28T17:58:23.645Z] ---> 43e5ac3fed7d [2021-10-28T17:58:23.645Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-28T17:58:23.645Z] Successfully built 43e5ac3fed7d [2021-10-28T17:58:23.645Z] 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-28T17:58:24.096Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28 in /w/workspace/gexfoundry_device-sdk-go_PR-1047 [Pipeline] { [Pipeline] ws [2021-10-28T17:58:24.108Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-10-28T17:58:24.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T17:58:24.259Z] [2021-10-28T17:58:24.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:58:24.404Z] Selected Git installation does not exist. Using Default [2021-10-28T17:58:24.404Z] The recommended git tool is: NONE [2021-10-28T17:58:24.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T17:58:24.562Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T17:58:24.562Z] b4d181a07f80: Pulling fs layer [2021-10-28T17:58:24.562Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T17:58:24.562Z] ed53099fbce6: Pulling fs layer [2021-10-28T17:58:24.562Z] dc539afda2c1: Pulling fs layer [2021-10-28T17:58:24.562Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T17:58:24.562Z] 9065ff56babe: Pulling fs layer [2021-10-28T17:58:24.562Z] d287ab97295c: Pulling fs layer [2021-10-28T17:58:24.562Z] 77bc0d833cb6: Waiting [2021-10-28T17:58:24.562Z] 9065ff56babe: Waiting [2021-10-28T17:58:24.562Z] d287ab97295c: Waiting [2021-10-28T17:58:24.562Z] dc539afda2c1: Waiting [2021-10-28T17:58:24.562Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T17:58:24.562Z] a1111a8f2ec3: Download complete [2021-10-28T17:58:24.562Z] dc539afda2c1: Verifying Checksum [2021-10-28T17:58:24.562Z] dc539afda2c1: Download complete [2021-10-28T17:58:24.562Z] ed53099fbce6: Verifying Checksum [2021-10-28T17:58:24.562Z] ed53099fbce6: Download complete [2021-10-28T17:58:24.562Z] 9065ff56babe: Verifying Checksum [2021-10-28T17:58:24.562Z] 9065ff56babe: Download complete [2021-10-28T17:58:24.827Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T17:58:24.827Z] 77bc0d833cb6: Download complete [2021-10-28T17:58:24.827Z] b4d181a07f80: Verifying Checksum [2021-10-28T17:58:24.827Z] b4d181a07f80: Download complete [2021-10-28T17:58:25.423Z] d287ab97295c: Verifying Checksum [2021-10-28T17:58:25.423Z] d287ab97295c: Download complete [2021-10-28T17:58:26.003Z] b4d181a07f80: Pull complete [2021-10-28T17:58:26.277Z] a1111a8f2ec3: Pull complete [2021-10-28T17:58:26.855Z] ed53099fbce6: Pull complete [2021-10-28T17:58:26.855Z] dc539afda2c1: Pull complete [2021-10-28T17:58:27.429Z] 77bc0d833cb6: Pull complete [2021-10-28T17:58:27.429Z] 9065ff56babe: Pull complete [2021-10-28T17:58:31.886Z] using credential edgex-jenkins-ssh [2021-10-28T17:58:31.911Z] Cloning the remote Git repository [2021-10-28T17:58:32.775Z] d287ab97295c: Pull complete [2021-10-28T17:58:32.775Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T17:58:32.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T17:58:32.775Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T17:58:32.833Z] prd-centos7-docker-4c-2g-27 does not seem to be running inside a container [2021-10-28T17:58:32.867Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T17:58:31.991Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T17:58:32.227Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-10-28T17:58:32.450Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T17:58:32.452Z] > git --version # timeout=10 [2021-10-28T17:58:32.471Z] > git --version # 'git version 2.17.1' [2021-10-28T17:58:32.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:58:32.582Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T17:58:33.975Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T17:58:34.012Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T17:58:34.051Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T17:58:34.110Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T17:58:34.111Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:58:34.136Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1047/head:refs/remotes/origin/PR-1047 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-28T17:58:34.794Z] Merging remotes/origin/main commit 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 into PR head commit 139c5c34749d337829d637ec9110b2c5b37b8d1c [2021-10-28T17:58:35.103Z] Merge succeeded, producing 139c5c34749d337829d637ec9110b2c5b37b8d1c [2021-10-28T17:58:35.104Z] Checking out Revision 139c5c34749d337829d637ec9110b2c5b37b8d1c (PR-1047) [2021-10-28T17:58:35.268Z] $ docker top d5af4931cfacd5b67b565059570eb9a3448b3535dd79c414714a1f0dec30dc91 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:58:35.691Z] ---> job-cost.sh [2021-10-28T17:58:35.691Z] lf-activate-venv: SKIPPING [2021-10-28T17:58:35.691Z] INFO: No Stack... [2021-10-28T17:58:34.822Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T17:58:34.846Z] > git checkout -f 139c5c34749d337829d637ec9110b2c5b37b8d1c # timeout=10 [2021-10-28T17:58:34.986Z] > git remote # timeout=10 [2021-10-28T17:58:35.009Z] > git config --get remote.origin.url # timeout=10 [2021-10-28T17:58:35.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T17:58:35.048Z] > git merge 1500c1d3adf2dae4b68eabe09dc6fa93e972e3f6 # timeout=10 [2021-10-28T17:58:35.079Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-28T17:58:35.111Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T17:58:35.131Z] > git checkout -f 139c5c34749d337829d637ec9110b2c5b37b8d1c # timeout=10 [2021-10-28T17:58:36.637Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T17:58:37.206Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T17:58:37.501Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-10-28T17:58:37.501Z] + cut -d, -f6 [Pipeline] lock [2021-10-28T17:58:37.527Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1047-2-stack-cost] [2021-10-28T17:58:37.532Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1047-2-stack-cost] did not exist. Created. [2021-10-28T17:58:37.532Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1047-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T17:58:37.835Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-28T17:58:37.872Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T17:58:37.877Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1047-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T17:58:37.892Z] $ docker stop --time=1 d5af4931cfacd5b67b565059570eb9a3448b3535dd79c414714a1f0dec30dc91 [2021-10-28T17:58:39.007Z] $ docker rm -f d5af4931cfacd5b67b565059570eb9a3448b3535dd79c414714a1f0dec30dc91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-28T17:58:40.190Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T17:58:41.101Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-28T17:58:41.101Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T17:58:41.101Z] Dload Upload Total Spent Left Speed [2021-10-28T17:58:41.101Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 83267 0 --:--:-- --:--:-- --:--:-- 83267 [Pipeline] sh [2021-10-28T17:58:41.591Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-28T17:58:41.954Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-28T17:58:41.954Z] + sudo tee /etc/docker/daemon.new [2021-10-28T17:58:41.954Z] { [2021-10-28T17:58:41.954Z] "registry-mirrors": [ [2021-10-28T17:58:41.954Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-28T17:58:41.954Z] ], [2021-10-28T17:58:41.954Z] "bip": "10.250.0.254/24", [2021-10-28T17:58:41.954Z] "hosts": [ [2021-10-28T17:58:41.954Z] "tcp://0.0.0.0:5555", [2021-10-28T17:58:41.954Z] "unix:///var/run/docker.sock" [2021-10-28T17:58:41.954Z] ], [2021-10-28T17:58:41.954Z] "mtu": 1458, [2021-10-28T17:58:41.954Z] "selinux-enabled": true, [2021-10-28T17:58:41.954Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-28T17:58:41.954Z] } [Pipeline] sh [2021-10-28T17:58:42.314Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-28T17:58:42.724Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T17:59:01.104Z] provisioning config files... [2021-10-28T17:59:01.139Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8306883474436022180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T17:59:01.534Z] ---> docker-login.sh [2021-10-28T17:59:01.534Z] nexus3.edgexfoundry.org:10001 [2021-10-28T17:59:02.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:59:02.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:59:02.827Z] Configure a credential helper to remove this warning. See [2021-10-28T17:59:02.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:59:02.827Z] [2021-10-28T17:59:02.827Z] Login Succeeded [2021-10-28T17:59:02.827Z] nexus3.edgexfoundry.org:10002 [2021-10-28T17:59:03.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:59:03.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:59:03.432Z] Configure a credential helper to remove this warning. See [2021-10-28T17:59:03.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:59:03.432Z] [2021-10-28T17:59:03.432Z] Login Succeeded [2021-10-28T17:59:03.432Z] nexus3.edgexfoundry.org:10003 [2021-10-28T17:59:04.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:59:04.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:59:04.319Z] Configure a credential helper to remove this warning. See [2021-10-28T17:59:04.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:59:04.319Z] [2021-10-28T17:59:04.319Z] Login Succeeded [2021-10-28T17:59:04.319Z] nexus3.edgexfoundry.org:10004 [2021-10-28T17:59:04.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:59:04.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:59:04.924Z] Configure a credential helper to remove this warning. See [2021-10-28T17:59:04.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:59:04.924Z] [2021-10-28T17:59:04.924Z] Login Succeeded [2021-10-28T17:59:04.924Z] docker.io [2021-10-28T17:59:05.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T17:59:05.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T17:59:05.818Z] Configure a credential helper to remove this warning. See [2021-10-28T17:59:05.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T17:59:05.818Z] [2021-10-28T17:59:05.818Z] Login Succeeded [2021-10-28T17:59:06.095Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T17:59:06.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T17:59:06.738Z] ========================================================= [2021-10-28T17:59:06.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-28T17:59:06.738Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T17:59:07.174Z] + 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-28T17:59:07.783Z] Sending build context to Docker daemon 2.714MB [2021-10-28T17:59:07.783Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T17:59:07.783Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-28T17:59:08.072Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-28T17:59:08.072Z] 552d1f2373af: Pulling fs layer [2021-10-28T17:59:08.072Z] ea3f2d53f512: Pulling fs layer [2021-10-28T17:59:08.072Z] 9e70ebbbe112: Pulling fs layer [2021-10-28T17:59:08.072Z] 7a9cfe048b4a: Pulling fs layer [2021-10-28T17:59:08.072Z] 72dc09318566: Pulling fs layer [2021-10-28T17:59:08.072Z] f4f7b4309257: Pulling fs layer [2021-10-28T17:59:08.072Z] 0ac9a79272e3: Pulling fs layer [2021-10-28T17:59:08.072Z] b78e95d17946: Pulling fs layer [2021-10-28T17:59:08.072Z] f4f7b4309257: Waiting [2021-10-28T17:59:08.072Z] 7a9cfe048b4a: Waiting [2021-10-28T17:59:08.072Z] 0ac9a79272e3: Waiting [2021-10-28T17:59:08.072Z] 72dc09318566: Waiting [2021-10-28T17:59:08.072Z] b78e95d17946: Waiting [2021-10-28T17:59:08.072Z] 9e70ebbbe112: Verifying Checksum [2021-10-28T17:59:08.072Z] 9e70ebbbe112: Download complete [2021-10-28T17:59:08.072Z] ea3f2d53f512: Verifying Checksum [2021-10-28T17:59:08.072Z] ea3f2d53f512: Download complete [2021-10-28T17:59:08.072Z] 72dc09318566: Download complete [2021-10-28T17:59:08.072Z] f4f7b4309257: Verifying Checksum [2021-10-28T17:59:08.072Z] f4f7b4309257: Download complete [2021-10-28T17:59:08.072Z] 552d1f2373af: Verifying Checksum [2021-10-28T17:59:08.072Z] 552d1f2373af: Download complete [2021-10-28T17:59:08.072Z] 0ac9a79272e3: Verifying Checksum [2021-10-28T17:59:08.072Z] 0ac9a79272e3: Download complete [2021-10-28T17:59:09.537Z] 552d1f2373af: Pull complete [2021-10-28T17:59:10.166Z] ea3f2d53f512: Pull complete [2021-10-28T17:59:10.800Z] 9e70ebbbe112: Pull complete [2021-10-28T17:59:11.080Z] b78e95d17946: Verifying Checksum [2021-10-28T17:59:11.080Z] b78e95d17946: Download complete [2021-10-28T17:59:11.365Z] 7a9cfe048b4a: Verifying Checksum [2021-10-28T17:59:11.365Z] 7a9cfe048b4a: Download complete [2021-10-28T17:59:23.801Z] 7a9cfe048b4a: Pull complete [2021-10-28T17:59:23.801Z] 72dc09318566: Pull complete [2021-10-28T17:59:23.801Z] f4f7b4309257: Pull complete [2021-10-28T17:59:23.801Z] 0ac9a79272e3: Pull complete [2021-10-28T17:59:29.240Z] b78e95d17946: Pull complete [2021-10-28T17:59:29.240Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-28T17:59:29.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-28T17:59:29.240Z] ---> 8b459fc5aaf0 [2021-10-28T17:59:29.240Z] Step 3/10 : ARG MAKE=make build [2021-10-28T17:59:31.227Z] ---> Running in be52c16a3929 [2021-10-28T17:59:31.501Z] Removing intermediate container be52c16a3929 [2021-10-28T17:59:31.501Z] ---> 3e39f04d4fb3 [2021-10-28T17:59:31.501Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-28T17:59:31.774Z] ---> Running in 953ca573c1b1 [2021-10-28T17:59:32.049Z] Removing intermediate container 953ca573c1b1 [2021-10-28T17:59:32.049Z] ---> 20c8bc3ac9d7 [2021-10-28T17:59:32.049Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T17:59:32.324Z] ---> Running in c11069ee5b5f [2021-10-28T17:59:32.602Z] Removing intermediate container c11069ee5b5f [2021-10-28T17:59:32.602Z] ---> 57a2fcdedcf5 [2021-10-28T17:59:32.602Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T17:59:32.884Z] ---> Running in a79589890577 [2021-10-28T17:59:35.513Z] Removing intermediate container a79589890577 [2021-10-28T17:59:35.513Z] ---> e6e9155990ea [2021-10-28T17:59:35.513Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T17:59:35.513Z] ---> Running in 5c9c7e9d7388 [2021-10-28T17:59:36.496Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T17:59:37.485Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T17:59:38.469Z] OK: 219 MiB in 52 packages [2021-10-28T17:59:39.463Z] Removing intermediate container 5c9c7e9d7388 [2021-10-28T17:59:39.463Z] ---> 3a5e6d223bdd [2021-10-28T17:59:39.463Z] Step 8/10 : COPY . . [2021-10-28T17:59:40.910Z] ---> 87e102f524c9 [2021-10-28T17:59:40.910Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T17:59:40.910Z] ---> Running in be6d208929e2 [2021-10-28T18:01:02.762Z] Removing intermediate container be6d208929e2 [2021-10-28T18:01:02.762Z] ---> 64f6a2970f56 [2021-10-28T18:01:02.762Z] Step 10/10 : RUN ${MAKE} [2021-10-28T18:01:02.762Z] ---> Running in 8d76e99272d8 [2021-10-28T18:01:02.762Z] noop [2021-10-28T18:01:02.762Z] Removing intermediate container 8d76e99272d8 [2021-10-28T18:01:02.762Z] ---> a9ffc9b5f241 [2021-10-28T18:01:02.762Z] Successfully built a9ffc9b5f241 [2021-10-28T18:01:02.762Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:01:03.119Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T18:01:03.119Z] . [Pipeline] withDockerContainer [2021-10-28T18:01:03.445Z] prd-ubuntu18.04-docker-arm64-4c-16g-28 does not seem to be running inside a container [2021-10-28T18:01:03.538Z] $ 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 ******** ci-base-image-arm64 cat [2021-10-28T18:01:05.317Z] $ docker top 42044bc29bff05eb1d7a92059be6da0014341ba8e7e3206f338ece51a0e45734 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T18:01:06.353Z] + go version [2021-10-28T18:01:06.353Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-28T18:01:06.376Z] $ docker stop --time=1 42044bc29bff05eb1d7a92059be6da0014341ba8e7e3206f338ece51a0e45734 [2021-10-28T18:01:08.170Z] $ docker rm -f 42044bc29bff05eb1d7a92059be6da0014341ba8e7e3206f338ece51a0e45734 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:01:08.985Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T18:01:08.985Z] . [Pipeline] withDockerContainer [2021-10-28T18:01:09.288Z] prd-ubuntu18.04-docker-arm64-4c-16g-28 does not seem to be running inside a container [2021-10-28T18:01:09.401Z] $ 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 ******** ci-base-image-arm64 cat [2021-10-28T18:01:11.191Z] $ docker top 70c0c4cec5ef32bb6bdf86baefaa4b8cfd8fe67fc113cd86e281343d7ff0a7bf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T18:01:12.243Z] + make test [2021-10-28T18:01:12.243Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-28T18:01:44.639Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-28T18:03:06.548Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-28T18:03:06.548Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-28T18:03:06.548Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-28T18:03:11.992Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.315s coverage: 23.8% of statements [2021-10-28T18:03:11.992Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-28T18:03:11.992Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.244s coverage: 28.1% of statements [2021-10-28T18:03:11.992Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.320s coverage: 78.9% of statements [2021-10-28T18:03:11.992Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.233s coverage: 9.0% of statements [2021-10-28T18:03:11.992Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-28T18:03:11.992Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-28T18:03:11.992Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-28T18:03:13.449Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.372s coverage: 28.7% of statements [2021-10-28T18:03:13.449Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-28T18:03:16.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.279s coverage: 83.3% of statements [2021-10-28T18:03:16.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-28T18:03:16.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-28T18:03:16.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.467s coverage: 57.8% of statements [2021-10-28T18:03:18.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.468s coverage: 88.8% of statements [2021-10-28T18:03:18.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-28T18:03:18.921Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.225s coverage: 4.9% of statements [2021-10-28T18:03:18.921Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-28T18:03:19.527Z] GO111MODULE=on go vet ./... [2021-10-28T18:04:27.646Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T18:04:27.646Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T18:04:27.646Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-28T18:04:28.654Z] $ docker stop --time=1 70c0c4cec5ef32bb6bdf86baefaa4b8cfd8fe67fc113cd86e281343d7ff0a7bf [2021-10-28T18:04:30.635Z] $ docker rm -f 70c0c4cec5ef32bb6bdf86baefaa4b8cfd8fe67fc113cd86e281343d7ff0a7bf [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T18:04:31.835Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-28T18:04:31.863Z] Warning: overwriting stash ‘coverage-report’ [2021-10-28T18:04:32.547Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T18:04:32.998Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-28T18:04:33.338Z] + ls -al . [2021-10-28T18:04:33.338Z] total 300 [2021-10-28T18:04:33.338Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 18:04 . [2021-10-28T18:04:33.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 17:58 .. [2021-10-28T18:04:33.338Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 17:58 .dockerignore [2021-10-28T18:04:33.338Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 17:58 .git [2021-10-28T18:04:33.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 17:58 .github [2021-10-28T18:04:33.338Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 28 17:58 .gitignore [2021-10-28T18:04:33.338Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 28 17:58 CHANGELOG.md [2021-10-28T18:04:33.338Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 17:58 GOVERNANCE.md [2021-10-28T18:04:33.338Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 28 17:58 Jenkinsfile [2021-10-28T18:04:33.338Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 28 17:58 LICENSE [2021-10-28T18:04:33.338Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 28 17:58 Makefile [2021-10-28T18:04:33.338Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 28 17:58 OWNERS.md [2021-10-28T18:04:33.338Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 28 17:58 README.md [2021-10-28T18:04:33.338Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 17:55 VERSION [2021-10-28T18:04:33.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 17:58 bin [2021-10-28T18:04:33.338Z] -rw-r--r-- 1 jenkins jenkins 126785 Oct 28 18:03 coverage.out [2021-10-28T18:04:33.338Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 17:58 example [2021-10-28T18:04:33.338Z] -rw-rw-r-- 1 jenkins jenkins 602 Oct 28 17:58 go.mod [2021-10-28T18:04:33.338Z] -rw-rw-r-- 1 jenkins jenkins 49979 Oct 28 17:58 go.sum [2021-10-28T18:04:33.338Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 28 17:58 internal [2021-10-28T18:04:33.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 17:58 openapi [2021-10-28T18:04:33.338Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 17:58 pkg [2021-10-28T18:04:33.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 17:58 snap [2021-10-28T18:04:33.338Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 28 17:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:04:33.679Z] + 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=139c5c34749d337829d637ec9110b2c5b37b8d1c --label arch=arm64 --label version=0.0.0 . [2021-10-28T18:04:34.277Z] Sending build context to Docker daemon 2.842MB [2021-10-28T18:04:34.277Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T18:04:34.277Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-28T18:04:34.277Z] ---> a9ffc9b5f241 [2021-10-28T18:04:34.277Z] Step 3/24 : ARG MAKE=make build [2021-10-28T18:04:34.277Z] ---> Running in 10303f0377e4 [2021-10-28T18:04:34.870Z] Removing intermediate container 10303f0377e4 [2021-10-28T18:04:34.870Z] ---> 5649c2325673 [2021-10-28T18:04:34.870Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-28T18:04:34.870Z] ---> Running in 9b3a4a27af89 [2021-10-28T18:04:35.144Z] Removing intermediate container 9b3a4a27af89 [2021-10-28T18:04:35.144Z] ---> 4faef481cbd7 [2021-10-28T18:04:35.144Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T18:04:35.415Z] ---> Running in 823395a122ce [2021-10-28T18:04:35.687Z] Removing intermediate container 823395a122ce [2021-10-28T18:04:35.687Z] ---> 23ccd88564d7 [2021-10-28T18:04:35.687Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T18:04:35.963Z] ---> Running in e6e5914771ca [2021-10-28T18:04:37.941Z] Removing intermediate container e6e5914771ca [2021-10-28T18:04:37.941Z] ---> b6b3d8046495 [2021-10-28T18:04:37.941Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T18:04:37.941Z] ---> Running in 56a480066097 [2021-10-28T18:04:38.917Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T18:04:39.894Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T18:04:40.869Z] OK: 219 MiB in 52 packages [2021-10-28T18:04:41.474Z] Removing intermediate container 56a480066097 [2021-10-28T18:04:41.474Z] ---> 1a624e91c511 [2021-10-28T18:04:41.474Z] Step 8/24 : COPY . . [2021-10-28T18:04:42.906Z] ---> 6b36a6257c56 [2021-10-28T18:04:42.906Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T18:04:42.906Z] ---> Running in e27b04d64d12 [2021-10-28T18:04:45.530Z] Removing intermediate container e27b04d64d12 [2021-10-28T18:04:45.530Z] ---> 038e3ac772f5 [2021-10-28T18:04:45.530Z] Step 10/24 : RUN ${MAKE} [2021-10-28T18:04:45.530Z] ---> Running in a5268b189adb [2021-10-28T18:04:46.510Z] 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-28T18:05:25.569Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-28T18:05:25.569Z] Removing intermediate container a5268b189adb [2021-10-28T18:05:25.569Z] ---> 7d6a5cb2f7ec [2021-10-28T18:05:25.569Z] Step 11/24 : FROM alpine:3.14 [2021-10-28T18:05:25.569Z] 3.14: Pulling from library/alpine [2021-10-28T18:05:25.569Z] 552d1f2373af: Already exists [2021-10-28T18:05:25.569Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-28T18:05:25.844Z] Status: Downloaded newer image for alpine:3.14 [2021-10-28T18:05:25.844Z] ---> bb3de5531c18 [2021-10-28T18:05:25.844Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T18:05:25.844Z] ---> Running in 69c6b415cafa [2021-10-28T18:05:26.125Z] Removing intermediate container 69c6b415cafa [2021-10-28T18:05:26.125Z] ---> 8ac80e25f410 [2021-10-28T18:05:26.125Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T18:05:26.401Z] ---> Running in 497b24158016 [2021-10-28T18:05:28.387Z] Removing intermediate container 497b24158016 [2021-10-28T18:05:28.387Z] ---> 76e9b387b8c3 [2021-10-28T18:05:28.387Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-28T18:05:28.387Z] ---> Running in 2b2b279bbbc3 [2021-10-28T18:05:29.820Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T18:05:30.798Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T18:05:31.393Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-28T18:05:31.393Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-28T18:05:31.701Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-28T18:05:31.701Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-28T18:05:31.701Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-28T18:05:31.974Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T18:05:31.974Z] OK: 8 MiB in 19 packages [2021-10-28T18:05:32.953Z] Removing intermediate container 2b2b279bbbc3 [2021-10-28T18:05:32.953Z] ---> 77d7996a6052 [2021-10-28T18:05:32.953Z] Step 15/24 : WORKDIR / [2021-10-28T18:05:32.953Z] ---> Running in 3edd6aaac9e6 [2021-10-28T18:05:33.551Z] Removing intermediate container 3edd6aaac9e6 [2021-10-28T18:05:33.551Z] ---> 0aaa7210f3b7 [2021-10-28T18:05:33.551Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-28T18:05:34.150Z] ---> f20dab8c7034 [2021-10-28T18:05:34.150Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-28T18:05:35.124Z] ---> 444e0b68f837 [2021-10-28T18:05:35.124Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-28T18:05:35.725Z] ---> 31c9abe5fbfa [2021-10-28T18:05:35.725Z] Step 19/24 : EXPOSE 59999 [2021-10-28T18:05:35.998Z] ---> Running in 12795aacfc7e [2021-10-28T18:05:36.273Z] Removing intermediate container 12795aacfc7e [2021-10-28T18:05:36.273Z] ---> f0ed61955f23 [2021-10-28T18:05:36.273Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-28T18:05:36.548Z] ---> Running in 3228dcca3200 [2021-10-28T18:05:36.822Z] Removing intermediate container 3228dcca3200 [2021-10-28T18:05:36.822Z] ---> c67483873356 [2021-10-28T18:05:36.822Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-28T18:05:36.822Z] ---> Running in ab3787757bcd [2021-10-28T18:05:37.420Z] Removing intermediate container ab3787757bcd [2021-10-28T18:05:37.420Z] ---> 012eaf94356c [2021-10-28T18:05:37.420Z] Step 22/24 : LABEL arch=arm64 [2021-10-28T18:05:37.420Z] ---> Running in 985c69affc13 [2021-10-28T18:05:37.695Z] Removing intermediate container 985c69affc13 [2021-10-28T18:05:37.695Z] ---> 7d4ed7d9df5f [2021-10-28T18:05:37.695Z] Step 23/24 : LABEL git_sha=139c5c34749d337829d637ec9110b2c5b37b8d1c [2021-10-28T18:05:37.967Z] ---> Running in abdb3efd0ecc [2021-10-28T18:05:38.241Z] Removing intermediate container abdb3efd0ecc [2021-10-28T18:05:38.241Z] ---> 06c671cf6446 [2021-10-28T18:05:38.241Z] Step 24/24 : LABEL version=0.0.0 [2021-10-28T18:05:38.241Z] ---> Running in a86f21304b7a [2021-10-28T18:05:38.839Z] Removing intermediate container a86f21304b7a [2021-10-28T18:05:38.839Z] ---> ee353feda8c3 [2021-10-28T18:05:38.839Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-28T18:05:38.839Z] Successfully built ee353feda8c3 [2021-10-28T18:05:38.839Z] 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-28T18:05:39.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T18:05:39.349Z] [2021-10-28T18:05:39.349Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:05:39.701Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T18:05:39.978Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-28T18:05:39.978Z] 448f6bf000e3: Pulling fs layer [2021-10-28T18:05:39.978Z] f757da607395: Pulling fs layer [2021-10-28T18:05:39.978Z] 05883995daec: Pulling fs layer [2021-10-28T18:05:39.978Z] 8603b9c90790: Pulling fs layer [2021-10-28T18:05:39.978Z] 1560dd03e051: Pulling fs layer [2021-10-28T18:05:39.978Z] 27f5ce0e4adf: Pulling fs layer [2021-10-28T18:05:39.978Z] c2d8d7efcc4b: Pulling fs layer [2021-10-28T18:05:39.978Z] 8603b9c90790: Waiting [2021-10-28T18:05:39.978Z] 1560dd03e051: Waiting [2021-10-28T18:05:39.978Z] 27f5ce0e4adf: Waiting [2021-10-28T18:05:39.978Z] c2d8d7efcc4b: Waiting [2021-10-28T18:05:39.978Z] f757da607395: Verifying Checksum [2021-10-28T18:05:39.978Z] f757da607395: Download complete [2021-10-28T18:05:39.978Z] 8603b9c90790: Verifying Checksum [2021-10-28T18:05:39.978Z] 8603b9c90790: Download complete [2021-10-28T18:05:40.254Z] 1560dd03e051: Verifying Checksum [2021-10-28T18:05:40.254Z] 1560dd03e051: Download complete [2021-10-28T18:05:40.254Z] 27f5ce0e4adf: Verifying Checksum [2021-10-28T18:05:40.254Z] 27f5ce0e4adf: Download complete [2021-10-28T18:05:40.254Z] 05883995daec: Verifying Checksum [2021-10-28T18:05:40.254Z] 05883995daec: Download complete [2021-10-28T18:05:40.528Z] 448f6bf000e3: Verifying Checksum [2021-10-28T18:05:40.528Z] 448f6bf000e3: Download complete [2021-10-28T18:05:43.149Z] c2d8d7efcc4b: Verifying Checksum [2021-10-28T18:05:43.149Z] c2d8d7efcc4b: Download complete [2021-10-28T18:05:44.131Z] 448f6bf000e3: Pull complete [2021-10-28T18:05:44.729Z] f757da607395: Pull complete [2021-10-28T18:05:46.170Z] 05883995daec: Pull complete [2021-10-28T18:05:46.445Z] 8603b9c90790: Pull complete [2021-10-28T18:05:47.433Z] 1560dd03e051: Pull complete [2021-10-28T18:05:47.707Z] 27f5ce0e4adf: Pull complete [2021-10-28T18:06:02.796Z] c2d8d7efcc4b: Pull complete [2021-10-28T18:06:02.796Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-28T18:06:02.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T18:06:02.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-28T18:06:03.060Z] prd-ubuntu18.04-docker-arm64-4c-16g-28 does not seem to be running inside a container [2021-10-28T18:06:03.132Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-28T18:06:05.856Z] $ docker top e4cc9c685d5c04a48eef52aeb7ae3c37d3a9aa3b0dd3b1ec61de0d954e9b5987 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:06:06.812Z] ---> job-cost.sh [2021-10-28T18:06:06.812Z] lf-activate-venv: SKIPPING [2021-10-28T18:06:06.812Z] INFO: No Stack... [2021-10-28T18:06:07.085Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-28T18:06:07.359Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T18:06:08.023Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-10-28T18:06:08.023Z] + cut -d, -f6 [Pipeline] lock [2021-10-28T18:06:08.082Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1047-2-stack-cost] [2021-10-28T18:06:08.087Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1047-2-stack-cost] did not exist. Created. [2021-10-28T18:06:08.087Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1047-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T18:06:08.761Z] /w/workspace/device-sdk-go/2@tmp/durable-c8027609/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-c8027609/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-28T18:06:09.430Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-28T18:06:09.456Z] Warning: overwriting stash ‘stack-cost’ [2021-10-28T18:06:09.524Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T18:06:09.530Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1047-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T18:06:09.539Z] $ docker stop --time=1 e4cc9c685d5c04a48eef52aeb7ae3c37d3a9aa3b0dd3b1ec61de0d954e9b5987 [2021-10-28T18:06:11.070Z] $ docker rm -f e4cc9c685d5c04a48eef52aeb7ae3c37d3a9aa3b0dd3b1ec61de0d954e9b5987 [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-28T18:06:11.661Z] provisioning config files... [2021-10-28T18:06:11.673Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/config7295238131666625134tmp [Pipeline] { [Pipeline] sh [2021-10-28T18:06:11.979Z] + set +x [2021-10-28T18:06:11.979Z] + bash -s -- [2021-10-28T18:06:11.979Z] + curl -s https://codecov.io/bash [2021-10-28T18:06:11.979Z] [2021-10-28T18:06:11.979Z] _____ _ [2021-10-28T18:06:11.979Z] / ____| | | [2021-10-28T18:06:11.979Z] | | ___ __| | ___ ___ _____ __ [2021-10-28T18:06:11.979Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-28T18:06:11.979Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-28T18:06:11.979Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-28T18:06:11.979Z] Bash-1.0.6 [2021-10-28T18:06:11.979Z] [2021-10-28T18:06:11.979Z] [2021-10-28T18:06:11.979Z] ==> git version 2.24.4 found [2021-10-28T18:06:11.979Z] ==> 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-28T18:06:11.979Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-28T18:06:11.979Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-28T18:06:11.979Z] ==> Jenkins CI detected. [2021-10-28T18:06:11.979Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1047 [2021-10-28T18:06:11.979Z] project root: . [2021-10-28T18:06:11.979Z] --> token set from env [2021-10-28T18:06:11.979Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-28T18:06:11.979Z] ==> Running gcov in . (disable via -X gcov) [2021-10-28T18:06:11.979Z] ==> Python coveragepy not found [2021-10-28T18:06:11.979Z] ==> Searching for coverage reports in: [2021-10-28T18:06:11.979Z] + . [2021-10-28T18:06:11.979Z] -> Found 1 reports [2021-10-28T18:06:11.979Z] ==> Detecting git/mercurial file structure [2021-10-28T18:06:11.979Z] ==> Reading reports [2021-10-28T18:06:12.240Z] + ./coverage.out bytes=126785 [2021-10-28T18:06:12.240Z] ==> Appending adjustments [2021-10-28T18:06:12.240Z] https://docs.codecov.io/docs/fixing-reports [2021-10-28T18:06:12.240Z] + Found adjustments [2021-10-28T18:06:12.501Z] ==> Gzipping contents [2021-10-28T18:06:12.501Z] 16K /tmp/codecov.645kHA.gz [2021-10-28T18:06:12.501Z] ==> Uploading reports [2021-10-28T18:06:12.501Z] url: https://codecov.io [2021-10-28T18:06:12.501Z] query: branch=PR-1047&commit=139c5c34749d337829d637ec9110b2c5b37b8d1c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1047%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1047&job=&cmd_args= [2021-10-28T18:06:12.501Z] -> Pinging Codecov [2021-10-28T18:06:12.501Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1047&commit=139c5c34749d337829d637ec9110b2c5b37b8d1c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1047%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1047&job=&cmd_args= [2021-10-28T18:06:12.766Z] -> Uploading to [2021-10-28T18:06:12.766Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-28/7E55EF52A471D76F132DFD9A03CDDE97/139c5c34749d337829d637ec9110b2c5b37b8d1c/81e30d34-55c3-4b40-bd8c-2019d95bfb19.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211028%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211028T180612Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc5afd0c9e665e33b43a8bd1df277259de470b9f8f7b0b898715b69854f70212 [2021-10-28T18:06:12.766Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T18:06:12.766Z] Dload Upload Total Spent Left Speed [2021-10-28T18:06:13.338Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16173 0 0 100 16173 0 56799 --:--:-- --:--:-- --:--:-- 56947 [2021-10-28T18:06:13.338Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/139c5c34749d337829d637ec9110b2c5b37b8d1c [Pipeline] } [2021-10-28T18:06:13.349Z] 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-28T18:06:14.555Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1047/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:06:14.870Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:06:15.424Z] ---> package-listing.sh [2021-10-28T18:06:15.424Z] ++ facter osfamily [2021-10-28T18:06:15.424Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-28T18:06:15.685Z] + OS_FAMILY=redhat [2021-10-28T18:06:15.685Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1047 [2021-10-28T18:06:15.685Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-28T18:06:15.685Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-28T18:06:15.685Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-28T18:06:15.685Z] + PACKAGES=/tmp/packages_start.txt [2021-10-28T18:06:15.685Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1047 ']' [2021-10-28T18:06:15.685Z] + PACKAGES=/tmp/packages_end.txt [2021-10-28T18:06:15.685Z] + case "${OS_FAMILY}" in [2021-10-28T18:06:15.685Z] + rpm -qa [2021-10-28T18:06:15.685Z] + sort [2021-10-28T18:06:16.257Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-28T18:06:16.257Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-28T18:06:16.257Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-28T18:06:16.257Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1047 ']' [2021-10-28T18:06:16.257Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1047/archives/ [2021-10-28T18:06:16.257Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1047/archives/ [Pipeline] echo [2021-10-28T18:06:16.268Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1047/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-28T18:06:16.547Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:06:17.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T18:06:17.118Z] [2021-10-28T18:06:17.118Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T18:06:17.421Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T18:06:17.422Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T18:06:17.422Z] b4d181a07f80: Pulling fs layer [2021-10-28T18:06:17.422Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T18:06:17.422Z] ed53099fbce6: Pulling fs layer [2021-10-28T18:06:17.422Z] dc539afda2c1: Pulling fs layer [2021-10-28T18:06:17.422Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T18:06:17.422Z] 9065ff56babe: Pulling fs layer [2021-10-28T18:06:17.422Z] d287ab97295c: Pulling fs layer [2021-10-28T18:06:17.422Z] 77bc0d833cb6: Waiting [2021-10-28T18:06:17.422Z] 9065ff56babe: Waiting [2021-10-28T18:06:17.422Z] d287ab97295c: Waiting [2021-10-28T18:06:17.422Z] dc539afda2c1: Waiting [2021-10-28T18:06:17.422Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T18:06:17.422Z] a1111a8f2ec3: Download complete [2021-10-28T18:06:17.422Z] dc539afda2c1: Verifying Checksum [2021-10-28T18:06:17.422Z] dc539afda2c1: Download complete [2021-10-28T18:06:17.422Z] ed53099fbce6: Verifying Checksum [2021-10-28T18:06:17.422Z] ed53099fbce6: Download complete [2021-10-28T18:06:17.422Z] 9065ff56babe: Verifying Checksum [2021-10-28T18:06:17.422Z] 9065ff56babe: Download complete [2021-10-28T18:06:17.691Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T18:06:17.691Z] 77bc0d833cb6: Download complete [2021-10-28T18:06:17.691Z] b4d181a07f80: Verifying Checksum [2021-10-28T18:06:17.691Z] b4d181a07f80: Download complete [2021-10-28T18:06:18.271Z] d287ab97295c: Verifying Checksum [2021-10-28T18:06:18.271Z] d287ab97295c: Download complete [2021-10-28T18:06:19.231Z] b4d181a07f80: Pull complete [2021-10-28T18:06:19.231Z] a1111a8f2ec3: Pull complete [2021-10-28T18:06:19.801Z] ed53099fbce6: Pull complete [2021-10-28T18:06:19.801Z] dc539afda2c1: Pull complete [2021-10-28T18:06:20.067Z] 77bc0d833cb6: Pull complete [2021-10-28T18:06:20.067Z] 9065ff56babe: Pull complete [2021-10-28T18:06:25.402Z] d287ab97295c: Pull complete [2021-10-28T18:06:25.402Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T18:06:25.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T18:06:25.402Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T18:06:25.467Z] prd-centos7-docker-4c-2g-25 does not seem to be running inside a container [2021-10-28T18:06:25.500Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1047/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1047 -v /w/workspace/gexfoundry_device-sdk-go_PR-1047:/w/workspace/gexfoundry_device-sdk-go_PR-1047:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T18:06:27.658Z] $ docker top 2fb13bae11a488c17039f35cd666ee332b80ff96e23bc4bcdbdfd55d9cfa15aa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T18:06:28.015Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-28T18:06:28.306Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-28T18:06:28.591Z] + ls /var/log/sa-host [2021-10-28T18:06:28.591Z] + sadf -c /var/log/sa-host/sa28 [2021-10-28T18:06:28.591Z] file_magic: OK [2021-10-28T18:06:28.591Z] HZ: Using current value: 100 [2021-10-28T18:06:28.591Z] file_header: OK [2021-10-28T18:06:28.591Z] 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-28T18:06:28.591Z] Statistics: [2021-10-28T18:06:28.591Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T18:06:28.591Z] File successfully converted to sysstat format version 12.0.3 [2021-10-28T18:06:28.591Z] + sadf -c /var/log/sa-host/sa30 [2021-10-28T18:06:28.591Z] file_magic: OK [2021-10-28T18:06:28.591Z] HZ: Using current value: 100 [2021-10-28T18:06:28.591Z] file_header: OK [2021-10-28T18:06:28.591Z] 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-28T18:06:28.591Z] Statistics: [2021-10-28T18:06:28.591Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T18:06:28.591Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T18:06:28.667Z] provisioning config files... [2021-10-28T18:06:28.676Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1047@tmp/config5521724338910016249tmp [Pipeline] { [Pipeline] echo [2021-10-28T18:06:28.690Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:06:28.987Z] ---> create-netrc.sh [Pipeline] } [2021-10-28T18:06:28.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:06:29.310Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-28T18:06:29.318Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:06:29.611Z] ---> sudo-logs.sh [2021-10-28T18:06:29.611Z] Archiving 'sudo' log.. [2021-10-28T18:06:29.611Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-25.novalocal: Name or service not known [2021-10-28T18:06:29.611Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-25.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-28T18:06:29.631Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:06:29.922Z] ---> job-cost.sh [2021-10-28T18:06:29.922Z] lf-activate-venv: SKIPPING [2021-10-28T18:06:29.922Z] DEBUG: total: 0.10999999940395355 [2021-10-28T18:06:29.922Z] INFO: Retrieving Stack Cost... [2021-10-28T18:06:31.837Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T18:06:32.411Z] INFO: Archiving Costs [Pipeline] echo [2021-10-28T18:06:32.422Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T18:06:32.709Z] ---> logs-deploy.sh [2021-10-28T18:06:32.709Z] lf-activate-venv: SKIPPING [2021-10-28T18:06:32.709Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1047/2 [2021-10-28T18:06:32.709Z] INFO: archiving workspace using pattern(s): [2021-10-28T18:06:33.296Z] Archives upload complete. [2021-10-28T18:06:33.558Z] INFO: archiving logs to Nexus