Pull request #1031 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 47a4e3d87308b5a077521486fb269148263217f7+01d7194063e34a881735a97128c065e4ba98888d (86d9f7e6d6a67e47f1ff1fb0e6744b3ae09a07a7) 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-ssh2865574105582840252.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-ssh8174956422157080320.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2465786944460278664.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-ssh2166719337564570252.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6470185892979379270.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 ‘prd-centos7-docker-4c-2g-1455’ Running on prd-centos7-docker-4c-2g-1462 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1031 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/jenkins-gitclient-ssh28201678947611320.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-1031@tmp/jenkins-gitclient-ssh999825323993966713.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 01d7194063e34a881735a97128c065e4ba98888d into PR head commit 47a4e3d87308b5a077521486fb269148263217f7 Merge succeeded, producing 47a4e3d87308b5a077521486fb269148263217f7 Checking out Revision 47a4e3d87308b5a077521486fb269148263217f7 (PR-1031) > git config core.sparsecheckout # timeout=10 > git checkout -f 47a4e3d87308b5a077521486fb269148263217f7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/jenkins-gitclient-ssh8052452266251215674.key > git merge 01d7194063e34a881735a97128c065e4ba98888d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47a4e3d87308b5a077521486fb269148263217f7 # timeout=10 Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.0.1-dev.20" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-14T18:56:47.838Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-14T18:56:47.872Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-14T18:56:47.887Z] ========================================================= [2021-10-14T18:56:47.887Z] EdgeX Global Pipelines Version Info [2021-10-14T18:56:47.887Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4a3716d57355c6fc108178c300bce47890576814 # timeout=10 [2021-10-14T18:56:49.048Z] ------------------- [2021-10-14T18:56:49.048Z] stable info: [2021-10-14T18:56:49.048Z] ------------------- [2021-10-14T18:56:49.048Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-14T18:56:49.048Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T18:56:49.048Z] Message: update stable to v1.0.210 [2021-10-14T18:56:49.623Z] ------------------- [2021-10-14T18:56:49.623Z] experimental info: [2021-10-14T18:56:49.623Z] ------------------- [2021-10-14T18:56:49.623Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-14T18:56:49.623Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T18:56:49.623Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-14T18:56:49.702Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-14T18:56:49.714Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-14T18:56:49.723Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-14T18:56:49.733Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-14T18:56:49.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-14T18:56:49.752Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-14T18:56:49.763Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-14T18:56:49.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-14T18:56:49.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-14T18:56:49.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-14T18:56:49.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-14T18:56:49.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-14T18:56:49.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-14T18:56:49.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-14T18:56:49.864Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T18:56:49.874Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T18:56:49.884Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T18:56:49.895Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T18:56:49.906Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-14T18:56:49.917Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-14T18:56:49.926Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-14T18:56:49.937Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-14T18:56:49.950Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-14T18:56:49.961Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-14T18:56:49.972Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-14T18:56:49.983Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-14T18:56:49.993Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1031 [Pipeline] echo [2021-10-14T18:56:50.012Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1031 [Pipeline] echo [2021-10-14T18:56:50.027Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1031 [Pipeline] echo [2021-10-14T18:56:50.043Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47a4e3d87308b5a077521486fb269148263217f7 [Pipeline] echo [2021-10-14T18:56:50.055Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47a4e3d [Pipeline] echo [2021-10-14T18:56:50.068Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T18:56:50.106Z] provisioning config files... [2021-10-14T18:56:50.123Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config1518372324718604843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T18:56:50.438Z] ---> docker-login.sh [2021-10-14T18:56:50.438Z] nexus3.edgexfoundry.org:10001 [2021-10-14T18:56:50.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T18:56:50.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T18:56:50.700Z] Configure a credential helper to remove this warning. See [2021-10-14T18:56:50.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T18:56:50.700Z] [2021-10-14T18:56:50.700Z] Login Succeeded [2021-10-14T18:56:50.700Z] nexus3.edgexfoundry.org:10002 [2021-10-14T18:56:50.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T18:56:50.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T18:56:50.700Z] Configure a credential helper to remove this warning. See [2021-10-14T18:56:50.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T18:56:50.700Z] [2021-10-14T18:56:50.700Z] Login Succeeded [2021-10-14T18:56:50.700Z] nexus3.edgexfoundry.org:10003 [2021-10-14T18:56:50.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T18:56:50.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T18:56:50.964Z] Configure a credential helper to remove this warning. See [2021-10-14T18:56:50.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T18:56:50.964Z] [2021-10-14T18:56:50.964Z] Login Succeeded [2021-10-14T18:56:50.964Z] nexus3.edgexfoundry.org:10004 [2021-10-14T18:56:50.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T18:56:50.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T18:56:50.964Z] Configure a credential helper to remove this warning. See [2021-10-14T18:56:50.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T18:56:50.964Z] [2021-10-14T18:56:50.964Z] Login Succeeded [2021-10-14T18:56:51.226Z] docker.io [2021-10-14T18:56:51.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T18:56:51.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T18:56:51.488Z] Configure a credential helper to remove this warning. See [2021-10-14T18:56:51.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T18:56:51.488Z] [2021-10-14T18:56:51.488Z] Login Succeeded [2021-10-14T18:56:51.488Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T18:56:51.495Z] 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-14T18:56:51.961Z] + git log --format=format:%s -1 47a4e3d87308b5a077521486fb269148263217f7 [Pipeline] echo [2021-10-14T18:56:52.006Z] GIT_COMMIT: 47a4e3d87308b5a077521486fb269148263217f7, Commit Message: Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.0.1-dev.20 [Pipeline] echo [2021-10-14T18:56:52.013Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-14T18:56:52.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T18:56:52.432Z] [2021-10-14T18:56:52.432Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T18:56:52.736Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T18:56:52.736Z] latest: Pulling from edgex-devops/git-semver [2021-10-14T18:56:52.736Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T18:56:52.736Z] 3e5f54012d9b: Pulling fs layer [2021-10-14T18:56:52.736Z] 4c7163046ea9: Pulling fs layer [2021-10-14T18:56:52.736Z] 0c2d73faf560: Pulling fs layer [2021-10-14T18:56:52.736Z] 0c2d73faf560: Waiting [2021-10-14T18:56:52.736Z] 3e5f54012d9b: Download complete [2021-10-14T18:56:52.998Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T18:56:52.998Z] a0d0a0d46f8b: Download complete [2021-10-14T18:56:52.998Z] 0c2d73faf560: Verifying Checksum [2021-10-14T18:56:52.998Z] 0c2d73faf560: Download complete [2021-10-14T18:56:52.998Z] 4c7163046ea9: Verifying Checksum [2021-10-14T18:56:52.998Z] 4c7163046ea9: Download complete [2021-10-14T18:56:52.998Z] a0d0a0d46f8b: Pull complete [2021-10-14T18:56:53.271Z] 3e5f54012d9b: Pull complete [2021-10-14T18:56:53.533Z] 4c7163046ea9: Pull complete [2021-10-14T18:56:53.533Z] 0c2d73faf560: Pull complete [2021-10-14T18:56:53.533Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-14T18:56:53.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T18:56:53.533Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-14T18:56:53.621Z] prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container [2021-10-14T18:56:53.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1031 -v /w/workspace/gexfoundry_device-sdk-go_PR-1031:/w/workspace/gexfoundry_device-sdk-go_PR-1031:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T18:56:54.093Z] $ docker top 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T18:56:54.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T18:56:54.338Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T18:56:54.450Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T18:56:54.334Z] $ docker exec 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 ssh-agent [2021-10-14T18:56:54.567Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXheBEeE/agent.13 [2021-10-14T18:56:54.567Z] SSH_AGENT_PID=19 [2021-10-14T18:56:54.574Z] Running ssh-add (command line suppressed) [2021-10-14T18:56:54.578Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_297848889326947732.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_297848889326947732.key) [2021-10-14T18:56:54.693Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T18:56:54.984Z] + git tag --points-at HEAD [Pipeline] } [2021-10-14T18:56:54.923Z] $ docker exec --env ******** --env ******** 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 ssh-agent -k [2021-10-14T18:56:55.020Z] unset SSH_AUTH_SOCK; [2021-10-14T18:56:55.023Z] unset SSH_AGENT_PID; [2021-10-14T18:56:55.023Z] echo Agent pid 19 killed; [2021-10-14T18:56:55.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-14T18:56:55.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T18:56:55.125Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T18:56:55.225Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T18:56:55.173Z] $ docker exec 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 ssh-agent [2021-10-14T18:56:55.327Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKaAodd/agent.53 [2021-10-14T18:56:55.327Z] SSH_AGENT_PID=60 [2021-10-14T18:56:55.332Z] Running ssh-add (command line suppressed) [2021-10-14T18:56:55.401Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_706869962637982481.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_706869962637982481.key) [2021-10-14T18:56:55.452Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T18:56:55.759Z] + git semver init [2021-10-14T18:56:55.759Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T18:56:55.759Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.git [2021-10-14T18:56:55.759Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-14T18:56:55.759Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T18:56:55.759Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T18:56:55.759Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T18:56:55.759Z] # $SEMVER_BRANCH = PR-1031 [2021-10-14T18:56:55.759Z] # $SEMVER_TEMP = /tmp/semver-528903500 [2021-10-14T18:56:55.759Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-14T18:56:56.706Z] # '/tmp/semver-528903500' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver' [2021-10-14T18:56:56.706Z] # -> Force: false [2021-10-14T18:56:56.706Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver [Pipeline] } [2021-10-14T18:56:56.722Z] $ docker exec --env ******** --env ******** 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 ssh-agent -k [2021-10-14T18:56:56.834Z] unset SSH_AUTH_SOCK; [2021-10-14T18:56:56.836Z] unset SSH_AGENT_PID; [2021-10-14T18:56:56.836Z] echo Agent pid 60 killed; [2021-10-14T18:56:56.848Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T18:56:57.152Z] + git semver [Pipeline] } [2021-10-14T18:56:57.170Z] $ docker stop --time=1 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 [2021-10-14T18:56:58.384Z] $ docker rm -f 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T18:56:58.732Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-14T18:56:58.969Z] Stashed 1 file(s) [Pipeline] echo [2021-10-14T18:56:58.973Z] [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-14T18:56:59.186Z] Running on prd-centos7-docker-4c-2g-1463 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] ws [2021-10-14T18:56:59.196Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-10-14T18:56:59.276Z] Selected Git installation does not exist. Using Default [2021-10-14T18:56:59.276Z] The recommended git tool is: NONE [2021-10-14T18:57:01.164Z] using credential edgex-jenkins-ssh [2021-10-14T18:57:01.177Z] Cloning the remote Git repository [2021-10-14T18:57:01.212Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T18:57:01.270Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-10-14T18:57:01.307Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T18:57:01.307Z] > git --version # timeout=10 [2021-10-14T18:57:01.315Z] > git --version # 'git version 2.24.4' [2021-10-14T18:57:01.316Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T18:57:01.339Z] [INFO] Currently running in a labeled security context [2021-10-14T18:57:01.339Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T18:57:01.339Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/6@tmp/jenkins-gitclient-ssh8091493970169792260.key [2021-10-14T18:57:01.359Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T18:57:03.311Z] Merging remotes/origin/main commit 01d7194063e34a881735a97128c065e4ba98888d into PR head commit 47a4e3d87308b5a077521486fb269148263217f7 [2021-10-14T18:57:03.409Z] Merge succeeded, producing 47a4e3d87308b5a077521486fb269148263217f7 [2021-10-14T18:57:03.410Z] Checking out Revision 47a4e3d87308b5a077521486fb269148263217f7 (PR-1031) [2021-10-14T18:57:02.763Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T18:57:02.777Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T18:57:02.788Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T18:57:02.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T18:57:02.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T18:57:02.811Z] [INFO] Currently running in a labeled security context [2021-10-14T18:57:02.811Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T18:57:02.811Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/6@tmp/jenkins-gitclient-ssh5777868554015644593.key [2021-10-14T18:57:02.819Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-14T18:57:03.320Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T18:57:03.330Z] > git checkout -f 47a4e3d87308b5a077521486fb269148263217f7 # timeout=10 [2021-10-14T18:57:03.361Z] > git remote # timeout=10 [2021-10-14T18:57:03.366Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T18:57:03.377Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T18:57:03.378Z] [INFO] Currently running in a labeled security context [2021-10-14T18:57:03.378Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T18:57:03.378Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/6@tmp/jenkins-gitclient-ssh8358224635937040342.key [2021-10-14T18:57:03.383Z] > git merge 01d7194063e34a881735a97128c065e4ba98888d # timeout=10 [2021-10-14T18:57:03.395Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T18:57:03.414Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T18:57:03.421Z] > git checkout -f 47a4e3d87308b5a077521486fb269148263217f7 # timeout=10 [2021-10-14T18:57:07.004Z] Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.0.1-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T18:57:07.316Z] provisioning config files... [2021-10-14T18:57:07.328Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config9113199006678683645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T18:57:07.716Z] ---> docker-login.sh [2021-10-14T18:57:07.716Z] nexus3.edgexfoundry.org:10001 [2021-10-14T18:57:07.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T18:57:07.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T18:57:07.716Z] Configure a credential helper to remove this warning. See [2021-10-14T18:57:07.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T18:57:07.716Z] [2021-10-14T18:57:07.716Z] Login Succeeded [2021-10-14T18:57:07.716Z] nexus3.edgexfoundry.org:10002 [2021-10-14T18:57:07.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T18:57:07.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T18:57:07.979Z] Configure a credential helper to remove this warning. See [2021-10-14T18:57:07.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T18:57:07.979Z] [2021-10-14T18:57:07.979Z] Login Succeeded [2021-10-14T18:57:07.979Z] nexus3.edgexfoundry.org:10003 [2021-10-14T18:57:07.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T18:57:07.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T18:57:07.979Z] Configure a credential helper to remove this warning. See [2021-10-14T18:57:07.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T18:57:07.979Z] [2021-10-14T18:57:07.979Z] Login Succeeded [2021-10-14T18:57:07.979Z] nexus3.edgexfoundry.org:10004 [2021-10-14T18:57:08.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T18:57:08.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T18:57:08.239Z] Configure a credential helper to remove this warning. See [2021-10-14T18:57:08.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T18:57:08.239Z] [2021-10-14T18:57:08.239Z] Login Succeeded [2021-10-14T18:57:08.239Z] docker.io [2021-10-14T18:57:08.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T18:57:08.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T18:57:08.502Z] Configure a credential helper to remove this warning. See [2021-10-14T18:57:08.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T18:57:08.502Z] [2021-10-14T18:57:08.502Z] Login Succeeded [2021-10-14T18:57:08.502Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T18:57:08.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T18:57:08.683Z] ========================================================= [2021-10-14T18:57:08.683Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-14T18:57:08.683Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T18:57:09.017Z] + 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-14T18:57:09.017Z] Sending build context to Docker daemon 2.685MB [2021-10-14T18:57:09.017Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T18:57:09.017Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T18:57:09.017Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-14T18:57:09.017Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T18:57:09.017Z] 31adcdaf11c8: Pulling fs layer [2021-10-14T18:57:09.017Z] b8b176561691: Pulling fs layer [2021-10-14T18:57:09.017Z] 4527c011a84f: Pulling fs layer [2021-10-14T18:57:09.017Z] 5d74067f8e1e: Pulling fs layer [2021-10-14T18:57:09.017Z] e0aca202a116: Pulling fs layer [2021-10-14T18:57:09.017Z] 3a43be97a3b4: Pulling fs layer [2021-10-14T18:57:09.017Z] 34cad66bf833: Pulling fs layer [2021-10-14T18:57:09.017Z] b4e3c513aaa6: Pulling fs layer [2021-10-14T18:57:09.017Z] 5d74067f8e1e: Waiting [2021-10-14T18:57:09.017Z] e0aca202a116: Waiting [2021-10-14T18:57:09.017Z] 3a43be97a3b4: Waiting [2021-10-14T18:57:09.017Z] 34cad66bf833: Waiting [2021-10-14T18:57:09.017Z] b4e3c513aaa6: Waiting [2021-10-14T18:57:09.017Z] 4527c011a84f: Waiting [2021-10-14T18:57:09.017Z] b8b176561691: Verifying Checksum [2021-10-14T18:57:09.017Z] b8b176561691: Download complete [2021-10-14T18:57:09.017Z] 31adcdaf11c8: Verifying Checksum [2021-10-14T18:57:09.017Z] 31adcdaf11c8: Download complete [2021-10-14T18:57:09.017Z] 5d74067f8e1e: Verifying Checksum [2021-10-14T18:57:09.017Z] 5d74067f8e1e: Download complete [2021-10-14T18:57:09.295Z] e0aca202a116: Verifying Checksum [2021-10-14T18:57:09.295Z] e0aca202a116: Download complete [2021-10-14T18:57:09.295Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T18:57:09.295Z] a0d0a0d46f8b: Download complete [2021-10-14T18:57:09.295Z] 3a43be97a3b4: Verifying Checksum [2021-10-14T18:57:09.295Z] 3a43be97a3b4: Download complete [2021-10-14T18:57:09.295Z] 34cad66bf833: Verifying Checksum [2021-10-14T18:57:09.295Z] 34cad66bf833: Download complete [2021-10-14T18:57:09.561Z] a0d0a0d46f8b: Pull complete [2021-10-14T18:57:09.835Z] 31adcdaf11c8: Pull complete [2021-10-14T18:57:09.835Z] 4527c011a84f: Verifying Checksum [2021-10-14T18:57:09.835Z] 4527c011a84f: Download complete [2021-10-14T18:57:09.835Z] b8b176561691: Pull complete [2021-10-14T18:57:09.835Z] b4e3c513aaa6: Verifying Checksum [2021-10-14T18:57:09.835Z] b4e3c513aaa6: Download complete [2021-10-14T18:57:14.099Z] 4527c011a84f: Pull complete [2021-10-14T18:57:14.099Z] 5d74067f8e1e: Pull complete [2021-10-14T18:57:14.099Z] e0aca202a116: Pull complete [2021-10-14T18:57:14.099Z] 3a43be97a3b4: Pull complete [2021-10-14T18:57:14.099Z] 34cad66bf833: Pull complete [2021-10-14T18:57:14.122Z] Still waiting to schedule task [2021-10-14T18:57:14.122Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1459’ [2021-10-14T18:57:16.027Z] b4e3c513aaa6: Pull complete [2021-10-14T18:57:16.027Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-14T18:57:16.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-14T18:57:16.027Z] ---> 9f6097aaca64 [2021-10-14T18:57:16.027Z] Step 3/10 : ARG MAKE=make build [2021-10-14T18:57:17.942Z] ---> Running in 7de85a73b357 [2021-10-14T18:57:17.942Z] Removing intermediate container 7de85a73b357 [2021-10-14T18:57:17.942Z] ---> 97ded65a5971 [2021-10-14T18:57:17.942Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T18:57:17.942Z] ---> Running in 6eecdd918717 [2021-10-14T18:57:17.942Z] Removing intermediate container 6eecdd918717 [2021-10-14T18:57:17.942Z] ---> b9d674b405b6 [2021-10-14T18:57:17.942Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T18:57:17.942Z] ---> Running in 81f478055fa6 [2021-10-14T18:57:18.207Z] Removing intermediate container 81f478055fa6 [2021-10-14T18:57:18.207Z] ---> 1be1fbbf4dd2 [2021-10-14T18:57:18.207Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T18:57:18.207Z] ---> Running in 9b295f937330 [2021-10-14T18:57:18.780Z] Removing intermediate container 9b295f937330 [2021-10-14T18:57:18.780Z] ---> 11d79c14f084 [2021-10-14T18:57:18.780Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T18:57:18.780Z] ---> Running in 82c061a45eea [2021-10-14T18:57:19.041Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T18:57:19.986Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T18:57:20.252Z] OK: 220 MiB in 52 packages [2021-10-14T18:57:20.513Z] Removing intermediate container 82c061a45eea [2021-10-14T18:57:20.513Z] ---> 7f5df1863a2e [2021-10-14T18:57:20.513Z] Step 8/10 : COPY . . [2021-10-14T18:57:20.773Z] ---> bfbf6268dac5 [2021-10-14T18:57:20.773Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T18:57:20.773Z] ---> Running in 2a8eddca269a [2021-10-14T18:57:52.947Z] Removing intermediate container 2a8eddca269a [2021-10-14T18:57:52.947Z] ---> 57ec5bcc5530 [2021-10-14T18:57:52.947Z] Step 10/10 : RUN ${MAKE} [2021-10-14T18:57:52.947Z] ---> Running in 8fb8ddf77342 [2021-10-14T18:57:52.947Z] noop [2021-10-14T18:57:52.947Z] Removing intermediate container 8fb8ddf77342 [2021-10-14T18:57:52.947Z] ---> e2effd979ccc [2021-10-14T18:57:52.947Z] Successfully built e2effd979ccc [2021-10-14T18:57:52.947Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T18:57:53.243Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T18:57:53.243Z] . [Pipeline] withDockerContainer [2021-10-14T18:57:53.317Z] prd-centos7-docker-4c-2g-1463 does not seem to be running inside a container [2021-10-14T18:57:53.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T18:57:53.713Z] $ docker top 4b25e4fe85ce7d93eb7be3f3c55208bad8085e2778bc8d3968ad987d03cd5c60 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T18:57:54.075Z] + go version [2021-10-14T18:57:54.076Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-14T18:57:54.089Z] $ docker stop --time=1 4b25e4fe85ce7d93eb7be3f3c55208bad8085e2778bc8d3968ad987d03cd5c60 [2021-10-14T18:57:55.257Z] $ docker rm -f 4b25e4fe85ce7d93eb7be3f3c55208bad8085e2778bc8d3968ad987d03cd5c60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T18:57:55.696Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T18:57:55.696Z] . [Pipeline] withDockerContainer [2021-10-14T18:57:55.759Z] prd-centos7-docker-4c-2g-1463 does not seem to be running inside a container [2021-10-14T18:57:55.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T18:57:56.114Z] $ docker top f00753a89d3bb155dbbb9e510ff2723956909c1c5504ca8dc6125fa7af03937e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T18:57:56.476Z] + make test [2021-10-14T18:57:56.476Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T18:58:01.802Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T18:58:23.863Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T18:58:23.863Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T18:58:23.863Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T18:58:25.799Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.062s coverage: 23.5% of statements [2021-10-14T18:58:25.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T18:58:25.799Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 28.1% of statements [2021-10-14T18:58:26.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.045s coverage: 78.9% of statements [2021-10-14T18:58:26.063Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 9.0% of statements [2021-10-14T18:58:26.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T18:58:26.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T18:58:26.063Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T18:58:27.032Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 28.7% of statements [2021-10-14T18:58:27.032Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T18:58:28.013Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.065s coverage: 83.3% of statements [2021-10-14T18:58:28.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T18:58:28.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T18:58:28.013Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 57.8% of statements [2021-10-14T18:58:29.439Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.898s coverage: 88.8% of statements [2021-10-14T18:58:29.439Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T18:58:29.439Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.042s coverage: 4.9% of statements [2021-10-14T18:58:29.439Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T18:58:29.439Z] GO111MODULE=on go vet ./... [2021-10-14T18:58:47.683Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T18:58:47.683Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T18:58:47.683Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T18:58:47.697Z] $ docker stop --time=1 f00753a89d3bb155dbbb9e510ff2723956909c1c5504ca8dc6125fa7af03937e [2021-10-14T18:58:49.186Z] $ docker rm -f f00753a89d3bb155dbbb9e510ff2723956909c1c5504ca8dc6125fa7af03937e [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T18:58:49.615Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T18:58:49.794Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-14T18:58:51.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T18:58:51.354Z] + ls -al . [2021-10-14T18:58:51.354Z] total 264 [2021-10-14T18:58:51.354Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 14 18:58 . [2021-10-14T18:58:51.354Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 14 18:57 .. [2021-10-14T18:58:51.354Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 14 18:57 bin [2021-10-14T18:58:51.354Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 14 18:57 CHANGELOG.md [2021-10-14T18:58:51.354Z] -rw-r--r--. 1 jenkins jenkins 126693 Oct 14 18:58 coverage.out [2021-10-14T18:58:51.354Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 18:57 .dockerignore [2021-10-14T18:58:51.354Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 14 18:57 example [2021-10-14T18:58:51.354Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 18:57 .git [2021-10-14T18:58:51.354Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 14 18:57 .github [2021-10-14T18:58:51.354Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 14 18:57 .gitignore [2021-10-14T18:58:51.354Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 14 18:57 go.mod [2021-10-14T18:58:51.354Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 14 18:57 go.sum [2021-10-14T18:58:51.354Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 18:57 GOVERNANCE.md [2021-10-14T18:58:51.354Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 14 18:57 internal [2021-10-14T18:58:51.354Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 14 18:57 Jenkinsfile [2021-10-14T18:58:51.354Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 18:57 LICENSE [2021-10-14T18:58:51.354Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 14 18:57 Makefile [2021-10-14T18:58:51.354Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 14 18:57 openapi [2021-10-14T18:58:51.354Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 14 18:57 OWNERS.md [2021-10-14T18:58:51.354Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 18:57 pkg [2021-10-14T18:58:51.354Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 14 18:57 README.md [2021-10-14T18:58:51.355Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 18:57 snap [2021-10-14T18:58:51.355Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 18:56 VERSION [2021-10-14T18:58:51.355Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 18:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T18:58:51.650Z] + 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=47a4e3d87308b5a077521486fb269148263217f7 --label arch=amd64 --label version=0.0.0 . [2021-10-14T18:58:51.650Z] Sending build context to Docker daemon 2.812MB [2021-10-14T18:58:51.650Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T18:58:51.650Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T18:58:51.650Z] ---> e2effd979ccc [2021-10-14T18:58:51.650Z] Step 3/24 : ARG MAKE=make build [2021-10-14T18:58:51.650Z] ---> Running in 495b702dfceb [2021-10-14T18:58:51.650Z] Removing intermediate container 495b702dfceb [2021-10-14T18:58:51.650Z] ---> 45ab640612d5 [2021-10-14T18:58:51.650Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T18:58:51.914Z] ---> Running in 84d1e8ac3bc7 [2021-10-14T18:58:51.914Z] Removing intermediate container 84d1e8ac3bc7 [2021-10-14T18:58:51.914Z] ---> dbf6433bb94d [2021-10-14T18:58:51.914Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T18:58:51.914Z] ---> Running in ebed791d2414 [2021-10-14T18:58:51.914Z] Removing intermediate container ebed791d2414 [2021-10-14T18:58:51.914Z] ---> df644aef0443 [2021-10-14T18:58:51.914Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T18:58:51.914Z] ---> Running in 6f3210b7028f [2021-10-14T18:58:52.485Z] Removing intermediate container 6f3210b7028f [2021-10-14T18:58:52.485Z] ---> bf26c2f3a78f [2021-10-14T18:58:52.485Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T18:58:52.485Z] ---> Running in 32c2ef878042 [2021-10-14T18:58:52.749Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T18:58:53.695Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T18:58:53.954Z] OK: 220 MiB in 52 packages [2021-10-14T18:58:54.222Z] Removing intermediate container 32c2ef878042 [2021-10-14T18:58:54.222Z] ---> c4706b88a517 [2021-10-14T18:58:54.222Z] Step 8/24 : COPY . . [2021-10-14T18:58:54.483Z] ---> d4909f441b6d [2021-10-14T18:58:54.483Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T18:58:54.483Z] ---> Running in 57c8ad788ac9 [2021-10-14T18:58:55.058Z] Removing intermediate container 57c8ad788ac9 [2021-10-14T18:58:55.058Z] ---> 4f37aaecae98 [2021-10-14T18:58:55.058Z] Step 10/24 : RUN ${MAKE} [2021-10-14T18:58:55.058Z] ---> Running in 004457e8027d [2021-10-14T18:58:55.317Z] 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-14T18:59:05.438Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T18:59:06.012Z] Removing intermediate container 004457e8027d [2021-10-14T18:59:06.012Z] ---> 32121fbca8a8 [2021-10-14T18:59:06.012Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T18:59:06.587Z] 3.14: Pulling from library/alpine [2021-10-14T18:59:06.851Z] a0d0a0d46f8b: Already exists [2021-10-14T18:59:07.112Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T18:59:07.112Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T18:59:07.112Z] ---> 14119a10abf4 [2021-10-14T18:59:07.112Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T18:59:07.112Z] ---> Running in 1237eab4a4bb [2021-10-14T18:59:07.112Z] Removing intermediate container 1237eab4a4bb [2021-10-14T18:59:07.112Z] ---> 95415b4fb925 [2021-10-14T18:59:07.112Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T18:59:07.112Z] ---> Running in 785d762cad3e [2021-10-14T18:59:07.688Z] Removing intermediate container 785d762cad3e [2021-10-14T18:59:07.688Z] ---> 47987095fbb4 [2021-10-14T18:59:07.688Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T18:59:07.688Z] ---> Running in 3659fd6f61d4 [2021-10-14T18:59:07.948Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T18:59:08.889Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T18:59:08.890Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T18:59:09.149Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T18:59:09.149Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T18:59:09.149Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T18:59:09.411Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T18:59:09.411Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T18:59:09.411Z] OK: 8 MiB in 19 packages [2021-10-14T18:59:09.673Z] Removing intermediate container 3659fd6f61d4 [2021-10-14T18:59:09.673Z] ---> e92be9e50fa7 [2021-10-14T18:59:09.673Z] Step 15/24 : WORKDIR / [2021-10-14T18:59:09.673Z] ---> Running in 296ff244d3a0 [2021-10-14T18:59:09.936Z] Removing intermediate container 296ff244d3a0 [2021-10-14T18:59:09.936Z] ---> cdcbc32f7a45 [2021-10-14T18:59:09.936Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T18:59:09.936Z] ---> a609bfb27e2c [2021-10-14T18:59:09.936Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T18:59:10.196Z] ---> 34f61a83d2c5 [2021-10-14T18:59:10.196Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T18:59:10.457Z] ---> 0580c8f452d1 [2021-10-14T18:59:10.457Z] Step 19/24 : EXPOSE 59999 [2021-10-14T18:59:10.457Z] ---> Running in f138a6514ce3 [2021-10-14T18:59:10.457Z] Removing intermediate container f138a6514ce3 [2021-10-14T18:59:10.457Z] ---> 383200738031 [2021-10-14T18:59:10.457Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T18:59:10.457Z] ---> Running in 15461fe65279 [2021-10-14T18:59:10.457Z] Removing intermediate container 15461fe65279 [2021-10-14T18:59:10.457Z] ---> 7637fbdba890 [2021-10-14T18:59:10.457Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T18:59:10.721Z] ---> Running in dc31203b565e [2021-10-14T18:59:10.721Z] Removing intermediate container dc31203b565e [2021-10-14T18:59:10.721Z] ---> 9cb0a62d385a [2021-10-14T18:59:10.721Z] Step 22/24 : LABEL arch=amd64 [2021-10-14T18:59:10.721Z] ---> Running in 1303e6fc0c19 [2021-10-14T18:59:10.721Z] Removing intermediate container 1303e6fc0c19 [2021-10-14T18:59:10.721Z] ---> 06c4a454451b [2021-10-14T18:59:10.721Z] Step 23/24 : LABEL git_sha=47a4e3d87308b5a077521486fb269148263217f7 [2021-10-14T18:59:10.721Z] ---> Running in 235eb7cd22f2 [2021-10-14T18:59:10.981Z] Removing intermediate container 235eb7cd22f2 [2021-10-14T18:59:10.981Z] ---> 0fa4ff2e8594 [2021-10-14T18:59:10.981Z] Step 24/24 : LABEL version=0.0.0 [2021-10-14T18:59:10.981Z] ---> Running in 7854970da4ea [2021-10-14T18:59:10.981Z] Removing intermediate container 7854970da4ea [2021-10-14T18:59:10.981Z] ---> 569882b9d06c [2021-10-14T18:59:10.981Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T18:59:10.981Z] Successfully built 569882b9d06c [2021-10-14T18:59:10.981Z] 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-14T18:59:11.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T18:59:11.581Z] [2021-10-14T18:59:11.581Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T18:59:11.884Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T18:59:11.884Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T18:59:11.884Z] b4d181a07f80: Pulling fs layer [2021-10-14T18:59:11.884Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T18:59:11.884Z] ed53099fbce6: Pulling fs layer [2021-10-14T18:59:11.884Z] dc539afda2c1: Pulling fs layer [2021-10-14T18:59:11.884Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T18:59:11.884Z] 9065ff56babe: Pulling fs layer [2021-10-14T18:59:11.884Z] d287ab97295c: Pulling fs layer [2021-10-14T18:59:11.884Z] 77bc0d833cb6: Waiting [2021-10-14T18:59:11.884Z] 9065ff56babe: Waiting [2021-10-14T18:59:11.884Z] d287ab97295c: Waiting [2021-10-14T18:59:11.884Z] dc539afda2c1: Waiting [2021-10-14T18:59:11.884Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T18:59:11.884Z] a1111a8f2ec3: Download complete [2021-10-14T18:59:11.884Z] dc539afda2c1: Verifying Checksum [2021-10-14T18:59:11.884Z] dc539afda2c1: Download complete [2021-10-14T18:59:11.884Z] ed53099fbce6: Verifying Checksum [2021-10-14T18:59:11.884Z] ed53099fbce6: Download complete [2021-10-14T18:59:12.154Z] 9065ff56babe: Verifying Checksum [2021-10-14T18:59:12.154Z] 9065ff56babe: Download complete [2021-10-14T18:59:12.154Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T18:59:12.154Z] 77bc0d833cb6: Download complete [2021-10-14T18:59:12.154Z] b4d181a07f80: Verifying Checksum [2021-10-14T18:59:12.154Z] b4d181a07f80: Download complete [2021-10-14T18:59:12.743Z] d287ab97295c: Verifying Checksum [2021-10-14T18:59:12.743Z] d287ab97295c: Download complete [2021-10-14T18:59:13.708Z] b4d181a07f80: Pull complete [2021-10-14T18:59:13.980Z] a1111a8f2ec3: Pull complete [2021-10-14T18:59:14.559Z] ed53099fbce6: Pull complete [2021-10-14T18:59:14.559Z] dc539afda2c1: Pull complete [2021-10-14T18:59:14.823Z] 77bc0d833cb6: Pull complete [2021-10-14T18:59:14.823Z] 9065ff56babe: Pull complete [2021-10-14T18:59:20.155Z] d287ab97295c: Pull complete [2021-10-14T18:59:20.155Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T18:59:20.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T18:59:20.155Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T18:59:20.218Z] prd-centos7-docker-4c-2g-1463 does not seem to be running inside a container [2021-10-14T18:59:20.257Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-14T18:59:22.276Z] $ docker top 8d1e4289f5b7a1f845b9ca73d150e2aa686ffc126a4f55b235633a47356f7f75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T18:59:22.662Z] ---> job-cost.sh [2021-10-14T18:59:22.662Z] lf-activate-venv: SKIPPING [2021-10-14T18:59:22.662Z] INFO: No Stack... [2021-10-14T18:59:40.789Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T18:59:40.789Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T18:59:41.080Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-10-14T18:59:41.080Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T18:59:41.109Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] [2021-10-14T18:59:41.115Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] did not exist. Created. [2021-10-14T18:59:41.115Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T18:59:41.413Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-14T18:59:41.450Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T18:59:41.459Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T18:59:41.477Z] $ docker stop --time=1 8d1e4289f5b7a1f845b9ca73d150e2aa686ffc126a4f55b235633a47356f7f75 [2021-10-14T18:59:42.591Z] $ docker rm -f 8d1e4289f5b7a1f845b9ca73d150e2aa686ffc126a4f55b235633a47356f7f75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-14T19:02:16.281Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1467 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] ws [2021-10-14T19:02:16.292Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-10-14T19:02:16.678Z] Selected Git installation does not exist. Using Default [2021-10-14T19:02:16.678Z] The recommended git tool is: NONE [2021-10-14T19:02:23.407Z] using credential edgex-jenkins-ssh [2021-10-14T19:02:23.433Z] Cloning the remote Git repository [2021-10-14T19:02:23.495Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T19:02:23.644Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-10-14T19:02:23.749Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T19:02:23.750Z] > git --version # timeout=10 [2021-10-14T19:02:23.772Z] > git --version # 'git version 2.17.1' [2021-10-14T19:02:23.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T19:02:23.872Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T19:02:25.276Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T19:02:25.297Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T19:02:25.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T19:02:25.374Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T19:02:25.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T19:02:25.393Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-14T19:02:26.044Z] Merging remotes/origin/main commit 01d7194063e34a881735a97128c065e4ba98888d into PR head commit 47a4e3d87308b5a077521486fb269148263217f7 [2021-10-14T19:02:26.310Z] Merge succeeded, producing 47a4e3d87308b5a077521486fb269148263217f7 [2021-10-14T19:02:26.310Z] Checking out Revision 47a4e3d87308b5a077521486fb269148263217f7 (PR-1031) [2021-10-14T19:02:26.065Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T19:02:26.086Z] > git checkout -f 47a4e3d87308b5a077521486fb269148263217f7 # timeout=10 [2021-10-14T19:02:26.197Z] > git remote # timeout=10 [2021-10-14T19:02:26.225Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T19:02:26.241Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T19:02:26.253Z] > git merge 01d7194063e34a881735a97128c065e4ba98888d # timeout=10 [2021-10-14T19:02:26.292Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T19:02:26.317Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T19:02:26.329Z] > git checkout -f 47a4e3d87308b5a077521486fb269148263217f7 # timeout=10 [2021-10-14T19:02:30.861Z] Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.0.1-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T19:02:32.006Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-14T19:02:32.006Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T19:02:32.006Z] Dload Upload Total Spent Left Speed [2021-10-14T19:02:32.287Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 42228 0 --:--:-- --:--:-- --:--:-- 42379 [Pipeline] sh [2021-10-14T19:02:32.724Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-14T19:02:33.083Z] + sudo tee /etc/docker/daemon.new [2021-10-14T19:02:33.084Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-14T19:02:33.084Z] { [2021-10-14T19:02:33.084Z] "registry-mirrors": [ [2021-10-14T19:02:33.084Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-14T19:02:33.084Z] ], [2021-10-14T19:02:33.084Z] "bip": "10.250.0.254/24", [2021-10-14T19:02:33.084Z] "hosts": [ [2021-10-14T19:02:33.084Z] "tcp://0.0.0.0:5555", [2021-10-14T19:02:33.084Z] "unix:///var/run/docker.sock" [2021-10-14T19:02:33.084Z] ], [2021-10-14T19:02:33.084Z] "mtu": 1458, [2021-10-14T19:02:33.084Z] "selinux-enabled": true, [2021-10-14T19:02:33.084Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-14T19:02:33.084Z] } [Pipeline] sh [2021-10-14T19:02:33.542Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-14T19:02:33.926Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T19:02:52.391Z] provisioning config files... [2021-10-14T19:02:52.421Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config2304331377357857056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:02:52.806Z] ---> docker-login.sh [2021-10-14T19:02:52.806Z] nexus3.edgexfoundry.org:10001 [2021-10-14T19:02:54.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:02:54.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:02:54.553Z] Configure a credential helper to remove this warning. See [2021-10-14T19:02:54.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:02:54.553Z] [2021-10-14T19:02:54.553Z] Login Succeeded [2021-10-14T19:02:54.553Z] nexus3.edgexfoundry.org:10002 [2021-10-14T19:02:55.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:02:55.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:02:55.170Z] Configure a credential helper to remove this warning. See [2021-10-14T19:02:55.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:02:55.170Z] [2021-10-14T19:02:55.170Z] Login Succeeded [2021-10-14T19:02:55.170Z] nexus3.edgexfoundry.org:10003 [2021-10-14T19:02:55.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:02:55.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:02:55.777Z] Configure a credential helper to remove this warning. See [2021-10-14T19:02:55.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:02:55.777Z] [2021-10-14T19:02:55.777Z] Login Succeeded [2021-10-14T19:02:55.777Z] nexus3.edgexfoundry.org:10004 [2021-10-14T19:02:56.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:02:56.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:02:56.336Z] Configure a credential helper to remove this warning. See [2021-10-14T19:02:56.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:02:56.336Z] [2021-10-14T19:02:56.336Z] Login Succeeded [2021-10-14T19:02:56.336Z] docker.io [2021-10-14T19:02:56.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T19:02:57.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T19:02:57.235Z] Configure a credential helper to remove this warning. See [2021-10-14T19:02:57.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T19:02:57.236Z] [2021-10-14T19:02:57.236Z] Login Succeeded [2021-10-14T19:02:57.236Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T19:02:57.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T19:02:57.575Z] ========================================================= [2021-10-14T19:02:57.576Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-14T19:02:57.576Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:02:58.178Z] + 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-14T19:02:58.472Z] Sending build context to Docker daemon 2.684MB [2021-10-14T19:02:58.472Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T19:02:58.472Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T19:02:59.083Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-14T19:02:59.083Z] 552d1f2373af: Pulling fs layer [2021-10-14T19:02:59.083Z] ea3f2d53f512: Pulling fs layer [2021-10-14T19:02:59.083Z] 9e70ebbbe112: Pulling fs layer [2021-10-14T19:02:59.083Z] 7a9cfe048b4a: Pulling fs layer [2021-10-14T19:02:59.083Z] 72dc09318566: Pulling fs layer [2021-10-14T19:02:59.083Z] f4f7b4309257: Pulling fs layer [2021-10-14T19:02:59.083Z] 0ac9a79272e3: Pulling fs layer [2021-10-14T19:02:59.083Z] b78e95d17946: Pulling fs layer [2021-10-14T19:02:59.083Z] f4f7b4309257: Waiting [2021-10-14T19:02:59.083Z] 0ac9a79272e3: Waiting [2021-10-14T19:02:59.083Z] b78e95d17946: Waiting [2021-10-14T19:02:59.083Z] 72dc09318566: Waiting [2021-10-14T19:02:59.083Z] 7a9cfe048b4a: Waiting [2021-10-14T19:02:59.083Z] 9e70ebbbe112: Verifying Checksum [2021-10-14T19:02:59.083Z] 9e70ebbbe112: Download complete [2021-10-14T19:02:59.083Z] ea3f2d53f512: Verifying Checksum [2021-10-14T19:02:59.083Z] ea3f2d53f512: Download complete [2021-10-14T19:02:59.083Z] 72dc09318566: Download complete [2021-10-14T19:02:59.083Z] f4f7b4309257: Download complete [2021-10-14T19:02:59.083Z] 0ac9a79272e3: Download complete [2021-10-14T19:02:59.083Z] 552d1f2373af: Verifying Checksum [2021-10-14T19:02:59.083Z] 552d1f2373af: Download complete [2021-10-14T19:03:00.109Z] 552d1f2373af: Pull complete [2021-10-14T19:03:00.758Z] ea3f2d53f512: Pull complete [2021-10-14T19:03:01.037Z] b78e95d17946: Verifying Checksum [2021-10-14T19:03:01.037Z] b78e95d17946: Download complete [2021-10-14T19:03:01.316Z] 9e70ebbbe112: Pull complete [2021-10-14T19:03:01.591Z] 7a9cfe048b4a: Verifying Checksum [2021-10-14T19:03:01.591Z] 7a9cfe048b4a: Download complete [2021-10-14T19:03:11.812Z] 7a9cfe048b4a: Pull complete [2021-10-14T19:03:11.812Z] 72dc09318566: Pull complete [2021-10-14T19:03:11.812Z] f4f7b4309257: Pull complete [2021-10-14T19:03:11.812Z] 0ac9a79272e3: Pull complete [2021-10-14T19:03:17.265Z] b78e95d17946: Pull complete [2021-10-14T19:03:17.265Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-14T19:03:17.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-14T19:03:17.265Z] ---> 8b459fc5aaf0 [2021-10-14T19:03:17.265Z] Step 3/10 : ARG MAKE=make build [2021-10-14T19:03:22.741Z] ---> Running in bb84bdde1870 [2021-10-14T19:03:22.741Z] Removing intermediate container bb84bdde1870 [2021-10-14T19:03:22.741Z] ---> dbe5ef47af5f [2021-10-14T19:03:22.741Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T19:03:22.741Z] ---> Running in fad1fb1b8ad6 [2021-10-14T19:03:23.019Z] Removing intermediate container fad1fb1b8ad6 [2021-10-14T19:03:23.019Z] ---> 510556f9fb97 [2021-10-14T19:03:23.019Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T19:03:23.300Z] ---> Running in 31cc4adad40b [2021-10-14T19:03:23.909Z] Removing intermediate container 31cc4adad40b [2021-10-14T19:03:23.909Z] ---> 1285042e1470 [2021-10-14T19:03:23.909Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T19:03:23.909Z] ---> Running in cdbc9d49d150 [2021-10-14T19:03:27.343Z] Removing intermediate container cdbc9d49d150 [2021-10-14T19:03:27.343Z] ---> dcc9265fd48d [2021-10-14T19:03:27.343Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T19:03:27.343Z] ---> Running in 8bc180de7c7a [2021-10-14T19:03:28.344Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T19:03:29.337Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T19:03:29.949Z] OK: 219 MiB in 52 packages [2021-10-14T19:03:31.412Z] Removing intermediate container 8bc180de7c7a [2021-10-14T19:03:31.412Z] ---> 62922fa015cd [2021-10-14T19:03:31.412Z] Step 8/10 : COPY . . [2021-10-14T19:03:32.417Z] ---> b45485c212a6 [2021-10-14T19:03:32.417Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T19:03:32.417Z] ---> Running in 9f780c41d730 [2021-10-14T19:04:54.380Z] Removing intermediate container 9f780c41d730 [2021-10-14T19:04:54.380Z] ---> 051f8dc3fcfc [2021-10-14T19:04:54.380Z] Step 10/10 : RUN ${MAKE} [2021-10-14T19:04:54.380Z] ---> Running in acafc10b9e6f [2021-10-14T19:04:54.990Z] noop [2021-10-14T19:04:56.018Z] Removing intermediate container acafc10b9e6f [2021-10-14T19:04:56.018Z] ---> 839371f4b06c [2021-10-14T19:04:56.018Z] Successfully built 839371f4b06c [2021-10-14T19:04:56.018Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:04:56.386Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T19:04:56.386Z] . [Pipeline] withDockerContainer [2021-10-14T19:04:56.679Z] prd-ubuntu18.04-docker-arm64-4c-16g-1467 does not seem to be running inside a container [2021-10-14T19:04:56.789Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-14T19:04:58.746Z] $ docker top 4ac2792a5aee1cb1661cbaa9dce1a62fe5939c149011694e46715d6db67522f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T19:04:59.755Z] + go version [2021-10-14T19:04:59.755Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-14T19:04:59.782Z] $ docker stop --time=1 4ac2792a5aee1cb1661cbaa9dce1a62fe5939c149011694e46715d6db67522f5 [2021-10-14T19:05:01.662Z] $ docker rm -f 4ac2792a5aee1cb1661cbaa9dce1a62fe5939c149011694e46715d6db67522f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:05:02.478Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T19:05:02.478Z] . [Pipeline] withDockerContainer [2021-10-14T19:05:02.772Z] prd-ubuntu18.04-docker-arm64-4c-16g-1467 does not seem to be running inside a container [2021-10-14T19:05:02.868Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-14T19:05:04.537Z] $ docker top 6e497979f6f7407d86dd0f806562f0223e561fe07f61d1215709c9e65983dbed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T19:05:05.629Z] + make test [2021-10-14T19:05:05.629Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T19:05:32.571Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T19:06:40.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T19:06:40.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T19:06:40.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T19:06:47.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.282s coverage: 23.5% of statements [2021-10-14T19:06:47.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T19:06:47.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.255s coverage: 28.1% of statements [2021-10-14T19:06:47.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.253s coverage: 78.9% of statements [2021-10-14T19:06:47.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.201s coverage: 9.0% of statements [2021-10-14T19:06:47.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T19:06:47.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T19:06:47.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T19:06:48.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.362s coverage: 28.7% of statements [2021-10-14T19:06:48.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T19:06:48.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.297s coverage: 83.3% of statements [2021-10-14T19:06:48.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T19:06:48.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T19:06:49.486Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.371s coverage: 57.8% of statements [2021-10-14T19:06:54.954Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.204s coverage: 88.8% of statements [2021-10-14T19:06:54.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T19:06:54.954Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.209s coverage: 4.9% of statements [2021-10-14T19:06:54.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T19:06:54.954Z] GO111MODULE=on go vet ./... [2021-10-14T19:07:51.629Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T19:07:51.629Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T19:07:51.629Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T19:07:53.113Z] $ docker stop --time=1 6e497979f6f7407d86dd0f806562f0223e561fe07f61d1215709c9e65983dbed [2021-10-14T19:07:56.116Z] $ docker rm -f 6e497979f6f7407d86dd0f806562f0223e561fe07f61d1215709c9e65983dbed [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T19:07:57.342Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T19:07:57.375Z] Warning: overwriting stash ‘coverage-report’ [2021-10-14T19:07:58.182Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T19:07:58.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T19:07:59.086Z] + ls -al . [2021-10-14T19:07:59.086Z] total 300 [2021-10-14T19:07:59.086Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 19:07 . [2021-10-14T19:07:59.086Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 19:02 .. [2021-10-14T19:07:59.086Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 19:02 .dockerignore [2021-10-14T19:07:59.086Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 19:02 .git [2021-10-14T19:07:59.086Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 19:02 .github [2021-10-14T19:07:59.086Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 14 19:02 .gitignore [2021-10-14T19:07:59.086Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 14 19:02 CHANGELOG.md [2021-10-14T19:07:59.086Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 19:02 GOVERNANCE.md [2021-10-14T19:07:59.086Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 14 19:02 Jenkinsfile [2021-10-14T19:07:59.086Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 19:02 LICENSE [2021-10-14T19:07:59.086Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 14 19:02 Makefile [2021-10-14T19:07:59.086Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 14 19:02 OWNERS.md [2021-10-14T19:07:59.086Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 14 19:02 README.md [2021-10-14T19:07:59.086Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 18:56 VERSION [2021-10-14T19:07:59.086Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 19:02 bin [2021-10-14T19:07:59.086Z] -rw-r--r-- 1 jenkins jenkins 126693 Oct 14 19:06 coverage.out [2021-10-14T19:07:59.086Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 19:02 example [2021-10-14T19:07:59.086Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 14 19:02 go.mod [2021-10-14T19:07:59.086Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 14 19:02 go.sum [2021-10-14T19:07:59.086Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 19:02 internal [2021-10-14T19:07:59.086Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 19:02 openapi [2021-10-14T19:07:59.086Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 19:02 pkg [2021-10-14T19:07:59.086Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 19:02 snap [2021-10-14T19:07:59.086Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 19:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:07:59.474Z] + 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=47a4e3d87308b5a077521486fb269148263217f7 --label arch=arm64 --label version=0.0.0 . [2021-10-14T19:08:00.084Z] Sending build context to Docker daemon 2.811MB [2021-10-14T19:08:00.084Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T19:08:00.084Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T19:08:00.084Z] ---> 839371f4b06c [2021-10-14T19:08:00.084Z] Step 3/24 : ARG MAKE=make build [2021-10-14T19:08:00.364Z] ---> Running in 3a26c820f821 [2021-10-14T19:08:00.643Z] Removing intermediate container 3a26c820f821 [2021-10-14T19:08:00.643Z] ---> ff9ff8507dbf [2021-10-14T19:08:00.643Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T19:08:00.924Z] ---> Running in 1fc51ef87a04 [2021-10-14T19:08:01.568Z] Removing intermediate container 1fc51ef87a04 [2021-10-14T19:08:01.568Z] ---> 1b3e12404ba9 [2021-10-14T19:08:01.568Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T19:08:01.568Z] ---> Running in 7ee1ea3ee072 [2021-10-14T19:08:02.176Z] Removing intermediate container 7ee1ea3ee072 [2021-10-14T19:08:02.176Z] ---> 090094abc53b [2021-10-14T19:08:02.176Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T19:08:02.461Z] ---> Running in 1e21b8451898 [2021-10-14T19:08:05.123Z] Removing intermediate container 1e21b8451898 [2021-10-14T19:08:05.123Z] ---> f25cae84ba6d [2021-10-14T19:08:05.123Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T19:08:05.123Z] ---> Running in d4db9f1d1ce0 [2021-10-14T19:08:06.118Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T19:08:07.115Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T19:08:08.120Z] OK: 219 MiB in 52 packages [2021-10-14T19:08:09.161Z] Removing intermediate container d4db9f1d1ce0 [2021-10-14T19:08:09.161Z] ---> b2e62eb6e60e [2021-10-14T19:08:09.161Z] Step 8/24 : COPY . . [2021-10-14T19:08:10.633Z] ---> f709b34e8137 [2021-10-14T19:08:10.633Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T19:08:10.633Z] ---> Running in 5650890195f6 [2021-10-14T19:08:13.289Z] Removing intermediate container 5650890195f6 [2021-10-14T19:08:13.289Z] ---> 99fb42efdcaa [2021-10-14T19:08:13.289Z] Step 10/24 : RUN ${MAKE} [2021-10-14T19:08:13.573Z] ---> Running in 07bfe481f61e [2021-10-14T19:08:15.039Z] 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-14T19:08:54.250Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T19:08:54.856Z] Removing intermediate container 07bfe481f61e [2021-10-14T19:08:54.856Z] ---> 87d2d00fbf89 [2021-10-14T19:08:54.856Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T19:08:55.849Z] 3.14: Pulling from library/alpine [2021-10-14T19:08:55.849Z] 552d1f2373af: Already exists [2021-10-14T19:08:56.136Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T19:08:56.136Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T19:08:56.136Z] ---> bb3de5531c18 [2021-10-14T19:08:56.136Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T19:08:56.417Z] ---> Running in 9e0112f99551 [2021-10-14T19:08:56.695Z] Removing intermediate container 9e0112f99551 [2021-10-14T19:08:56.695Z] ---> 3dd3ddd6347c [2021-10-14T19:08:56.695Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T19:08:56.975Z] ---> Running in 237e08ffdf0f [2021-10-14T19:08:59.649Z] Removing intermediate container 237e08ffdf0f [2021-10-14T19:08:59.649Z] ---> a3c896225894 [2021-10-14T19:08:59.649Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T19:08:59.649Z] ---> Running in 53a3c4412816 [2021-10-14T19:09:00.641Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T19:09:01.647Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T19:09:02.648Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T19:09:02.648Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T19:09:02.648Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T19:09:02.927Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T19:09:02.927Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T19:09:02.927Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T19:09:02.927Z] OK: 8 MiB in 19 packages [2021-10-14T19:09:04.390Z] Removing intermediate container 53a3c4412816 [2021-10-14T19:09:04.390Z] ---> 1162c1f7fd2a [2021-10-14T19:09:04.390Z] Step 15/24 : WORKDIR / [2021-10-14T19:09:04.390Z] ---> Running in c6d129bd6073 [2021-10-14T19:09:04.999Z] Removing intermediate container c6d129bd6073 [2021-10-14T19:09:04.999Z] ---> ab4f271c6079 [2021-10-14T19:09:04.999Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T19:09:06.002Z] ---> 31061e547ab7 [2021-10-14T19:09:06.002Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T19:09:07.466Z] ---> f133498ec8d0 [2021-10-14T19:09:07.466Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T19:09:08.077Z] ---> 5886c6d69de6 [2021-10-14T19:09:08.077Z] Step 19/24 : EXPOSE 59999 [2021-10-14T19:09:08.355Z] ---> Running in 7b17c81712cd [2021-10-14T19:09:08.634Z] Removing intermediate container 7b17c81712cd [2021-10-14T19:09:08.634Z] ---> 3fec69fab03f [2021-10-14T19:09:08.634Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T19:09:08.916Z] ---> Running in c310bf944ce6 [2021-10-14T19:09:09.530Z] Removing intermediate container c310bf944ce6 [2021-10-14T19:09:09.530Z] ---> 3ed072372f47 [2021-10-14T19:09:09.530Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T19:09:09.530Z] ---> Running in cc2a058f1824 [2021-10-14T19:09:10.140Z] Removing intermediate container cc2a058f1824 [2021-10-14T19:09:10.140Z] ---> 8d89ed9799ac [2021-10-14T19:09:10.140Z] Step 22/24 : LABEL arch=arm64 [2021-10-14T19:09:10.140Z] ---> Running in 1a0d70c023da [2021-10-14T19:09:10.748Z] Removing intermediate container 1a0d70c023da [2021-10-14T19:09:10.748Z] ---> 009f01d6b084 [2021-10-14T19:09:10.748Z] Step 23/24 : LABEL git_sha=47a4e3d87308b5a077521486fb269148263217f7 [2021-10-14T19:09:11.030Z] ---> Running in 29cea33bba32 [2021-10-14T19:09:11.312Z] Removing intermediate container 29cea33bba32 [2021-10-14T19:09:11.312Z] ---> 3a01bc8f1567 [2021-10-14T19:09:11.312Z] Step 24/24 : LABEL version=0.0.0 [2021-10-14T19:09:11.594Z] ---> Running in 1cd9459d8842 [2021-10-14T19:09:12.208Z] Removing intermediate container 1cd9459d8842 [2021-10-14T19:09:12.208Z] ---> 628f84473518 [2021-10-14T19:09:12.208Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T19:09:12.208Z] Successfully built 628f84473518 [2021-10-14T19:09:12.208Z] 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-14T19:09:12.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T19:09:13.176Z] [2021-10-14T19:09:13.176Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:09:13.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T19:09:13.853Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-14T19:09:13.853Z] 448f6bf000e3: Pulling fs layer [2021-10-14T19:09:13.853Z] f757da607395: Pulling fs layer [2021-10-14T19:09:13.853Z] 05883995daec: Pulling fs layer [2021-10-14T19:09:13.853Z] 8603b9c90790: Pulling fs layer [2021-10-14T19:09:13.853Z] 1560dd03e051: Pulling fs layer [2021-10-14T19:09:13.853Z] 27f5ce0e4adf: Pulling fs layer [2021-10-14T19:09:13.853Z] c2d8d7efcc4b: Pulling fs layer [2021-10-14T19:09:13.853Z] 1560dd03e051: Waiting [2021-10-14T19:09:13.853Z] 27f5ce0e4adf: Waiting [2021-10-14T19:09:13.853Z] c2d8d7efcc4b: Waiting [2021-10-14T19:09:13.853Z] 8603b9c90790: Waiting [2021-10-14T19:09:14.144Z] f757da607395: Verifying Checksum [2021-10-14T19:09:14.144Z] f757da607395: Download complete [2021-10-14T19:09:14.144Z] 8603b9c90790: Verifying Checksum [2021-10-14T19:09:14.144Z] 8603b9c90790: Download complete [2021-10-14T19:09:14.430Z] 1560dd03e051: Verifying Checksum [2021-10-14T19:09:14.430Z] 1560dd03e051: Download complete [2021-10-14T19:09:14.430Z] 05883995daec: Verifying Checksum [2021-10-14T19:09:14.430Z] 05883995daec: Download complete [2021-10-14T19:09:14.430Z] 27f5ce0e4adf: Verifying Checksum [2021-10-14T19:09:14.713Z] 448f6bf000e3: Download complete [2021-10-14T19:09:17.394Z] c2d8d7efcc4b: Verifying Checksum [2021-10-14T19:09:17.394Z] c2d8d7efcc4b: Download complete [2021-10-14T19:09:18.409Z] 448f6bf000e3: Pull complete [2021-10-14T19:09:19.020Z] f757da607395: Pull complete [2021-10-14T19:09:20.482Z] 05883995daec: Pull complete [2021-10-14T19:09:21.092Z] 8603b9c90790: Pull complete [2021-10-14T19:09:22.101Z] 1560dd03e051: Pull complete [2021-10-14T19:09:22.381Z] 27f5ce0e4adf: Pull complete [2021-10-14T19:09:37.586Z] c2d8d7efcc4b: Pull complete [2021-10-14T19:09:37.586Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-14T19:09:37.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T19:09:37.586Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-14T19:09:37.853Z] prd-ubuntu18.04-docker-arm64-4c-16g-1467 does not seem to be running inside a container [2021-10-14T19:09:37.964Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-14T19:09:42.029Z] $ docker top c6a30ae631a121ec1d7443c97aa53956fc64dfb057515a1af1daa767d408e190 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:09:42.979Z] ---> job-cost.sh [2021-10-14T19:09:42.980Z] lf-activate-venv: SKIPPING [2021-10-14T19:09:42.980Z] INFO: No Stack... [2021-10-14T19:09:43.259Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-14T19:09:43.863Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T19:09:44.549Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-10-14T19:09:44.549Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T19:09:44.636Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] [2021-10-14T19:09:44.642Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] did not exist. Created. [2021-10-14T19:09:44.642Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T19:09:45.349Z] /w/workspace/device-sdk-go/6@tmp/durable-cad0b521/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-cad0b521/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-14T19:09:46.042Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-14T19:09:46.075Z] Warning: overwriting stash ‘stack-cost’ [2021-10-14T19:09:46.135Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T19:09:46.141Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T19:09:46.160Z] $ docker stop --time=1 c6a30ae631a121ec1d7443c97aa53956fc64dfb057515a1af1daa767d408e190 [2021-10-14T19:09:47.771Z] $ docker rm -f c6a30ae631a121ec1d7443c97aa53956fc64dfb057515a1af1daa767d408e190 [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-14T19:09:48.593Z] provisioning config files... [2021-10-14T19:09:48.601Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config4701572482478795813tmp [Pipeline] { [Pipeline] sh [2021-10-14T19:09:48.903Z] + set +x [2021-10-14T19:09:48.903Z] + curl -s https://codecov.io/bash [2021-10-14T19:09:48.903Z] + bash -s -- [2021-10-14T19:09:48.903Z] [2021-10-14T19:09:48.903Z] _____ _ [2021-10-14T19:09:48.903Z] / ____| | | [2021-10-14T19:09:48.903Z] | | ___ __| | ___ ___ _____ __ [2021-10-14T19:09:48.903Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-14T19:09:48.903Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-14T19:09:48.903Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-14T19:09:48.903Z] Bash-1.0.6 [2021-10-14T19:09:48.903Z] [2021-10-14T19:09:48.903Z] [2021-10-14T19:09:48.903Z] ==> git version 2.24.4 found [2021-10-14T19:09:48.903Z] ==> 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-14T19:09:48.903Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-14T19:09:48.903Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-14T19:09:49.164Z] ==> Jenkins CI detected. [2021-10-14T19:09:49.164Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-14T19:09:49.164Z] project root: . [2021-10-14T19:09:49.164Z] --> token set from env [2021-10-14T19:09:49.164Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-14T19:09:49.164Z] ==> Running gcov in . (disable via -X gcov) [2021-10-14T19:09:49.164Z] ==> Python coveragepy not found [2021-10-14T19:09:49.164Z] ==> Searching for coverage reports in: [2021-10-14T19:09:49.164Z] + . [2021-10-14T19:09:49.164Z] -> Found 1 reports [2021-10-14T19:09:49.164Z] ==> Detecting git/mercurial file structure [2021-10-14T19:09:49.164Z] ==> Reading reports [2021-10-14T19:09:49.164Z] + ./coverage.out bytes=126693 [2021-10-14T19:09:49.164Z] ==> Appending adjustments [2021-10-14T19:09:49.164Z] https://docs.codecov.io/docs/fixing-reports [2021-10-14T19:09:49.424Z] + Found adjustments [2021-10-14T19:09:49.424Z] ==> Gzipping contents [2021-10-14T19:09:49.424Z] 16K /tmp/codecov.64NRs4.gz [2021-10-14T19:09:49.424Z] ==> Uploading reports [2021-10-14T19:09:49.424Z] url: https://codecov.io [2021-10-14T19:09:49.424Z] query: branch=PR-1031&commit=47a4e3d87308b5a077521486fb269148263217f7&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= [2021-10-14T19:09:49.424Z] -> Pinging Codecov [2021-10-14T19:09:49.424Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1031&commit=47a4e3d87308b5a077521486fb269148263217f7&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= [2021-10-14T19:09:49.686Z] -> Uploading to [2021-10-14T19:09:49.686Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-14/7E55EF52A471D76F132DFD9A03CDDE97/47a4e3d87308b5a077521486fb269148263217f7/fd1ba9da-6fd8-4422-9076-c679b79f3a5a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T190949Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eabd8604f62d81f986ceca074aa318bec3656a38ad0dadaf5203bfc813d7ddd0 [2021-10-14T19:09:49.686Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T19:09:49.686Z] Dload Upload Total Spent Left Speed [2021-10-14T19:09:49.946Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16119 0 0 100 16119 0 57849 --:--:-- --:--:-- --:--:-- 57982 [2021-10-14T19:09:49.946Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/47a4e3d87308b5a077521486fb269148263217f7 [Pipeline] } [2021-10-14T19:09:49.953Z] 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-14T19:09:51.587Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:09:51.895Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:09:52.473Z] ---> package-listing.sh [2021-10-14T19:09:52.473Z] ++ facter osfamily [2021-10-14T19:09:52.473Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-14T19:09:52.740Z] + OS_FAMILY=redhat [2021-10-14T19:09:52.740Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1031 [2021-10-14T19:09:52.740Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-14T19:09:52.740Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-14T19:09:52.740Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-14T19:09:52.740Z] + PACKAGES=/tmp/packages_start.txt [2021-10-14T19:09:52.740Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' [2021-10-14T19:09:52.740Z] + PACKAGES=/tmp/packages_end.txt [2021-10-14T19:09:52.740Z] + case "${OS_FAMILY}" in [2021-10-14T19:09:52.740Z] + rpm -qa [2021-10-14T19:09:52.740Z] + sort [2021-10-14T19:09:53.310Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-14T19:09:53.310Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-14T19:09:53.310Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-14T19:09:53.310Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' [2021-10-14T19:09:53.310Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives/ [2021-10-14T19:09:53.310Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives/ [Pipeline] echo [2021-10-14T19:09:53.320Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1031/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-14T19:09:53.606Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:09:53.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T19:09:53.900Z] [2021-10-14T19:09:53.900Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T19:09:54.204Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T19:09:54.204Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T19:09:54.204Z] b4d181a07f80: Pulling fs layer [2021-10-14T19:09:54.204Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T19:09:54.204Z] ed53099fbce6: Pulling fs layer [2021-10-14T19:09:54.204Z] dc539afda2c1: Pulling fs layer [2021-10-14T19:09:54.204Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T19:09:54.204Z] 9065ff56babe: Pulling fs layer [2021-10-14T19:09:54.204Z] d287ab97295c: Pulling fs layer [2021-10-14T19:09:54.204Z] dc539afda2c1: Waiting [2021-10-14T19:09:54.204Z] 77bc0d833cb6: Waiting [2021-10-14T19:09:54.204Z] 9065ff56babe: Waiting [2021-10-14T19:09:54.204Z] d287ab97295c: Waiting [2021-10-14T19:09:54.204Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T19:09:54.204Z] a1111a8f2ec3: Download complete [2021-10-14T19:09:54.204Z] dc539afda2c1: Verifying Checksum [2021-10-14T19:09:54.204Z] dc539afda2c1: Download complete [2021-10-14T19:09:54.467Z] ed53099fbce6: Verifying Checksum [2021-10-14T19:09:54.467Z] ed53099fbce6: Download complete [2021-10-14T19:09:54.467Z] 9065ff56babe: Verifying Checksum [2021-10-14T19:09:54.467Z] 9065ff56babe: Download complete [2021-10-14T19:09:54.467Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T19:09:54.467Z] 77bc0d833cb6: Download complete [2021-10-14T19:09:54.467Z] b4d181a07f80: Verifying Checksum [2021-10-14T19:09:54.467Z] b4d181a07f80: Download complete [2021-10-14T19:09:55.039Z] d287ab97295c: Verifying Checksum [2021-10-14T19:09:55.039Z] d287ab97295c: Download complete [2021-10-14T19:09:56.010Z] b4d181a07f80: Pull complete [2021-10-14T19:09:56.273Z] a1111a8f2ec3: Pull complete [2021-10-14T19:09:56.538Z] ed53099fbce6: Pull complete [2021-10-14T19:09:56.802Z] dc539afda2c1: Pull complete [2021-10-14T19:09:57.066Z] 77bc0d833cb6: Pull complete [2021-10-14T19:09:57.066Z] 9065ff56babe: Pull complete [2021-10-14T19:10:02.387Z] d287ab97295c: Pull complete [2021-10-14T19:10:02.387Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T19:10:02.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T19:10:02.387Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T19:10:02.451Z] prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container [2021-10-14T19:10:02.487Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1031/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1031 -v /w/workspace/gexfoundry_device-sdk-go_PR-1031:/w/workspace/gexfoundry_device-sdk-go_PR-1031:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T19:10:04.706Z] $ docker top dd215bb5206a88e73dff9a0b5e0b120aeb0bc4bcbba32f29ad41a6f2277fb2be -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T19:10:05.064Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-14T19:10:05.371Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-14T19:10:05.661Z] + ls /var/log/sa-host [2021-10-14T19:10:05.661Z] + sadf -c /var/log/sa-host/sa14 [2021-10-14T19:10:05.661Z] file_magic: OK [2021-10-14T19:10:05.661Z] HZ: Using current value: 100 [2021-10-14T19:10:05.661Z] file_header: OK [2021-10-14T19:10:05.661Z] 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-14T19:10:05.661Z] Statistics: [2021-10-14T19:10:05.661Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T19:10:05.661Z] File successfully converted to sysstat format version 12.0.3 [2021-10-14T19:10:05.661Z] + sadf -c /var/log/sa-host/sa30 [2021-10-14T19:10:05.661Z] file_magic: OK [2021-10-14T19:10:05.661Z] HZ: Using current value: 100 [2021-10-14T19:10:05.661Z] file_header: OK [2021-10-14T19:10:05.662Z] 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-14T19:10:05.662Z] Statistics: [2021-10-14T19:10:05.662Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T19:10:05.662Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T19:10:05.754Z] provisioning config files... [2021-10-14T19:10:05.763Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config3510365267569137304tmp [Pipeline] { [Pipeline] echo [2021-10-14T19:10:05.777Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:10:06.064Z] ---> create-netrc.sh [Pipeline] } [2021-10-14T19:10:06.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:10:06.410Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-14T19:10:06.424Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:10:06.714Z] ---> sudo-logs.sh [2021-10-14T19:10:06.714Z] Archiving 'sudo' log.. [2021-10-14T19:10:06.714Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1462.novalocal: Name or service not known [2021-10-14T19:10:06.714Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1462.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-14T19:10:06.739Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:10:07.032Z] ---> job-cost.sh [2021-10-14T19:10:07.032Z] lf-activate-venv: SKIPPING [2021-10-14T19:10:07.032Z] DEBUG: total: 0.10999999940395355 [2021-10-14T19:10:07.032Z] INFO: Retrieving Stack Cost... [2021-10-14T19:10:08.943Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T19:10:09.203Z] INFO: Archiving Costs [Pipeline] echo [2021-10-14T19:10:09.217Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T19:10:09.529Z] ---> logs-deploy.sh [2021-10-14T19:10:09.529Z] lf-activate-venv: SKIPPING [2021-10-14T19:10:09.529Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1031/6 [2021-10-14T19:10:09.529Z] INFO: archiving workspace using pattern(s): [2021-10-14T19:10:10.124Z] Archives upload complete. [2021-10-14T19:10:10.383Z] INFO: archiving logs to Nexus