Pull request #1034 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 cherrycl for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 5ed4cacd84df9b58bf582e255ca77028d77e465f rather than 1a6f6b93c459f04c3a269235b73dbd518a4320bb Obtained Jenkinsfile from 5ed4cacd84df9b58bf582e255ca77028d77e465f 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-ssh6892223036319975472.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-ssh8613772930855015866.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-1034/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-1034/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6750157525620960174.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-1034/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3766986764978000511.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-ssh4349971865393203181.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-1034/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-1034/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7200760682377543997.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1363 in /w/workspace/gexfoundry_device-sdk-go_PR-1034 [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-1034 # 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-1034@tmp/jenkins-gitclient-ssh8791870217031708435.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5ed4cacd84df9b58bf582e255ca77028d77e465f into PR head commit 1a6f6b93c459f04c3a269235b73dbd518a4320bb > 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-1034@tmp/jenkins-gitclient-ssh2138571399113401740.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1034/head:refs/remotes/origin/PR-1034 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a6f6b93c459f04c3a269235b73dbd518a4320bb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 1a6f6b93c459f04c3a269235b73dbd518a4320bb Checking out Revision 1a6f6b93c459f04c3a269235b73dbd518a4320bb (PR-1034) 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-1034@tmp/jenkins-gitclient-ssh3054038247023100117.key > git merge 5ed4cacd84df9b58bf582e255ca77028d77e465f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a6f6b93c459f04c3a269235b73dbd518a4320bb # timeout=10 Commit message: "docs: add apiVersion to request body example" 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-14T07:54:26.298Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-14T07:54:26.438Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-14T07:54:26.519Z] ========================================================= [2021-10-14T07:54:26.519Z] EdgeX Global Pipelines Version Info [2021-10-14T07:54:26.519Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-14T07:54:28.199Z] ------------------- [2021-10-14T07:54:28.199Z] stable info: [2021-10-14T07:54:28.199Z] ------------------- [2021-10-14T07:54:28.199Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-14T07:54:28.199Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T07:54:28.199Z] Message: update stable to v1.0.210 [2021-10-14T07:54:28.784Z] ------------------- [2021-10-14T07:54:28.785Z] experimental info: [2021-10-14T07:54:28.785Z] ------------------- [2021-10-14T07:54:28.785Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-14T07:54:28.785Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T07:54:28.785Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-14T07:54:28.954Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-14T07:54:28.995Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-14T07:54:29.036Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-14T07:54:29.072Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-14T07:54:29.107Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-14T07:54:29.148Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-14T07:54:29.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-14T07:54:29.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-14T07:54:29.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-14T07:54:29.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-14T07:54:29.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-14T07:54:29.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-14T07:54:29.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-14T07:54:29.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-14T07:54:29.520Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T07:54:29.559Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T07:54:29.597Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T07:54:29.640Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T07:54:29.681Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-14T07:54:29.727Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-14T07:54:29.769Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-14T07:54:29.810Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-14T07:54:29.848Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-14T07:54:29.889Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-14T07:54:29.929Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-14T07:54:29.975Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-14T07:54:30.019Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1034 [Pipeline] echo [2021-10-14T07:54:30.059Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1034 [Pipeline] echo [2021-10-14T07:54:30.098Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1034 [Pipeline] echo [2021-10-14T07:54:30.141Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a6f6b93c459f04c3a269235b73dbd518a4320bb [Pipeline] echo [2021-10-14T07:54:30.183Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a6f6b9 [Pipeline] echo [2021-10-14T07:54:30.238Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T07:54:30.348Z] provisioning config files... [2021-10-14T07:54:30.367Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1034@tmp/config314696381724028986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T07:54:30.706Z] ---> docker-login.sh [2021-10-14T07:54:30.706Z] nexus3.edgexfoundry.org:10001 [2021-10-14T07:54:30.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T07:54:30.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T07:54:30.967Z] Configure a credential helper to remove this warning. See [2021-10-14T07:54:30.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T07:54:30.967Z] [2021-10-14T07:54:30.967Z] Login Succeeded [2021-10-14T07:54:30.967Z] nexus3.edgexfoundry.org:10002 [2021-10-14T07:54:30.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T07:54:30.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T07:54:30.967Z] Configure a credential helper to remove this warning. See [2021-10-14T07:54:30.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T07:54:30.967Z] [2021-10-14T07:54:30.967Z] Login Succeeded [2021-10-14T07:54:30.967Z] nexus3.edgexfoundry.org:10003 [2021-10-14T07:54:31.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T07:54:31.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T07:54:31.232Z] Configure a credential helper to remove this warning. See [2021-10-14T07:54:31.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T07:54:31.232Z] [2021-10-14T07:54:31.232Z] Login Succeeded [2021-10-14T07:54:31.232Z] nexus3.edgexfoundry.org:10004 [2021-10-14T07:54:31.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T07:54:31.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T07:54:31.232Z] Configure a credential helper to remove this warning. See [2021-10-14T07:54:31.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T07:54:31.232Z] [2021-10-14T07:54:31.232Z] Login Succeeded [2021-10-14T07:54:31.232Z] docker.io [2021-10-14T07:54:31.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T07:54:31.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T07:54:31.754Z] Configure a credential helper to remove this warning. See [2021-10-14T07:54:31.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T07:54:31.754Z] [2021-10-14T07:54:31.754Z] Login Succeeded [2021-10-14T07:54:31.754Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T07:54:31.776Z] 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-14T07:54:32.470Z] + git log --format=format:%s -1 1a6f6b93c459f04c3a269235b73dbd518a4320bb [Pipeline] echo [2021-10-14T07:54:32.526Z] GIT_COMMIT: 1a6f6b93c459f04c3a269235b73dbd518a4320bb, Commit Message: docs: add apiVersion to request body example [Pipeline] echo [2021-10-14T07:54:32.556Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-14T07:54:33.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T07:54:33.262Z] [2021-10-14T07:54:33.262Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T07:54:33.597Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T07:54:33.598Z] latest: Pulling from edgex-devops/git-semver [2021-10-14T07:54:33.598Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T07:54:33.598Z] 3e5f54012d9b: Pulling fs layer [2021-10-14T07:54:33.598Z] 4c7163046ea9: Pulling fs layer [2021-10-14T07:54:33.598Z] 0c2d73faf560: Pulling fs layer [2021-10-14T07:54:33.598Z] 0c2d73faf560: Waiting [2021-10-14T07:54:33.598Z] 3e5f54012d9b: Verifying Checksum [2021-10-14T07:54:33.598Z] 3e5f54012d9b: Download complete [2021-10-14T07:54:33.598Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T07:54:33.598Z] a0d0a0d46f8b: Download complete [2021-10-14T07:54:33.598Z] 0c2d73faf560: Verifying Checksum [2021-10-14T07:54:33.598Z] 0c2d73faf560: Download complete [2021-10-14T07:54:33.598Z] 4c7163046ea9: Verifying Checksum [2021-10-14T07:54:33.598Z] 4c7163046ea9: Download complete [2021-10-14T07:54:33.869Z] a0d0a0d46f8b: Pull complete [2021-10-14T07:54:33.870Z] 3e5f54012d9b: Pull complete [2021-10-14T07:54:34.142Z] 4c7163046ea9: Pull complete [2021-10-14T07:54:34.405Z] 0c2d73faf560: Pull complete [2021-10-14T07:54:34.405Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-14T07:54:34.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T07:54:34.405Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-14T07:54:34.496Z] prd-centos7-docker-4c-2g-1363 does not seem to be running inside a container [2021-10-14T07:54:34.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1034 -v /w/workspace/gexfoundry_device-sdk-go_PR-1034:/w/workspace/gexfoundry_device-sdk-go_PR-1034:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1034@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1034@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T07:54:35.206Z] $ docker top 7c56e8372744b120ff42f260d6d9d2b46879b31d9143261c4a04a7e502d6c4b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T07:54:35.380Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T07:54:35.380Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T07:54:35.494Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T07:54:35.498Z] $ docker exec 7c56e8372744b120ff42f260d6d9d2b46879b31d9143261c4a04a7e502d6c4b2 ssh-agent [2021-10-14T07:54:35.622Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaGEIhE/agent.14 [2021-10-14T07:54:35.622Z] SSH_AGENT_PID=20 [2021-10-14T07:54:35.630Z] Running ssh-add (command line suppressed) [2021-10-14T07:54:35.733Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1034@tmp/private_key_4663034034049584942.key (/w/workspace/gexfoundry_device-sdk-go_PR-1034@tmp/private_key_4663034034049584942.key) [2021-10-14T07:54:35.748Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T07:54:36.069Z] + git tag --points-at HEAD [Pipeline] } [2021-10-14T07:54:36.091Z] $ docker exec --env ******** --env ******** 7c56e8372744b120ff42f260d6d9d2b46879b31d9143261c4a04a7e502d6c4b2 ssh-agent -k [2021-10-14T07:54:36.186Z] unset SSH_AUTH_SOCK; [2021-10-14T07:54:36.186Z] unset SSH_AGENT_PID; [2021-10-14T07:54:36.186Z] echo Agent pid 20 killed; [2021-10-14T07:54:36.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-14T07:54:36.262Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T07:54:36.262Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T07:54:36.375Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T07:54:36.377Z] $ docker exec 7c56e8372744b120ff42f260d6d9d2b46879b31d9143261c4a04a7e502d6c4b2 ssh-agent [2021-10-14T07:54:36.484Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDEejLk/agent.54 [2021-10-14T07:54:36.484Z] SSH_AGENT_PID=60 [2021-10-14T07:54:36.491Z] Running ssh-add (command line suppressed) [2021-10-14T07:54:36.602Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1034@tmp/private_key_7969963846017484354.key (/w/workspace/gexfoundry_device-sdk-go_PR-1034@tmp/private_key_7969963846017484354.key) [2021-10-14T07:54:36.618Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T07:54:36.945Z] + git semver init [2021-10-14T07:54:36.945Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T07:54:36.945Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1034/.git [2021-10-14T07:54:36.945Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1034 [2021-10-14T07:54:36.945Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T07:54:36.945Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T07:54:36.945Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T07:54:36.945Z] # $SEMVER_BRANCH = PR-1034 [2021-10-14T07:54:36.945Z] # $SEMVER_TEMP = /tmp/semver-021375767 [2021-10-14T07:54:36.945Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-14T07:54:37.890Z] # '/tmp/semver-021375767' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1034/.semver' [2021-10-14T07:54:37.890Z] # -> Force: false [2021-10-14T07:54:37.890Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1034/.semver [Pipeline] } [2021-10-14T07:54:37.914Z] $ docker exec --env ******** --env ******** 7c56e8372744b120ff42f260d6d9d2b46879b31d9143261c4a04a7e502d6c4b2 ssh-agent -k [2021-10-14T07:54:38.018Z] unset SSH_AUTH_SOCK; [2021-10-14T07:54:38.018Z] unset SSH_AGENT_PID; [2021-10-14T07:54:38.018Z] echo Agent pid 60 killed; [2021-10-14T07:54:38.029Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T07:54:38.432Z] + git semver [Pipeline] } [2021-10-14T07:54:38.459Z] $ docker stop --time=1 7c56e8372744b120ff42f260d6d9d2b46879b31d9143261c4a04a7e502d6c4b2 [2021-10-14T07:54:39.702Z] $ docker rm -f 7c56e8372744b120ff42f260d6d9d2b46879b31d9143261c4a04a7e502d6c4b2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T07:54:40.101Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-14T07:54:40.355Z] Stashed 1 file(s) [Pipeline] echo [2021-10-14T07:54:40.382Z] [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-14T07:54:55.810Z] Still waiting to schedule task [2021-10-14T07:54:55.811Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1363’ [2021-10-14T07:54:55.829Z] Still waiting to schedule task [2021-10-14T07:54:55.829Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-14T07:57:42.541Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1365 in /w/workspace/gexfoundry_device-sdk-go_PR-1034 [Pipeline] { [Pipeline] ws [2021-10-14T07:57:42.581Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-14T07:57:42.840Z] Selected Git installation does not exist. Using Default [2021-10-14T07:57:42.840Z] The recommended git tool is: NONE [2021-10-14T07:57:49.043Z] using credential edgex-jenkins-ssh [2021-10-14T07:57:49.080Z] Cloning the remote Git repository [2021-10-14T07:57:49.149Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T07:57:49.259Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-14T07:57:49.368Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T07:57:49.369Z] > git --version # timeout=10 [2021-10-14T07:57:49.385Z] > git --version # 'git version 2.17.1' [2021-10-14T07:57:49.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T07:57:49.475Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T07:57:51.697Z] Merging remotes/origin/main commit 5ed4cacd84df9b58bf582e255ca77028d77e465f into PR head commit 1a6f6b93c459f04c3a269235b73dbd518a4320bb [2021-10-14T07:57:50.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T07:57:50.829Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T07:57:50.860Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T07:57:50.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T07:57:50.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T07:57:50.924Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1034/head:refs/remotes/origin/PR-1034 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-14T07:57:51.933Z] Merge succeeded, producing 1a6f6b93c459f04c3a269235b73dbd518a4320bb [2021-10-14T07:57:51.934Z] Checking out Revision 1a6f6b93c459f04c3a269235b73dbd518a4320bb (PR-1034) [2021-10-14T07:57:51.720Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T07:57:51.742Z] > git checkout -f 1a6f6b93c459f04c3a269235b73dbd518a4320bb # timeout=10 [2021-10-14T07:57:51.855Z] > git remote # timeout=10 [2021-10-14T07:57:51.876Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T07:57:51.886Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T07:57:51.896Z] > git merge 5ed4cacd84df9b58bf582e255ca77028d77e465f # timeout=10 [2021-10-14T07:57:51.920Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T07:57:51.940Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T07:57:51.957Z] > git checkout -f 1a6f6b93c459f04c3a269235b73dbd518a4320bb # timeout=10 [2021-10-14T07:57:56.240Z] Commit message: "docs: add apiVersion to request body example" [2021-10-14T07:57:56.304Z] > git --version # timeout=10 [2021-10-14T07:57:56.314Z] > git --version # 'git version 2.17.1' [2021-10-14T07:57:56.334Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T07:57:57.607Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-14T07:57:57.607Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T07:57:57.607Z] Dload Upload Total Spent Left Speed [2021-10-14T07:57:57.607Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 74364 0 --:--:-- --:--:-- --:--:-- 74835 [Pipeline] sh [2021-10-14T07:57:58.051Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-14T07:57:58.413Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-14T07:57:58.413Z] + sudo tee /etc/docker/daemon.new [2021-10-14T07:57:58.413Z] { [2021-10-14T07:57:58.413Z] "registry-mirrors": [ [2021-10-14T07:57:58.413Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-14T07:57:58.413Z] ], [2021-10-14T07:57:58.413Z] "bip": "10.250.0.254/24", [2021-10-14T07:57:58.413Z] "hosts": [ [2021-10-14T07:57:58.413Z] "tcp://0.0.0.0:5555", [2021-10-14T07:57:58.413Z] "unix:///var/run/docker.sock" [2021-10-14T07:57:58.413Z] ], [2021-10-14T07:57:58.413Z] "mtu": 1458, [2021-10-14T07:57:58.413Z] "selinux-enabled": true, [2021-10-14T07:57:58.413Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-14T07:57:58.413Z] } [Pipeline] sh [2021-10-14T07:57:58.784Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-14T07:57:59.155Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T07:58:17.622Z] provisioning config files... [2021-10-14T07:58:17.653Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6337783057398710713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T07:58:18.064Z] ---> docker-login.sh [2021-10-14T07:58:18.065Z] nexus3.edgexfoundry.org:10001 [2021-10-14T07:58:19.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T07:58:19.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T07:58:19.797Z] Configure a credential helper to remove this warning. See [2021-10-14T07:58:19.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T07:58:19.797Z] [2021-10-14T07:58:19.797Z] Login Succeeded [2021-10-14T07:58:19.797Z] nexus3.edgexfoundry.org:10002 [2021-10-14T07:58:20.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T07:58:20.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T07:58:20.361Z] Configure a credential helper to remove this warning. See [2021-10-14T07:58:20.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T07:58:20.361Z] [2021-10-14T07:58:20.361Z] Login Succeeded [2021-10-14T07:58:20.361Z] nexus3.edgexfoundry.org:10003 [2021-10-14T07:58:20.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T07:58:20.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T07:58:20.917Z] Configure a credential helper to remove this warning. See [2021-10-14T07:58:20.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T07:58:20.917Z] [2021-10-14T07:58:20.917Z] Login Succeeded [2021-10-14T07:58:20.917Z] nexus3.edgexfoundry.org:10004 [2021-10-14T07:58:21.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T07:58:21.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T07:58:21.477Z] Configure a credential helper to remove this warning. See [2021-10-14T07:58:21.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T07:58:21.477Z] [2021-10-14T07:58:21.477Z] Login Succeeded [2021-10-14T07:58:21.477Z] docker.io [2021-10-14T07:58:22.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T07:58:22.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T07:58:22.360Z] Configure a credential helper to remove this warning. See [2021-10-14T07:58:22.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T07:58:22.360Z] [2021-10-14T07:58:22.360Z] Login Succeeded [2021-10-14T07:58:22.360Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T07:58:22.391Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T07:58:22.990Z] ========================================================= [2021-10-14T07:58:22.990Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-14T07:58:22.990Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T07:58:23.465Z] + 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-14T07:58:24.087Z] Sending build context to Docker daemon 2.702MB [2021-10-14T07:58:24.087Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T07:58:24.087Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T07:58:24.369Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-14T07:58:24.369Z] 552d1f2373af: Pulling fs layer [2021-10-14T07:58:24.369Z] ea3f2d53f512: Pulling fs layer [2021-10-14T07:58:24.369Z] 9e70ebbbe112: Pulling fs layer [2021-10-14T07:58:24.369Z] 7a9cfe048b4a: Pulling fs layer [2021-10-14T07:58:24.369Z] 72dc09318566: Pulling fs layer [2021-10-14T07:58:24.369Z] f4f7b4309257: Pulling fs layer [2021-10-14T07:58:24.369Z] 0ac9a79272e3: Pulling fs layer [2021-10-14T07:58:24.369Z] b78e95d17946: Pulling fs layer [2021-10-14T07:58:24.369Z] b78e95d17946: Waiting [2021-10-14T07:58:24.369Z] f4f7b4309257: Waiting [2021-10-14T07:58:24.369Z] 0ac9a79272e3: Waiting [2021-10-14T07:58:24.369Z] 7a9cfe048b4a: Waiting [2021-10-14T07:58:24.369Z] 72dc09318566: Waiting [2021-10-14T07:58:24.369Z] 9e70ebbbe112: Verifying Checksum [2021-10-14T07:58:24.369Z] 9e70ebbbe112: Download complete [2021-10-14T07:58:24.369Z] ea3f2d53f512: Verifying Checksum [2021-10-14T07:58:24.369Z] ea3f2d53f512: Download complete [2021-10-14T07:58:24.369Z] 72dc09318566: Download complete [2021-10-14T07:58:24.369Z] f4f7b4309257: Download complete [2021-10-14T07:58:24.369Z] 0ac9a79272e3: Download complete [2021-10-14T07:58:24.369Z] 552d1f2373af: Download complete [2021-10-14T07:58:25.375Z] 552d1f2373af: Pull complete [2021-10-14T07:58:25.997Z] ea3f2d53f512: Pull complete [2021-10-14T07:58:26.604Z] 9e70ebbbe112: Pull complete [2021-10-14T07:58:26.604Z] b78e95d17946: Verifying Checksum [2021-10-14T07:58:26.604Z] b78e95d17946: Download complete [2021-10-14T07:58:26.885Z] 7a9cfe048b4a: Verifying Checksum [2021-10-14T07:58:26.885Z] 7a9cfe048b4a: Download complete [2021-10-14T07:58:37.102Z] 7a9cfe048b4a: Pull complete [2021-10-14T07:58:37.102Z] 72dc09318566: Pull complete [2021-10-14T07:58:37.379Z] f4f7b4309257: Pull complete [2021-10-14T07:58:37.658Z] 0ac9a79272e3: Pull complete [2021-10-14T07:58:43.128Z] b78e95d17946: Pull complete [2021-10-14T07:58:43.128Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-14T07:58:43.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-14T07:58:43.128Z] ---> 8b459fc5aaf0 [2021-10-14T07:58:43.128Z] Step 3/10 : ARG MAKE=make build [2021-10-14T07:58:47.484Z] ---> Running in 2e7906e25bf8 [2021-10-14T07:58:47.765Z] Removing intermediate container 2e7906e25bf8 [2021-10-14T07:58:47.765Z] ---> ce5e32357906 [2021-10-14T07:58:47.765Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T07:58:48.043Z] ---> Running in aec4b6fde954 [2021-10-14T07:58:48.322Z] Removing intermediate container aec4b6fde954 [2021-10-14T07:58:48.322Z] ---> b3aadfca40d3 [2021-10-14T07:58:48.322Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T07:58:48.604Z] ---> Running in eb4729281ac3 [2021-10-14T07:58:49.211Z] Removing intermediate container eb4729281ac3 [2021-10-14T07:58:49.211Z] ---> 07be29cdc7fb [2021-10-14T07:58:49.211Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T07:58:49.492Z] ---> Running in dcf1a3157e82 [2021-10-14T07:58:52.143Z] Removing intermediate container dcf1a3157e82 [2021-10-14T07:58:52.143Z] ---> 3402f24f7e04 [2021-10-14T07:58:52.143Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T07:58:52.143Z] ---> Running in e0b8b05ed5cd [2021-10-14T07:58:53.134Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T07:58:54.582Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T07:58:55.195Z] OK: 219 MiB in 52 packages [2021-10-14T07:58:56.187Z] Removing intermediate container e0b8b05ed5cd [2021-10-14T07:58:56.187Z] ---> 9a7f98944f5d [2021-10-14T07:58:56.187Z] Step 8/10 : COPY . . [2021-10-14T07:58:57.640Z] ---> 7ae1305e7d18 [2021-10-14T07:58:57.640Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T07:58:57.640Z] ---> Running in 2805db2d172c [2021-10-14T08:00:19.517Z] Removing intermediate container 2805db2d172c [2021-10-14T08:00:19.517Z] ---> fcc4a567768a [2021-10-14T08:00:19.517Z] Step 10/10 : RUN ${MAKE} [2021-10-14T08:00:19.517Z] ---> Running in aa2050eebeec [2021-10-14T08:00:19.517Z] noop [2021-10-14T08:00:19.517Z] Removing intermediate container aa2050eebeec [2021-10-14T08:00:19.517Z] ---> d6cc05d069d8 [2021-10-14T08:00:19.517Z] Successfully built d6cc05d069d8 [2021-10-14T08:00:19.517Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:00:19.908Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T08:00:19.908Z] . [Pipeline] withDockerContainer [2021-10-14T08:00:20.168Z] prd-ubuntu18.04-docker-arm64-4c-16g-1365 does not seem to be running inside a container [2021-10-14T08:00:20.269Z] $ 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 ******** ci-base-image-arm64 cat [2021-10-14T08:00:21.844Z] $ docker top b72e1d3d74fe7603c85779a3426423ee1d05473531c188b37c214b2b44a48bdd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:00:22.866Z] + go version [2021-10-14T08:00:22.866Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-14T08:00:22.901Z] $ docker stop --time=1 b72e1d3d74fe7603c85779a3426423ee1d05473531c188b37c214b2b44a48bdd [2021-10-14T08:00:24.709Z] $ docker rm -f b72e1d3d74fe7603c85779a3426423ee1d05473531c188b37c214b2b44a48bdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:00:25.590Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T08:00:25.590Z] . [Pipeline] withDockerContainer [2021-10-14T08:00:25.872Z] prd-ubuntu18.04-docker-arm64-4c-16g-1365 does not seem to be running inside a container [2021-10-14T08:00:25.956Z] $ 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 ******** ci-base-image-arm64 cat [2021-10-14T08:00:27.607Z] $ docker top 6cc3df02cfc1a42bdd7dfa76b56edacc23715c6dbc93ac2319ca9005930e618c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T08:00:28.674Z] + make test [2021-10-14T08:00:28.674Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T08:00:37.380Z] Running on prd-centos7-docker-4c-2g-1368 in /w/workspace/gexfoundry_device-sdk-go_PR-1034 [Pipeline] { [Pipeline] ws [2021-10-14T08:00:37.418Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-10-14T08:00:37.545Z] Selected Git installation does not exist. Using Default [2021-10-14T08:00:37.545Z] The recommended git tool is: NONE [2021-10-14T08:00:39.651Z] using credential edgex-jenkins-ssh [2021-10-14T08:00:39.663Z] Cloning the remote Git repository [2021-10-14T08:00:38.468Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T08:00:38.521Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-10-14T08:00:38.557Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T08:00:38.557Z] > git --version # timeout=10 [2021-10-14T08:00:38.567Z] > git --version # 'git version 2.24.4' [2021-10-14T08:00:38.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:00:38.588Z] [INFO] Currently running in a labeled security context [2021-10-14T08:00:38.588Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T08:00:38.589Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7960891570409927860.key [2021-10-14T08:00:38.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:00:39.394Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T08:00:39.402Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:00:39.413Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T08:00:39.439Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T08:00:39.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:00:39.441Z] [INFO] Currently running in a labeled security context [2021-10-14T08:00:39.441Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T08:00:39.443Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4755731288859175424.key [2021-10-14T08:00:39.450Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1034/head:refs/remotes/origin/PR-1034 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-14T08:00:41.253Z] Merging remotes/origin/main commit 5ed4cacd84df9b58bf582e255ca77028d77e465f into PR head commit 1a6f6b93c459f04c3a269235b73dbd518a4320bb [2021-10-14T08:00:41.352Z] Merge succeeded, producing 1a6f6b93c459f04c3a269235b73dbd518a4320bb [2021-10-14T08:00:41.353Z] Checking out Revision 1a6f6b93c459f04c3a269235b73dbd518a4320bb (PR-1034) [2021-10-14T08:00:40.047Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:00:40.053Z] > git checkout -f 1a6f6b93c459f04c3a269235b73dbd518a4320bb # timeout=10 [2021-10-14T08:00:40.086Z] > git remote # timeout=10 [2021-10-14T08:00:40.098Z] > git config --get remote.origin.url # timeout=10 [2021-10-14T08:00:40.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:00:40.107Z] [INFO] Currently running in a labeled security context [2021-10-14T08:00:40.107Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T08:00:40.107Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7878365357005242500.key [2021-10-14T08:00:40.118Z] > git merge 5ed4cacd84df9b58bf582e255ca77028d77e465f # timeout=10 [2021-10-14T08:00:40.131Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-14T08:00:40.141Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:00:40.149Z] > git checkout -f 1a6f6b93c459f04c3a269235b73dbd518a4320bb # timeout=10 [2021-10-14T08:00:44.695Z] Commit message: "docs: add apiVersion to request body example" [2021-10-14T08:00:44.713Z] > git --version # timeout=10 [2021-10-14T08:00:44.721Z] > git --version # 'git version 2.24.4' [2021-10-14T08:00:44.731Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:00:45.483Z] provisioning config files... [2021-10-14T08:00:45.504Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3674254363802948241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:00:45.935Z] ---> docker-login.sh [2021-10-14T08:00:45.936Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:00:45.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:00:46.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:00:46.195Z] Configure a credential helper to remove this warning. See [2021-10-14T08:00:46.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:00:46.195Z] [2021-10-14T08:00:46.195Z] Login Succeeded [2021-10-14T08:00:46.195Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:00:46.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:00:46.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:00:46.195Z] Configure a credential helper to remove this warning. See [2021-10-14T08:00:46.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:00:46.195Z] [2021-10-14T08:00:46.195Z] Login Succeeded [2021-10-14T08:00:46.195Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:00:46.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:00:46.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:00:46.463Z] Configure a credential helper to remove this warning. See [2021-10-14T08:00:46.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:00:46.463Z] [2021-10-14T08:00:46.463Z] Login Succeeded [2021-10-14T08:00:46.463Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:00:46.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:00:46.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:00:46.463Z] Configure a credential helper to remove this warning. See [2021-10-14T08:00:46.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:00:46.463Z] [2021-10-14T08:00:46.463Z] Login Succeeded [2021-10-14T08:00:46.463Z] docker.io [2021-10-14T08:00:46.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:00:46.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:00:46.738Z] Configure a credential helper to remove this warning. See [2021-10-14T08:00:46.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:00:46.738Z] [2021-10-14T08:00:46.738Z] Login Succeeded [2021-10-14T08:00:46.738Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:00:46.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T08:00:46.995Z] ========================================================= [2021-10-14T08:00:46.995Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-14T08:00:46.995Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:00:47.381Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-14T08:00:47.381Z] Sending build context to Docker daemon 2.694MB [2021-10-14T08:00:47.381Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:00:47.381Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T08:00:47.381Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-14T08:00:47.381Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T08:00:47.381Z] 31adcdaf11c8: Pulling fs layer [2021-10-14T08:00:47.381Z] b8b176561691: Pulling fs layer [2021-10-14T08:00:47.381Z] 4527c011a84f: Pulling fs layer [2021-10-14T08:00:47.381Z] 5d74067f8e1e: Pulling fs layer [2021-10-14T08:00:47.381Z] e0aca202a116: Pulling fs layer [2021-10-14T08:00:47.381Z] 3a43be97a3b4: Pulling fs layer [2021-10-14T08:00:47.381Z] 34cad66bf833: Pulling fs layer [2021-10-14T08:00:47.381Z] b4e3c513aaa6: Pulling fs layer [2021-10-14T08:00:47.381Z] 5d74067f8e1e: Waiting [2021-10-14T08:00:47.381Z] e0aca202a116: Waiting [2021-10-14T08:00:47.381Z] 3a43be97a3b4: Waiting [2021-10-14T08:00:47.381Z] 34cad66bf833: Waiting [2021-10-14T08:00:47.381Z] b4e3c513aaa6: Waiting [2021-10-14T08:00:47.381Z] 4527c011a84f: Waiting [2021-10-14T08:00:47.381Z] b8b176561691: Verifying Checksum [2021-10-14T08:00:47.381Z] b8b176561691: Download complete [2021-10-14T08:00:47.381Z] 31adcdaf11c8: Verifying Checksum [2021-10-14T08:00:47.381Z] 31adcdaf11c8: Download complete [2021-10-14T08:00:47.381Z] 5d74067f8e1e: Verifying Checksum [2021-10-14T08:00:47.381Z] 5d74067f8e1e: Download complete [2021-10-14T08:00:47.381Z] e0aca202a116: Verifying Checksum [2021-10-14T08:00:47.381Z] e0aca202a116: Download complete [2021-10-14T08:00:47.644Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T08:00:47.644Z] a0d0a0d46f8b: Download complete [2021-10-14T08:00:47.644Z] 3a43be97a3b4: Verifying Checksum [2021-10-14T08:00:47.644Z] 3a43be97a3b4: Download complete [2021-10-14T08:00:47.644Z] 34cad66bf833: Verifying Checksum [2021-10-14T08:00:47.644Z] 34cad66bf833: Download complete [2021-10-14T08:00:48.218Z] a0d0a0d46f8b: Pull complete [2021-10-14T08:00:48.219Z] b4e3c513aaa6: Verifying Checksum [2021-10-14T08:00:48.219Z] b4e3c513aaa6: Download complete [2021-10-14T08:00:48.219Z] 4527c011a84f: Verifying Checksum [2021-10-14T08:00:48.219Z] 4527c011a84f: Download complete [2021-10-14T08:00:48.219Z] 31adcdaf11c8: Pull complete [2021-10-14T08:00:48.219Z] b8b176561691: Pull complete [2021-10-14T08:00:52.536Z] 4527c011a84f: Pull complete [2021-10-14T08:00:52.536Z] 5d74067f8e1e: Pull complete [2021-10-14T08:00:52.536Z] e0aca202a116: Pull complete [2021-10-14T08:00:52.536Z] 3a43be97a3b4: Pull complete [2021-10-14T08:00:52.536Z] 34cad66bf833: Pull complete [2021-10-14T08:00:55.145Z] b4e3c513aaa6: Pull complete [2021-10-14T08:00:55.145Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-14T08:00:55.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-14T08:00:55.145Z] ---> 9f6097aaca64 [2021-10-14T08:00:55.145Z] Step 3/10 : ARG MAKE=make build [2021-10-14T08:00:55.709Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T08:00:57.060Z] ---> Running in 005c0b1351f7 [2021-10-14T08:00:57.060Z] Removing intermediate container 005c0b1351f7 [2021-10-14T08:00:57.060Z] ---> 3e1da9ea8f41 [2021-10-14T08:00:57.060Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T08:00:57.060Z] ---> Running in 96a7d1d2e595 [2021-10-14T08:00:57.060Z] Removing intermediate container 96a7d1d2e595 [2021-10-14T08:00:57.060Z] ---> 1c058598c7da [2021-10-14T08:00:57.060Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:00:57.060Z] ---> Running in 3ea43c0aa632 [2021-10-14T08:00:57.060Z] Removing intermediate container 3ea43c0aa632 [2021-10-14T08:00:57.060Z] ---> bebaa45c4461 [2021-10-14T08:00:57.060Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:00:57.060Z] ---> Running in db1bda7ef107 [2021-10-14T08:00:57.643Z] Removing intermediate container db1bda7ef107 [2021-10-14T08:00:57.643Z] ---> 46206d0864c8 [2021-10-14T08:00:57.643Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:00:57.643Z] ---> Running in 03b6bb17246c [2021-10-14T08:00:57.915Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:00:58.858Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:00:59.120Z] OK: 220 MiB in 52 packages [2021-10-14T08:00:59.386Z] Removing intermediate container 03b6bb17246c [2021-10-14T08:00:59.386Z] ---> 321746300727 [2021-10-14T08:00:59.386Z] Step 8/10 : COPY . . [2021-10-14T08:00:59.659Z] ---> e3dfe3bdd774 [2021-10-14T08:00:59.659Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:00:59.659Z] ---> Running in 08159867238c [2021-10-14T08:01:26.310Z] Removing intermediate container 08159867238c [2021-10-14T08:01:26.310Z] ---> 561d4e33dcd2 [2021-10-14T08:01:26.310Z] Step 10/10 : RUN ${MAKE} [2021-10-14T08:01:26.310Z] ---> Running in 9313be5bb8c5 [2021-10-14T08:01:26.573Z] noop [2021-10-14T08:01:26.573Z] Removing intermediate container 9313be5bb8c5 [2021-10-14T08:01:26.573Z] ---> 49543a8e6858 [2021-10-14T08:01:26.573Z] Successfully built 49543a8e6858 [2021-10-14T08:01:26.573Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:01:26.904Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T08:01:26.904Z] . [Pipeline] withDockerContainer [2021-10-14T08:01:27.018Z] prd-centos7-docker-4c-2g-1368 does not seem to be running inside a container [2021-10-14T08:01:27.069Z] $ 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 ******** ci-base-image-x86_64 cat [2021-10-14T08:01:27.479Z] $ docker top a2c52c5b3af35c79b2c3712ff4929cebef9a71f93ac079790e0169d97f757c36 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:01:27.887Z] + go version [2021-10-14T08:01:27.887Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-14T08:01:27.910Z] $ docker stop --time=1 a2c52c5b3af35c79b2c3712ff4929cebef9a71f93ac079790e0169d97f757c36 [2021-10-14T08:01:29.103Z] $ docker rm -f a2c52c5b3af35c79b2c3712ff4929cebef9a71f93ac079790e0169d97f757c36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:01:29.772Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T08:01:29.772Z] . [Pipeline] withDockerContainer [2021-10-14T08:01:29.855Z] prd-centos7-docker-4c-2g-1368 does not seem to be running inside a container [2021-10-14T08:01:29.888Z] $ 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 ******** ci-base-image-x86_64 cat [2021-10-14T08:01:30.246Z] $ docker top 08730a41ecbe08f3f1b6f6d3430cba3a3065d013a36a7309f279c511644d5c00 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T08:01:30.689Z] + make test [2021-10-14T08:01:30.689Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T08:01:36.004Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T08:01:58.045Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T08:01:58.045Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T08:01:58.045Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T08:01:59.464Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.056s coverage: 23.5% of statements [2021-10-14T08:01:59.465Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T08:01:59.465Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 28.1% of statements [2021-10-14T08:02:00.083Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.046s coverage: 78.9% of statements [2021-10-14T08:02:00.375Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.040s coverage: 9.0% of statements [2021-10-14T08:02:00.375Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T08:02:00.375Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T08:02:00.375Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T08:02:00.963Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 28.7% of statements [2021-10-14T08:02:00.963Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T08:02:02.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.053s coverage: 83.3% of statements [2021-10-14T08:02:02.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T08:02:02.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T08:02:02.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 57.8% of statements [2021-10-14T08:02:03.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.809s coverage: 89.0% of statements [2021-10-14T08:02:03.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T08:02:03.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.045s coverage: 4.9% of statements [2021-10-14T08:02:03.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T08:02:03.310Z] GO111MODULE=on go vet ./... [2021-10-14T08:02:03.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T08:02:03.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T08:02:03.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T08:02:04.884Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.311s coverage: 23.5% of statements [2021-10-14T08:02:04.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T08:02:04.884Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.269s coverage: 28.1% of statements [2021-10-14T08:02:04.884Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.237s coverage: 78.9% of statements [2021-10-14T08:02:04.884Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.191s coverage: 9.0% of statements [2021-10-14T08:02:04.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T08:02:04.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T08:02:04.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T08:02:06.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.335s coverage: 28.7% of statements [2021-10-14T08:02:06.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T08:02:07.813Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.239s coverage: 83.3% of statements [2021-10-14T08:02:07.813Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T08:02:07.813Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T08:02:07.813Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.400s coverage: 57.8% of statements [2021-10-14T08:02:10.476Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.991s coverage: 89.0% of statements [2021-10-14T08:02:10.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T08:02:10.476Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.192s coverage: 4.9% of statements [2021-10-14T08:02:10.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T08:02:11.088Z] GO111MODULE=on go vet ./... [2021-10-14T08:02:21.488Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T08:02:21.488Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T08:02:21.488Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T08:02:21.517Z] $ docker stop --time=1 08730a41ecbe08f3f1b6f6d3430cba3a3065d013a36a7309f279c511644d5c00 [2021-10-14T08:02:23.033Z] $ docker rm -f 08730a41ecbe08f3f1b6f6d3430cba3a3065d013a36a7309f279c511644d5c00 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:02:23.523Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T08:02:23.747Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-14T08:02:25.096Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T08:02:25.406Z] + ls -al . [2021-10-14T08:02:25.406Z] total 264 [2021-10-14T08:02:25.406Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 14 08:02 . [2021-10-14T08:02:25.406Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 14 08:00 .. [2021-10-14T08:02:25.406Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 14 08:00 bin [2021-10-14T08:02:25.406Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 14 08:00 CHANGELOG.md [2021-10-14T08:02:25.406Z] -rw-r--r--. 1 jenkins jenkins 126433 Oct 14 08:02 coverage.out [2021-10-14T08:02:25.406Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 08:00 .dockerignore [2021-10-14T08:02:25.406Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 14 08:00 example [2021-10-14T08:02:25.406Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 08:00 .git [2021-10-14T08:02:25.406Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 14 08:00 .github [2021-10-14T08:02:25.406Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 14 08:00 .gitignore [2021-10-14T08:02:25.406Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 14 08:00 go.mod [2021-10-14T08:02:25.406Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 14 08:00 go.sum [2021-10-14T08:02:25.406Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 08:00 GOVERNANCE.md [2021-10-14T08:02:25.406Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 14 08:00 internal [2021-10-14T08:02:25.406Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 14 08:00 Jenkinsfile [2021-10-14T08:02:25.406Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 08:00 LICENSE [2021-10-14T08:02:25.406Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 14 08:00 Makefile [2021-10-14T08:02:25.406Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 14 08:00 openapi [2021-10-14T08:02:25.406Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 14 08:00 OWNERS.md [2021-10-14T08:02:25.406Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 08:00 pkg [2021-10-14T08:02:25.406Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 14 08:00 README.md [2021-10-14T08:02:25.406Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 08:00 snap [2021-10-14T08:02:25.406Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 07:54 VERSION [2021-10-14T08:02:25.406Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 08:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:02:25.744Z] + 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=1a6f6b93c459f04c3a269235b73dbd518a4320bb --label arch=amd64 --label version=0.0.0 . [2021-10-14T08:02:25.744Z] Sending build context to Docker daemon 2.821MB [2021-10-14T08:02:25.744Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:02:25.744Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T08:02:25.744Z] ---> 49543a8e6858 [2021-10-14T08:02:25.744Z] Step 3/24 : ARG MAKE=make build [2021-10-14T08:02:25.744Z] ---> Running in 3a85e0cc6cf1 [2021-10-14T08:02:26.006Z] Removing intermediate container 3a85e0cc6cf1 [2021-10-14T08:02:26.006Z] ---> a55c07207459 [2021-10-14T08:02:26.006Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T08:02:26.006Z] ---> Running in 640c3185c41f [2021-10-14T08:02:26.006Z] Removing intermediate container 640c3185c41f [2021-10-14T08:02:26.006Z] ---> 787504373d69 [2021-10-14T08:02:26.006Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:02:26.006Z] ---> Running in 9114d1a88a26 [2021-10-14T08:02:26.265Z] Removing intermediate container 9114d1a88a26 [2021-10-14T08:02:26.265Z] ---> fcc8456ab80b [2021-10-14T08:02:26.265Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:02:26.265Z] ---> Running in 68d36eea8ad0 [2021-10-14T08:02:26.527Z] Removing intermediate container 68d36eea8ad0 [2021-10-14T08:02:26.527Z] ---> 940ea5f3e29f [2021-10-14T08:02:26.527Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:02:26.789Z] ---> Running in ae4dce912613 [2021-10-14T08:02:26.789Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:02:27.730Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:02:28.300Z] OK: 220 MiB in 52 packages [2021-10-14T08:02:28.300Z] Removing intermediate container ae4dce912613 [2021-10-14T08:02:28.300Z] ---> 55e7ac1e487c [2021-10-14T08:02:28.300Z] Step 8/24 : COPY . . [2021-10-14T08:02:28.885Z] ---> 83902e9202d1 [2021-10-14T08:02:28.885Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:02:28.885Z] ---> Running in 26a864f55aa0 [2021-10-14T08:02:29.462Z] Removing intermediate container 26a864f55aa0 [2021-10-14T08:02:29.462Z] ---> 3d7a08bc36d2 [2021-10-14T08:02:29.462Z] Step 10/24 : RUN ${MAKE} [2021-10-14T08:02:29.462Z] ---> Running in 930269bba491 [2021-10-14T08:02:29.462Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-14T08:02:39.582Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T08:02:40.529Z] Removing intermediate container 930269bba491 [2021-10-14T08:02:40.529Z] ---> 87f02b9e9f64 [2021-10-14T08:02:40.529Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T08:02:41.482Z] 3.14: Pulling from library/alpine [2021-10-14T08:02:41.482Z] a0d0a0d46f8b: Already exists [2021-10-14T08:02:41.482Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T08:02:41.482Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T08:02:41.482Z] ---> 14119a10abf4 [2021-10-14T08:02:41.482Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:02:41.482Z] ---> Running in 84bc783b3670 [2021-10-14T08:02:41.744Z] Removing intermediate container 84bc783b3670 [2021-10-14T08:02:41.744Z] ---> 0a6d0595015d [2021-10-14T08:02:41.744Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:02:41.744Z] ---> Running in 77c8bc0f8bdd [2021-10-14T08:02:42.003Z] Removing intermediate container 77c8bc0f8bdd [2021-10-14T08:02:42.003Z] ---> 96f8d58ded55 [2021-10-14T08:02:42.003Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T08:02:42.003Z] ---> Running in 77744377b604 [2021-10-14T08:02:42.263Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:02:43.200Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:02:43.460Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T08:02:43.720Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T08:02:43.720Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T08:02:43.720Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T08:02:43.982Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T08:02:43.982Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:02:43.982Z] OK: 8 MiB in 19 packages [2021-10-14T08:02:44.245Z] Removing intermediate container 77744377b604 [2021-10-14T08:02:44.245Z] ---> 4b3725c6146a [2021-10-14T08:02:44.245Z] Step 15/24 : WORKDIR / [2021-10-14T08:02:44.245Z] ---> Running in 2b1409d1775b [2021-10-14T08:02:44.514Z] Removing intermediate container 2b1409d1775b [2021-10-14T08:02:44.514Z] ---> 357c54f4e21a [2021-10-14T08:02:44.514Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T08:02:44.514Z] ---> 70cdaba4e606 [2021-10-14T08:02:44.514Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T08:02:44.777Z] ---> 8833185a9855 [2021-10-14T08:02:44.777Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T08:02:45.038Z] ---> 5c768c0aa6bc [2021-10-14T08:02:45.038Z] Step 19/24 : EXPOSE 59999 [2021-10-14T08:02:45.038Z] ---> Running in 75a3c0aa3df0 [2021-10-14T08:02:45.039Z] Removing intermediate container 75a3c0aa3df0 [2021-10-14T08:02:45.039Z] ---> b20c16a70bb5 [2021-10-14T08:02:45.039Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T08:02:45.299Z] ---> Running in 7d35fdbf7a13 [2021-10-14T08:02:45.299Z] Removing intermediate container 7d35fdbf7a13 [2021-10-14T08:02:45.299Z] ---> bdb52edcfcbd [2021-10-14T08:02:45.299Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T08:02:45.299Z] ---> Running in 006434974dcd [2021-10-14T08:02:45.299Z] Removing intermediate container 006434974dcd [2021-10-14T08:02:45.299Z] ---> 35ed126c79cb [2021-10-14T08:02:45.299Z] Step 22/24 : LABEL arch=amd64 [2021-10-14T08:02:45.299Z] ---> Running in d627e5380276 [2021-10-14T08:02:45.560Z] Removing intermediate container d627e5380276 [2021-10-14T08:02:45.560Z] ---> b7c364e7a56c [2021-10-14T08:02:45.560Z] Step 23/24 : LABEL git_sha=1a6f6b93c459f04c3a269235b73dbd518a4320bb [2021-10-14T08:02:45.560Z] ---> Running in ab55640a4947 [2021-10-14T08:02:45.560Z] Removing intermediate container ab55640a4947 [2021-10-14T08:02:45.560Z] ---> 30a786e4ba3c [2021-10-14T08:02:45.560Z] Step 24/24 : LABEL version=0.0.0 [2021-10-14T08:02:45.560Z] ---> Running in 6e78af3822f8 [2021-10-14T08:02:45.560Z] Removing intermediate container 6e78af3822f8 [2021-10-14T08:02:45.560Z] ---> 1c0a33ac0719 [2021-10-14T08:02:45.560Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T08:02:45.560Z] Successfully built 1c0a33ac0719 [2021-10-14T08:02:45.560Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:02:46.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:02:46.364Z] [2021-10-14T08:02:46.364Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:02:46.698Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:02:46.698Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T08:02:46.698Z] b4d181a07f80: Pulling fs layer [2021-10-14T08:02:46.698Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T08:02:46.698Z] ed53099fbce6: Pulling fs layer [2021-10-14T08:02:46.698Z] dc539afda2c1: Pulling fs layer [2021-10-14T08:02:46.698Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T08:02:46.698Z] 9065ff56babe: Pulling fs layer [2021-10-14T08:02:46.698Z] d287ab97295c: Pulling fs layer [2021-10-14T08:02:46.698Z] 77bc0d833cb6: Waiting [2021-10-14T08:02:46.698Z] 9065ff56babe: Waiting [2021-10-14T08:02:46.698Z] d287ab97295c: Waiting [2021-10-14T08:02:46.698Z] dc539afda2c1: Waiting [2021-10-14T08:02:46.698Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T08:02:46.698Z] a1111a8f2ec3: Download complete [2021-10-14T08:02:46.698Z] dc539afda2c1: Verifying Checksum [2021-10-14T08:02:46.698Z] dc539afda2c1: Download complete [2021-10-14T08:02:46.962Z] ed53099fbce6: Verifying Checksum [2021-10-14T08:02:46.962Z] ed53099fbce6: Download complete [2021-10-14T08:02:46.962Z] 9065ff56babe: Verifying Checksum [2021-10-14T08:02:46.962Z] 9065ff56babe: Download complete [2021-10-14T08:02:46.962Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T08:02:46.962Z] 77bc0d833cb6: Download complete [2021-10-14T08:02:46.962Z] b4d181a07f80: Verifying Checksum [2021-10-14T08:02:46.962Z] b4d181a07f80: Download complete [2021-10-14T08:02:47.568Z] d287ab97295c: Verifying Checksum [2021-10-14T08:02:47.568Z] d287ab97295c: Download complete [2021-10-14T08:02:48.527Z] b4d181a07f80: Pull complete [2021-10-14T08:02:48.527Z] a1111a8f2ec3: Pull complete [2021-10-14T08:02:49.103Z] ed53099fbce6: Pull complete [2021-10-14T08:02:49.103Z] dc539afda2c1: Pull complete [2021-10-14T08:02:49.365Z] 77bc0d833cb6: Pull complete [2021-10-14T08:02:49.627Z] 9065ff56babe: Pull complete [2021-10-14T08:02:54.955Z] d287ab97295c: Pull complete [2021-10-14T08:02:54.955Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T08:02:54.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:02:54.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T08:02:55.041Z] prd-centos7-docker-4c-2g-1368 does not seem to be running inside a container [2021-10-14T08:02:55.075Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T08:02:57.634Z] $ docker top 08b8c04420dbb28f691cba2f247f004d7f50290ef344f8221e7f5cd1932d1528 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:02:58.131Z] ---> job-cost.sh [2021-10-14T08:02:58.131Z] lf-activate-venv: SKIPPING [2021-10-14T08:02:58.131Z] INFO: No Stack... [2021-10-14T08:02:58.392Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T08:02:58.962Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T08:02:59.275Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-10-14T08:02:59.275Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T08:02:59.343Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1034-1-stack-cost] [2021-10-14T08:02:59.348Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1034-1-stack-cost] did not exist. Created. [2021-10-14T08:02:59.348Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1034-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T08:02:59.725Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-14T08:02:59.775Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T08:02:59.789Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1034-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T08:02:59.845Z] $ docker stop --time=1 08b8c04420dbb28f691cba2f247f004d7f50290ef344f8221e7f5cd1932d1528 [2021-10-14T08:03:00.966Z] $ docker rm -f 08b8c04420dbb28f691cba2f247f004d7f50290ef344f8221e7f5cd1932d1528 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-14T08:03:07.767Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T08:03:07.767Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T08:03:07.767Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T08:03:07.795Z] $ docker stop --time=1 6cc3df02cfc1a42bdd7dfa76b56edacc23715c6dbc93ac2319ca9005930e618c [2021-10-14T08:03:09.924Z] $ docker rm -f 6cc3df02cfc1a42bdd7dfa76b56edacc23715c6dbc93ac2319ca9005930e618c [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:03:11.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T08:03:11.118Z] Warning: overwriting stash ‘coverage-report’ [2021-10-14T08:03:11.843Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T08:03:12.451Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T08:03:12.820Z] + ls -al . [2021-10-14T08:03:12.820Z] total 300 [2021-10-14T08:03:12.820Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 08:03 . [2021-10-14T08:03:12.820Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:57 .. [2021-10-14T08:03:12.820Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 07:57 .dockerignore [2021-10-14T08:03:12.820Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:57 .git [2021-10-14T08:03:12.820Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:57 .github [2021-10-14T08:03:12.820Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 14 07:57 .gitignore [2021-10-14T08:03:12.820Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 14 07:57 CHANGELOG.md [2021-10-14T08:03:12.820Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 07:57 GOVERNANCE.md [2021-10-14T08:03:12.820Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 14 07:57 Jenkinsfile [2021-10-14T08:03:12.820Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 07:57 LICENSE [2021-10-14T08:03:12.820Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 14 07:57 Makefile [2021-10-14T08:03:12.820Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 14 07:57 OWNERS.md [2021-10-14T08:03:12.820Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 14 07:57 README.md [2021-10-14T08:03:12.820Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 07:54 VERSION [2021-10-14T08:03:12.820Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:57 bin [2021-10-14T08:03:12.820Z] -rw-r--r-- 1 jenkins jenkins 126432 Oct 14 08:02 coverage.out [2021-10-14T08:03:12.820Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 07:57 example [2021-10-14T08:03:12.820Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 14 07:57 go.mod [2021-10-14T08:03:12.820Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 14 07:57 go.sum [2021-10-14T08:03:12.820Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 07:57 internal [2021-10-14T08:03:12.820Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:57 openapi [2021-10-14T08:03:12.820Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 07:57 pkg [2021-10-14T08:03:12.820Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:57 snap [2021-10-14T08:03:12.820Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 07:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:03:13.203Z] + 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=1a6f6b93c459f04c3a269235b73dbd518a4320bb --label arch=arm64 --label version=0.0.0 . [2021-10-14T08:03:13.812Z] Sending build context to Docker daemon 2.829MB [2021-10-14T08:03:13.812Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:03:13.812Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T08:03:13.812Z] ---> d6cc05d069d8 [2021-10-14T08:03:13.812Z] Step 3/24 : ARG MAKE=make build [2021-10-14T08:03:14.091Z] ---> Running in ebcf9a6880a1 [2021-10-14T08:03:14.367Z] Removing intermediate container ebcf9a6880a1 [2021-10-14T08:03:14.367Z] ---> ac16621e4607 [2021-10-14T08:03:14.367Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T08:03:14.648Z] ---> Running in 20626464e8da [2021-10-14T08:03:15.255Z] Removing intermediate container 20626464e8da [2021-10-14T08:03:15.255Z] ---> f54d88de8ab7 [2021-10-14T08:03:15.255Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:03:15.255Z] ---> Running in 81678a4a3613 [2021-10-14T08:03:15.859Z] Removing intermediate container 81678a4a3613 [2021-10-14T08:03:15.860Z] ---> 73b620bcf770 [2021-10-14T08:03:15.860Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:03:15.860Z] ---> Running in b73bde6fc116 [2021-10-14T08:03:17.862Z] Removing intermediate container b73bde6fc116 [2021-10-14T08:03:17.862Z] ---> 1d75563b9410 [2021-10-14T08:03:17.862Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T08:03:17.862Z] ---> Running in 6bc2c4f63064 [2021-10-14T08:03:19.325Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:03:20.323Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:03:20.949Z] OK: 219 MiB in 52 packages [2021-10-14T08:03:21.964Z] Removing intermediate container 6bc2c4f63064 [2021-10-14T08:03:21.964Z] ---> 8615cfc0ef23 [2021-10-14T08:03:21.964Z] Step 8/24 : COPY . . [2021-10-14T08:03:23.422Z] ---> 90f96242319f [2021-10-14T08:03:23.422Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:03:23.422Z] ---> Running in cae614d3142c [2021-10-14T08:03:26.077Z] Removing intermediate container cae614d3142c [2021-10-14T08:03:26.077Z] ---> 3ec628d4f38d [2021-10-14T08:03:26.077Z] Step 10/24 : RUN ${MAKE} [2021-10-14T08:03:26.077Z] ---> Running in 25c4428d6a86 [2021-10-14T08:03:27.072Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-14T08:03:59.530Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T08:04:02.180Z] Removing intermediate container 25c4428d6a86 [2021-10-14T08:04:02.180Z] ---> ed211a4b44c6 [2021-10-14T08:04:02.180Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T08:04:02.782Z] 3.14: Pulling from library/alpine [2021-10-14T08:04:03.059Z] 552d1f2373af: Already exists [2021-10-14T08:04:03.337Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T08:04:03.337Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T08:04:03.337Z] ---> bb3de5531c18 [2021-10-14T08:04:03.337Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T08:04:03.337Z] ---> Running in c218e92ecbed [2021-10-14T08:04:03.951Z] Removing intermediate container c218e92ecbed [2021-10-14T08:04:03.951Z] ---> 46d70b110567 [2021-10-14T08:04:03.951Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:04:03.951Z] ---> Running in 48aa6c32c65f [2021-10-14T08:04:05.955Z] Removing intermediate container 48aa6c32c65f [2021-10-14T08:04:05.956Z] ---> 2d53272816cd [2021-10-14T08:04:05.956Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T08:04:05.956Z] ---> Running in b912e2ae89a9 [2021-10-14T08:04:07.418Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:04:08.411Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:04:09.402Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T08:04:09.402Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T08:04:09.402Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T08:04:09.681Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T08:04:09.681Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T08:04:09.681Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:04:09.681Z] OK: 8 MiB in 19 packages [2021-10-14T08:04:11.134Z] Removing intermediate container b912e2ae89a9 [2021-10-14T08:04:11.134Z] ---> b205f51c5e9d [2021-10-14T08:04:11.134Z] Step 15/24 : WORKDIR / [2021-10-14T08:04:11.134Z] ---> Running in 81ec21a8a74e [2021-10-14T08:04:11.744Z] Removing intermediate container 81ec21a8a74e [2021-10-14T08:04:11.744Z] ---> ed65b9904216 [2021-10-14T08:04:11.744Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T08:04:12.351Z] ---> 9b1dad7e0f50 [2021-10-14T08:04:12.351Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T08:04:13.805Z] ---> a9a2c15444f0 [2021-10-14T08:04:13.805Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T08:04:14.409Z] ---> 332cd7a38e9b [2021-10-14T08:04:14.409Z] Step 19/24 : EXPOSE 59999 [2021-10-14T08:04:14.686Z] ---> Running in dba1d77f8c17 [2021-10-14T08:04:15.290Z] Removing intermediate container dba1d77f8c17 [2021-10-14T08:04:15.290Z] ---> 57be0f351f0c [2021-10-14T08:04:15.290Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T08:04:15.290Z] ---> Running in 2d41ce6973ba [2021-10-14T08:04:15.567Z] Removing intermediate container 2d41ce6973ba [2021-10-14T08:04:15.567Z] ---> 29a9c0508d2d [2021-10-14T08:04:15.567Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T08:04:15.846Z] ---> Running in 19e7b9039100 [2021-10-14T08:04:16.451Z] Removing intermediate container 19e7b9039100 [2021-10-14T08:04:16.451Z] ---> b20f110fec72 [2021-10-14T08:04:16.451Z] Step 22/24 : LABEL arch=arm64 [2021-10-14T08:04:16.451Z] ---> Running in 99333c176b6c [2021-10-14T08:04:17.057Z] Removing intermediate container 99333c176b6c [2021-10-14T08:04:17.057Z] ---> 850a9b3b54b3 [2021-10-14T08:04:17.057Z] Step 23/24 : LABEL git_sha=1a6f6b93c459f04c3a269235b73dbd518a4320bb [2021-10-14T08:04:17.057Z] ---> Running in 3cb5d2f9338b [2021-10-14T08:04:17.660Z] Removing intermediate container 3cb5d2f9338b [2021-10-14T08:04:17.660Z] ---> c1e4ca4658fb [2021-10-14T08:04:17.660Z] Step 24/24 : LABEL version=0.0.0 [2021-10-14T08:04:17.660Z] ---> Running in 6256b15bba05 [2021-10-14T08:04:18.261Z] Removing intermediate container 6256b15bba05 [2021-10-14T08:04:18.261Z] ---> c77e8605dc68 [2021-10-14T08:04:18.261Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T08:04:18.261Z] Successfully built c77e8605dc68 [2021-10-14T08:04:18.261Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:04:19.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:04:19.346Z] [2021-10-14T08:04:19.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:04:19.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:04:20.014Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-14T08:04:20.014Z] 448f6bf000e3: Pulling fs layer [2021-10-14T08:04:20.014Z] f757da607395: Pulling fs layer [2021-10-14T08:04:20.014Z] 05883995daec: Pulling fs layer [2021-10-14T08:04:20.014Z] 8603b9c90790: Pulling fs layer [2021-10-14T08:04:20.014Z] 1560dd03e051: Pulling fs layer [2021-10-14T08:04:20.014Z] 27f5ce0e4adf: Pulling fs layer [2021-10-14T08:04:20.014Z] c2d8d7efcc4b: Pulling fs layer [2021-10-14T08:04:20.014Z] 8603b9c90790: Waiting [2021-10-14T08:04:20.014Z] 1560dd03e051: Waiting [2021-10-14T08:04:20.014Z] 27f5ce0e4adf: Waiting [2021-10-14T08:04:20.014Z] c2d8d7efcc4b: Waiting [2021-10-14T08:04:20.294Z] f757da607395: Verifying Checksum [2021-10-14T08:04:20.294Z] f757da607395: Download complete [2021-10-14T08:04:20.294Z] 8603b9c90790: Verifying Checksum [2021-10-14T08:04:20.294Z] 8603b9c90790: Download complete [2021-10-14T08:04:20.294Z] 1560dd03e051: Verifying Checksum [2021-10-14T08:04:20.294Z] 1560dd03e051: Download complete [2021-10-14T08:04:20.294Z] 05883995daec: Verifying Checksum [2021-10-14T08:04:20.294Z] 05883995daec: Download complete [2021-10-14T08:04:20.294Z] 27f5ce0e4adf: Download complete [2021-10-14T08:04:20.571Z] 448f6bf000e3: Verifying Checksum [2021-10-14T08:04:20.571Z] 448f6bf000e3: Download complete [2021-10-14T08:04:23.224Z] c2d8d7efcc4b: Verifying Checksum [2021-10-14T08:04:23.224Z] c2d8d7efcc4b: Download complete [2021-10-14T08:04:24.224Z] 448f6bf000e3: Pull complete [2021-10-14T08:04:24.832Z] f757da607395: Pull complete [2021-10-14T08:04:26.290Z] 05883995daec: Pull complete [2021-10-14T08:04:26.897Z] 8603b9c90790: Pull complete [2021-10-14T08:04:27.503Z] 1560dd03e051: Pull complete [2021-10-14T08:04:28.107Z] 27f5ce0e4adf: Pull complete [2021-10-14T08:04:43.278Z] c2d8d7efcc4b: Pull complete [2021-10-14T08:04:43.278Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-14T08:04:43.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:04:43.278Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-14T08:04:43.564Z] prd-ubuntu18.04-docker-arm64-4c-16g-1365 does not seem to be running inside a container [2021-10-14T08:04:43.670Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-14T08:04:47.067Z] $ docker top 4dedd5960bdce20f9c5f8ec96e99a19b2b98680ef91127ededeb1ada0df36d02 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:04:48.112Z] ---> job-cost.sh [2021-10-14T08:04:48.112Z] lf-activate-venv: SKIPPING [2021-10-14T08:04:48.112Z] INFO: No Stack... [2021-10-14T08:04:48.715Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-14T08:04:48.993Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T08:04:49.688Z] + cut -d, -f6+ [2021-10-14T08:04:49.688Z] cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-10-14T08:04:49.784Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1034-1-stack-cost] [2021-10-14T08:04:49.790Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1034-1-stack-cost] did not exist. Created. [2021-10-14T08:04:49.790Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1034-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T08:04:50.543Z] /w/workspace/device-sdk-go/1@tmp/durable-90e5ebd3/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-90e5ebd3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-14T08:04:51.254Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-14T08:04:51.294Z] Warning: overwriting stash ‘stack-cost’ [2021-10-14T08:04:51.359Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T08:04:51.375Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1034-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T08:04:51.421Z] $ docker stop --time=1 4dedd5960bdce20f9c5f8ec96e99a19b2b98680ef91127ededeb1ada0df36d02 [2021-10-14T08:04:53.041Z] $ docker rm -f 4dedd5960bdce20f9c5f8ec96e99a19b2b98680ef91127ededeb1ada0df36d02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-14T08:04:54.255Z] provisioning config files... [2021-10-14T08:04:54.265Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1034@tmp/config4274303593248664374tmp [Pipeline] { [Pipeline] sh [2021-10-14T08:04:54.596Z] + set +x [2021-10-14T08:04:54.596Z] + curl -s https://codecov.io/bash [2021-10-14T08:04:54.596Z] + bash -s -- [2021-10-14T08:04:54.596Z] [2021-10-14T08:04:54.596Z] _____ _ [2021-10-14T08:04:54.596Z] / ____| | | [2021-10-14T08:04:54.596Z] | | ___ __| | ___ ___ _____ __ [2021-10-14T08:04:54.596Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-14T08:04:54.596Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-14T08:04:54.596Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-14T08:04:54.596Z] Bash-1.0.6 [2021-10-14T08:04:54.596Z] [2021-10-14T08:04:54.596Z] [2021-10-14T08:04:54.596Z] ==> git version 2.24.4 found [2021-10-14T08:04:54.596Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-14T08:04:54.596Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-14T08:04:54.596Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-14T08:04:54.596Z] ==> Jenkins CI detected. [2021-10-14T08:04:54.596Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1034 [2021-10-14T08:04:54.596Z] project root: . [2021-10-14T08:04:54.596Z] --> token set from env [2021-10-14T08:04:54.596Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-14T08:04:54.858Z] ==> Running gcov in . (disable via -X gcov) [2021-10-14T08:04:54.858Z] ==> Python coveragepy not found [2021-10-14T08:04:54.858Z] ==> Searching for coverage reports in: [2021-10-14T08:04:54.858Z] + . [2021-10-14T08:04:54.858Z] -> Found 1 reports [2021-10-14T08:04:54.858Z] ==> Detecting git/mercurial file structure [2021-10-14T08:04:54.859Z] ==> Reading reports [2021-10-14T08:04:54.859Z] + ./coverage.out bytes=126432 [2021-10-14T08:04:54.859Z] ==> Appending adjustments [2021-10-14T08:04:54.859Z] https://docs.codecov.io/docs/fixing-reports [2021-10-14T08:04:55.119Z] + Found adjustments [2021-10-14T08:04:55.119Z] ==> Gzipping contents [2021-10-14T08:04:55.119Z] 16K /tmp/codecov.iSvkD5.gz [2021-10-14T08:04:55.119Z] ==> Uploading reports [2021-10-14T08:04:55.119Z] url: https://codecov.io [2021-10-14T08:04:55.120Z] query: branch=PR-1034&commit=1a6f6b93c459f04c3a269235b73dbd518a4320bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1034%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1034&job=&cmd_args= [2021-10-14T08:04:55.120Z] -> Pinging Codecov [2021-10-14T08:04:55.120Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1034&commit=1a6f6b93c459f04c3a269235b73dbd518a4320bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1034%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1034&job=&cmd_args= [2021-10-14T08:04:55.380Z] -> Uploading to [2021-10-14T08:04:55.380Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-14/7E55EF52A471D76F132DFD9A03CDDE97/1a6f6b93c459f04c3a269235b73dbd518a4320bb/8a4cac1d-63ef-4219-aee5-cd9d074db2dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T080455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df928460c1f8c32f2e1b9a1c43d90ad7e654e2f68fb0003a1858f48007e604ee [2021-10-14T08:04:55.380Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T08:04:55.380Z] Dload Upload Total Spent Left Speed [2021-10-14T08:04:55.640Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16098 0 0 100 16098 0 51424 --:--:-- --:--:-- --:--:-- 51431 100 16098 0 0 100 16098 0 51399 --:--:-- --:--:-- --:--:-- 51267 [2021-10-14T08:04:55.640Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1a6f6b93c459f04c3a269235b73dbd518a4320bb [Pipeline] } [2021-10-14T08:04:55.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-14T08:04:57.536Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1034/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:04:57.861Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:04:58.462Z] ---> package-listing.sh [2021-10-14T08:04:58.462Z] ++ facter osfamily [2021-10-14T08:04:58.462Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-14T08:04:58.723Z] + OS_FAMILY=redhat [2021-10-14T08:04:58.723Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1034 [2021-10-14T08:04:58.723Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-14T08:04:58.723Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-14T08:04:58.723Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-14T08:04:58.723Z] + PACKAGES=/tmp/packages_start.txt [2021-10-14T08:04:58.723Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1034 ']' [2021-10-14T08:04:58.723Z] + PACKAGES=/tmp/packages_end.txt [2021-10-14T08:04:58.723Z] + case "${OS_FAMILY}" in [2021-10-14T08:04:58.723Z] + rpm -qa [2021-10-14T08:04:58.723Z] + sort [2021-10-14T08:04:59.294Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-14T08:04:59.294Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-14T08:04:59.294Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-14T08:04:59.294Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1034 ']' [2021-10-14T08:04:59.294Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1034/archives/ [2021-10-14T08:04:59.294Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1034/archives/ [Pipeline] echo [2021-10-14T08:04:59.324Z] 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-1034/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-14T08:04:59.623Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:05:00.218Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:05:00.218Z] [2021-10-14T08:05:00.218Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:05:00.549Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:05:00.549Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T08:05:00.549Z] b4d181a07f80: Pulling fs layer [2021-10-14T08:05:00.549Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T08:05:00.549Z] ed53099fbce6: Pulling fs layer [2021-10-14T08:05:00.549Z] dc539afda2c1: Pulling fs layer [2021-10-14T08:05:00.549Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T08:05:00.549Z] 9065ff56babe: Pulling fs layer [2021-10-14T08:05:00.549Z] d287ab97295c: Pulling fs layer [2021-10-14T08:05:00.549Z] dc539afda2c1: Waiting [2021-10-14T08:05:00.549Z] 77bc0d833cb6: Waiting [2021-10-14T08:05:00.549Z] 9065ff56babe: Waiting [2021-10-14T08:05:00.549Z] d287ab97295c: Waiting [2021-10-14T08:05:00.549Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T08:05:00.549Z] a1111a8f2ec3: Download complete [2021-10-14T08:05:00.549Z] dc539afda2c1: Verifying Checksum [2021-10-14T08:05:00.549Z] dc539afda2c1: Download complete [2021-10-14T08:05:00.549Z] ed53099fbce6: Verifying Checksum [2021-10-14T08:05:00.549Z] ed53099fbce6: Download complete [2021-10-14T08:05:00.549Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T08:05:00.549Z] 77bc0d833cb6: Download complete [2021-10-14T08:05:00.549Z] 9065ff56babe: Verifying Checksum [2021-10-14T08:05:00.549Z] 9065ff56babe: Download complete [2021-10-14T08:05:00.809Z] b4d181a07f80: Verifying Checksum [2021-10-14T08:05:00.809Z] b4d181a07f80: Download complete [2021-10-14T08:05:01.386Z] d287ab97295c: Verifying Checksum [2021-10-14T08:05:01.386Z] d287ab97295c: Download complete [2021-10-14T08:05:02.336Z] b4d181a07f80: Pull complete [2021-10-14T08:05:02.336Z] a1111a8f2ec3: Pull complete [2021-10-14T08:05:02.933Z] ed53099fbce6: Pull complete [2021-10-14T08:05:02.933Z] dc539afda2c1: Pull complete [2021-10-14T08:05:03.195Z] 77bc0d833cb6: Pull complete [2021-10-14T08:05:03.463Z] 9065ff56babe: Pull complete [2021-10-14T08:05:08.801Z] d287ab97295c: Pull complete [2021-10-14T08:05:08.801Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T08:05:08.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:05:08.801Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T08:05:08.893Z] prd-centos7-docker-4c-2g-1363 does not seem to be running inside a container [2021-10-14T08:05:08.929Z] $ 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-1034/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-1034 -v /w/workspace/gexfoundry_device-sdk-go_PR-1034:/w/workspace/gexfoundry_device-sdk-go_PR-1034:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1034@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1034@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T08:05:11.629Z] $ docker top 07e52da080f9e257a18ffb1ef7418ae541feb1fbd94349a82ebc6374c6cf1cea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:05:12.024Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-14T08:05:12.336Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-14T08:05:12.644Z] + ls /var/log/sa-host [2021-10-14T08:05:12.644Z] + sadf -c /var/log/sa-host/sa14 [2021-10-14T08:05:12.644Z] file_magic: OK [2021-10-14T08:05:12.644Z] HZ: Using current value: 100 [2021-10-14T08:05:12.644Z] file_header: OK [2021-10-14T08:05:12.644Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-14T08:05:12.644Z] Statistics: [2021-10-14T08:05:12.644Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T08:05:12.644Z] File successfully converted to sysstat format version 12.0.3 [2021-10-14T08:05:12.644Z] + sadf -c /var/log/sa-host/sa30 [2021-10-14T08:05:12.644Z] file_magic: OK [2021-10-14T08:05:12.644Z] HZ: Using current value: 100 [2021-10-14T08:05:12.644Z] file_header: OK [2021-10-14T08:05:12.644Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-14T08:05:12.644Z] Statistics: [2021-10-14T08:05:12.644Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T08:05:12.644Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:05:12.976Z] provisioning config files... [2021-10-14T08:05:12.983Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1034@tmp/config2224087974284270475tmp [Pipeline] { [Pipeline] echo [2021-10-14T08:05:13.019Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:05:13.338Z] ---> create-netrc.sh [Pipeline] } [2021-10-14T08:05:13.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:05:13.768Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-14T08:05:13.792Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:05:14.109Z] ---> sudo-logs.sh [2021-10-14T08:05:14.109Z] Archiving 'sudo' log.. [2021-10-14T08:05:14.109Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1363.novalocal: Name or service not known [2021-10-14T08:05:14.109Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1363.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-14T08:05:14.172Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:05:14.495Z] ---> job-cost.sh [2021-10-14T08:05:14.495Z] lf-activate-venv: SKIPPING [2021-10-14T08:05:14.495Z] DEBUG: total: 0.10999999940395355 [2021-10-14T08:05:14.495Z] INFO: Retrieving Stack Cost... [2021-10-14T08:05:14.760Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T08:05:15.332Z] INFO: Archiving Costs [Pipeline] echo [2021-10-14T08:05:15.358Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:05:15.678Z] ---> logs-deploy.sh [2021-10-14T08:05:15.678Z] lf-activate-venv: SKIPPING [2021-10-14T08:05:15.678Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1034/1 [2021-10-14T08:05:15.678Z] INFO: archiving workspace using pattern(s): [2021-10-14T08:05:16.250Z] Archives upload complete. [2021-10-14T08:05:16.513Z] INFO: archiving logs to Nexus