Pull request #1033 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c6c2082073dd4873b72b19af6481e6d325eb3a59+65791aa66105356d7211b84a08e8523cbf0bcc17 (f7efa0071552fc604ef5d3f912f586dbb350915a) 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-ssh4738939051212823761.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-ssh8104732328425103113.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-1033/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-1033/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3340926902369027096.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-ssh4430876799304823659.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-1033/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-1033/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4253899232345434518.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1396 in /w/workspace/gexfoundry_device-sdk-go_PR-1033 [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-1033 # 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-1033@tmp/jenkins-gitclient-ssh4041467606864883762.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-1033@tmp/jenkins-gitclient-ssh1732153693401909316.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1033/head:refs/remotes/origin/PR-1033 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 65791aa66105356d7211b84a08e8523cbf0bcc17 into PR head commit c6c2082073dd4873b72b19af6481e6d325eb3a59 Merge succeeded, producing c6c2082073dd4873b72b19af6481e6d325eb3a59 Checking out Revision c6c2082073dd4873b72b19af6481e6d325eb3a59 (PR-1033) > git config core.sparsecheckout # timeout=10 > git checkout -f c6c2082073dd4873b72b19af6481e6d325eb3a59 # 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-1033@tmp/jenkins-gitclient-ssh773483054566514269.key > git merge 65791aa66105356d7211b84a08e8523cbf0bcc17 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6c2082073dd4873b72b19af6481e6d325eb3a59 # timeout=10 Commit message: "feat: add NewCommandValueWithOrigin function" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-14T08:49:40.473Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-14T08:49:40.533Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-14T08:49:40.551Z] ========================================================= [2021-10-14T08:49:40.551Z] EdgeX Global Pipelines Version Info [2021-10-14T08:49:40.551Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk bb1d3b63eee75a9dd4c9da7a4e2acdb0313c65b1 # timeout=10 [2021-10-14T08:49:41.704Z] ------------------- [2021-10-14T08:49:41.704Z] stable info: [2021-10-14T08:49:41.704Z] ------------------- [2021-10-14T08:49:41.704Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-14T08:49:41.704Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T08:49:41.704Z] Message: update stable to v1.0.210 [2021-10-14T08:49:42.275Z] ------------------- [2021-10-14T08:49:42.275Z] experimental info: [2021-10-14T08:49:42.275Z] ------------------- [2021-10-14T08:49:42.275Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-14T08:49:42.275Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T08:49:42.275Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-14T08:49:42.355Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-14T08:49:42.366Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-14T08:49:42.376Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-14T08:49:42.387Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-14T08:49:42.397Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-14T08:49:42.407Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-14T08:49:42.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-14T08:49:42.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-14T08:49:42.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-14T08:49:42.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-14T08:49:42.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-14T08:49:42.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-14T08:49:42.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-14T08:49:42.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-14T08:49:42.495Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T08:49:42.502Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T08:49:42.509Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T08:49:42.517Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T08:49:42.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-14T08:49:42.531Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-14T08:49:42.538Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-14T08:49:42.545Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-14T08:49:42.552Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-14T08:49:42.559Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-14T08:49:42.566Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-14T08:49:42.573Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-14T08:49:42.580Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1033 [Pipeline] echo [2021-10-14T08:49:42.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1033 [Pipeline] echo [2021-10-14T08:49:42.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1033 [Pipeline] echo [2021-10-14T08:49:42.609Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c6c2082073dd4873b72b19af6481e6d325eb3a59 [Pipeline] echo [2021-10-14T08:49:42.618Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c6c2082 [Pipeline] echo [2021-10-14T08:49:42.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:49:42.665Z] provisioning config files... [2021-10-14T08:49:42.679Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/config8039545935699501705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:49:42.990Z] ---> docker-login.sh [2021-10-14T08:49:42.990Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:49:42.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:49:43.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:49:43.250Z] Configure a credential helper to remove this warning. See [2021-10-14T08:49:43.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:49:43.250Z] [2021-10-14T08:49:43.250Z] Login Succeeded [2021-10-14T08:49:43.250Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:49:43.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:49:43.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:49:43.250Z] Configure a credential helper to remove this warning. See [2021-10-14T08:49:43.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:49:43.250Z] [2021-10-14T08:49:43.250Z] Login Succeeded [2021-10-14T08:49:43.250Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:49:43.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:49:43.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:49:43.510Z] Configure a credential helper to remove this warning. See [2021-10-14T08:49:43.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:49:43.510Z] [2021-10-14T08:49:43.510Z] Login Succeeded [2021-10-14T08:49:43.510Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:49:43.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:49:43.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:49:43.510Z] Configure a credential helper to remove this warning. See [2021-10-14T08:49:43.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:49:43.510Z] [2021-10-14T08:49:43.510Z] Login Succeeded [2021-10-14T08:49:43.510Z] docker.io [2021-10-14T08:49:43.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:49:44.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:49:44.086Z] Configure a credential helper to remove this warning. See [2021-10-14T08:49:44.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:49:44.086Z] [2021-10-14T08:49:44.086Z] Login Succeeded [2021-10-14T08:49:44.086Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:49:44.094Z] 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-14T08:49:44.555Z] + git log --format=format:%s -1 c6c2082073dd4873b72b19af6481e6d325eb3a59 [Pipeline] echo [2021-10-14T08:49:44.593Z] GIT_COMMIT: c6c2082073dd4873b72b19af6481e6d325eb3a59, Commit Message: feat: add NewCommandValueWithOrigin function [Pipeline] echo [2021-10-14T08:49:44.603Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:49:45.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:49:45.254Z] [2021-10-14T08:49:45.254Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:49:45.573Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:49:45.573Z] latest: Pulling from edgex-devops/git-semver [2021-10-14T08:49:45.573Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T08:49:45.573Z] 3e5f54012d9b: Pulling fs layer [2021-10-14T08:49:45.573Z] 4c7163046ea9: Pulling fs layer [2021-10-14T08:49:45.573Z] 0c2d73faf560: Pulling fs layer [2021-10-14T08:49:45.573Z] 0c2d73faf560: Waiting [2021-10-14T08:49:45.573Z] 3e5f54012d9b: Verifying Checksum [2021-10-14T08:49:45.573Z] 3e5f54012d9b: Download complete [2021-10-14T08:49:45.573Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T08:49:45.573Z] a0d0a0d46f8b: Download complete [2021-10-14T08:49:45.573Z] 4c7163046ea9: Verifying Checksum [2021-10-14T08:49:45.573Z] 4c7163046ea9: Download complete [2021-10-14T08:49:45.573Z] 0c2d73faf560: Verifying Checksum [2021-10-14T08:49:45.573Z] 0c2d73faf560: Download complete [2021-10-14T08:49:45.837Z] a0d0a0d46f8b: Pull complete [2021-10-14T08:49:45.837Z] 3e5f54012d9b: Pull complete [2021-10-14T08:49:46.098Z] 4c7163046ea9: Pull complete [2021-10-14T08:49:46.361Z] 0c2d73faf560: Pull complete [2021-10-14T08:49:46.361Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-14T08:49:46.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:49:46.361Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-14T08:49:46.429Z] prd-centos7-docker-4c-2g-1396 does not seem to be running inside a container [2021-10-14T08:49:46.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1033 -v /w/workspace/gexfoundry_device-sdk-go_PR-1033:/w/workspace/gexfoundry_device-sdk-go_PR-1033:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:49:47.065Z] $ docker top f5a6a665e60dec9b24f63989e53096c9b37967eafb3682f158c893363ca72125 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:49:47.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:49:47.157Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:49:47.277Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:49:47.278Z] $ docker exec f5a6a665e60dec9b24f63989e53096c9b37967eafb3682f158c893363ca72125 ssh-agent [2021-10-14T08:49:47.380Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaEJiGe/agent.14 [2021-10-14T08:49:47.380Z] SSH_AGENT_PID=20 [2021-10-14T08:49:47.387Z] Running ssh-add (command line suppressed) [2021-10-14T08:49:47.486Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/private_key_6434555481140943227.key (/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/private_key_6434555481140943227.key) [2021-10-14T08:49:47.504Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:49:47.799Z] + git tag --points-at HEAD [Pipeline] } [2021-10-14T08:49:47.810Z] $ docker exec --env ******** --env ******** f5a6a665e60dec9b24f63989e53096c9b37967eafb3682f158c893363ca72125 ssh-agent -k [2021-10-14T08:49:47.902Z] unset SSH_AUTH_SOCK; [2021-10-14T08:49:47.902Z] unset SSH_AGENT_PID; [2021-10-14T08:49:47.902Z] echo Agent pid 20 killed; [2021-10-14T08:49:47.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-14T08:49:47.936Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:49:47.936Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:49:48.034Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:49:48.035Z] $ docker exec f5a6a665e60dec9b24f63989e53096c9b37967eafb3682f158c893363ca72125 ssh-agent [2021-10-14T08:49:48.137Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhniaGb/agent.55 [2021-10-14T08:49:48.137Z] SSH_AGENT_PID=62 [2021-10-14T08:49:48.142Z] Running ssh-add (command line suppressed) [2021-10-14T08:49:48.236Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/private_key_5384141238045854872.key (/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/private_key_5384141238045854872.key) [2021-10-14T08:49:48.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:49:48.548Z] + git semver init [2021-10-14T08:49:48.548Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:49:48.548Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1033/.git [2021-10-14T08:49:48.548Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1033 [2021-10-14T08:49:48.548Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:49:48.548Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:49:48.548Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:49:48.548Z] # $SEMVER_BRANCH = PR-1033 [2021-10-14T08:49:48.548Z] # $SEMVER_TEMP = /tmp/semver-235687874 [2021-10-14T08:49:48.548Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-14T08:49:49.492Z] # '/tmp/semver-235687874' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1033/.semver' [2021-10-14T08:49:49.492Z] # -> Force: false [2021-10-14T08:49:49.492Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1033/.semver [Pipeline] } [2021-10-14T08:49:49.502Z] $ docker exec --env ******** --env ******** f5a6a665e60dec9b24f63989e53096c9b37967eafb3682f158c893363ca72125 ssh-agent -k [2021-10-14T08:49:49.591Z] unset SSH_AUTH_SOCK; [2021-10-14T08:49:49.592Z] unset SSH_AGENT_PID; [2021-10-14T08:49:49.592Z] echo Agent pid 62 killed; [2021-10-14T08:49:49.603Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:49:49.908Z] + git semver [Pipeline] } [2021-10-14T08:49:49.918Z] $ docker stop --time=1 f5a6a665e60dec9b24f63989e53096c9b37967eafb3682f158c893363ca72125 [2021-10-14T08:49:51.151Z] $ docker rm -f f5a6a665e60dec9b24f63989e53096c9b37967eafb3682f158c893363ca72125 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:49:51.501Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-14T08:49:51.766Z] Stashed 1 file(s) [Pipeline] echo [2021-10-14T08:49:51.769Z] [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-14T08:49:52.115Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1394 in /w/workspace/gexfoundry_device-sdk-go_PR-1033 [Pipeline] { [Pipeline] ws [2021-10-14T08:49:52.127Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-10-14T08:49:52.354Z] Selected Git installation does not exist. Using Default [2021-10-14T08:49:52.354Z] The recommended git tool is: NONE [2021-10-14T08:49:58.091Z] using credential edgex-jenkins-ssh [2021-10-14T08:49:58.111Z] Cloning the remote Git repository [2021-10-14T08:49:58.191Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T08:49:58.306Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-10-14T08:49:58.406Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T08:49:58.407Z] > git --version # timeout=10 [2021-10-14T08:49:58.429Z] > git --version # 'git version 2.17.1' [2021-10-14T08:49:58.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:49:58.514Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:49:59.838Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T08:49:59.853Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:49:59.880Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T08:49:59.921Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T08:49:59.922Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:50:00.669Z] Merging remotes/origin/main commit 65791aa66105356d7211b84a08e8523cbf0bcc17 into PR head commit c6c2082073dd4873b72b19af6481e6d325eb3a59 [2021-10-14T08:50:00.920Z] Merge succeeded, producing c6c2082073dd4873b72b19af6481e6d325eb3a59 [2021-10-14T08:50:00.921Z] Checking out Revision c6c2082073dd4873b72b19af6481e6d325eb3a59 (PR-1033) [2021-10-14T08:49:59.937Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1033/head:refs/remotes/origin/PR-1033 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-14T08:50:00.706Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:50:00.727Z] > git checkout -f c6c2082073dd4873b72b19af6481e6d325eb3a59 # timeout=10 [2021-10-14T08:50:00.843Z] > git remote # timeout=10 [2021-10-14T08:50:00.869Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T08:50:00.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:50:00.893Z] > git merge 65791aa66105356d7211b84a08e8523cbf0bcc17 # timeout=10 [2021-10-14T08:50:00.917Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T08:50:00.942Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:50:00.955Z] > git checkout -f c6c2082073dd4873b72b19af6481e6d325eb3a59 # timeout=10 [2021-10-14T08:50:05.347Z] Commit message: "feat: add NewCommandValueWithOrigin function" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T08:50:06.420Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-14T08:50:06.420Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T08:50:06.420Z] Dload Upload Total Spent Left Speed [2021-10-14T08:50:06.420Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 76283 0 --:--:-- --:--:-- --:--:-- 76283 [Pipeline] sh [2021-10-14T08:50:06.859Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-14T08:50:06.913Z] Still waiting to schedule task [2021-10-14T08:50:06.913Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-14T08:50:07.215Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-14T08:50:07.215Z] + sudo tee /etc/docker/daemon.new [2021-10-14T08:50:07.215Z] { [2021-10-14T08:50:07.215Z] "registry-mirrors": [ [2021-10-14T08:50:07.215Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-14T08:50:07.215Z] ], [2021-10-14T08:50:07.215Z] "bip": "10.250.0.254/24", [2021-10-14T08:50:07.215Z] "hosts": [ [2021-10-14T08:50:07.215Z] "tcp://0.0.0.0:5555", [2021-10-14T08:50:07.215Z] "unix:///var/run/docker.sock" [2021-10-14T08:50:07.215Z] ], [2021-10-14T08:50:07.215Z] "mtu": 1458, [2021-10-14T08:50:07.215Z] "selinux-enabled": true, [2021-10-14T08:50:07.215Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-14T08:50:07.215Z] } [Pipeline] sh [2021-10-14T08:50:07.571Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-14T08:50:07.926Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:50:26.347Z] provisioning config files... [2021-10-14T08:50:26.374Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1812772589300049449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:50:26.750Z] ---> docker-login.sh [2021-10-14T08:50:26.750Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:50:28.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:50:28.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:50:28.488Z] Configure a credential helper to remove this warning. See [2021-10-14T08:50:28.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:50:28.488Z] [2021-10-14T08:50:28.488Z] Login Succeeded [2021-10-14T08:50:28.488Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:50:28.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:50:29.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:50:29.052Z] Configure a credential helper to remove this warning. See [2021-10-14T08:50:29.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:50:29.052Z] [2021-10-14T08:50:29.052Z] Login Succeeded [2021-10-14T08:50:29.052Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:50:29.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:50:29.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:50:29.660Z] Configure a credential helper to remove this warning. See [2021-10-14T08:50:29.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:50:29.660Z] [2021-10-14T08:50:29.660Z] Login Succeeded [2021-10-14T08:50:29.660Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:50:29.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:50:30.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:50:30.219Z] Configure a credential helper to remove this warning. See [2021-10-14T08:50:30.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:50:30.219Z] [2021-10-14T08:50:30.219Z] Login Succeeded [2021-10-14T08:50:30.219Z] docker.io [2021-10-14T08:50:30.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:50:31.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:50:31.102Z] Configure a credential helper to remove this warning. See [2021-10-14T08:50:31.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:50:31.102Z] [2021-10-14T08:50:31.102Z] Login Succeeded [2021-10-14T08:50:31.102Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:50:31.122Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T08:50:31.636Z] ========================================================= [2021-10-14T08:50:31.636Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-14T08:50:31.636Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:50:32.037Z] + 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-14T08:50:32.638Z] Sending build context to Docker daemon 2.694MB [2021-10-14T08:50:32.638Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:50:32.638Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T08:50:32.922Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-14T08:50:32.922Z] 552d1f2373af: Pulling fs layer [2021-10-14T08:50:32.922Z] ea3f2d53f512: Pulling fs layer [2021-10-14T08:50:32.922Z] 9e70ebbbe112: Pulling fs layer [2021-10-14T08:50:32.922Z] 7a9cfe048b4a: Pulling fs layer [2021-10-14T08:50:32.922Z] 72dc09318566: Pulling fs layer [2021-10-14T08:50:32.922Z] f4f7b4309257: Pulling fs layer [2021-10-14T08:50:32.922Z] 0ac9a79272e3: Pulling fs layer [2021-10-14T08:50:32.922Z] b78e95d17946: Pulling fs layer [2021-10-14T08:50:32.922Z] 7a9cfe048b4a: Waiting [2021-10-14T08:50:32.922Z] 72dc09318566: Waiting [2021-10-14T08:50:32.922Z] f4f7b4309257: Waiting [2021-10-14T08:50:32.922Z] 0ac9a79272e3: Waiting [2021-10-14T08:50:32.922Z] b78e95d17946: Waiting [2021-10-14T08:50:32.922Z] 9e70ebbbe112: Verifying Checksum [2021-10-14T08:50:32.922Z] 9e70ebbbe112: Download complete [2021-10-14T08:50:32.922Z] ea3f2d53f512: Verifying Checksum [2021-10-14T08:50:32.922Z] ea3f2d53f512: Download complete [2021-10-14T08:50:32.922Z] 72dc09318566: Verifying Checksum [2021-10-14T08:50:32.922Z] 72dc09318566: Download complete [2021-10-14T08:50:32.922Z] f4f7b4309257: Verifying Checksum [2021-10-14T08:50:32.922Z] f4f7b4309257: Download complete [2021-10-14T08:50:32.922Z] 0ac9a79272e3: Verifying Checksum [2021-10-14T08:50:32.922Z] 0ac9a79272e3: Download complete [2021-10-14T08:50:32.922Z] 552d1f2373af: Download complete [2021-10-14T08:50:33.939Z] 552d1f2373af: Pull complete [2021-10-14T08:50:34.567Z] ea3f2d53f512: Pull complete [2021-10-14T08:50:34.847Z] 9e70ebbbe112: Pull complete [2021-10-14T08:50:35.126Z] b78e95d17946: Verifying Checksum [2021-10-14T08:50:35.126Z] b78e95d17946: Download complete [2021-10-14T08:50:35.405Z] 7a9cfe048b4a: Download complete [2021-10-14T08:50:47.870Z] 7a9cfe048b4a: Pull complete [2021-10-14T08:50:47.871Z] 72dc09318566: Pull complete [2021-10-14T08:50:47.871Z] f4f7b4309257: Pull complete [2021-10-14T08:50:47.871Z] 0ac9a79272e3: Pull complete [2021-10-14T08:50:53.363Z] b78e95d17946: Pull complete [2021-10-14T08:50:53.363Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-14T08:50:53.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-14T08:50:53.363Z] ---> 8b459fc5aaf0 [2021-10-14T08:50:53.363Z] Step 3/10 : ARG MAKE=make build [2021-10-14T08:50:57.717Z] ---> Running in 24ba85584220 [2021-10-14T08:50:57.717Z] Removing intermediate container 24ba85584220 [2021-10-14T08:50:57.717Z] ---> c39b0c092abb [2021-10-14T08:50:57.717Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T08:50:57.717Z] ---> Running in 47f0e59eaecb [2021-10-14T08:50:58.320Z] Removing intermediate container 47f0e59eaecb [2021-10-14T08:50:58.320Z] ---> e9b52ceb14e6 [2021-10-14T08:50:58.320Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:50:58.320Z] ---> Running in c3964e926356 [2021-10-14T08:50:58.922Z] Removing intermediate container c3964e926356 [2021-10-14T08:50:58.922Z] ---> 35c903cda89d [2021-10-14T08:50:58.922Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:50:58.922Z] ---> Running in 2351c82ea22a [2021-10-14T08:51:01.585Z] Removing intermediate container 2351c82ea22a [2021-10-14T08:51:01.585Z] ---> c7341adb8efe [2021-10-14T08:51:01.585Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:51:01.585Z] ---> Running in e7efdec1d1b7 [2021-10-14T08:51:02.577Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:51:03.567Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:51:04.557Z] OK: 219 MiB in 52 packages [2021-10-14T08:51:05.555Z] Removing intermediate container e7efdec1d1b7 [2021-10-14T08:51:05.555Z] ---> e5af9f8a8ff3 [2021-10-14T08:51:05.555Z] Step 8/10 : COPY . . [2021-10-14T08:51:06.556Z] ---> 79ea4088eb0f [2021-10-14T08:51:06.556Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:51:06.833Z] ---> Running in 8fbae6cb2f55 [2021-10-14T08:51:27.647Z] Running on prd-centos7-docker-4c-2g-1397 in /w/workspace/gexfoundry_device-sdk-go_PR-1033 [Pipeline] { [Pipeline] ws [2021-10-14T08:51:27.658Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-10-14T08:51:27.744Z] Selected Git installation does not exist. Using Default [2021-10-14T08:51:27.744Z] The recommended git tool is: NONE [2021-10-14T08:51:29.584Z] using credential edgex-jenkins-ssh [2021-10-14T08:51:29.595Z] Cloning the remote Git repository [2021-10-14T08:51:28.776Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T08:51:28.827Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-10-14T08:51:28.863Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T08:51:28.863Z] > git --version # timeout=10 [2021-10-14T08:51:28.876Z] > git --version # 'git version 2.24.4' [2021-10-14T08:51:28.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:51:28.931Z] [INFO] Currently running in a labeled security context [2021-10-14T08:51:28.931Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T08:51:28.931Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh5689091680142593150.key [2021-10-14T08:51:28.988Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:51:29.820Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T08:51:29.836Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:51:29.853Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T08:51:29.871Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T08:51:29.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:51:29.872Z] [INFO] Currently running in a labeled security context [2021-10-14T08:51:29.873Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T08:51:29.873Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh1682078510211760151.key [2021-10-14T08:51:29.879Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1033/head:refs/remotes/origin/PR-1033 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-14T08:51:31.295Z] Merging remotes/origin/main commit 65791aa66105356d7211b84a08e8523cbf0bcc17 into PR head commit c6c2082073dd4873b72b19af6481e6d325eb3a59 [2021-10-14T08:51:31.390Z] Merge succeeded, producing c6c2082073dd4873b72b19af6481e6d325eb3a59 [2021-10-14T08:51:31.390Z] Checking out Revision c6c2082073dd4873b72b19af6481e6d325eb3a59 (PR-1033) [2021-10-14T08:51:30.463Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:51:30.473Z] > git checkout -f c6c2082073dd4873b72b19af6481e6d325eb3a59 # timeout=10 [2021-10-14T08:51:30.505Z] > git remote # timeout=10 [2021-10-14T08:51:30.517Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T08:51:30.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:51:30.523Z] [INFO] Currently running in a labeled security context [2021-10-14T08:51:30.523Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T08:51:30.523Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh3952614032405060486.key [2021-10-14T08:51:30.533Z] > git merge 65791aa66105356d7211b84a08e8523cbf0bcc17 # timeout=10 [2021-10-14T08:51:30.541Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T08:51:30.552Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:51:30.557Z] > git checkout -f c6c2082073dd4873b72b19af6481e6d325eb3a59 # timeout=10 [2021-10-14T08:51:34.895Z] Commit message: "feat: add NewCommandValueWithOrigin function" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:51:35.316Z] provisioning config files... [2021-10-14T08:51:35.332Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8568953765515306919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:51:35.700Z] ---> docker-login.sh [2021-10-14T08:51:35.701Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:51:35.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:51:35.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:51:35.962Z] Configure a credential helper to remove this warning. See [2021-10-14T08:51:35.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:51:35.962Z] [2021-10-14T08:51:35.962Z] Login Succeeded [2021-10-14T08:51:35.962Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:51:35.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:51:35.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:51:35.962Z] Configure a credential helper to remove this warning. See [2021-10-14T08:51:35.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:51:35.962Z] [2021-10-14T08:51:35.962Z] Login Succeeded [2021-10-14T08:51:35.962Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:51:35.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:51:35.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:51:35.962Z] Configure a credential helper to remove this warning. See [2021-10-14T08:51:35.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:51:35.962Z] [2021-10-14T08:51:35.962Z] Login Succeeded [2021-10-14T08:51:35.962Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:51:36.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:51:36.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:51:36.222Z] Configure a credential helper to remove this warning. See [2021-10-14T08:51:36.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:51:36.222Z] [2021-10-14T08:51:36.222Z] Login Succeeded [2021-10-14T08:51:36.222Z] docker.io [2021-10-14T08:51:36.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:51:36.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:51:36.482Z] Configure a credential helper to remove this warning. See [2021-10-14T08:51:36.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:51:36.482Z] [2021-10-14T08:51:36.482Z] Login Succeeded [2021-10-14T08:51:36.482Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:51:36.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T08:51:36.639Z] ========================================================= [2021-10-14T08:51:36.639Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-14T08:51:36.639Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:51:36.954Z] + 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-14T08:51:36.954Z] Sending build context to Docker daemon 2.696MB [2021-10-14T08:51:36.954Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:51:36.954Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T08:51:36.954Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-14T08:51:36.954Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T08:51:36.954Z] 31adcdaf11c8: Pulling fs layer [2021-10-14T08:51:36.954Z] b8b176561691: Pulling fs layer [2021-10-14T08:51:36.954Z] 4527c011a84f: Pulling fs layer [2021-10-14T08:51:36.954Z] 5d74067f8e1e: Pulling fs layer [2021-10-14T08:51:36.954Z] e0aca202a116: Pulling fs layer [2021-10-14T08:51:36.954Z] 3a43be97a3b4: Pulling fs layer [2021-10-14T08:51:36.954Z] 34cad66bf833: Pulling fs layer [2021-10-14T08:51:36.954Z] b4e3c513aaa6: Pulling fs layer [2021-10-14T08:51:36.954Z] 4527c011a84f: Waiting [2021-10-14T08:51:36.954Z] 5d74067f8e1e: Waiting [2021-10-14T08:51:36.954Z] e0aca202a116: Waiting [2021-10-14T08:51:36.954Z] 3a43be97a3b4: Waiting [2021-10-14T08:51:36.954Z] 34cad66bf833: Waiting [2021-10-14T08:51:36.954Z] b4e3c513aaa6: Waiting [2021-10-14T08:51:36.954Z] b8b176561691: Verifying Checksum [2021-10-14T08:51:36.954Z] b8b176561691: Download complete [2021-10-14T08:51:36.954Z] 31adcdaf11c8: Verifying Checksum [2021-10-14T08:51:36.954Z] 31adcdaf11c8: Download complete [2021-10-14T08:51:36.954Z] 5d74067f8e1e: Verifying Checksum [2021-10-14T08:51:36.954Z] 5d74067f8e1e: Download complete [2021-10-14T08:51:36.954Z] e0aca202a116: Verifying Checksum [2021-10-14T08:51:36.954Z] e0aca202a116: Download complete [2021-10-14T08:51:36.954Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T08:51:36.954Z] a0d0a0d46f8b: Download complete [2021-10-14T08:51:36.954Z] 3a43be97a3b4: Verifying Checksum [2021-10-14T08:51:36.954Z] 3a43be97a3b4: Download complete [2021-10-14T08:51:37.228Z] 34cad66bf833: Verifying Checksum [2021-10-14T08:51:37.228Z] 34cad66bf833: Download complete [2021-10-14T08:51:37.500Z] a0d0a0d46f8b: Pull complete [2021-10-14T08:51:37.500Z] 4527c011a84f: Verifying Checksum [2021-10-14T08:51:37.500Z] 4527c011a84f: Download complete [2021-10-14T08:51:37.500Z] 31adcdaf11c8: Pull complete [2021-10-14T08:51:37.773Z] b8b176561691: Pull complete [2021-10-14T08:51:37.773Z] b4e3c513aaa6: Verifying Checksum [2021-10-14T08:51:37.773Z] b4e3c513aaa6: Download complete [2021-10-14T08:51:41.995Z] 4527c011a84f: Pull complete [2021-10-14T08:51:41.995Z] 5d74067f8e1e: Pull complete [2021-10-14T08:51:41.995Z] e0aca202a116: Pull complete [2021-10-14T08:51:41.995Z] 3a43be97a3b4: Pull complete [2021-10-14T08:51:41.995Z] 34cad66bf833: Pull complete [2021-10-14T08:51:44.563Z] b4e3c513aaa6: Pull complete [2021-10-14T08:51:44.563Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-14T08:51:44.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-14T08:51:44.563Z] ---> 9f6097aaca64 [2021-10-14T08:51:44.563Z] Step 3/10 : ARG MAKE=make build [2021-10-14T08:51:46.016Z] ---> Running in dd81b77f6546 [2021-10-14T08:51:46.016Z] Removing intermediate container dd81b77f6546 [2021-10-14T08:51:46.016Z] ---> f25b3e5b3331 [2021-10-14T08:51:46.016Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T08:51:46.016Z] ---> Running in a8bd4e716d02 [2021-10-14T08:51:46.016Z] Removing intermediate container a8bd4e716d02 [2021-10-14T08:51:46.016Z] ---> 6464e04a8cf3 [2021-10-14T08:51:46.016Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:51:46.275Z] ---> Running in 7c6d5f4f80a0 [2021-10-14T08:51:46.275Z] Removing intermediate container 7c6d5f4f80a0 [2021-10-14T08:51:46.275Z] ---> 5e4943611755 [2021-10-14T08:51:46.275Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:51:46.275Z] ---> Running in 836fa160bdf4 [2021-10-14T08:51:46.854Z] Removing intermediate container 836fa160bdf4 [2021-10-14T08:51:46.854Z] ---> 6fe002c083c2 [2021-10-14T08:51:46.854Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:51:46.854Z] ---> Running in 35440f58e318 [2021-10-14T08:51:47.119Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:51:48.064Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:51:48.325Z] OK: 220 MiB in 52 packages [2021-10-14T08:51:48.325Z] Removing intermediate container 35440f58e318 [2021-10-14T08:51:48.325Z] ---> 9d94f3f1a3c2 [2021-10-14T08:51:48.325Z] Step 8/10 : COPY . . [2021-10-14T08:51:48.587Z] ---> 737eb4094165 [2021-10-14T08:51:48.587Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:51:48.847Z] ---> Running in 88d701abf3ea [2021-10-14T08:52:15.462Z] Removing intermediate container 88d701abf3ea [2021-10-14T08:52:15.462Z] ---> 4b4864e4c75f [2021-10-14T08:52:15.462Z] Step 10/10 : RUN ${MAKE} [2021-10-14T08:52:15.462Z] ---> Running in a13d02fab944 [2021-10-14T08:52:15.462Z] noop [2021-10-14T08:52:15.462Z] Removing intermediate container a13d02fab944 [2021-10-14T08:52:15.462Z] ---> b98dfc0d283b [2021-10-14T08:52:15.462Z] Successfully built b98dfc0d283b [2021-10-14T08:52:15.462Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:52:15.760Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T08:52:15.760Z] . [Pipeline] withDockerContainer [2021-10-14T08:52:15.833Z] prd-centos7-docker-4c-2g-1397 does not seem to be running inside a container [2021-10-14T08:52:15.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T08:52:16.196Z] $ docker top b7c4fdaee2a48356bc2218850afd4dad6fbab0fc1bd07729fccc96aacebea4df -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:52:16.571Z] + go version [2021-10-14T08:52:16.571Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-14T08:52:16.583Z] $ docker stop --time=1 b7c4fdaee2a48356bc2218850afd4dad6fbab0fc1bd07729fccc96aacebea4df [2021-10-14T08:52:17.763Z] $ docker rm -f b7c4fdaee2a48356bc2218850afd4dad6fbab0fc1bd07729fccc96aacebea4df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:52:18.288Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T08:52:18.288Z] . [Pipeline] withDockerContainer [2021-10-14T08:52:18.350Z] prd-centos7-docker-4c-2g-1397 does not seem to be running inside a container [2021-10-14T08:52:18.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T08:52:18.715Z] $ docker top 13cc56f70d85e32d40b90a919ef6ba6688d19c588d74da3425412cae1fdcaedd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T08:52:19.080Z] + make test [2021-10-14T08:52:19.080Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T08:52:24.394Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T08:52:28.727Z] Removing intermediate container 8fbae6cb2f55 [2021-10-14T08:52:28.727Z] ---> a250c92eba93 [2021-10-14T08:52:28.727Z] Step 10/10 : RUN ${MAKE} [2021-10-14T08:52:28.727Z] ---> Running in edb426b2347a [2021-10-14T08:52:28.727Z] noop [2021-10-14T08:52:28.727Z] Removing intermediate container edb426b2347a [2021-10-14T08:52:28.727Z] ---> 3d8ff3dbd0d6 [2021-10-14T08:52:28.727Z] Successfully built 3d8ff3dbd0d6 [2021-10-14T08:52:28.727Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:52:29.076Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T08:52:29.077Z] . [Pipeline] withDockerContainer [2021-10-14T08:52:29.312Z] prd-ubuntu18.04-docker-arm64-4c-16g-1394 does not seem to be running inside a container [2021-10-14T08:52:29.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-14T08:52:31.078Z] $ docker top b3541f57c42891ee3e59990b4fc8b96624183bce892d741458bb9243a4621217 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:52:32.006Z] + go version [2021-10-14T08:52:32.006Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-14T08:52:32.053Z] $ docker stop --time=1 b3541f57c42891ee3e59990b4fc8b96624183bce892d741458bb9243a4621217 [2021-10-14T08:52:33.934Z] $ docker rm -f b3541f57c42891ee3e59990b4fc8b96624183bce892d741458bb9243a4621217 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:52:34.633Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T08:52:34.633Z] . [Pipeline] withDockerContainer [2021-10-14T08:52:34.906Z] prd-ubuntu18.04-docker-arm64-4c-16g-1394 does not seem to be running inside a container [2021-10-14T08:52:35.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-14T08:52:36.607Z] $ docker top 8a940411b5a337288ad76ae0a2e70ec0d33162a52842773f35426cb7b002f3a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T08:52:37.521Z] + make test [2021-10-14T08:52:37.521Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T08:52:46.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T08:52:46.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T08:52:46.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T08:52:47.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.049s coverage: 23.5% of statements [2021-10-14T08:52:47.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T08:52:47.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 28.1% of statements [2021-10-14T08:52:48.518Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements [2021-10-14T08:52:48.789Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.053s coverage: 9.0% of statements [2021-10-14T08:52:48.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T08:52:48.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T08:52:48.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T08:52:49.365Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.069s coverage: 28.7% of statements [2021-10-14T08:52:49.365Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T08:52:50.757Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.057s coverage: 83.3% of statements [2021-10-14T08:52:50.757Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T08:52:50.757Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T08:52:50.757Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 57.8% of statements [2021-10-14T08:52:51.705Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.827s coverage: 88.8% of statements [2021-10-14T08:52:51.705Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T08:52:51.705Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 4.9% of statements [2021-10-14T08:52:51.705Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T08:52:51.705Z] GO111MODULE=on go vet ./... [2021-10-14T08:53:04.431Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T08:53:09.935Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T08:53:09.935Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T08:53:09.935Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T08:53:09.948Z] $ docker stop --time=1 13cc56f70d85e32d40b90a919ef6ba6688d19c588d74da3425412cae1fdcaedd [2021-10-14T08:53:11.519Z] $ docker rm -f 13cc56f70d85e32d40b90a919ef6ba6688d19c588d74da3425412cae1fdcaedd [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:53:11.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T08:53:12.138Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-14T08:53:13.436Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T08:53:13.725Z] + ls -al . [2021-10-14T08:53:13.725Z] total 264 [2021-10-14T08:53:13.725Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 14 08:53 . [2021-10-14T08:53:13.725Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 14 08:51 .. [2021-10-14T08:53:13.725Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 14 08:51 bin [2021-10-14T08:53:13.725Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 14 08:51 CHANGELOG.md [2021-10-14T08:53:13.725Z] -rw-r--r--. 1 jenkins jenkins 126693 Oct 14 08:52 coverage.out [2021-10-14T08:53:13.725Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 08:51 .dockerignore [2021-10-14T08:53:13.725Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 14 08:51 example [2021-10-14T08:53:13.725Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 08:51 .git [2021-10-14T08:53:13.725Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 14 08:51 .github [2021-10-14T08:53:13.725Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 14 08:51 .gitignore [2021-10-14T08:53:13.725Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 14 08:51 go.mod [2021-10-14T08:53:13.725Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 14 08:51 go.sum [2021-10-14T08:53:13.725Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 08:51 GOVERNANCE.md [2021-10-14T08:53:13.725Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 14 08:51 internal [2021-10-14T08:53:13.725Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 14 08:51 Jenkinsfile [2021-10-14T08:53:13.725Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 08:51 LICENSE [2021-10-14T08:53:13.725Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 14 08:51 Makefile [2021-10-14T08:53:13.725Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 14 08:51 openapi [2021-10-14T08:53:13.725Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 14 08:51 OWNERS.md [2021-10-14T08:53:13.725Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 08:51 pkg [2021-10-14T08:53:13.725Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 14 08:51 README.md [2021-10-14T08:53:13.725Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 08:51 snap [2021-10-14T08:53:13.725Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 08:49 VERSION [2021-10-14T08:53:13.725Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 08:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:53:14.027Z] + 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=c6c2082073dd4873b72b19af6481e6d325eb3a59 --label arch=amd64 --label version=0.0.0 . [2021-10-14T08:53:14.027Z] Sending build context to Docker daemon 2.823MB [2021-10-14T08:53:14.027Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:53:14.027Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T08:53:14.027Z] ---> b98dfc0d283b [2021-10-14T08:53:14.027Z] Step 3/24 : ARG MAKE=make build [2021-10-14T08:53:14.027Z] ---> Running in 6070842c2f28 [2021-10-14T08:53:14.290Z] Removing intermediate container 6070842c2f28 [2021-10-14T08:53:14.290Z] ---> 0e9c92a6f388 [2021-10-14T08:53:14.290Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T08:53:14.290Z] ---> Running in bce5586bcf00 [2021-10-14T08:53:14.290Z] Removing intermediate container bce5586bcf00 [2021-10-14T08:53:14.290Z] ---> 55a150c73e94 [2021-10-14T08:53:14.290Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:53:14.290Z] ---> Running in 62f9bca5e2c4 [2021-10-14T08:53:14.290Z] Removing intermediate container 62f9bca5e2c4 [2021-10-14T08:53:14.290Z] ---> a446a77dec0b [2021-10-14T08:53:14.290Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:53:14.290Z] ---> Running in ee234637072b [2021-10-14T08:53:14.866Z] Removing intermediate container ee234637072b [2021-10-14T08:53:14.866Z] ---> 9a9109710c79 [2021-10-14T08:53:14.866Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:53:14.866Z] ---> Running in 2d14750bf381 [2021-10-14T08:53:15.126Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:53:16.065Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:53:16.333Z] OK: 220 MiB in 52 packages [2021-10-14T08:53:16.597Z] Removing intermediate container 2d14750bf381 [2021-10-14T08:53:16.597Z] ---> 0db9b8f22b21 [2021-10-14T08:53:16.597Z] Step 8/24 : COPY . . [2021-10-14T08:53:16.858Z] ---> b7f39e39bcd4 [2021-10-14T08:53:16.858Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:53:16.858Z] ---> Running in a8ddceaa8476 [2021-10-14T08:53:17.424Z] Removing intermediate container a8ddceaa8476 [2021-10-14T08:53:17.424Z] ---> 9ddee8d349c5 [2021-10-14T08:53:17.424Z] Step 10/24 : RUN ${MAKE} [2021-10-14T08:53:17.424Z] ---> Running in e6fccc943138 [2021-10-14T08:53:17.690Z] 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-14T08:53:27.757Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T08:53:28.694Z] Removing intermediate container e6fccc943138 [2021-10-14T08:53:28.694Z] ---> 2f851d92e933 [2021-10-14T08:53:28.694Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T08:53:29.266Z] 3.14: Pulling from library/alpine [2021-10-14T08:53:29.266Z] a0d0a0d46f8b: Already exists [2021-10-14T08:53:29.532Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T08:53:29.532Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T08:53:29.532Z] ---> 14119a10abf4 [2021-10-14T08:53:29.532Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:53:29.532Z] ---> Running in a6b64ab93c4f [2021-10-14T08:53:29.532Z] Removing intermediate container a6b64ab93c4f [2021-10-14T08:53:29.532Z] ---> 3b5f76ebb20d [2021-10-14T08:53:29.532Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:53:29.532Z] ---> Running in ee5214e3c399 [2021-10-14T08:53:30.107Z] Removing intermediate container ee5214e3c399 [2021-10-14T08:53:30.107Z] ---> 83e6473d6d9e [2021-10-14T08:53:30.107Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T08:53:30.107Z] ---> Running in a4c68c2f6bbb [2021-10-14T08:53:30.367Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:53:31.305Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:53:31.876Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T08:53:31.876Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T08:53:31.876Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T08:53:32.136Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T08:53:32.136Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T08:53:32.395Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:53:32.396Z] OK: 8 MiB in 19 packages [2021-10-14T08:53:32.655Z] Removing intermediate container a4c68c2f6bbb [2021-10-14T08:53:32.655Z] ---> c5e5df7118a3 [2021-10-14T08:53:32.655Z] Step 15/24 : WORKDIR / [2021-10-14T08:53:32.655Z] ---> Running in 34301d78ab3a [2021-10-14T08:53:32.655Z] Removing intermediate container 34301d78ab3a [2021-10-14T08:53:32.655Z] ---> 94bb02ab21e2 [2021-10-14T08:53:32.655Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T08:53:32.914Z] ---> 860b86cb8443 [2021-10-14T08:53:32.914Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T08:53:33.176Z] ---> 1e9ac9231c4a [2021-10-14T08:53:33.177Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T08:53:33.177Z] ---> 697821de1dd2 [2021-10-14T08:53:33.177Z] Step 19/24 : EXPOSE 59999 [2021-10-14T08:53:33.177Z] ---> Running in 9fa971030cdb [2021-10-14T08:53:33.436Z] Removing intermediate container 9fa971030cdb [2021-10-14T08:53:33.436Z] ---> dc565b171fb0 [2021-10-14T08:53:33.436Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T08:53:33.436Z] ---> Running in 4cfddf1bdbb7 [2021-10-14T08:53:33.436Z] Removing intermediate container 4cfddf1bdbb7 [2021-10-14T08:53:33.436Z] ---> 26173c021656 [2021-10-14T08:53:33.436Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T08:53:33.436Z] ---> Running in 5e6ac33997e0 [2021-10-14T08:53:33.698Z] Removing intermediate container 5e6ac33997e0 [2021-10-14T08:53:33.698Z] ---> d52fc3c7a4e2 [2021-10-14T08:53:33.698Z] Step 22/24 : LABEL arch=amd64 [2021-10-14T08:53:33.698Z] ---> Running in 4814a01ac995 [2021-10-14T08:53:33.698Z] Removing intermediate container 4814a01ac995 [2021-10-14T08:53:33.698Z] ---> 61b1ae88ccb4 [2021-10-14T08:53:33.698Z] Step 23/24 : LABEL git_sha=c6c2082073dd4873b72b19af6481e6d325eb3a59 [2021-10-14T08:53:33.698Z] ---> Running in 55a336a3ba93 [2021-10-14T08:53:33.698Z] Removing intermediate container 55a336a3ba93 [2021-10-14T08:53:33.698Z] ---> 251e8c14a8c9 [2021-10-14T08:53:33.698Z] Step 24/24 : LABEL version=0.0.0 [2021-10-14T08:53:33.698Z] ---> Running in 6bceb679a408 [2021-10-14T08:53:33.967Z] Removing intermediate container 6bceb679a408 [2021-10-14T08:53:33.967Z] ---> 7b34f0093c19 [2021-10-14T08:53:33.967Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T08:53:33.967Z] Successfully built 7b34f0093c19 [2021-10-14T08:53:33.967Z] 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-14T08:53:34.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:53:34.590Z] [2021-10-14T08:53:34.590Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:53:34.904Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:53:34.904Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T08:53:34.904Z] b4d181a07f80: Pulling fs layer [2021-10-14T08:53:34.904Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T08:53:34.904Z] ed53099fbce6: Pulling fs layer [2021-10-14T08:53:34.904Z] dc539afda2c1: Pulling fs layer [2021-10-14T08:53:34.904Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T08:53:34.904Z] 9065ff56babe: Pulling fs layer [2021-10-14T08:53:34.904Z] d287ab97295c: Pulling fs layer [2021-10-14T08:53:34.904Z] dc539afda2c1: Waiting [2021-10-14T08:53:34.904Z] 77bc0d833cb6: Waiting [2021-10-14T08:53:34.904Z] 9065ff56babe: Waiting [2021-10-14T08:53:34.904Z] d287ab97295c: Waiting [2021-10-14T08:53:34.904Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T08:53:34.904Z] a1111a8f2ec3: Download complete [2021-10-14T08:53:34.904Z] dc539afda2c1: Verifying Checksum [2021-10-14T08:53:34.904Z] dc539afda2c1: Download complete [2021-10-14T08:53:34.904Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T08:53:34.904Z] 77bc0d833cb6: Download complete [2021-10-14T08:53:34.904Z] ed53099fbce6: Verifying Checksum [2021-10-14T08:53:34.904Z] ed53099fbce6: Download complete [2021-10-14T08:53:34.904Z] 9065ff56babe: Verifying Checksum [2021-10-14T08:53:34.904Z] 9065ff56babe: Download complete [2021-10-14T08:53:35.173Z] b4d181a07f80: Verifying Checksum [2021-10-14T08:53:35.173Z] b4d181a07f80: Download complete [2021-10-14T08:53:35.748Z] d287ab97295c: Verifying Checksum [2021-10-14T08:53:35.748Z] d287ab97295c: Download complete [2021-10-14T08:53:36.711Z] b4d181a07f80: Pull complete [2021-10-14T08:53:36.711Z] a1111a8f2ec3: Pull complete [2021-10-14T08:53:37.285Z] ed53099fbce6: Pull complete [2021-10-14T08:53:37.285Z] dc539afda2c1: Pull complete [2021-10-14T08:53:37.549Z] 77bc0d833cb6: Pull complete [2021-10-14T08:53:37.549Z] 9065ff56babe: Pull complete [2021-10-14T08:53:42.885Z] d287ab97295c: Pull complete [2021-10-14T08:53:42.885Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T08:53:42.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:53:42.885Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T08:53:42.953Z] prd-centos7-docker-4c-2g-1397 does not seem to be running inside a container [2021-10-14T08:53:42.992Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T08:53:45.590Z] $ docker top 0cc269fd5601e043140ed3a93a5eba88c3b7fef6033a0b50d90864b9a8c57c08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:53:46.029Z] ---> job-cost.sh [2021-10-14T08:53:46.029Z] lf-activate-venv: SKIPPING [2021-10-14T08:53:46.029Z] INFO: No Stack... [2021-10-14T08:53:51.311Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T08:53:51.879Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T08:53:52.185Z] + cut -d, -f6 [2021-10-14T08:53:52.185Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2021-10-14T08:53:52.211Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1033-3-stack-cost] [2021-10-14T08:53:52.217Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1033-3-stack-cost] did not exist. Created. [2021-10-14T08:53:52.217Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1033-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T08:53:52.543Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-14T08:53:52.577Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T08:53:52.584Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1033-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T08:53:52.604Z] $ docker stop --time=1 0cc269fd5601e043140ed3a93a5eba88c3b7fef6033a0b50d90864b9a8c57c08 [2021-10-14T08:53:53.740Z] $ docker rm -f 0cc269fd5601e043140ed3a93a5eba88c3b7fef6033a0b50d90864b9a8c57c08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-14T08:54:01.138Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T08:54:01.138Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T08:54:01.138Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T08:54:16.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.296s coverage: 23.5% of statements [2021-10-14T08:54:16.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T08:54:16.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.253s coverage: 28.1% of statements [2021-10-14T08:54:16.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.314s coverage: 78.9% of statements [2021-10-14T08:54:16.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.181s coverage: 9.0% of statements [2021-10-14T08:54:16.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T08:54:16.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T08:54:16.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T08:54:16.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.328s coverage: 28.7% of statements [2021-10-14T08:54:16.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T08:54:17.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.254s coverage: 83.3% of statements [2021-10-14T08:54:17.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T08:54:17.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T08:54:17.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.345s coverage: 57.8% of statements [2021-10-14T08:54:19.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.080s coverage: 88.8% of statements [2021-10-14T08:54:19.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T08:54:19.801Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.206s coverage: 4.9% of statements [2021-10-14T08:54:19.801Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T08:54:20.079Z] GO111MODULE=on go vet ./... [2021-10-14T08:55:16.860Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T08:55:16.860Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T08:55:16.860Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T08:55:16.908Z] $ docker stop --time=1 8a940411b5a337288ad76ae0a2e70ec0d33162a52842773f35426cb7b002f3a0 [2021-10-14T08:55:19.048Z] $ docker rm -f 8a940411b5a337288ad76ae0a2e70ec0d33162a52842773f35426cb7b002f3a0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:55:20.164Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T08:55:20.197Z] Warning: overwriting stash ‘coverage-report’ [2021-10-14T08:55:20.914Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T08:55:21.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T08:55:21.798Z] + ls -al . [2021-10-14T08:55:21.798Z] total 300 [2021-10-14T08:55:21.798Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 08:55 . [2021-10-14T08:55:21.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:49 .. [2021-10-14T08:55:21.798Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 08:50 .dockerignore [2021-10-14T08:55:21.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:50 .git [2021-10-14T08:55:21.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:50 .github [2021-10-14T08:55:21.798Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 14 08:50 .gitignore [2021-10-14T08:55:21.798Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 14 08:50 CHANGELOG.md [2021-10-14T08:55:21.798Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 08:50 GOVERNANCE.md [2021-10-14T08:55:21.798Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 14 08:50 Jenkinsfile [2021-10-14T08:55:21.798Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 08:50 LICENSE [2021-10-14T08:55:21.798Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 14 08:50 Makefile [2021-10-14T08:55:21.798Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 14 08:50 OWNERS.md [2021-10-14T08:55:21.798Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 14 08:50 README.md [2021-10-14T08:55:21.798Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 08:49 VERSION [2021-10-14T08:55:21.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:50 bin [2021-10-14T08:55:21.798Z] -rw-r--r-- 1 jenkins jenkins 126693 Oct 14 08:54 coverage.out [2021-10-14T08:55:21.798Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 08:50 example [2021-10-14T08:55:21.799Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 14 08:50 go.mod [2021-10-14T08:55:21.799Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 14 08:50 go.sum [2021-10-14T08:55:21.799Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 08:50 internal [2021-10-14T08:55:21.799Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:50 openapi [2021-10-14T08:55:21.799Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 08:50 pkg [2021-10-14T08:55:21.799Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:50 snap [2021-10-14T08:55:21.799Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 08:50 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:55:22.153Z] + 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=c6c2082073dd4873b72b19af6481e6d325eb3a59 --label arch=arm64 --label version=0.0.0 . [2021-10-14T08:55:22.761Z] Sending build context to Docker daemon 2.821MB [2021-10-14T08:55:22.761Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:55:22.761Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T08:55:22.761Z] ---> 3d8ff3dbd0d6 [2021-10-14T08:55:22.761Z] Step 3/24 : ARG MAKE=make build [2021-10-14T08:55:23.038Z] ---> Running in f4ff90e18639 [2021-10-14T08:55:23.314Z] Removing intermediate container f4ff90e18639 [2021-10-14T08:55:23.314Z] ---> f9a33cd153cc [2021-10-14T08:55:23.314Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T08:55:23.591Z] ---> Running in 24a7aaac2007 [2021-10-14T08:55:24.197Z] Removing intermediate container 24a7aaac2007 [2021-10-14T08:55:24.197Z] ---> a7c13ff51dd2 [2021-10-14T08:55:24.197Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:55:24.197Z] ---> Running in 8078776833b6 [2021-10-14T08:55:24.801Z] Removing intermediate container 8078776833b6 [2021-10-14T08:55:24.801Z] ---> 82fbcf4b7164 [2021-10-14T08:55:24.801Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:55:24.801Z] ---> Running in 894729c0d5a5 [2021-10-14T08:55:26.789Z] Removing intermediate container 894729c0d5a5 [2021-10-14T08:55:26.789Z] ---> 43a2271a8938 [2021-10-14T08:55:26.789Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:55:27.067Z] ---> Running in 362dc61ad01a [2021-10-14T08:55:28.516Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:55:29.115Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:55:30.102Z] OK: 219 MiB in 52 packages [2021-10-14T08:55:31.090Z] Removing intermediate container 362dc61ad01a [2021-10-14T08:55:31.090Z] ---> cf66e1009c17 [2021-10-14T08:55:31.090Z] Step 8/24 : COPY . . [2021-10-14T08:55:32.539Z] ---> 4e3c7435bb60 [2021-10-14T08:55:32.539Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:55:32.539Z] ---> Running in 7bbada3a0f32 [2021-10-14T08:55:35.180Z] Removing intermediate container 7bbada3a0f32 [2021-10-14T08:55:35.180Z] ---> 875060004448 [2021-10-14T08:55:35.180Z] Step 10/24 : RUN ${MAKE} [2021-10-14T08:55:35.180Z] ---> Running in fc93aa6ae225 [2021-10-14T08:55:36.171Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-14T08:56:08.598Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T08:56:11.241Z] Removing intermediate container fc93aa6ae225 [2021-10-14T08:56:11.242Z] ---> d592c36b7b19 [2021-10-14T08:56:11.242Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T08:56:11.844Z] 3.14: Pulling from library/alpine [2021-10-14T08:56:11.844Z] 552d1f2373af: Already exists [2021-10-14T08:56:12.119Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T08:56:12.119Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T08:56:12.119Z] ---> bb3de5531c18 [2021-10-14T08:56:12.119Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:56:12.395Z] ---> Running in f9d44270f76a [2021-10-14T08:56:12.997Z] Removing intermediate container f9d44270f76a [2021-10-14T08:56:12.997Z] ---> 60ed253cf84a [2021-10-14T08:56:12.997Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:56:12.997Z] ---> Running in 00151e84d9a7 [2021-10-14T08:56:14.990Z] Removing intermediate container 00151e84d9a7 [2021-10-14T08:56:14.991Z] ---> 01c2fd9fa7f0 [2021-10-14T08:56:14.991Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T08:56:15.268Z] ---> Running in 27ae784ebd98 [2021-10-14T08:56:16.720Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:56:17.711Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:56:18.314Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T08:56:18.314Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T08:56:18.314Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T08:56:18.589Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T08:56:18.589Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T08:56:18.866Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:56:18.866Z] OK: 8 MiB in 19 packages [2021-10-14T08:56:19.856Z] Removing intermediate container 27ae784ebd98 [2021-10-14T08:56:19.856Z] ---> 723cfb55a8a8 [2021-10-14T08:56:19.856Z] Step 15/24 : WORKDIR / [2021-10-14T08:56:20.133Z] ---> Running in 143ef4406895 [2021-10-14T08:56:20.734Z] Removing intermediate container 143ef4406895 [2021-10-14T08:56:20.734Z] ---> ca411d8f654e [2021-10-14T08:56:20.734Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T08:56:21.338Z] ---> 239e2e18d27f [2021-10-14T08:56:21.338Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T08:56:22.786Z] ---> b9cb91205bd1 [2021-10-14T08:56:22.786Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T08:56:23.389Z] ---> 4b5ae290a1a0 [2021-10-14T08:56:23.389Z] Step 19/24 : EXPOSE 59999 [2021-10-14T08:56:23.666Z] ---> Running in f7286634e566 [2021-10-14T08:56:24.272Z] Removing intermediate container f7286634e566 [2021-10-14T08:56:24.272Z] ---> 90de192f6616 [2021-10-14T08:56:24.272Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T08:56:24.272Z] ---> Running in 663eb9be4158 [2021-10-14T08:56:24.547Z] Removing intermediate container 663eb9be4158 [2021-10-14T08:56:24.547Z] ---> c71ec4c4da23 [2021-10-14T08:56:24.547Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T08:56:24.825Z] ---> Running in 14462fbf9e60 [2021-10-14T08:56:25.426Z] Removing intermediate container 14462fbf9e60 [2021-10-14T08:56:25.426Z] ---> b40897978b7a [2021-10-14T08:56:25.426Z] Step 22/24 : LABEL arch=arm64 [2021-10-14T08:56:25.426Z] ---> Running in 777fba357fdd [2021-10-14T08:56:26.029Z] Removing intermediate container 777fba357fdd [2021-10-14T08:56:26.029Z] ---> f43b4eb18c92 [2021-10-14T08:56:26.029Z] Step 23/24 : LABEL git_sha=c6c2082073dd4873b72b19af6481e6d325eb3a59 [2021-10-14T08:56:26.029Z] ---> Running in da529554212f [2021-10-14T08:56:26.629Z] Removing intermediate container da529554212f [2021-10-14T08:56:26.629Z] ---> 1537b9e5abcc [2021-10-14T08:56:26.629Z] Step 24/24 : LABEL version=0.0.0 [2021-10-14T08:56:26.629Z] ---> Running in ffd59041a452 [2021-10-14T08:56:26.911Z] Removing intermediate container ffd59041a452 [2021-10-14T08:56:26.911Z] ---> 2e4f8f8c5103 [2021-10-14T08:56:26.911Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T08:56:27.187Z] Successfully built 2e4f8f8c5103 [2021-10-14T08:56:27.187Z] 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-14T08:56:27.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:56:28.034Z] [2021-10-14T08:56:28.034Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:56:28.389Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:56:28.666Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-14T08:56:28.666Z] 448f6bf000e3: Pulling fs layer [2021-10-14T08:56:28.666Z] f757da607395: Pulling fs layer [2021-10-14T08:56:28.666Z] 05883995daec: Pulling fs layer [2021-10-14T08:56:28.666Z] 8603b9c90790: Pulling fs layer [2021-10-14T08:56:28.666Z] 1560dd03e051: Pulling fs layer [2021-10-14T08:56:28.666Z] 27f5ce0e4adf: Pulling fs layer [2021-10-14T08:56:28.666Z] c2d8d7efcc4b: Pulling fs layer [2021-10-14T08:56:28.666Z] 1560dd03e051: Waiting [2021-10-14T08:56:28.666Z] 27f5ce0e4adf: Waiting [2021-10-14T08:56:28.666Z] c2d8d7efcc4b: Waiting [2021-10-14T08:56:28.666Z] 8603b9c90790: Waiting [2021-10-14T08:56:28.944Z] f757da607395: Download complete [2021-10-14T08:56:28.944Z] 8603b9c90790: Verifying Checksum [2021-10-14T08:56:28.944Z] 8603b9c90790: Download complete [2021-10-14T08:56:28.944Z] 05883995daec: Verifying Checksum [2021-10-14T08:56:28.944Z] 05883995daec: Download complete [2021-10-14T08:56:28.944Z] 27f5ce0e4adf: Verifying Checksum [2021-10-14T08:56:28.944Z] 27f5ce0e4adf: Download complete [2021-10-14T08:56:28.944Z] 1560dd03e051: Verifying Checksum [2021-10-14T08:56:28.944Z] 1560dd03e051: Download complete [2021-10-14T08:56:29.219Z] 448f6bf000e3: Verifying Checksum [2021-10-14T08:56:29.219Z] 448f6bf000e3: Download complete [2021-10-14T08:56:32.738Z] c2d8d7efcc4b: Verifying Checksum [2021-10-14T08:56:32.738Z] c2d8d7efcc4b: Download complete [2021-10-14T08:56:33.339Z] 448f6bf000e3: Pull complete [2021-10-14T08:56:33.941Z] f757da607395: Pull complete [2021-10-14T08:56:35.389Z] 05883995daec: Pull complete [2021-10-14T08:56:36.002Z] 8603b9c90790: Pull complete [2021-10-14T08:56:36.607Z] 1560dd03e051: Pull complete [2021-10-14T08:56:37.209Z] 27f5ce0e4adf: Pull complete [2021-10-14T08:56:52.363Z] c2d8d7efcc4b: Pull complete [2021-10-14T08:56:52.363Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-14T08:56:52.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:56:52.363Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-14T08:56:52.640Z] prd-ubuntu18.04-docker-arm64-4c-16g-1394 does not seem to be running inside a container [2021-10-14T08:56:52.756Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-14T08:56:56.382Z] $ docker top afe5c28ce320c92d16263008369e424cc2e3535a24d6579104d511cb466201d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:56:57.353Z] ---> job-cost.sh [2021-10-14T08:56:57.353Z] lf-activate-venv: SKIPPING [2021-10-14T08:56:57.353Z] INFO: No Stack... [2021-10-14T08:57:19.575Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-14T08:57:19.575Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T08:57:20.253Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-10-14T08:57:20.253Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T08:57:20.324Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1033-3-stack-cost] [2021-10-14T08:57:20.331Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1033-3-stack-cost] did not exist. Created. [2021-10-14T08:57:20.331Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1033-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T08:57:21.016Z] /w/workspace/device-sdk-go/3@tmp/durable-7872f533/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-7872f533/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-14T08:57:21.699Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-14T08:57:21.729Z] Warning: overwriting stash ‘stack-cost’ [2021-10-14T08:57:21.789Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T08:57:21.797Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1033-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T08:57:21.838Z] $ docker stop --time=1 afe5c28ce320c92d16263008369e424cc2e3535a24d6579104d511cb466201d8 [2021-10-14T08:57:23.527Z] $ docker rm -f afe5c28ce320c92d16263008369e424cc2e3535a24d6579104d511cb466201d8 [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-14T08:57:24.263Z] provisioning config files... [2021-10-14T08:57:24.273Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/config2249759402025480155tmp [Pipeline] { [Pipeline] sh [2021-10-14T08:57:24.573Z] + set +x [2021-10-14T08:57:24.573Z] + curl -s https://codecov.io/bash [2021-10-14T08:57:24.573Z] + bash -s -- [2021-10-14T08:57:24.573Z] [2021-10-14T08:57:24.573Z] _____ _ [2021-10-14T08:57:24.573Z] / ____| | | [2021-10-14T08:57:24.573Z] | | ___ __| | ___ ___ _____ __ [2021-10-14T08:57:24.573Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-14T08:57:24.573Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-14T08:57:24.573Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-14T08:57:24.573Z] Bash-1.0.6 [2021-10-14T08:57:24.573Z] [2021-10-14T08:57:24.573Z] [2021-10-14T08:57:24.573Z] ==> git version 2.24.4 found [2021-10-14T08:57:24.573Z] ==> 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-14T08:57:24.573Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-14T08:57:24.573Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-14T08:57:24.573Z] ==> Jenkins CI detected. [2021-10-14T08:57:24.573Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1033 [2021-10-14T08:57:24.573Z] project root: . [2021-10-14T08:57:24.573Z] --> token set from env [2021-10-14T08:57:24.573Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-14T08:57:24.839Z] ==> Running gcov in . (disable via -X gcov) [2021-10-14T08:57:24.839Z] ==> Python coveragepy not found [2021-10-14T08:57:24.839Z] ==> Searching for coverage reports in: [2021-10-14T08:57:24.839Z] + . [2021-10-14T08:57:24.839Z] -> Found 1 reports [2021-10-14T08:57:24.839Z] ==> Detecting git/mercurial file structure [2021-10-14T08:57:24.839Z] ==> Reading reports [2021-10-14T08:57:24.839Z] + ./coverage.out bytes=126693 [2021-10-14T08:57:24.839Z] ==> Appending adjustments [2021-10-14T08:57:24.839Z] https://docs.codecov.io/docs/fixing-reports [2021-10-14T08:57:25.100Z] + Found adjustments [2021-10-14T08:57:25.100Z] ==> Gzipping contents [2021-10-14T08:57:25.100Z] 16K /tmp/codecov.xC0KR9.gz [2021-10-14T08:57:25.100Z] ==> Uploading reports [2021-10-14T08:57:25.100Z] url: https://codecov.io [2021-10-14T08:57:25.100Z] query: branch=PR-1033&commit=c6c2082073dd4873b72b19af6481e6d325eb3a59&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1033%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1033&job=&cmd_args= [2021-10-14T08:57:25.100Z] -> Pinging Codecov [2021-10-14T08:57:25.100Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1033&commit=c6c2082073dd4873b72b19af6481e6d325eb3a59&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1033%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1033&job=&cmd_args= [2021-10-14T08:57:25.366Z] -> Uploading to [2021-10-14T08:57:25.366Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-14/7E55EF52A471D76F132DFD9A03CDDE97/c6c2082073dd4873b72b19af6481e6d325eb3a59/e54c28af-047b-46c8-945f-a214e80b5630.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T085725Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f7799577869ece06ba729871a323261cdbefb3474d97c4d9c4b903812bc3833a [2021-10-14T08:57:25.366Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T08:57:25.366Z] Dload Upload Total Spent Left Speed [2021-10-14T08:57:25.626Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16116 0 0 100 16116 0 47162 --:--:-- --:--:-- --:--:-- 47122 [2021-10-14T08:57:25.626Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c6c2082073dd4873b72b19af6481e6d325eb3a59 [Pipeline] } [2021-10-14T08:57:25.633Z] 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-14T08:57:27.038Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1033/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:57:27.350Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:57:27.913Z] ---> package-listing.sh [2021-10-14T08:57:27.913Z] ++ facter osfamily [2021-10-14T08:57:27.913Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-14T08:57:28.184Z] + OS_FAMILY=redhat [2021-10-14T08:57:28.184Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1033 [2021-10-14T08:57:28.184Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-14T08:57:28.184Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-14T08:57:28.184Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-14T08:57:28.184Z] + PACKAGES=/tmp/packages_start.txt [2021-10-14T08:57:28.184Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1033 ']' [2021-10-14T08:57:28.184Z] + PACKAGES=/tmp/packages_end.txt [2021-10-14T08:57:28.184Z] + case "${OS_FAMILY}" in [2021-10-14T08:57:28.184Z] + rpm -qa [2021-10-14T08:57:28.184Z] + sort [2021-10-14T08:57:28.756Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-14T08:57:28.756Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-14T08:57:28.756Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-14T08:57:28.756Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1033 ']' [2021-10-14T08:57:28.756Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1033/archives/ [2021-10-14T08:57:28.756Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1033/archives/ [Pipeline] echo [2021-10-14T08:57:28.767Z] 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-1033/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-14T08:57:29.055Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:57:29.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:57:29.639Z] [2021-10-14T08:57:29.639Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:57:29.945Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:57:29.946Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T08:57:29.946Z] b4d181a07f80: Pulling fs layer [2021-10-14T08:57:29.946Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T08:57:29.946Z] ed53099fbce6: Pulling fs layer [2021-10-14T08:57:29.946Z] dc539afda2c1: Pulling fs layer [2021-10-14T08:57:29.946Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T08:57:29.946Z] 9065ff56babe: Pulling fs layer [2021-10-14T08:57:29.946Z] d287ab97295c: Pulling fs layer [2021-10-14T08:57:29.946Z] dc539afda2c1: Waiting [2021-10-14T08:57:29.946Z] 77bc0d833cb6: Waiting [2021-10-14T08:57:29.946Z] 9065ff56babe: Waiting [2021-10-14T08:57:29.946Z] d287ab97295c: Waiting [2021-10-14T08:57:29.946Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T08:57:29.946Z] a1111a8f2ec3: Download complete [2021-10-14T08:57:29.946Z] dc539afda2c1: Verifying Checksum [2021-10-14T08:57:29.946Z] dc539afda2c1: Download complete [2021-10-14T08:57:29.946Z] ed53099fbce6: Verifying Checksum [2021-10-14T08:57:29.946Z] ed53099fbce6: Download complete [2021-10-14T08:57:30.210Z] 9065ff56babe: Verifying Checksum [2021-10-14T08:57:30.210Z] 9065ff56babe: Download complete [2021-10-14T08:57:30.210Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T08:57:30.210Z] 77bc0d833cb6: Download complete [2021-10-14T08:57:30.210Z] b4d181a07f80: Verifying Checksum [2021-10-14T08:57:30.210Z] b4d181a07f80: Download complete [2021-10-14T08:57:30.787Z] d287ab97295c: Verifying Checksum [2021-10-14T08:57:30.787Z] d287ab97295c: Download complete [2021-10-14T08:57:31.734Z] b4d181a07f80: Pull complete [2021-10-14T08:57:31.734Z] a1111a8f2ec3: Pull complete [2021-10-14T08:57:32.313Z] ed53099fbce6: Pull complete [2021-10-14T08:57:32.313Z] dc539afda2c1: Pull complete [2021-10-14T08:57:32.582Z] 77bc0d833cb6: Pull complete [2021-10-14T08:57:32.848Z] 9065ff56babe: Pull complete [2021-10-14T08:57:38.147Z] d287ab97295c: Pull complete [2021-10-14T08:57:38.147Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T08:57:38.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:57:38.147Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T08:57:38.208Z] prd-centos7-docker-4c-2g-1396 does not seem to be running inside a container [2021-10-14T08:57:38.251Z] $ 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-1033/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-1033 -v /w/workspace/gexfoundry_device-sdk-go_PR-1033:/w/workspace/gexfoundry_device-sdk-go_PR-1033:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T08:57:40.509Z] $ docker top 3d2edd6e9b21f62eb94ac632f37fa8485d58d5a5575e83ce99849fb6f048f1ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:57:40.888Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-14T08:57:41.184Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-14T08:57:41.487Z] + ls /var/log/sa-host [2021-10-14T08:57:41.487Z] + sadf -c /var/log/sa-host/sa14 [2021-10-14T08:57:41.487Z] file_magic: OK [2021-10-14T08:57:41.487Z] HZ: Using current value: 100 [2021-10-14T08:57:41.487Z] file_header: OK [2021-10-14T08:57:41.487Z] 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-14T08:57:41.487Z] Statistics: [2021-10-14T08:57:41.487Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T08:57:41.487Z] File successfully converted to sysstat format version 12.0.3 [2021-10-14T08:57:41.487Z] + sadf -c /var/log/sa-host/sa30 [2021-10-14T08:57:41.487Z] file_magic: OK [2021-10-14T08:57:41.487Z] HZ: Using current value: 100 [2021-10-14T08:57:41.487Z] file_header: OK [2021-10-14T08:57:41.487Z] 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-14T08:57:41.487Z] Statistics: [2021-10-14T08:57:41.487Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T08:57:41.487Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:57:41.557Z] provisioning config files... [2021-10-14T08:57:41.568Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/config7222160332077731749tmp [Pipeline] { [Pipeline] echo [2021-10-14T08:57:41.580Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:57:41.867Z] ---> create-netrc.sh [Pipeline] } [2021-10-14T08:57:41.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:57:42.206Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-14T08:57:42.216Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:57:42.511Z] ---> sudo-logs.sh [2021-10-14T08:57:42.511Z] Archiving 'sudo' log.. [2021-10-14T08:57:42.511Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1396.novalocal: Name or service not known [2021-10-14T08:57:42.511Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1396.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-14T08:57:42.544Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:57:42.839Z] ---> job-cost.sh [2021-10-14T08:57:42.839Z] lf-activate-venv: SKIPPING [2021-10-14T08:57:42.839Z] DEBUG: total: 0.10999999940395355 [2021-10-14T08:57:42.839Z] INFO: Retrieving Stack Cost... [2021-10-14T08:57:43.101Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T08:57:43.673Z] INFO: Archiving Costs [Pipeline] echo [2021-10-14T08:57:43.683Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:57:43.972Z] ---> logs-deploy.sh [2021-10-14T08:57:43.972Z] lf-activate-venv: SKIPPING [2021-10-14T08:57:43.972Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1033/3 [2021-10-14T08:57:43.972Z] INFO: archiving workspace using pattern(s): [2021-10-14T08:57:44.916Z] Archives upload complete. [2021-10-14T08:57:44.916Z] INFO: archiving logs to Nexus [2021-10-14T08:57:45.486Z] ---> uname -a: [2021-10-14T08:57:45.486Z] Linux prd-centos7-docker-4c-2g-1396.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux [2021-10-14T08:57:45.486Z] [2021-10-14T08:57:45.486Z] [2021-10-14T08:57:45.486Z] ---> lscpu: [2021-10-14T08:57:45.486Z] Architecture: x86_64 [2021-10-14T08:57:45.486Z] CPU op-mode(s): 32-bit, 64-bit [2021-10-14T08:57:45.486Z] Byte Order: Little Endian [2021-10-14T08:57:45.486Z] Address sizes: 40 bits physical, 48 bits virtual [2021-10-14T08:57:45.486Z] CPU(s): 2 [2021-10-14T08:57:45.486Z] On-line CPU(s) list: 0,1 [2021-10-14T08:57:45.486Z] Thread(s) per core: 1 [2021-10-14T08:57:45.486Z] Core(s) per socket: 1 [2021-10-14T08:57:45.486Z] Socket(s): 2 [2021-10-14T08:57:45.486Z] NUMA node(s): 1 [2021-10-14T08:57:45.486Z] Vendor ID: AuthenticAMD [2021-10-14T08:57:45.486Z] CPU family: 23 [2021-10-14T08:57:45.486Z] Model: 49 [2021-10-14T08:57:45.486Z] Model name: AMD EPYC-Rome Processor [2021-10-14T08:57:45.486Z] Stepping: 0 [2021-10-14T08:57:45.486Z] CPU MHz: 2799.998 [2021-10-14T08:57:45.486Z] BogoMIPS: 5599.99 [2021-10-14T08:57:45.486Z] Virtualization: AMD-V [2021-10-14T08:57:45.486Z] Hypervisor vendor: KVM [2021-10-14T08:57:45.486Z] Virtualization type: full [2021-10-14T08:57:45.486Z] L1d cache: 32K [2021-10-14T08:57:45.486Z] L1i cache: 32K [2021-10-14T08:57:45.486Z] L2 cache: 512K [2021-10-14T08:57:45.486Z] L3 cache: 16384K [2021-10-14T08:57:45.486Z] NUMA node0 CPU(s): 0,1 [2021-10-14T08:57:45.486Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2021-10-14T08:57:45.486Z] [2021-10-14T08:57:45.486Z] [2021-10-14T08:57:45.486Z] ---> nproc: [2021-10-14T08:57:45.486Z] 2 [2021-10-14T08:57:45.486Z] [2021-10-14T08:57:45.486Z] [2021-10-14T08:57:45.486Z] ---> df -h: [2021-10-14T08:57:45.486Z] Filesystem Size Used Avail Use% Mounted on [2021-10-14T08:57:45.486Z] overlay 40G 7.7G 33G 20% / [2021-10-14T08:57:45.486Z] tmpfs 64M 0 64M 0% /dev [2021-10-14T08:57:45.486Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2021-10-14T08:57:45.486Z] shm 64M 0 64M 0% /dev/shm [2021-10-14T08:57:45.486Z] /dev/vda1 40G 7.7G 33G 20% /facter-os [2021-10-14T08:57:45.486Z] [2021-10-14T08:57:45.486Z] [2021-10-14T08:57:45.487Z] ---> sar -b -r -n DEV: [2021-10-14T08:57:45.487Z] Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/14/21 _x86_64_ (2 CPU) [2021-10-14T08:57:45.487Z] [2021-10-14T08:57:45.487Z] 08:49:04 LINUX RESTART (2 CPU) [2021-10-14T08:57:45.487Z] [2021-10-14T08:57:45.487Z] 08:50:01 tps rtps wtps bread/s bwrtn/s [2021-10-14T08:57:45.487Z] 08:51:01 3.90 0.02 3.88 0.53 118.82 [2021-10-14T08:57:45.487Z] 08:52:01 0.48 0.00 0.48 0.00 9.05 [2021-10-14T08:57:45.487Z] 08:53:01 0.37 0.00 0.37 0.00 4.70 [2021-10-14T08:57:45.487Z] 08:54:01 0.32 0.00 0.32 0.00 5.53 [2021-10-14T08:57:45.487Z] 08:55:01 0.30 0.00 0.30 0.00 4.53 [2021-10-14T08:57:45.487Z] 08:56:01 0.32 0.00 0.32 0.00 4.68 [2021-10-14T08:57:45.487Z] 08:57:01 0.28 0.00 0.28 0.00 4.18 [2021-10-14T08:57:45.487Z] Average: 0.85 0.00 0.85 0.08 21.64 [2021-10-14T08:57:45.487Z] [2021-10-14T08:57:45.487Z] 08:50:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-10-14T08:57:45.487Z] 08:51:01 5678440 0 628540 7.85 2620 1699332 1518260 16.76 573380 1523188 20 [2021-10-14T08:57:45.487Z] 08:52:01 5688780 0 618192 7.72 2620 1699340 1420276 15.68 565036 1523792 8 [2021-10-14T08:57:45.487Z] 08:53:01 5692352 0 614620 7.67 2620 1699340 1420000 15.68 560800 1523792 8 [2021-10-14T08:57:45.487Z] 08:54:01 5692900 0 614064 7.67 2620 1699348 1420000 15.68 559904 1524656 8 [2021-10-14T08:57:45.487Z] 08:55:01 5694504 0 612452 7.65 2620 1699356 1420108 15.68 558032 1524656 8 [2021-10-14T08:57:45.487Z] 08:56:01 5694448 0 612504 7.65 2620 1699360 1420120 15.68 558124 1524748 20 [2021-10-14T08:57:45.487Z] 08:57:01 5693848 0 613044 7.65 2620 1699420 1420000 15.68 558476 1524760 16 [2021-10-14T08:57:45.487Z] Average: 5690753 0 616202 7.69 2620 1699357 1434109 15.83 561965 1524227 13 [2021-10-14T08:57:45.487Z] [2021-10-14T08:57:45.487Z] 08:50:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-10-14T08:57:45.487Z] 08:51:01 eth0 3.28 1.23 3.00 0.15 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:52:01 eth0 0.78 0.43 0.31 0.21 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:53:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:54:01 eth0 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:55:01 eth0 0.23 0.17 0.08 0.07 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:56:01 eth0 0.17 0.13 0.07 0.01 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:57:01 eth0 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] 08:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] Average: eth0 0.69 0.32 0.50 0.06 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-10-14T08:57:45.487Z] [2021-10-14T08:57:45.487Z] [2021-10-14T08:57:45.487Z] ---> sar -P ALL: [2021-10-14T08:57:45.487Z] Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/14/21 _x86_64_ (2 CPU) [2021-10-14T08:57:45.487Z] [2021-10-14T08:57:45.487Z] 08:49:04 LINUX RESTART (2 CPU) [2021-10-14T08:57:45.487Z] [2021-10-14T08:57:45.487Z] 08:50:01 CPU %user %nice %system %iowait %steal %idle [2021-10-14T08:57:45.487Z] 08:51:01 all 0.25 0.00 0.06 0.00 0.02 99.67 [2021-10-14T08:57:45.487Z] 08:51:01 0 0.08 0.00 0.07 0.00 0.02 99.83 [2021-10-14T08:57:45.487Z] 08:51:01 1 0.42 0.00 0.05 0.00 0.02 99.52 [2021-10-14T08:57:45.487Z] 08:52:01 all 0.26 0.00 0.06 0.00 0.01 99.67 [2021-10-14T08:57:45.487Z] 08:52:01 0 0.08 0.00 0.07 0.00 0.02 99.83 [2021-10-14T08:57:45.487Z] 08:52:01 1 0.43 0.00 0.05 0.00 0.00 99.52 [2021-10-14T08:57:45.487Z] 08:53:01 all 0.14 0.00 0.05 0.00 0.02 99.79 [2021-10-14T08:57:45.487Z] 08:53:01 0 0.07 0.00 0.07 0.00 0.02 99.85 [2021-10-14T08:57:45.487Z] 08:53:01 1 0.22 0.00 0.03 0.00 0.02 99.73 [2021-10-14T08:57:45.487Z] 08:54:01 all 0.23 0.00 0.04 0.00 0.02 99.72 [2021-10-14T08:57:45.487Z] 08:54:01 0 0.40 0.00 0.05 0.00 0.02 99.53 [2021-10-14T08:57:45.487Z] 08:54:01 1 0.05 0.00 0.03 0.00 0.02 99.90 [2021-10-14T08:57:45.487Z] 08:55:01 all 0.22 0.00 0.03 0.00 0.02 99.73 [2021-10-14T08:57:45.487Z] 08:55:01 0 0.38 0.00 0.05 0.00 0.02 99.55 [2021-10-14T08:57:45.487Z] 08:55:01 1 0.05 0.00 0.02 0.00 0.02 99.92 [2021-10-14T08:57:45.487Z] 08:56:01 all 0.26 0.00 0.04 0.00 0.01 99.69 [2021-10-14T08:57:45.487Z] 08:56:01 0 0.47 0.00 0.05 0.00 0.02 99.47 [2021-10-14T08:57:45.487Z] 08:56:01 1 0.05 0.00 0.03 0.00 0.00 99.92 [2021-10-14T08:57:45.487Z] 08:57:01 all 0.20 0.00 0.03 0.00 0.02 99.75 [2021-10-14T08:57:45.487Z] 08:57:01 0 0.33 0.00 0.02 0.00 0.02 99.63 [2021-10-14T08:57:45.487Z] 08:57:01 1 0.07 0.00 0.05 0.00 0.02 99.87 [2021-10-14T08:57:45.487Z] Average: all 0.22 0.00 0.05 0.00 0.01 99.72 [2021-10-14T08:57:45.487Z] Average: 0 0.26 0.00 0.05 0.00 0.02 99.67 [2021-10-14T08:57:45.487Z] Average: 1 0.18 0.00 0.04 0.00 0.01 99.77 [2021-10-14T08:57:45.487Z] [2021-10-14T08:57:45.487Z] [2021-10-14T08:57:45.487Z]