Pull request #1033 opened 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 c0795a2bb427cce6c8a2d3b94371ac1b88440880+5ed4cacd84df9b58bf582e255ca77028d77e465f (402cb37f7c6e06c56f0f76fd7377a3ce3f0cf801) Running in Durability level: MAX_SURVIVABILITY 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-ssh8477216152287433225.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-ssh5318148881952962472.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1033/workspace@libs/edgex-global-pipelines # timeout=10 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-ssh2917604197920868110.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh2003007138717657679.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh2267799160882708500.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1033/workspace@libs/lf-pipelines # timeout=10 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-ssh8998963811674409623.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1307’ Running on prd-centos7-docker-4c-2g-1314 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-ssh7762296105444648401.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-ssh889600590698635561.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 5ed4cacd84df9b58bf582e255ca77028d77e465f into PR head commit c0795a2bb427cce6c8a2d3b94371ac1b88440880 Merge succeeded, producing c0795a2bb427cce6c8a2d3b94371ac1b88440880 Checking out Revision c0795a2bb427cce6c8a2d3b94371ac1b88440880 (PR-1033) > git config core.sparsecheckout # timeout=10 > git checkout -f c0795a2bb427cce6c8a2d3b94371ac1b88440880 # 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-ssh9046116393814481336.key > git merge 5ed4cacd84df9b58bf582e255ca77028d77e465f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0795a2bb427cce6c8a2d3b94371ac1b88440880 # timeout=10 Commit message: "feat: add NewCommandValueWithOrigin function" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-14T04:32:19.982Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-14T04:32:20.109Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-14T04:32:20.182Z] ========================================================= [2021-10-14T04:32:20.182Z] EdgeX Global Pipelines Version Info [2021-10-14T04:32:20.182Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-14T04:32:21.340Z] ------------------- [2021-10-14T04:32:21.340Z] stable info: [2021-10-14T04:32:21.340Z] ------------------- [2021-10-14T04:32:21.340Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-14T04:32:21.340Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T04:32:21.340Z] Message: update stable to v1.0.210 [2021-10-14T04:32:21.910Z] ------------------- [2021-10-14T04:32:21.910Z] experimental info: [2021-10-14T04:32:21.910Z] ------------------- [2021-10-14T04:32:21.910Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-14T04:32:21.910Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T04:32:21.910Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-14T04:32:22.066Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-14T04:32:22.112Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-14T04:32:22.151Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-14T04:32:22.190Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-14T04:32:22.231Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-14T04:32:22.274Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-14T04:32:22.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-14T04:32:22.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-14T04:32:22.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-14T04:32:22.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-14T04:32:22.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-14T04:32:22.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-14T04:32:22.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-14T04:32:22.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-14T04:32:22.640Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T04:32:22.676Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T04:32:22.713Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T04:32:22.751Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T04:32:22.785Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-14T04:32:22.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-14T04:32:22.858Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-14T04:32:22.897Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-14T04:32:22.934Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-14T04:32:22.970Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-14T04:32:23.008Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-14T04:32:23.044Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-14T04:32:23.082Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1033 [Pipeline] echo [2021-10-14T04:32:23.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1033 [Pipeline] echo [2021-10-14T04:32:23.161Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1033 [Pipeline] echo [2021-10-14T04:32:23.199Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0795a2bb427cce6c8a2d3b94371ac1b88440880 [Pipeline] echo [2021-10-14T04:32:23.237Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0795a2 [Pipeline] echo [2021-10-14T04:32:23.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T04:32:23.370Z] provisioning config files... [2021-10-14T04:32:23.393Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/config3863891853568235010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T04:32:23.780Z] ---> docker-login.sh [2021-10-14T04:32:23.780Z] nexus3.edgexfoundry.org:10001 [2021-10-14T04:32:23.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:32:24.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:32:24.045Z] Configure a credential helper to remove this warning. See [2021-10-14T04:32:24.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:32:24.045Z] [2021-10-14T04:32:24.045Z] Login Succeeded [2021-10-14T04:32:24.045Z] nexus3.edgexfoundry.org:10002 [2021-10-14T04:32:24.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:32:24.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:32:24.045Z] Configure a credential helper to remove this warning. See [2021-10-14T04:32:24.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:32:24.045Z] [2021-10-14T04:32:24.045Z] Login Succeeded [2021-10-14T04:32:24.045Z] nexus3.edgexfoundry.org:10003 [2021-10-14T04:32:24.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:32:24.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:32:24.310Z] Configure a credential helper to remove this warning. See [2021-10-14T04:32:24.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:32:24.310Z] [2021-10-14T04:32:24.310Z] Login Succeeded [2021-10-14T04:32:24.310Z] nexus3.edgexfoundry.org:10004 [2021-10-14T04:32:24.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:32:24.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:32:24.310Z] Configure a credential helper to remove this warning. See [2021-10-14T04:32:24.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:32:24.310Z] [2021-10-14T04:32:24.310Z] Login Succeeded [2021-10-14T04:32:24.310Z] docker.io [2021-10-14T04:32:24.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:32:24.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:32:24.839Z] Configure a credential helper to remove this warning. See [2021-10-14T04:32:24.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:32:24.839Z] [2021-10-14T04:32:24.839Z] Login Succeeded [2021-10-14T04:32:24.839Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T04:32:24.857Z] 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-14T04:32:25.538Z] + git log --format=format:%s -1 c0795a2bb427cce6c8a2d3b94371ac1b88440880 [Pipeline] echo [2021-10-14T04:32:25.605Z] GIT_COMMIT: c0795a2bb427cce6c8a2d3b94371ac1b88440880, Commit Message: feat: add NewCommandValueWithOrigin function [Pipeline] echo [2021-10-14T04:32:25.644Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:32:26.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T04:32:26.320Z] [2021-10-14T04:32:26.320Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:32:26.654Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T04:32:26.654Z] latest: Pulling from edgex-devops/git-semver [2021-10-14T04:32:26.654Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T04:32:26.654Z] 3e5f54012d9b: Pulling fs layer [2021-10-14T04:32:26.654Z] 4c7163046ea9: Pulling fs layer [2021-10-14T04:32:26.654Z] 0c2d73faf560: Pulling fs layer [2021-10-14T04:32:26.654Z] 0c2d73faf560: Waiting [2021-10-14T04:32:26.654Z] 3e5f54012d9b: Verifying Checksum [2021-10-14T04:32:26.654Z] 3e5f54012d9b: Download complete [2021-10-14T04:32:26.654Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T04:32:26.654Z] a0d0a0d46f8b: Download complete [2021-10-14T04:32:26.915Z] 0c2d73faf560: Verifying Checksum [2021-10-14T04:32:26.915Z] 0c2d73faf560: Download complete [2021-10-14T04:32:26.915Z] 4c7163046ea9: Verifying Checksum [2021-10-14T04:32:26.915Z] 4c7163046ea9: Download complete [2021-10-14T04:32:26.915Z] a0d0a0d46f8b: Pull complete [2021-10-14T04:32:26.915Z] 3e5f54012d9b: Pull complete [2021-10-14T04:32:27.486Z] 4c7163046ea9: Pull complete [2021-10-14T04:32:27.486Z] 0c2d73faf560: Pull complete [2021-10-14T04:32:27.486Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-14T04:32:27.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T04:32:27.486Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-14T04:32:27.586Z] prd-centos7-docker-4c-2g-1314 does not seem to be running inside a container [2021-10-14T04:32:27.631Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T04:32:28.291Z] $ docker top d6acb7c963d4a837e45f71586e6208df993210f01ac88e38eeaff136f7adcbfe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T04:32:28.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T04:32:28.457Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T04:32:28.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T04:32:28.584Z] $ docker exec d6acb7c963d4a837e45f71586e6208df993210f01ac88e38eeaff136f7adcbfe ssh-agent [2021-10-14T04:32:28.692Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkiIFlM/agent.15 [2021-10-14T04:32:28.692Z] SSH_AGENT_PID=21 [2021-10-14T04:32:28.703Z] Running ssh-add (command line suppressed) [2021-10-14T04:32:28.817Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/private_key_6518264777229536137.key (/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/private_key_6518264777229536137.key) [2021-10-14T04:32:28.830Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T04:32:29.170Z] + git tag --points-at HEAD [Pipeline] } [2021-10-14T04:32:29.189Z] $ docker exec --env ******** --env ******** d6acb7c963d4a837e45f71586e6208df993210f01ac88e38eeaff136f7adcbfe ssh-agent -k [2021-10-14T04:32:29.288Z] unset SSH_AUTH_SOCK; [2021-10-14T04:32:29.289Z] unset SSH_AGENT_PID; [2021-10-14T04:32:29.289Z] echo Agent pid 21 killed; [2021-10-14T04:32:29.297Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-14T04:32:29.368Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T04:32:29.368Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T04:32:29.486Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T04:32:29.489Z] $ docker exec d6acb7c963d4a837e45f71586e6208df993210f01ac88e38eeaff136f7adcbfe ssh-agent [2021-10-14T04:32:29.609Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcKHpGO/agent.56 [2021-10-14T04:32:29.609Z] SSH_AGENT_PID=63 [2021-10-14T04:32:29.629Z] Running ssh-add (command line suppressed) [2021-10-14T04:32:29.731Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/private_key_2391038598669111474.key (/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/private_key_2391038598669111474.key) [2021-10-14T04:32:29.753Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T04:32:30.079Z] + git semver init [2021-10-14T04:32:30.079Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T04:32:30.079Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1033/.git [2021-10-14T04:32:30.079Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1033 [2021-10-14T04:32:30.079Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T04:32:30.079Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T04:32:30.079Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T04:32:30.079Z] # $SEMVER_BRANCH = PR-1033 [2021-10-14T04:32:30.079Z] # $SEMVER_TEMP = /tmp/semver-872544546 [2021-10-14T04:32:30.079Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-14T04:32:31.027Z] # '/tmp/semver-872544546' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1033/.semver' [2021-10-14T04:32:31.027Z] # -> Force: false [2021-10-14T04:32:31.027Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1033/.semver [Pipeline] } [2021-10-14T04:32:31.042Z] $ docker exec --env ******** --env ******** d6acb7c963d4a837e45f71586e6208df993210f01ac88e38eeaff136f7adcbfe ssh-agent -k [2021-10-14T04:32:31.145Z] unset SSH_AUTH_SOCK; [2021-10-14T04:32:31.146Z] unset SSH_AGENT_PID; [2021-10-14T04:32:31.146Z] echo Agent pid 63 killed; [2021-10-14T04:32:31.162Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T04:32:31.570Z] + git semver [Pipeline] } [2021-10-14T04:32:31.596Z] $ docker stop --time=1 d6acb7c963d4a837e45f71586e6208df993210f01ac88e38eeaff136f7adcbfe [2021-10-14T04:32:32.836Z] $ docker rm -f d6acb7c963d4a837e45f71586e6208df993210f01ac88e38eeaff136f7adcbfe [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T04:32:33.245Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-14T04:32:33.544Z] Stashed 1 file(s) [Pipeline] echo [2021-10-14T04:32:33.575Z] [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-14T04:32:49.060Z] Still waiting to schedule task [2021-10-14T04:32:49.060Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-14T04:32:49.083Z] Still waiting to schedule task [2021-10-14T04:32:49.083Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1312’ [2021-10-14T04:35:06.631Z] Running on prd-centos7-docker-4c-2g-1315 in /w/workspace/gexfoundry_device-sdk-go_PR-1033 [Pipeline] { [Pipeline] ws [2021-10-14T04:35:06.670Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-14T04:35:06.779Z] Selected Git installation does not exist. Using Default [2021-10-14T04:35:06.779Z] The recommended git tool is: NONE [2021-10-14T04:35:08.608Z] using credential edgex-jenkins-ssh [2021-10-14T04:35:08.618Z] Cloning the remote Git repository [2021-10-14T04:35:07.400Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T04:35:07.452Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-14T04:35:07.486Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T04:35:07.487Z] > git --version # timeout=10 [2021-10-14T04:35:07.493Z] > git --version # 'git version 2.24.4' [2021-10-14T04:35:07.493Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T04:35:07.517Z] [INFO] Currently running in a labeled security context [2021-10-14T04:35:07.517Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T04:35:07.517Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh568542494264919884.key [2021-10-14T04:35:07.547Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T04:35:08.286Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T04:35:08.297Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T04:35:08.306Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T04:35:08.319Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T04:35:08.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T04:35:08.320Z] [INFO] Currently running in a labeled security context [2021-10-14T04:35:08.320Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T04:35:08.320Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2680493688837710251.key [2021-10-14T04:35:08.328Z] > 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-14T04:35:10.160Z] Merging remotes/origin/main commit 5ed4cacd84df9b58bf582e255ca77028d77e465f into PR head commit c0795a2bb427cce6c8a2d3b94371ac1b88440880 [2021-10-14T04:35:10.256Z] Merge succeeded, producing c0795a2bb427cce6c8a2d3b94371ac1b88440880 [2021-10-14T04:35:10.256Z] Checking out Revision c0795a2bb427cce6c8a2d3b94371ac1b88440880 (PR-1033) [2021-10-14T04:35:08.922Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T04:35:08.930Z] > git checkout -f c0795a2bb427cce6c8a2d3b94371ac1b88440880 # timeout=10 [2021-10-14T04:35:08.966Z] > git remote # timeout=10 [2021-10-14T04:35:08.973Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T04:35:08.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T04:35:08.980Z] [INFO] Currently running in a labeled security context [2021-10-14T04:35:08.980Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T04:35:08.980Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6164431827693094074.key [2021-10-14T04:35:08.987Z] > git merge 5ed4cacd84df9b58bf582e255ca77028d77e465f # timeout=10 [2021-10-14T04:35:08.996Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T04:35:09.014Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T04:35:09.019Z] > git checkout -f c0795a2bb427cce6c8a2d3b94371ac1b88440880 # timeout=10 [2021-10-14T04:35:13.799Z] Commit message: "feat: add NewCommandValueWithOrigin function" [2021-10-14T04:35:12.574Z] > git --version # timeout=10 [2021-10-14T04:35:12.585Z] > git --version # 'git version 2.24.4' [2021-10-14T04:35:12.595Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T04:35:14.661Z] provisioning config files... [2021-10-14T04:35:14.677Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5857475373879169222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T04:35:15.077Z] ---> docker-login.sh [2021-10-14T04:35:15.077Z] nexus3.edgexfoundry.org:10001 [2021-10-14T04:35:15.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:35:15.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:35:15.343Z] Configure a credential helper to remove this warning. See [2021-10-14T04:35:15.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:35:15.343Z] [2021-10-14T04:35:15.343Z] Login Succeeded [2021-10-14T04:35:15.343Z] nexus3.edgexfoundry.org:10002 [2021-10-14T04:35:15.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:35:15.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:35:15.344Z] Configure a credential helper to remove this warning. See [2021-10-14T04:35:15.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:35:15.344Z] [2021-10-14T04:35:15.344Z] Login Succeeded [2021-10-14T04:35:15.344Z] nexus3.edgexfoundry.org:10003 [2021-10-14T04:35:15.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:35:15.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:35:15.604Z] Configure a credential helper to remove this warning. See [2021-10-14T04:35:15.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:35:15.604Z] [2021-10-14T04:35:15.604Z] Login Succeeded [2021-10-14T04:35:15.604Z] nexus3.edgexfoundry.org:10004 [2021-10-14T04:35:15.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:35:15.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:35:15.604Z] Configure a credential helper to remove this warning. See [2021-10-14T04:35:15.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:35:15.604Z] [2021-10-14T04:35:15.604Z] Login Succeeded [2021-10-14T04:35:15.604Z] docker.io [2021-10-14T04:35:15.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:35:16.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:35:16.173Z] Configure a credential helper to remove this warning. See [2021-10-14T04:35:16.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:35:16.173Z] [2021-10-14T04:35:16.173Z] Login Succeeded [2021-10-14T04:35:16.173Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T04:35:16.212Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T04:35:16.455Z] ========================================================= [2021-10-14T04:35:16.455Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-14T04:35:16.455Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:35:16.849Z] + 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-14T04:35:16.849Z] Sending build context to Docker daemon 2.687MB [2021-10-14T04:35:16.849Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T04:35:16.849Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T04:35:16.849Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-14T04:35:16.849Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T04:35:16.849Z] 31adcdaf11c8: Pulling fs layer [2021-10-14T04:35:16.849Z] b8b176561691: Pulling fs layer [2021-10-14T04:35:16.849Z] 4527c011a84f: Pulling fs layer [2021-10-14T04:35:16.849Z] 5d74067f8e1e: Pulling fs layer [2021-10-14T04:35:16.849Z] e0aca202a116: Pulling fs layer [2021-10-14T04:35:16.849Z] 3a43be97a3b4: Pulling fs layer [2021-10-14T04:35:16.849Z] 34cad66bf833: Pulling fs layer [2021-10-14T04:35:16.849Z] b4e3c513aaa6: Pulling fs layer [2021-10-14T04:35:16.849Z] e0aca202a116: Waiting [2021-10-14T04:35:16.849Z] 3a43be97a3b4: Waiting [2021-10-14T04:35:16.849Z] 34cad66bf833: Waiting [2021-10-14T04:35:16.849Z] b4e3c513aaa6: Waiting [2021-10-14T04:35:16.849Z] 4527c011a84f: Waiting [2021-10-14T04:35:16.849Z] 5d74067f8e1e: Waiting [2021-10-14T04:35:16.849Z] b8b176561691: Verifying Checksum [2021-10-14T04:35:16.849Z] b8b176561691: Download complete [2021-10-14T04:35:16.849Z] 31adcdaf11c8: Download complete [2021-10-14T04:35:16.849Z] 5d74067f8e1e: Verifying Checksum [2021-10-14T04:35:16.849Z] 5d74067f8e1e: Download complete [2021-10-14T04:35:17.115Z] e0aca202a116: Verifying Checksum [2021-10-14T04:35:17.115Z] e0aca202a116: Download complete [2021-10-14T04:35:17.115Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T04:35:17.115Z] a0d0a0d46f8b: Download complete [2021-10-14T04:35:17.115Z] 3a43be97a3b4: Verifying Checksum [2021-10-14T04:35:17.115Z] 3a43be97a3b4: Download complete [2021-10-14T04:35:17.115Z] 34cad66bf833: Verifying Checksum [2021-10-14T04:35:17.115Z] 34cad66bf833: Download complete [2021-10-14T04:35:17.386Z] a0d0a0d46f8b: Pull complete [2021-10-14T04:35:17.653Z] 4527c011a84f: Verifying Checksum [2021-10-14T04:35:17.653Z] 4527c011a84f: Download complete [2021-10-14T04:35:17.653Z] 31adcdaf11c8: Pull complete [2021-10-14T04:35:17.653Z] b4e3c513aaa6: Verifying Checksum [2021-10-14T04:35:17.653Z] b4e3c513aaa6: Download complete [2021-10-14T04:35:17.653Z] b8b176561691: Pull complete [2021-10-14T04:35:21.922Z] 4527c011a84f: Pull complete [2021-10-14T04:35:21.922Z] 5d74067f8e1e: Pull complete [2021-10-14T04:35:21.922Z] e0aca202a116: Pull complete [2021-10-14T04:35:21.922Z] 3a43be97a3b4: Pull complete [2021-10-14T04:35:21.922Z] 34cad66bf833: Pull complete [2021-10-14T04:35:24.495Z] b4e3c513aaa6: Pull complete [2021-10-14T04:35:24.495Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-14T04:35:24.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-14T04:35:24.495Z] ---> 9f6097aaca64 [2021-10-14T04:35:24.495Z] Step 3/10 : ARG MAKE=make build [2021-10-14T04:35:26.412Z] ---> Running in 5f7362d370cb [2021-10-14T04:35:26.412Z] Removing intermediate container 5f7362d370cb [2021-10-14T04:35:26.412Z] ---> a5886242ef3f [2021-10-14T04:35:26.412Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T04:35:26.412Z] ---> Running in be21d2d50886 [2021-10-14T04:35:26.412Z] Removing intermediate container be21d2d50886 [2021-10-14T04:35:26.412Z] ---> 06517e4ee303 [2021-10-14T04:35:26.412Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T04:35:26.412Z] ---> Running in 41bd395a3443 [2021-10-14T04:35:26.412Z] Removing intermediate container 41bd395a3443 [2021-10-14T04:35:26.412Z] ---> 85a67f82dcf2 [2021-10-14T04:35:26.412Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T04:35:26.412Z] ---> Running in 5e6bdc5c9e07 [2021-10-14T04:35:26.998Z] Removing intermediate container 5e6bdc5c9e07 [2021-10-14T04:35:26.998Z] ---> a3e92466d628 [2021-10-14T04:35:26.998Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T04:35:26.998Z] ---> Running in 8c319558ad8d [2021-10-14T04:35:27.569Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T04:35:28.515Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T04:35:28.777Z] OK: 220 MiB in 52 packages [2021-10-14T04:35:29.038Z] Removing intermediate container 8c319558ad8d [2021-10-14T04:35:29.038Z] ---> 4ed90e37ee65 [2021-10-14T04:35:29.038Z] Step 8/10 : COPY . . [2021-10-14T04:35:29.038Z] ---> 1e76512ab16c [2021-10-14T04:35:29.038Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T04:35:29.301Z] ---> Running in c0f970452e70 [2021-10-14T04:36:01.476Z] Removing intermediate container c0f970452e70 [2021-10-14T04:36:01.476Z] ---> 4b70c41d7f48 [2021-10-14T04:36:01.476Z] Step 10/10 : RUN ${MAKE} [2021-10-14T04:36:01.476Z] ---> Running in 1a9c143a74dc [2021-10-14T04:36:01.476Z] noop [2021-10-14T04:36:01.476Z] Removing intermediate container 1a9c143a74dc [2021-10-14T04:36:01.476Z] ---> 2f62646622b3 [2021-10-14T04:36:01.476Z] Successfully built 2f62646622b3 [2021-10-14T04:36:01.476Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:36:01.817Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T04:36:01.817Z] . [Pipeline] withDockerContainer [2021-10-14T04:36:01.909Z] prd-centos7-docker-4c-2g-1315 does not seem to be running inside a container [2021-10-14T04:36:01.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T04:36:02.286Z] $ docker top c9162e23e577a04154f44fd55e3de13ef864b68c1bf533816fe905b99ffe6cbc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T04:36:02.703Z] + go version [2021-10-14T04:36:02.703Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-14T04:36:02.731Z] $ docker stop --time=1 c9162e23e577a04154f44fd55e3de13ef864b68c1bf533816fe905b99ffe6cbc [2021-10-14T04:36:03.909Z] $ docker rm -f c9162e23e577a04154f44fd55e3de13ef864b68c1bf533816fe905b99ffe6cbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:36:04.618Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T04:36:04.618Z] . [Pipeline] withDockerContainer [2021-10-14T04:36:04.696Z] prd-centos7-docker-4c-2g-1315 does not seem to be running inside a container [2021-10-14T04:36:04.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T04:36:05.071Z] $ docker top d6e33770b7460b6aed773ad31b6a4b6e4de64bae246b830b5f0d75e1bd0fb8d3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T04:36:05.519Z] + make test [2021-10-14T04:36:05.519Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T04:36:10.849Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T04:36:37.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T04:36:37.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T04:36:37.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T04:36:37.495Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 23.5% of statements [2021-10-14T04:36:37.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T04:36:37.495Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 28.1% of statements [2021-10-14T04:36:37.495Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements [2021-10-14T04:36:37.495Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.044s coverage: 9.0% of statements [2021-10-14T04:36:37.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T04:36:37.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T04:36:37.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T04:36:37.495Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.059s coverage: 28.7% of statements [2021-10-14T04:36:37.495Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T04:36:38.081Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.046s coverage: 83.3% of statements [2021-10-14T04:36:38.081Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T04:36:38.081Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T04:36:38.081Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 57.8% of statements [2021-10-14T04:36:39.478Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.856s coverage: 87.4% of statements [2021-10-14T04:36:39.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T04:36:39.478Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 4.9% of statements [2021-10-14T04:36:39.478Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T04:36:39.478Z] GO111MODULE=on go vet ./... [2021-10-14T04:36:57.682Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T04:36:57.682Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T04:36:57.682Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T04:36:57.710Z] $ docker stop --time=1 d6e33770b7460b6aed773ad31b6a4b6e4de64bae246b830b5f0d75e1bd0fb8d3 [2021-10-14T04:36:59.289Z] $ docker rm -f d6e33770b7460b6aed773ad31b6a4b6e4de64bae246b830b5f0d75e1bd0fb8d3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T04:36:59.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T04:36:59.991Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-14T04:37:01.415Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T04:37:01.725Z] + ls -al . [2021-10-14T04:37:01.725Z] total 264 [2021-10-14T04:37:01.725Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 14 04:36 . [2021-10-14T04:37:01.725Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 14 04:35 .. [2021-10-14T04:37:01.725Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 14 04:35 bin [2021-10-14T04:37:01.725Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 14 04:35 CHANGELOG.md [2021-10-14T04:37:01.725Z] -rw-r--r--. 1 jenkins jenkins 126692 Oct 14 04:36 coverage.out [2021-10-14T04:37:01.725Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 04:35 .dockerignore [2021-10-14T04:37:01.725Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 14 04:35 example [2021-10-14T04:37:01.725Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 04:35 .git [2021-10-14T04:37:01.725Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 14 04:35 .github [2021-10-14T04:37:01.725Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 14 04:35 .gitignore [2021-10-14T04:37:01.725Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 14 04:35 go.mod [2021-10-14T04:37:01.725Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 14 04:35 go.sum [2021-10-14T04:37:01.725Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 04:35 GOVERNANCE.md [2021-10-14T04:37:01.725Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 14 04:35 internal [2021-10-14T04:37:01.725Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 14 04:35 Jenkinsfile [2021-10-14T04:37:01.725Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 04:35 LICENSE [2021-10-14T04:37:01.725Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 14 04:35 Makefile [2021-10-14T04:37:01.725Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 14 04:35 openapi [2021-10-14T04:37:01.725Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 14 04:35 OWNERS.md [2021-10-14T04:37:01.725Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 04:35 pkg [2021-10-14T04:37:01.725Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 14 04:35 README.md [2021-10-14T04:37:01.725Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 04:35 snap [2021-10-14T04:37:01.725Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 04:32 VERSION [2021-10-14T04:37:01.725Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 04:35 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:37:02.072Z] + 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=c0795a2bb427cce6c8a2d3b94371ac1b88440880 --label arch=amd64 --label version=0.0.0 . [2021-10-14T04:37:02.072Z] Sending build context to Docker daemon 2.814MB [2021-10-14T04:37:02.072Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T04:37:02.072Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T04:37:02.072Z] ---> 2f62646622b3 [2021-10-14T04:37:02.072Z] Step 3/24 : ARG MAKE=make build [2021-10-14T04:37:02.072Z] ---> Running in a0288bb24572 [2021-10-14T04:37:02.332Z] Removing intermediate container a0288bb24572 [2021-10-14T04:37:02.332Z] ---> 2981b522fa0a [2021-10-14T04:37:02.332Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T04:37:02.332Z] ---> Running in 3db2132764f9 [2021-10-14T04:37:02.332Z] Removing intermediate container 3db2132764f9 [2021-10-14T04:37:02.332Z] ---> 9dae2191dff8 [2021-10-14T04:37:02.332Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T04:37:02.332Z] ---> Running in c91765973250 [2021-10-14T04:37:02.332Z] Removing intermediate container c91765973250 [2021-10-14T04:37:02.332Z] ---> bb22d40b66d2 [2021-10-14T04:37:02.332Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T04:37:02.332Z] ---> Running in 772055d2bfca [2021-10-14T04:37:02.908Z] Removing intermediate container 772055d2bfca [2021-10-14T04:37:02.908Z] ---> af13ea70403b [2021-10-14T04:37:02.908Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T04:37:02.908Z] ---> Running in a8d49d7b92c8 [2021-10-14T04:37:03.166Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T04:37:04.105Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T04:37:04.365Z] OK: 220 MiB in 52 packages [2021-10-14T04:37:04.629Z] Removing intermediate container a8d49d7b92c8 [2021-10-14T04:37:04.629Z] ---> 1b177ab14086 [2021-10-14T04:37:04.629Z] Step 8/24 : COPY . . [2021-10-14T04:37:04.899Z] ---> 79915239fa5b [2021-10-14T04:37:04.899Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T04:37:04.899Z] ---> Running in ba92a44ed4d2 [2021-10-14T04:37:05.473Z] Removing intermediate container ba92a44ed4d2 [2021-10-14T04:37:05.473Z] ---> 3fea2cdf558f [2021-10-14T04:37:05.473Z] Step 10/24 : RUN ${MAKE} [2021-10-14T04:37:05.473Z] ---> Running in d2b0d15a378e [2021-10-14T04:37:05.737Z] 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-14T04:37:15.845Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T04:37:16.790Z] Removing intermediate container d2b0d15a378e [2021-10-14T04:37:16.790Z] ---> e96e30a901b1 [2021-10-14T04:37:16.790Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T04:37:17.360Z] 3.14: Pulling from library/alpine [2021-10-14T04:37:17.360Z] a0d0a0d46f8b: Already exists [2021-10-14T04:37:17.622Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T04:37:17.622Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T04:37:17.622Z] ---> 14119a10abf4 [2021-10-14T04:37:17.622Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T04:37:17.622Z] ---> Running in b7ca16b2a43c [2021-10-14T04:37:17.622Z] Removing intermediate container b7ca16b2a43c [2021-10-14T04:37:17.622Z] ---> 01f632b02073 [2021-10-14T04:37:17.622Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T04:37:17.886Z] ---> Running in 9cc52495b954 [2021-10-14T04:37:18.148Z] Removing intermediate container 9cc52495b954 [2021-10-14T04:37:18.148Z] ---> febdc2aa2228 [2021-10-14T04:37:18.148Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T04:37:18.148Z] ---> Running in 82030de80d88 [2021-10-14T04:37:18.410Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T04:37:19.354Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T04:37:19.616Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T04:37:19.877Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T04:37:19.877Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T04:37:19.877Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T04:37:20.138Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T04:37:20.138Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T04:37:20.138Z] OK: 8 MiB in 19 packages [2021-10-14T04:37:20.397Z] Removing intermediate container 82030de80d88 [2021-10-14T04:37:20.397Z] ---> 8f430e922611 [2021-10-14T04:37:20.397Z] Step 15/24 : WORKDIR / [2021-10-14T04:37:20.397Z] ---> Running in cc1ddf1ef965 [2021-10-14T04:37:20.660Z] Removing intermediate container cc1ddf1ef965 [2021-10-14T04:37:20.660Z] ---> ffb443c5ff4c [2021-10-14T04:37:20.660Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T04:37:20.660Z] ---> 51b505dc4758 [2021-10-14T04:37:20.660Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T04:37:20.924Z] ---> 878bae148a7b [2021-10-14T04:37:20.924Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T04:37:21.184Z] ---> 8b0b6bf68da7 [2021-10-14T04:37:21.184Z] Step 19/24 : EXPOSE 59999 [2021-10-14T04:37:21.184Z] ---> Running in 9b626c7ad7da [2021-10-14T04:37:21.184Z] Removing intermediate container 9b626c7ad7da [2021-10-14T04:37:21.184Z] ---> 4c1d7e0e5e49 [2021-10-14T04:37:21.184Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T04:37:21.445Z] ---> Running in 2dbafb02c35c [2021-10-14T04:37:21.445Z] Removing intermediate container 2dbafb02c35c [2021-10-14T04:37:21.445Z] ---> 775401679679 [2021-10-14T04:37:21.445Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T04:37:21.445Z] ---> Running in 4dc9d307e78b [2021-10-14T04:37:21.445Z] Removing intermediate container 4dc9d307e78b [2021-10-14T04:37:21.445Z] ---> e5a1bf2db74f [2021-10-14T04:37:21.445Z] Step 22/24 : LABEL arch=amd64 [2021-10-14T04:37:21.445Z] ---> Running in 907963e951ea [2021-10-14T04:37:21.705Z] Removing intermediate container 907963e951ea [2021-10-14T04:37:21.705Z] ---> 2f1ffc2be557 [2021-10-14T04:37:21.705Z] Step 23/24 : LABEL git_sha=c0795a2bb427cce6c8a2d3b94371ac1b88440880 [2021-10-14T04:37:21.705Z] ---> Running in 945f49a4fcbf [2021-10-14T04:37:21.705Z] Removing intermediate container 945f49a4fcbf [2021-10-14T04:37:21.705Z] ---> 122e4ab07a62 [2021-10-14T04:37:21.705Z] Step 24/24 : LABEL version=0.0.0 [2021-10-14T04:37:21.705Z] ---> Running in 1fa5ed613ec8 [2021-10-14T04:37:21.705Z] Removing intermediate container 1fa5ed613ec8 [2021-10-14T04:37:21.705Z] ---> d77ffecef3ce [2021-10-14T04:37:21.705Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T04:37:21.967Z] Successfully built d77ffecef3ce [2021-10-14T04:37:21.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-14T04:37:22.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T04:37:22.895Z] [2021-10-14T04:37:22.895Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:37:23.226Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T04:37:23.226Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T04:37:23.226Z] b4d181a07f80: Pulling fs layer [2021-10-14T04:37:23.226Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T04:37:23.226Z] ed53099fbce6: Pulling fs layer [2021-10-14T04:37:23.226Z] dc539afda2c1: Pulling fs layer [2021-10-14T04:37:23.226Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T04:37:23.226Z] 9065ff56babe: Pulling fs layer [2021-10-14T04:37:23.226Z] d287ab97295c: Pulling fs layer [2021-10-14T04:37:23.226Z] dc539afda2c1: Waiting [2021-10-14T04:37:23.226Z] 77bc0d833cb6: Waiting [2021-10-14T04:37:23.226Z] 9065ff56babe: Waiting [2021-10-14T04:37:23.226Z] d287ab97295c: Waiting [2021-10-14T04:37:23.226Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T04:37:23.226Z] a1111a8f2ec3: Download complete [2021-10-14T04:37:23.226Z] dc539afda2c1: Verifying Checksum [2021-10-14T04:37:23.226Z] dc539afda2c1: Download complete [2021-10-14T04:37:23.491Z] ed53099fbce6: Verifying Checksum [2021-10-14T04:37:23.491Z] ed53099fbce6: Download complete [2021-10-14T04:37:23.491Z] 9065ff56babe: Verifying Checksum [2021-10-14T04:37:23.491Z] 9065ff56babe: Download complete [2021-10-14T04:37:23.491Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T04:37:23.491Z] 77bc0d833cb6: Download complete [2021-10-14T04:37:23.491Z] b4d181a07f80: Verifying Checksum [2021-10-14T04:37:23.491Z] b4d181a07f80: Download complete [2021-10-14T04:37:24.064Z] d287ab97295c: Verifying Checksum [2021-10-14T04:37:24.064Z] d287ab97295c: Download complete [2021-10-14T04:37:25.025Z] b4d181a07f80: Pull complete [2021-10-14T04:37:25.025Z] a1111a8f2ec3: Pull complete [2021-10-14T04:37:25.615Z] ed53099fbce6: Pull complete [2021-10-14T04:37:25.615Z] dc539afda2c1: Pull complete [2021-10-14T04:37:25.874Z] 77bc0d833cb6: Pull complete [2021-10-14T04:37:26.136Z] 9065ff56babe: Pull complete [2021-10-14T04:37:31.469Z] d287ab97295c: Pull complete [2021-10-14T04:37:31.469Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T04:37:31.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T04:37:31.469Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T04:37:31.554Z] prd-centos7-docker-4c-2g-1315 does not seem to be running inside a container [2021-10-14T04:37:31.594Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T04:37:34.238Z] $ docker top 6b8adb7119d12b2c5fb1680ea887234fd471ed7e5b05f252155e5df51081fa84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T04:37:34.732Z] ---> job-cost.sh [2021-10-14T04:37:34.732Z] lf-activate-venv: SKIPPING [2021-10-14T04:37:34.732Z] INFO: No Stack... [2021-10-14T04:37:34.992Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T04:37:35.252Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T04:37:35.566Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-10-14T04:37:35.566Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T04:37:35.617Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1033-1-stack-cost] [2021-10-14T04:37:35.622Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1033-1-stack-cost] did not exist. Created. [2021-10-14T04:37:35.622Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1033-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T04:37:36.002Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-14T04:37:36.059Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T04:37:36.076Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1033-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T04:37:36.135Z] $ docker stop --time=1 6b8adb7119d12b2c5fb1680ea887234fd471ed7e5b05f252155e5df51081fa84 [2021-10-14T04:37:37.273Z] $ docker rm -f 6b8adb7119d12b2c5fb1680ea887234fd471ed7e5b05f252155e5df51081fa84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-14T04:45:41.842Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1320 in /w/workspace/gexfoundry_device-sdk-go_PR-1033 [Pipeline] { [Pipeline] ws [2021-10-14T04:45:41.878Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-14T04:45:42.126Z] Selected Git installation does not exist. Using Default [2021-10-14T04:45:42.126Z] The recommended git tool is: NONE [2021-10-14T04:45:48.111Z] using credential edgex-jenkins-ssh [2021-10-14T04:45:48.129Z] Cloning the remote Git repository [2021-10-14T04:45:48.187Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T04:45:48.293Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-14T04:45:48.451Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T04:45:48.452Z] > git --version # timeout=10 [2021-10-14T04:45:48.499Z] > git --version # 'git version 2.17.1' [2021-10-14T04:45:48.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T04:45:48.644Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T04:45:50.387Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T04:45:50.407Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T04:45:50.448Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T04:45:50.490Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T04:45:50.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T04:45:50.505Z] > 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-14T04:45:51.227Z] Merging remotes/origin/main commit 5ed4cacd84df9b58bf582e255ca77028d77e465f into PR head commit c0795a2bb427cce6c8a2d3b94371ac1b88440880 [2021-10-14T04:45:51.506Z] Merge succeeded, producing c0795a2bb427cce6c8a2d3b94371ac1b88440880 [2021-10-14T04:45:51.506Z] Checking out Revision c0795a2bb427cce6c8a2d3b94371ac1b88440880 (PR-1033) [2021-10-14T04:45:51.251Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T04:45:51.270Z] > git checkout -f c0795a2bb427cce6c8a2d3b94371ac1b88440880 # timeout=10 [2021-10-14T04:45:51.396Z] > git remote # timeout=10 [2021-10-14T04:45:51.425Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T04:45:51.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T04:45:51.458Z] > git merge 5ed4cacd84df9b58bf582e255ca77028d77e465f # timeout=10 [2021-10-14T04:45:51.484Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T04:45:51.516Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T04:45:51.530Z] > git checkout -f c0795a2bb427cce6c8a2d3b94371ac1b88440880 # timeout=10 [2021-10-14T04:45:55.949Z] Commit message: "feat: add NewCommandValueWithOrigin function" [2021-10-14T04:45:56.014Z] > git --version # timeout=10 [2021-10-14T04:45:56.026Z] > git --version # 'git version 2.17.1' [2021-10-14T04:45:56.035Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T04:45:57.255Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-14T04:45:57.256Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T04:45:57.256Z] Dload Upload Total Spent Left Speed [2021-10-14T04:45:57.256Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 80435 0 --:--:-- --:--:-- --:--:-- 80435 [Pipeline] sh [2021-10-14T04:45:57.704Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-14T04:45:58.082Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2021-10-14T04:45:58.082Z] /etc/docker/daemon.json [2021-10-14T04:45:58.082Z] { [2021-10-14T04:45:58.082Z] "registry-mirrors": [ [2021-10-14T04:45:58.082Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-14T04:45:58.082Z] ], [2021-10-14T04:45:58.082Z] "bip": "10.250.0.254/24", [2021-10-14T04:45:58.082Z] "hosts": [ [2021-10-14T04:45:58.082Z] "tcp://0.0.0.0:5555", [2021-10-14T04:45:58.082Z] "unix:///var/run/docker.sock" [2021-10-14T04:45:58.082Z] ], [2021-10-14T04:45:58.082Z] "mtu": 1458, [2021-10-14T04:45:58.082Z] "selinux-enabled": true, [2021-10-14T04:45:58.082Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-14T04:45:58.082Z] } [Pipeline] sh [2021-10-14T04:45:58.542Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-14T04:45:58.922Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T04:46:17.396Z] provisioning config files... [2021-10-14T04:46:17.431Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7224512607380774240tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T04:46:17.861Z] ---> docker-login.sh [2021-10-14T04:46:17.861Z] nexus3.edgexfoundry.org:10001 [2021-10-14T04:46:19.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:46:19.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:46:19.592Z] Configure a credential helper to remove this warning. See [2021-10-14T04:46:19.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:46:19.592Z] [2021-10-14T04:46:19.592Z] Login Succeeded [2021-10-14T04:46:19.592Z] nexus3.edgexfoundry.org:10002 [2021-10-14T04:46:20.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:46:20.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:46:20.203Z] Configure a credential helper to remove this warning. See [2021-10-14T04:46:20.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:46:20.203Z] [2021-10-14T04:46:20.203Z] Login Succeeded [2021-10-14T04:46:20.203Z] nexus3.edgexfoundry.org:10003 [2021-10-14T04:46:20.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:46:20.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:46:20.808Z] Configure a credential helper to remove this warning. See [2021-10-14T04:46:20.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:46:20.808Z] [2021-10-14T04:46:20.808Z] Login Succeeded [2021-10-14T04:46:20.808Z] nexus3.edgexfoundry.org:10004 [2021-10-14T04:46:21.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:46:21.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:46:21.420Z] Configure a credential helper to remove this warning. See [2021-10-14T04:46:21.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:46:21.420Z] [2021-10-14T04:46:21.420Z] Login Succeeded [2021-10-14T04:46:21.420Z] docker.io [2021-10-14T04:46:21.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T04:46:22.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T04:46:22.303Z] Configure a credential helper to remove this warning. See [2021-10-14T04:46:22.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T04:46:22.303Z] [2021-10-14T04:46:22.303Z] Login Succeeded [2021-10-14T04:46:22.303Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T04:46:22.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T04:46:22.993Z] ========================================================= [2021-10-14T04:46:22.993Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-14T04:46:22.993Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:46:23.666Z] + 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-14T04:46:24.286Z] Sending build context to Docker daemon 2.685MB [2021-10-14T04:46:24.286Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T04:46:24.286Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T04:46:24.567Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-14T04:46:24.567Z] 552d1f2373af: Pulling fs layer [2021-10-14T04:46:24.567Z] ea3f2d53f512: Pulling fs layer [2021-10-14T04:46:24.567Z] 9e70ebbbe112: Pulling fs layer [2021-10-14T04:46:24.567Z] 7a9cfe048b4a: Pulling fs layer [2021-10-14T04:46:24.567Z] 72dc09318566: Pulling fs layer [2021-10-14T04:46:24.567Z] f4f7b4309257: Pulling fs layer [2021-10-14T04:46:24.567Z] 0ac9a79272e3: Pulling fs layer [2021-10-14T04:46:24.567Z] b78e95d17946: Pulling fs layer [2021-10-14T04:46:24.567Z] 7a9cfe048b4a: Waiting [2021-10-14T04:46:24.567Z] 72dc09318566: Waiting [2021-10-14T04:46:24.567Z] f4f7b4309257: Waiting [2021-10-14T04:46:24.567Z] 0ac9a79272e3: Waiting [2021-10-14T04:46:24.567Z] b78e95d17946: Waiting [2021-10-14T04:46:24.567Z] 9e70ebbbe112: Verifying Checksum [2021-10-14T04:46:24.567Z] 9e70ebbbe112: Download complete [2021-10-14T04:46:24.567Z] ea3f2d53f512: Verifying Checksum [2021-10-14T04:46:24.567Z] ea3f2d53f512: Download complete [2021-10-14T04:46:24.567Z] 72dc09318566: Verifying Checksum [2021-10-14T04:46:24.567Z] 72dc09318566: Download complete [2021-10-14T04:46:24.567Z] f4f7b4309257: Verifying Checksum [2021-10-14T04:46:24.567Z] f4f7b4309257: Download complete [2021-10-14T04:46:24.567Z] 0ac9a79272e3: Download complete [2021-10-14T04:46:24.567Z] 552d1f2373af: Verifying Checksum [2021-10-14T04:46:24.567Z] 552d1f2373af: Download complete [2021-10-14T04:46:25.582Z] 552d1f2373af: Pull complete [2021-10-14T04:46:26.207Z] ea3f2d53f512: Pull complete [2021-10-14T04:46:26.818Z] 9e70ebbbe112: Pull complete [2021-10-14T04:46:26.818Z] b78e95d17946: Verifying Checksum [2021-10-14T04:46:26.818Z] b78e95d17946: Download complete [2021-10-14T04:46:27.102Z] 7a9cfe048b4a: Verifying Checksum [2021-10-14T04:46:27.102Z] 7a9cfe048b4a: Download complete [2021-10-14T04:46:37.317Z] 7a9cfe048b4a: Pull complete [2021-10-14T04:46:37.317Z] 72dc09318566: Pull complete [2021-10-14T04:46:37.598Z] f4f7b4309257: Pull complete [2021-10-14T04:46:37.880Z] 0ac9a79272e3: Pull complete [2021-10-14T04:46:44.664Z] b78e95d17946: Pull complete [2021-10-14T04:46:44.664Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-14T04:46:44.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-14T04:46:44.664Z] ---> 8b459fc5aaf0 [2021-10-14T04:46:44.664Z] Step 3/10 : ARG MAKE=make build [2021-10-14T04:46:48.104Z] ---> Running in 89276396439a [2021-10-14T04:46:48.709Z] Removing intermediate container 89276396439a [2021-10-14T04:46:48.709Z] ---> 91b247474003 [2021-10-14T04:46:48.709Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T04:46:48.709Z] ---> Running in a2a2727c0952 [2021-10-14T04:46:49.314Z] Removing intermediate container a2a2727c0952 [2021-10-14T04:46:49.314Z] ---> c4a53db964b7 [2021-10-14T04:46:49.314Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T04:46:49.314Z] ---> Running in 3cb2b08bb488 [2021-10-14T04:46:49.918Z] Removing intermediate container 3cb2b08bb488 [2021-10-14T04:46:49.918Z] ---> c34d02de1bb3 [2021-10-14T04:46:49.918Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T04:46:50.216Z] ---> Running in 871edfbeffbe [2021-10-14T04:46:52.896Z] Removing intermediate container 871edfbeffbe [2021-10-14T04:46:52.896Z] ---> 3afb9206e43f [2021-10-14T04:46:52.896Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T04:46:52.896Z] ---> Running in c351c479de93 [2021-10-14T04:46:53.895Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T04:46:54.897Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T04:46:55.894Z] OK: 219 MiB in 52 packages [2021-10-14T04:46:56.899Z] Removing intermediate container c351c479de93 [2021-10-14T04:46:56.899Z] ---> de8ab9681465 [2021-10-14T04:46:56.899Z] Step 8/10 : COPY . . [2021-10-14T04:46:58.368Z] ---> 704437c0e573 [2021-10-14T04:46:58.368Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T04:46:58.368Z] ---> Running in b216e2a7c08e [2021-10-14T04:48:20.256Z] Removing intermediate container b216e2a7c08e [2021-10-14T04:48:20.256Z] ---> 567f26bdfa34 [2021-10-14T04:48:20.256Z] Step 10/10 : RUN ${MAKE} [2021-10-14T04:48:20.256Z] ---> Running in c7717df19a73 [2021-10-14T04:48:20.256Z] noop [2021-10-14T04:48:20.256Z] Removing intermediate container c7717df19a73 [2021-10-14T04:48:20.256Z] ---> f661451c9b8c [2021-10-14T04:48:20.256Z] Successfully built f661451c9b8c [2021-10-14T04:48:20.256Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:48:20.638Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T04:48:20.638Z] . [Pipeline] withDockerContainer [2021-10-14T04:48:20.935Z] prd-ubuntu18.04-docker-arm64-4c-16g-1320 does not seem to be running inside a container [2021-10-14T04:48:21.035Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-14T04:48:22.711Z] $ docker top b12dd861c0b5ffed15051a03b7a5630be460de15a8faac08d11c75b5f111fd57 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T04:48:23.758Z] + go version [2021-10-14T04:48:23.758Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-14T04:48:23.797Z] $ docker stop --time=1 b12dd861c0b5ffed15051a03b7a5630be460de15a8faac08d11c75b5f111fd57 [2021-10-14T04:48:25.599Z] $ docker rm -f b12dd861c0b5ffed15051a03b7a5630be460de15a8faac08d11c75b5f111fd57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:48:26.465Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T04:48:26.466Z] . [Pipeline] withDockerContainer [2021-10-14T04:48:26.753Z] prd-ubuntu18.04-docker-arm64-4c-16g-1320 does not seem to be running inside a container [2021-10-14T04:48:26.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-14T04:48:28.482Z] $ docker top 8f81941e468260d6c05f0d62aed9d8ef15a3708daeaa9591eb890f821b4efe31 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T04:48:29.534Z] + make test [2021-10-14T04:48:29.534Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T04:48:56.439Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T04:50:04.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T04:50:04.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T04:50:04.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T04:50:10.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.355s coverage: 23.5% of statements [2021-10-14T04:50:10.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T04:50:10.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.274s coverage: 28.1% of statements [2021-10-14T04:50:10.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.231s coverage: 78.9% of statements [2021-10-14T04:50:10.144Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.240s coverage: 9.0% of statements [2021-10-14T04:50:10.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T04:50:10.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T04:50:10.144Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T04:50:11.158Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.325s coverage: 28.7% of statements [2021-10-14T04:50:11.158Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T04:50:13.178Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.233s coverage: 83.3% of statements [2021-10-14T04:50:13.178Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T04:50:13.178Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T04:50:13.178Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.387s coverage: 57.8% of statements [2021-10-14T04:50:15.190Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.012s coverage: 87.4% of statements [2021-10-14T04:50:15.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T04:50:15.191Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.181s coverage: 4.9% of statements [2021-10-14T04:50:15.191Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T04:50:15.798Z] GO111MODULE=on go vet ./... [2021-10-14T04:51:12.572Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T04:51:12.572Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T04:51:12.572Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T04:51:12.885Z] $ docker stop --time=1 8f81941e468260d6c05f0d62aed9d8ef15a3708daeaa9591eb890f821b4efe31 [2021-10-14T04:51:14.974Z] $ docker rm -f 8f81941e468260d6c05f0d62aed9d8ef15a3708daeaa9591eb890f821b4efe31 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T04:51:16.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T04:51:16.211Z] Warning: overwriting stash ‘coverage-report’ [2021-10-14T04:51:16.877Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T04:51:17.535Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T04:51:17.898Z] + ls -al . [2021-10-14T04:51:17.898Z] total 300 [2021-10-14T04:51:17.898Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 04:51 . [2021-10-14T04:51:17.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 04:45 .. [2021-10-14T04:51:17.898Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 04:45 .dockerignore [2021-10-14T04:51:17.898Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 04:45 .git [2021-10-14T04:51:17.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 04:45 .github [2021-10-14T04:51:17.898Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 14 04:45 .gitignore [2021-10-14T04:51:17.898Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 14 04:45 CHANGELOG.md [2021-10-14T04:51:17.898Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 04:45 GOVERNANCE.md [2021-10-14T04:51:17.898Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 14 04:45 Jenkinsfile [2021-10-14T04:51:17.899Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 04:45 LICENSE [2021-10-14T04:51:17.899Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 14 04:45 Makefile [2021-10-14T04:51:17.899Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 14 04:45 OWNERS.md [2021-10-14T04:51:17.899Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 14 04:45 README.md [2021-10-14T04:51:17.899Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 04:32 VERSION [2021-10-14T04:51:17.899Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 04:45 bin [2021-10-14T04:51:17.899Z] -rw-r--r-- 1 jenkins jenkins 126692 Oct 14 04:50 coverage.out [2021-10-14T04:51:17.899Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 04:45 example [2021-10-14T04:51:17.899Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 14 04:45 go.mod [2021-10-14T04:51:17.899Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 14 04:45 go.sum [2021-10-14T04:51:17.899Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 04:45 internal [2021-10-14T04:51:17.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 04:45 openapi [2021-10-14T04:51:17.899Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 04:45 pkg [2021-10-14T04:51:17.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 04:45 snap [2021-10-14T04:51:17.899Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 04:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:51:18.277Z] + 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=c0795a2bb427cce6c8a2d3b94371ac1b88440880 --label arch=arm64 --label version=0.0.0 . [2021-10-14T04:51:18.886Z] Sending build context to Docker daemon 2.812MB [2021-10-14T04:51:18.887Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T04:51:18.887Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T04:51:18.887Z] ---> f661451c9b8c [2021-10-14T04:51:18.887Z] Step 3/24 : ARG MAKE=make build [2021-10-14T04:51:18.887Z] ---> Running in 8e05b1d651c7 [2021-10-14T04:51:19.502Z] Removing intermediate container 8e05b1d651c7 [2021-10-14T04:51:19.502Z] ---> 3bbbf61987cf [2021-10-14T04:51:19.502Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T04:51:19.502Z] ---> Running in e3907bac8cdc [2021-10-14T04:51:20.109Z] Removing intermediate container e3907bac8cdc [2021-10-14T04:51:20.109Z] ---> 513a0eb27327 [2021-10-14T04:51:20.109Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T04:51:20.387Z] ---> Running in 8896327824b7 [2021-10-14T04:51:20.990Z] Removing intermediate container 8896327824b7 [2021-10-14T04:51:20.990Z] ---> dce2874cf79d [2021-10-14T04:51:20.990Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T04:51:20.990Z] ---> Running in 24f4116c0096 [2021-10-14T04:51:22.981Z] Removing intermediate container 24f4116c0096 [2021-10-14T04:51:22.981Z] ---> da58d7cfdab7 [2021-10-14T04:51:22.981Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T04:51:23.258Z] ---> Running in 4c0fd4357108 [2021-10-14T04:51:24.707Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T04:51:25.696Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T04:51:26.303Z] OK: 219 MiB in 52 packages [2021-10-14T04:51:27.759Z] Removing intermediate container 4c0fd4357108 [2021-10-14T04:51:27.759Z] ---> f03fd0f2fcc0 [2021-10-14T04:51:27.759Z] Step 8/24 : COPY . . [2021-10-14T04:51:28.750Z] ---> 726719a66389 [2021-10-14T04:51:28.750Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T04:51:29.029Z] ---> Running in c6cf41af5d90 [2021-10-14T04:51:31.679Z] Removing intermediate container c6cf41af5d90 [2021-10-14T04:51:31.679Z] ---> e75f5957a0f8 [2021-10-14T04:51:31.679Z] Step 10/24 : RUN ${MAKE} [2021-10-14T04:51:31.679Z] ---> Running in f8af403c091e [2021-10-14T04:51:33.135Z] 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-14T04:52:05.592Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T04:52:09.014Z] Removing intermediate container f8af403c091e [2021-10-14T04:52:09.014Z] ---> 03787ea70b77 [2021-10-14T04:52:09.014Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T04:52:09.617Z] 3.14: Pulling from library/alpine [2021-10-14T04:52:09.617Z] 552d1f2373af: Already exists [2021-10-14T04:52:09.895Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T04:52:09.895Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T04:52:09.895Z] ---> bb3de5531c18 [2021-10-14T04:52:09.895Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T04:52:10.181Z] ---> Running in c546bae06bed [2021-10-14T04:52:10.467Z] Removing intermediate container c546bae06bed [2021-10-14T04:52:10.468Z] ---> b340679e22f1 [2021-10-14T04:52:10.468Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T04:52:10.746Z] ---> Running in 6251d8d7f6e0 [2021-10-14T04:52:12.746Z] Removing intermediate container 6251d8d7f6e0 [2021-10-14T04:52:12.746Z] ---> b770ec701212 [2021-10-14T04:52:12.746Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T04:52:12.746Z] ---> Running in 8fb50444f07d [2021-10-14T04:52:14.197Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T04:52:15.184Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T04:52:15.785Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T04:52:15.785Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T04:52:16.061Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T04:52:16.061Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T04:52:16.339Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T04:52:16.339Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T04:52:16.339Z] OK: 8 MiB in 19 packages [2021-10-14T04:52:17.346Z] Removing intermediate container 8fb50444f07d [2021-10-14T04:52:17.346Z] ---> 19d45a2947de [2021-10-14T04:52:17.346Z] Step 15/24 : WORKDIR / [2021-10-14T04:52:17.623Z] ---> Running in b4f704ada25a [2021-10-14T04:52:18.227Z] Removing intermediate container b4f704ada25a [2021-10-14T04:52:18.227Z] ---> 869f942e10d7 [2021-10-14T04:52:18.227Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T04:52:18.830Z] ---> a603c9b06355 [2021-10-14T04:52:18.830Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T04:52:20.280Z] ---> 0e9d04c0af41 [2021-10-14T04:52:20.280Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T04:52:20.887Z] ---> ebfa3f1df3af [2021-10-14T04:52:20.887Z] Step 19/24 : EXPOSE 59999 [2021-10-14T04:52:21.165Z] ---> Running in 9ef74dc9b23f [2021-10-14T04:52:21.446Z] Removing intermediate container 9ef74dc9b23f [2021-10-14T04:52:21.446Z] ---> 345106b11a71 [2021-10-14T04:52:21.446Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T04:52:21.727Z] ---> Running in b34730ef27d3 [2021-10-14T04:52:22.331Z] Removing intermediate container b34730ef27d3 [2021-10-14T04:52:22.331Z] ---> a299fe20edfe [2021-10-14T04:52:22.331Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T04:52:22.331Z] ---> Running in d12bc327b172 [2021-10-14T04:52:22.940Z] Removing intermediate container d12bc327b172 [2021-10-14T04:52:22.940Z] ---> 8a9f580faf96 [2021-10-14T04:52:22.940Z] Step 22/24 : LABEL arch=arm64 [2021-10-14T04:52:22.940Z] ---> Running in 9047aec0f59d [2021-10-14T04:52:23.550Z] Removing intermediate container 9047aec0f59d [2021-10-14T04:52:23.550Z] ---> 1d4d12506a48 [2021-10-14T04:52:23.550Z] Step 23/24 : LABEL git_sha=c0795a2bb427cce6c8a2d3b94371ac1b88440880 [2021-10-14T04:52:23.550Z] ---> Running in c10d27f659fb [2021-10-14T04:52:23.828Z] Removing intermediate container c10d27f659fb [2021-10-14T04:52:23.828Z] ---> 2dcac6492753 [2021-10-14T04:52:23.828Z] Step 24/24 : LABEL version=0.0.0 [2021-10-14T04:52:24.109Z] ---> Running in 529b1f3a2cf9 [2021-10-14T04:52:24.387Z] Removing intermediate container 529b1f3a2cf9 [2021-10-14T04:52:24.387Z] ---> 7dbea7701782 [2021-10-14T04:52:24.387Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T04:52:24.387Z] Successfully built 7dbea7701782 [2021-10-14T04:52:24.387Z] 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-14T04:52:25.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T04:52:25.412Z] [2021-10-14T04:52:25.412Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:52:25.824Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T04:52:26.107Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-14T04:52:26.107Z] 448f6bf000e3: Pulling fs layer [2021-10-14T04:52:26.107Z] f757da607395: Pulling fs layer [2021-10-14T04:52:26.107Z] 05883995daec: Pulling fs layer [2021-10-14T04:52:26.107Z] 8603b9c90790: Pulling fs layer [2021-10-14T04:52:26.107Z] 1560dd03e051: Pulling fs layer [2021-10-14T04:52:26.107Z] 27f5ce0e4adf: Pulling fs layer [2021-10-14T04:52:26.107Z] c2d8d7efcc4b: Pulling fs layer [2021-10-14T04:52:26.107Z] 8603b9c90790: Waiting [2021-10-14T04:52:26.107Z] 1560dd03e051: Waiting [2021-10-14T04:52:26.107Z] 27f5ce0e4adf: Waiting [2021-10-14T04:52:26.107Z] c2d8d7efcc4b: Waiting [2021-10-14T04:52:26.425Z] f757da607395: Verifying Checksum [2021-10-14T04:52:26.425Z] f757da607395: Download complete [2021-10-14T04:52:26.425Z] 8603b9c90790: Verifying Checksum [2021-10-14T04:52:26.425Z] 8603b9c90790: Download complete [2021-10-14T04:52:26.425Z] 1560dd03e051: Verifying Checksum [2021-10-14T04:52:26.425Z] 1560dd03e051: Download complete [2021-10-14T04:52:26.711Z] 27f5ce0e4adf: Verifying Checksum [2021-10-14T04:52:26.711Z] 27f5ce0e4adf: Download complete [2021-10-14T04:52:26.711Z] 05883995daec: Verifying Checksum [2021-10-14T04:52:26.711Z] 05883995daec: Download complete [2021-10-14T04:52:26.711Z] 448f6bf000e3: Verifying Checksum [2021-10-14T04:52:26.711Z] 448f6bf000e3: Download complete [2021-10-14T04:52:30.152Z] c2d8d7efcc4b: Verifying Checksum [2021-10-14T04:52:30.152Z] c2d8d7efcc4b: Download complete [2021-10-14T04:52:30.762Z] 448f6bf000e3: Pull complete [2021-10-14T04:52:31.362Z] f757da607395: Pull complete [2021-10-14T04:52:32.821Z] 05883995daec: Pull complete [2021-10-14T04:52:33.101Z] 8603b9c90790: Pull complete [2021-10-14T04:52:34.093Z] 1560dd03e051: Pull complete [2021-10-14T04:52:34.372Z] 27f5ce0e4adf: Pull complete [2021-10-14T04:52:49.534Z] c2d8d7efcc4b: Pull complete [2021-10-14T04:52:49.534Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-14T04:52:49.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T04:52:49.534Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-14T04:52:49.776Z] prd-ubuntu18.04-docker-arm64-4c-16g-1320 does not seem to be running inside a container [2021-10-14T04:52:49.874Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-14T04:52:53.732Z] $ docker top 1044e43d990a956c8eee99fab07d471afba098dbc0bff30373d3de50a5ec4061 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T04:52:54.702Z] ---> job-cost.sh [2021-10-14T04:52:54.702Z] lf-activate-venv: SKIPPING [2021-10-14T04:52:54.702Z] INFO: No Stack... [2021-10-14T04:52:54.977Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-14T04:52:55.578Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T04:52:56.263Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-10-14T04:52:56.263Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T04:52:56.353Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1033-1-stack-cost] [2021-10-14T04:52:56.357Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1033-1-stack-cost] did not exist. Created. [2021-10-14T04:52:56.357Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1033-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T04:52:57.100Z] /w/workspace/device-sdk-go/1@tmp/durable-f70c7ea5/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-f70c7ea5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-14T04:52:57.799Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-14T04:52:57.837Z] Warning: overwriting stash ‘stack-cost’ [2021-10-14T04:52:57.894Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T04:52:57.910Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1033-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T04:52:57.973Z] $ docker stop --time=1 1044e43d990a956c8eee99fab07d471afba098dbc0bff30373d3de50a5ec4061 [2021-10-14T04:52:59.560Z] $ docker rm -f 1044e43d990a956c8eee99fab07d471afba098dbc0bff30373d3de50a5ec4061 [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-14T04:53:00.727Z] provisioning config files... [2021-10-14T04:53:00.736Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/config9027099733994867904tmp [Pipeline] { [Pipeline] sh [2021-10-14T04:53:01.089Z] + set +x [2021-10-14T04:53:01.090Z] + bash -s -- [2021-10-14T04:53:01.090Z] + curl -s https://codecov.io/bash [2021-10-14T04:53:01.090Z] [2021-10-14T04:53:01.090Z] _____ _ [2021-10-14T04:53:01.090Z] / ____| | | [2021-10-14T04:53:01.090Z] | | ___ __| | ___ ___ _____ __ [2021-10-14T04:53:01.090Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-14T04:53:01.090Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-14T04:53:01.090Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-14T04:53:01.090Z] Bash-1.0.6 [2021-10-14T04:53:01.090Z] [2021-10-14T04:53:01.090Z] [2021-10-14T04:53:01.090Z] ==> git version 2.24.4 found [2021-10-14T04:53:01.090Z] ==> 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-14T04:53:01.090Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-14T04:53:01.090Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-14T04:53:01.090Z] ==> Jenkins CI detected. [2021-10-14T04:53:01.090Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1033 [2021-10-14T04:53:01.090Z] project root: . [2021-10-14T04:53:01.090Z] --> token set from env [2021-10-14T04:53:01.090Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-14T04:53:01.356Z] ==> Running gcov in . (disable via -X gcov) [2021-10-14T04:53:01.356Z] ==> Python coveragepy not found [2021-10-14T04:53:01.356Z] ==> Searching for coverage reports in: [2021-10-14T04:53:01.356Z] + . [2021-10-14T04:53:01.356Z] -> Found 1 reports [2021-10-14T04:53:01.356Z] ==> Detecting git/mercurial file structure [2021-10-14T04:53:01.356Z] ==> Reading reports [2021-10-14T04:53:01.356Z] + ./coverage.out bytes=126692 [2021-10-14T04:53:01.356Z] ==> Appending adjustments [2021-10-14T04:53:01.356Z] https://docs.codecov.io/docs/fixing-reports [2021-10-14T04:53:01.617Z] + Found adjustments [2021-10-14T04:53:01.617Z] ==> Gzipping contents [2021-10-14T04:53:01.617Z] 16K /tmp/codecov.Nd7HcF.gz [2021-10-14T04:53:01.617Z] ==> Uploading reports [2021-10-14T04:53:01.617Z] url: https://codecov.io [2021-10-14T04:53:01.617Z] query: branch=PR-1033&commit=c0795a2bb427cce6c8a2d3b94371ac1b88440880&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1033%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1033&job=&cmd_args= [2021-10-14T04:53:01.617Z] -> Pinging Codecov [2021-10-14T04:53:01.617Z] 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=c0795a2bb427cce6c8a2d3b94371ac1b88440880&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1033%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1033&job=&cmd_args= [2021-10-14T04:53:01.877Z] -> Uploading to [2021-10-14T04:53:01.877Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-14/7E55EF52A471D76F132DFD9A03CDDE97/c0795a2bb427cce6c8a2d3b94371ac1b88440880/63abf5d6-b6d2-49fe-86c8-fdbf1fd31b8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T045301Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=132403a96e4f3239d6035fa84e7954aacbb0cff071e44c2b3082957bf0b5cda8 [2021-10-14T04:53:01.877Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T04:53:01.877Z] Dload Upload Total Spent Left Speed [2021-10-14T04:53:02.448Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16110 0 0 100 16110 0 47699 --:--:-- --:--:-- --:--:-- 47804 [2021-10-14T04:53:02.448Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c0795a2bb427cce6c8a2d3b94371ac1b88440880 [Pipeline] } [2021-10-14T04:53:02.467Z] 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-14T04:53:04.370Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1033/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-14T04:53:04.715Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T04:53:05.313Z] ---> package-listing.sh [2021-10-14T04:53:05.313Z] ++ facter osfamily [2021-10-14T04:53:05.313Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-14T04:53:05.573Z] + OS_FAMILY=redhat [2021-10-14T04:53:05.574Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1033 [2021-10-14T04:53:05.574Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-14T04:53:05.574Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-14T04:53:05.574Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-14T04:53:05.574Z] + PACKAGES=/tmp/packages_start.txt [2021-10-14T04:53:05.574Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1033 ']' [2021-10-14T04:53:05.574Z] + PACKAGES=/tmp/packages_end.txt [2021-10-14T04:53:05.574Z] + case "${OS_FAMILY}" in [2021-10-14T04:53:05.574Z] + rpm -qa [2021-10-14T04:53:05.574Z] + sort [2021-10-14T04:53:06.145Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-14T04:53:06.145Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-14T04:53:06.145Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-14T04:53:06.145Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1033 ']' [2021-10-14T04:53:06.145Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1033/archives/ [2021-10-14T04:53:06.145Z] + 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-14T04:53:06.171Z] 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-14T04:53:06.468Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:53:07.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T04:53:07.054Z] [2021-10-14T04:53:07.054Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T04:53:07.386Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T04:53:07.386Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T04:53:07.386Z] b4d181a07f80: Pulling fs layer [2021-10-14T04:53:07.386Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T04:53:07.386Z] ed53099fbce6: Pulling fs layer [2021-10-14T04:53:07.386Z] dc539afda2c1: Pulling fs layer [2021-10-14T04:53:07.386Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T04:53:07.386Z] 9065ff56babe: Pulling fs layer [2021-10-14T04:53:07.386Z] d287ab97295c: Pulling fs layer [2021-10-14T04:53:07.386Z] dc539afda2c1: Waiting [2021-10-14T04:53:07.386Z] 77bc0d833cb6: Waiting [2021-10-14T04:53:07.386Z] 9065ff56babe: Waiting [2021-10-14T04:53:07.386Z] d287ab97295c: Waiting [2021-10-14T04:53:07.386Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T04:53:07.386Z] a1111a8f2ec3: Download complete [2021-10-14T04:53:07.386Z] dc539afda2c1: Verifying Checksum [2021-10-14T04:53:07.386Z] dc539afda2c1: Download complete [2021-10-14T04:53:07.650Z] ed53099fbce6: Verifying Checksum [2021-10-14T04:53:07.650Z] ed53099fbce6: Download complete [2021-10-14T04:53:07.650Z] 9065ff56babe: Verifying Checksum [2021-10-14T04:53:07.650Z] 9065ff56babe: Download complete [2021-10-14T04:53:07.650Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T04:53:07.650Z] 77bc0d833cb6: Download complete [2021-10-14T04:53:07.650Z] b4d181a07f80: Verifying Checksum [2021-10-14T04:53:07.650Z] b4d181a07f80: Download complete [2021-10-14T04:53:08.219Z] d287ab97295c: Verifying Checksum [2021-10-14T04:53:08.219Z] d287ab97295c: Download complete [2021-10-14T04:53:09.178Z] b4d181a07f80: Pull complete [2021-10-14T04:53:09.440Z] a1111a8f2ec3: Pull complete [2021-10-14T04:53:10.020Z] ed53099fbce6: Pull complete [2021-10-14T04:53:10.020Z] dc539afda2c1: Pull complete [2021-10-14T04:53:10.283Z] 77bc0d833cb6: Pull complete [2021-10-14T04:53:10.283Z] 9065ff56babe: Pull complete [2021-10-14T04:53:15.599Z] d287ab97295c: Pull complete [2021-10-14T04:53:15.599Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T04:53:15.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T04:53:15.599Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T04:53:15.681Z] prd-centos7-docker-4c-2g-1314 does not seem to be running inside a container [2021-10-14T04:53:15.713Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T04:53:18.114Z] $ docker top 0d738a499da4ceb4200061f00c47f32387e846c8150370ea9e94a3c15608559e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T04:53:18.512Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-14T04:53:18.827Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-14T04:53:19.138Z] + ls /var/log/sa-host [2021-10-14T04:53:19.138Z] + sadf -c /var/log/sa-host/sa14 [2021-10-14T04:53:19.138Z] file_magic: OK [2021-10-14T04:53:19.138Z] HZ: Using current value: 100 [2021-10-14T04:53:19.138Z] file_header: OK [2021-10-14T04:53:19.138Z] 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-14T04:53:19.138Z] Statistics: [2021-10-14T04:53:19.138Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T04:53:19.138Z] File successfully converted to sysstat format version 12.0.3 [2021-10-14T04:53:19.138Z] + sadf -c /var/log/sa-host/sa30 [2021-10-14T04:53:19.138Z] file_magic: OK [2021-10-14T04:53:19.138Z] HZ: Using current value: 100 [2021-10-14T04:53:19.138Z] file_header: OK [2021-10-14T04:53:19.138Z] 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-14T04:53:19.138Z] Statistics: [2021-10-14T04:53:19.138Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T04:53:19.138Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T04:53:19.474Z] provisioning config files... [2021-10-14T04:53:19.487Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1033@tmp/config8935975477918201989tmp [Pipeline] { [Pipeline] echo [2021-10-14T04:53:19.527Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T04:53:19.846Z] ---> create-netrc.sh [Pipeline] } [2021-10-14T04:53:19.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-14T04:53:20.275Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-14T04:53:20.298Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T04:53:20.616Z] ---> sudo-logs.sh [2021-10-14T04:53:20.616Z] Archiving 'sudo' log.. [2021-10-14T04:53:20.616Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1314.novalocal: Name or service not known [2021-10-14T04:53:20.616Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1314.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-14T04:53:20.674Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T04:53:20.989Z] ---> job-cost.sh [2021-10-14T04:53:20.989Z] lf-activate-venv: SKIPPING [2021-10-14T04:53:20.989Z] DEBUG: total: 0.10999999940395355 [2021-10-14T04:53:20.989Z] INFO: Retrieving Stack Cost... [2021-10-14T04:53:21.250Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T04:53:21.822Z] INFO: Archiving Costs [Pipeline] echo [2021-10-14T04:53:21.849Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T04:53:22.195Z] ---> logs-deploy.sh [2021-10-14T04:53:22.195Z] lf-activate-venv: SKIPPING [2021-10-14T04:53:22.195Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1033/1 [2021-10-14T04:53:22.195Z] INFO: archiving workspace using pattern(s): [2021-10-14T04:53:22.769Z] Archives upload complete. [2021-10-14T04:53:23.032Z] INFO: archiving logs to Nexus