Pull request #1074 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 jpwhitemn for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 3199f92bba610db9294d51f2a575e13e069dd597+940e3e0006af72bcfe711ffd8de496c555aa02b6 (94fe754fcbab65a6024022b989620e0a42e7b22d) 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-ssh5531556087686428078.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh8888792287048189243.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-1074/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-1074/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17419974345359891093.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-1074/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5287106891999845382.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh3986942172639341467.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-1074/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-1074/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4347979028462880304.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-861 in /w/workspace/gexfoundry_device-sdk-go_PR-1074 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-1074 # 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-1074@tmp/jenkins-gitclient-ssh7074743928614323462.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 940e3e0006af72bcfe711ffd8de496c555aa02b6 into PR head commit 3199f92bba610db9294d51f2a575e13e069dd597 > 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-1074@tmp/jenkins-gitclient-ssh3319069635595105292.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1074/head:refs/remotes/origin/PR-1074 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 3199f92bba610db9294d51f2a575e13e069dd597 Checking out Revision 3199f92bba610db9294d51f2a575e13e069dd597 (PR-1074) > git checkout -f 3199f92bba610db9294d51f2a575e13e069dd597 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/jenkins-gitclient-ssh7850919231824576355.key > git merge 940e3e0006af72bcfe711ffd8de496c555aa02b6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3199f92bba610db9294d51f2a575e13e069dd597 # timeout=10 Commit message: "docs: update issue templates to include required sections" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:53:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:53:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:53:26 ========================================================= 20:53:26 EdgeX Global Pipelines Version Info 20:53:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:53:27 ------------------- 20:53:27 stable info: 20:53:27 ------------------- 20:53:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:53:27 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 20:53:27 Message: update stable to v1.0.217 20:53:28 ------------------- 20:53:28 experimental info: 20:53:28 ------------------- 20:53:28 Commited By: **** collab-it+edgex@linuxfoundation.org 20:53:28 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 20:53:28 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:53:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1074 [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1074 [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1074 [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3199f92bba610db9294d51f2a575e13e069dd597 [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3199f92 [Pipeline] echo 20:53:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:29 provisioning config files... 20:53:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/config6150727866320210227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:30 ---> docker-login.sh 20:53:30 nexus3.edgexfoundry.org:10001 20:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:30 Configure a credential helper to remove this warning. See 20:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:30 20:53:30 Login Succeeded 20:53:30 nexus3.edgexfoundry.org:10002 20:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:30 Configure a credential helper to remove this warning. See 20:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:30 20:53:30 Login Succeeded 20:53:30 nexus3.edgexfoundry.org:10003 20:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:30 Configure a credential helper to remove this warning. See 20:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:30 20:53:30 Login Succeeded 20:53:30 nexus3.edgexfoundry.org:10004 20:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:30 Configure a credential helper to remove this warning. See 20:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:30 20:53:30 Login Succeeded 20:53:30 docker.io 20:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:30 Configure a credential helper to remove this warning. See 20:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:30 20:53:30 Login Succeeded 20:53:30 ---> docker-login.sh ends [Pipeline] } 20:53:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:53:31 + git rev-list -1 --merges 3199f92bba610db9294d51f2a575e13e069dd597~1..3199f92bba610db9294d51f2a575e13e069dd597 [Pipeline] echo 20:53:31 -----------> git rev-list -1 --merges 3199f92bba610db9294d51f2a575e13e069dd597~1..3199f92bba610db9294d51f2a575e13e069dd597 3199f92bba610db9294d51f2a575e13e069dd597 [false] [Pipeline] sh 20:53:31 + git log --format=format:%s -1 3199f92bba610db9294d51f2a575e13e069dd597 [Pipeline] echo 20:53:31 ========================================================= 20:53:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:53:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:53:32 + git log --format=format:%s -1 3199f92bba610db9294d51f2a575e13e069dd597 [Pipeline] echo 20:53:32 [semverPrep] GIT_COMMIT: 3199f92bba610db9294d51f2a575e13e069dd597, Commit Message: docs: update issue templates to include required sections [Pipeline] echo 20:53:32 [semverPrep] This is not a build commit. [Pipeline] sh 20:53:32 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:53:32 + grep -v github /etc/ssh/ssh_known_hosts 20:53:32 + '[' -e /tmp/ssh_known_hosts ']' 20:53:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:53:32 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 20:53:32 + sudo tee -a /etc/ssh/ssh_known_hosts 20:53:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:53:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:53:33 20:53:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:53:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:53:33 latest: Pulling from edgex-devops/git-semver 20:53:33 a0d0a0d46f8b: Pulling fs layer 20:53:33 3e5f54012d9b: Pulling fs layer 20:53:33 4c7163046ea9: Pulling fs layer 20:53:33 0c2d73faf560: Pulling fs layer 20:53:33 0c2d73faf560: Waiting 20:53:33 3e5f54012d9b: Verifying Checksum 20:53:33 3e5f54012d9b: Download complete 20:53:33 a0d0a0d46f8b: Verifying Checksum 20:53:33 a0d0a0d46f8b: Download complete 20:53:33 4c7163046ea9: Verifying Checksum 20:53:33 4c7163046ea9: Download complete 20:53:33 0c2d73faf560: Verifying Checksum 20:53:33 0c2d73faf560: Download complete 20:53:33 a0d0a0d46f8b: Pull complete 20:53:33 3e5f54012d9b: Pull complete 20:53:34 4c7163046ea9: Pull complete 20:53:34 0c2d73faf560: Pull complete 20:53:34 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:53:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:53:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:53:34 prd-centos7-docker-4c-2g-861 does not seem to be running inside a container 20:53:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1074 -v /w/workspace/gexfoundry_device-sdk-go_PR-1074:/w/workspace/gexfoundry_device-sdk-go_PR-1074:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1074@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 20:53:35 $ docker top 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:35 [ssh-agent] Looking for ssh-agent implementation... 20:53:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:35 $ docker exec 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 ssh-agent 20:53:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhhPPBM/agent.14 20:53:35 SSH_AGENT_PID=21 20:53:35 Running ssh-add (command line suppressed) 20:53:35 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/private_key_5675597249705450317.key (/w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/private_key_5675597249705450317.key) 20:53:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:36 + git tag --points-at HEAD [Pipeline] } 20:53:36 $ docker exec --env ******** --env ******** 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 ssh-agent -k 20:53:36 unset SSH_AUTH_SOCK; 20:53:36 unset SSH_AGENT_PID; 20:53:36 echo Agent pid 21 killed; 20:53:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:53:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:36 [ssh-agent] Looking for ssh-agent implementation... 20:53:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:36 $ docker exec 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 ssh-agent 20:53:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkiIkED/agent.54 20:53:36 SSH_AGENT_PID=61 20:53:36 Running ssh-add (command line suppressed) 20:53:36 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/private_key_7149893652825717636.key (/w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/private_key_7149893652825717636.key) 20:53:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:36 + git semver init 20:53:36 # -> Open(): unable to determine branch for HEAD 20:53:36 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1074/.git 20:53:36 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1074 20:53:36 # $SEMVER_REMOTE_NAME = origin 20:53:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:53:36 # $SEMVER_USER_NAME = edgex-jenkins 20:53:36 # $SEMVER_BRANCH = PR-1074 20:53:36 # $SEMVER_TEMP = /tmp/semver-004280609 20:53:36 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 20:53:38 # '/tmp/semver-004280609' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1074/.semver' 20:53:38 # -> Force: false 20:53:38 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1074/.semver [Pipeline] } 20:53:38 $ docker exec --env ******** --env ******** 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 ssh-agent -k 20:53:38 unset SSH_AUTH_SOCK; 20:53:38 unset SSH_AGENT_PID; 20:53:38 echo Agent pid 61 killed; 20:53:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:39 + git semver [Pipeline] } 20:53:39 $ docker stop --time=1 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 20:53:40 $ docker rm -f 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 [Pipeline] // withDockerContainer [Pipeline] sh 20:53:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:53:41 Stashed 1 file(s) [Pipeline] echo 20:53:41 [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 20:53:56 Still waiting to schedule task 20:53:56 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-861’ 20:53:56 Still waiting to schedule task 20:53:56 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:55:19 Running on prd-ubuntu18.04-docker-arm64-4c-16g-862 in /w/workspace/gexfoundry_device-sdk-go_PR-1074 [Pipeline] { [Pipeline] ws 20:55:19 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:55:19 The recommended git tool is: git 20:55:23 using credential edgex-jenkins-ssh 20:55:23 Cloning the remote Git repository 20:55:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:55:24 > git init /w/workspace/device-sdk-go/1 # timeout=10 20:55:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:55:24 > git --version # timeout=10 20:55:24 > git --version # 'git version 2.17.1' 20:55:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:55:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:55:26 Merging remotes/origin/main commit 940e3e0006af72bcfe711ffd8de496c555aa02b6 into PR head commit 3199f92bba610db9294d51f2a575e13e069dd597 20:55:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:55:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:55:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:55:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:55:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:55:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1074/head:refs/remotes/origin/PR-1074 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:55:26 > git config core.sparsecheckout # timeout=10 20:55:26 > git checkout -f 3199f92bba610db9294d51f2a575e13e069dd597 # timeout=10 20:55:26 Merge succeeded, producing 3199f92bba610db9294d51f2a575e13e069dd597 20:55:26 Checking out Revision 3199f92bba610db9294d51f2a575e13e069dd597 (PR-1074) 20:55:26 > git remote # timeout=10 20:55:26 > git config --get remote.origin.url # timeout=10 20:55:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:55:26 > git merge 940e3e0006af72bcfe711ffd8de496c555aa02b6 # timeout=10 20:55:26 > git rev-parse HEAD^{commit} # timeout=10 20:55:26 > git config core.sparsecheckout # timeout=10 20:55:26 > git checkout -f 3199f92bba610db9294d51f2a575e13e069dd597 # timeout=10 20:55:31 Commit message: "docs: update issue templates to include required sections" 20:55:31 > git --version # timeout=10 20:55:31 > git --version # 'git version 2.17.1' 20:55:31 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:55:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:55:32 % Total % Received % Xferd Average Speed Time Time Time Current 20:55:32 Dload Upload Total Spent Left Speed 20:55:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 70802 0 --:--:-- --:--:-- --:--:-- 71228 [Pipeline] sh 20:55:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:55:33 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 20:55:33 20:55:33 { 20:55:33 "registry-mirrors": [ 20:55:33 "https://nexus3.edgexfoundry.org:10001" 20:55:33 ], 20:55:33 "bip": "10.250.0.254/24", 20:55:33 "hosts": [ 20:55:33 "tcp://0.0.0.0:5555", 20:55:33 "unix:///var/run/docker.sock" 20:55:33 ], 20:55:33 "mtu": 1458, 20:55:33 "selinux-enabled": true, 20:55:33 "seccomp-profile": "/etc/docker/seccomp.json" 20:55:33 } [Pipeline] sh 20:55:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:55:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:52 provisioning config files... 20:55:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4365685284458847867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:52 ---> docker-login.sh 20:55:52 nexus3.edgexfoundry.org:10001 20:55:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:53 Configure a credential helper to remove this warning. See 20:55:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:53 20:55:53 Login Succeeded 20:55:53 nexus3.edgexfoundry.org:10002 20:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:54 Configure a credential helper to remove this warning. See 20:55:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:54 20:55:54 Login Succeeded 20:55:54 nexus3.edgexfoundry.org:10003 20:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:54 Configure a credential helper to remove this warning. See 20:55:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:54 20:55:54 Login Succeeded 20:55:54 nexus3.edgexfoundry.org:10004 20:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:54 Configure a credential helper to remove this warning. See 20:55:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:54 20:55:54 Login Succeeded 20:55:54 docker.io 20:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:55 Configure a credential helper to remove this warning. See 20:55:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:55 20:55:55 Login Succeeded 20:55:55 ---> docker-login.sh ends [Pipeline] } 20:55:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:55:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:55:56 ========================================================= 20:55:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:55:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:55:56 + 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 . 20:55:56 Sending build context to Docker daemon 4.971MB 20:55:56 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 20:55:56 Step 2/10 : FROM ${BASE} AS builder 20:55:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:55:57 552d1f2373af: Pulling fs layer 20:55:57 ea3f2d53f512: Pulling fs layer 20:55:57 9e70ebbbe112: Pulling fs layer 20:55:57 7a9cfe048b4a: Pulling fs layer 20:55:57 72dc09318566: Pulling fs layer 20:55:57 f4f7b4309257: Pulling fs layer 20:55:57 0ac9a79272e3: Pulling fs layer 20:55:57 b78e95d17946: Pulling fs layer 20:55:57 f4f7b4309257: Waiting 20:55:57 0ac9a79272e3: Waiting 20:55:57 b78e95d17946: Waiting 20:55:57 7a9cfe048b4a: Waiting 20:55:57 72dc09318566: Waiting 20:55:57 9e70ebbbe112: Verifying Checksum 20:55:57 9e70ebbbe112: Download complete 20:55:57 ea3f2d53f512: Download complete 20:55:57 72dc09318566: Verifying Checksum 20:55:57 72dc09318566: Download complete 20:55:57 f4f7b4309257: Verifying Checksum 20:55:57 f4f7b4309257: Download complete 20:55:57 552d1f2373af: Download complete 20:55:57 0ac9a79272e3: Verifying Checksum 20:55:57 0ac9a79272e3: Download complete 20:55:58 552d1f2373af: Pull complete 20:55:58 ea3f2d53f512: Pull complete 20:55:58 9e70ebbbe112: Pull complete 20:55:59 b78e95d17946: Verifying Checksum 20:55:59 b78e95d17946: Download complete 20:55:59 7a9cfe048b4a: Verifying Checksum 20:55:59 7a9cfe048b4a: Download complete 20:56:03 Running on prd-centos7-docker-4c-2g-863 in /w/workspace/gexfoundry_device-sdk-go_PR-1074 [Pipeline] { [Pipeline] ws 20:56:03 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:56:04 The recommended git tool is: git 20:56:05 using credential edgex-jenkins-ssh 20:56:05 Cloning the remote Git repository 20:56:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:56:05 > git init /w/workspace/device-sdk-go/1 # timeout=10 20:56:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:56:05 > git --version # timeout=10 20:56:05 > git --version # 'git version 2.24.4' 20:56:05 using GIT_SSH to set credentials SSH Credentials for GitHub 20:56:05 [INFO] Currently running in a labeled security context 20:56:05 [INFO] Currently SELinux is 'enforcing' on the host 20:56:05 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3694915754502641346.key 20:56:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:56:07 Merging remotes/origin/main commit 940e3e0006af72bcfe711ffd8de496c555aa02b6 into PR head commit 3199f92bba610db9294d51f2a575e13e069dd597 20:56:07 Merge succeeded, producing 3199f92bba610db9294d51f2a575e13e069dd597 20:56:07 Checking out Revision 3199f92bba610db9294d51f2a575e13e069dd597 (PR-1074) 20:56:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:56:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:56:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:56:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:56:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:56:06 [INFO] Currently running in a labeled security context 20:56:06 [INFO] Currently SELinux is 'enforcing' on the host 20:56:06 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh5840170078070591417.key 20:56:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1074/head:refs/remotes/origin/PR-1074 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:56:06 > git config core.sparsecheckout # timeout=10 20:56:06 > git checkout -f 3199f92bba610db9294d51f2a575e13e069dd597 # timeout=10 20:56:06 > git remote # timeout=10 20:56:06 > git config --get remote.origin.url # timeout=10 20:56:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:56:06 [INFO] Currently running in a labeled security context 20:56:06 [INFO] Currently SELinux is 'enforcing' on the host 20:56:06 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh881515416252966308.key 20:56:06 > git merge 940e3e0006af72bcfe711ffd8de496c555aa02b6 # timeout=10 20:56:06 > git rev-parse HEAD^{commit} # timeout=10 20:56:06 > git config core.sparsecheckout # timeout=10 20:56:06 > git checkout -f 3199f92bba610db9294d51f2a575e13e069dd597 # timeout=10 20:56:10 Commit message: "docs: update issue templates to include required sections" 20:56:10 > git --version # timeout=10 20:56:10 > git --version # 'git version 2.24.4' 20:56:10 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:11 provisioning config files... 20:56:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8227998643008827850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:11 7a9cfe048b4a: Pull complete 20:56:11 72dc09318566: Pull complete 20:56:11 f4f7b4309257: Pull complete 20:56:11 0ac9a79272e3: Pull complete 20:56:11 ---> docker-login.sh 20:56:11 nexus3.edgexfoundry.org:10001 20:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:12 Configure a credential helper to remove this warning. See 20:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:12 20:56:12 Login Succeeded 20:56:12 nexus3.edgexfoundry.org:10002 20:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:12 Configure a credential helper to remove this warning. See 20:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:12 20:56:12 Login Succeeded 20:56:12 nexus3.edgexfoundry.org:10003 20:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:12 Configure a credential helper to remove this warning. See 20:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:12 20:56:12 Login Succeeded 20:56:12 nexus3.edgexfoundry.org:10004 20:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:12 Configure a credential helper to remove this warning. See 20:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:12 20:56:12 Login Succeeded 20:56:12 docker.io 20:56:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:12 Configure a credential helper to remove this warning. See 20:56:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:12 20:56:12 Login Succeeded 20:56:12 ---> docker-login.sh ends [Pipeline] } 20:56:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:56:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:13 ========================================================= 20:56:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:56:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:56:13 + 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 . 20:56:13 Sending build context to Docker daemon 4.972MB 20:56:13 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 20:56:13 Step 2/10 : FROM ${BASE} AS builder 20:56:13 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:56:13 a0d0a0d46f8b: Pulling fs layer 20:56:13 31adcdaf11c8: Pulling fs layer 20:56:13 b8b176561691: Pulling fs layer 20:56:13 4527c011a84f: Pulling fs layer 20:56:13 5d74067f8e1e: Pulling fs layer 20:56:13 e0aca202a116: Pulling fs layer 20:56:13 3a43be97a3b4: Pulling fs layer 20:56:13 34cad66bf833: Pulling fs layer 20:56:13 b4e3c513aaa6: Pulling fs layer 20:56:13 e0aca202a116: Waiting 20:56:13 3a43be97a3b4: Waiting 20:56:13 34cad66bf833: Waiting 20:56:13 b4e3c513aaa6: Waiting 20:56:13 4527c011a84f: Waiting 20:56:13 b8b176561691: Verifying Checksum 20:56:13 b8b176561691: Download complete 20:56:13 31adcdaf11c8: Verifying Checksum 20:56:13 31adcdaf11c8: Download complete 20:56:13 5d74067f8e1e: Verifying Checksum 20:56:13 5d74067f8e1e: Download complete 20:56:13 e0aca202a116: Verifying Checksum 20:56:13 e0aca202a116: Download complete 20:56:13 a0d0a0d46f8b: Verifying Checksum 20:56:13 a0d0a0d46f8b: Download complete 20:56:13 3a43be97a3b4: Verifying Checksum 20:56:13 3a43be97a3b4: Download complete 20:56:13 34cad66bf833: Verifying Checksum 20:56:13 34cad66bf833: Download complete 20:56:14 4527c011a84f: Verifying Checksum 20:56:14 4527c011a84f: Download complete 20:56:14 a0d0a0d46f8b: Pull complete 20:56:14 b4e3c513aaa6: Verifying Checksum 20:56:14 b4e3c513aaa6: Download complete 20:56:14 31adcdaf11c8: Pull complete 20:56:14 b8b176561691: Pull complete 20:56:17 b78e95d17946: Pull complete 20:56:17 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 20:56:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:56:17 ---> 8b459fc5aaf0 20:56:17 Step 3/10 : ARG MAKE=make build 20:56:17 4527c011a84f: Pull complete 20:56:17 5d74067f8e1e: Pull complete 20:56:17 e0aca202a116: Pull complete 20:56:17 3a43be97a3b4: Pull complete 20:56:18 ---> Running in 43d9ba37c644 20:56:18 34cad66bf833: Pull complete 20:56:18 Removing intermediate container 43d9ba37c644 20:56:18 ---> cf1840257055 20:56:18 Step 4/10 : WORKDIR /device-sdk-go 20:56:18 ---> Running in 32057cc9fbd9 20:56:19 Removing intermediate container 32057cc9fbd9 20:56:19 ---> 632a689a92c1 20:56:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:56:19 ---> Running in 818f20d57347 20:56:19 Removing intermediate container 818f20d57347 20:56:19 ---> 5b65b97d62ff 20:56:19 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:56:19 ---> Running in ee2a91a8ce32 20:56:20 b4e3c513aaa6: Pull complete 20:56:20 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 20:56:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:56:20 ---> 9f6097aaca64 20:56:20 Step 3/10 : ARG MAKE=make build 20:56:21 Removing intermediate container ee2a91a8ce32 20:56:21 ---> 6c5e1e16952c 20:56:21 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:56:21 ---> Running in 473e018a9715 20:56:22 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:56:23 ---> Running in 70d87004715e 20:56:23 Removing intermediate container 70d87004715e 20:56:23 ---> b0f8e36f4694 20:56:23 Step 4/10 : WORKDIR /device-sdk-go 20:56:23 ---> Running in f71a85ec821e 20:56:23 Removing intermediate container f71a85ec821e 20:56:23 ---> 7f9fb28dca15 20:56:23 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:56:23 ---> Running in 866f4b0005eb 20:56:23 Removing intermediate container 866f4b0005eb 20:56:23 ---> 553b163e44a0 20:56:23 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:56:23 ---> Running in ddf9ed8bfba8 20:56:23 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:56:23 Removing intermediate container ddf9ed8bfba8 20:56:23 ---> d01d7d823baf 20:56:23 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:56:23 ---> Running in eafe9b5f5926 20:56:23 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:56:24 OK: 219 MiB in 52 packages 20:56:24 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:56:25 OK: 220 MiB in 52 packages 20:56:25 Removing intermediate container 473e018a9715 20:56:25 ---> ee59a670c759 20:56:25 Step 8/10 : COPY . . 20:56:25 Removing intermediate container eafe9b5f5926 20:56:25 ---> d1d42fbc560b 20:56:25 Step 8/10 : COPY . . 20:56:25 ---> d565114b4b9a 20:56:25 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:25 ---> Running in aff20b103fc0 20:56:26 ---> 5decae042e3a 20:56:26 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:26 ---> Running in 8a7c14b2a23f 20:57:04 Removing intermediate container aff20b103fc0 20:57:04 ---> 6e23d137f239 20:57:04 Step 10/10 : RUN ${MAKE} 20:57:04 ---> Running in de5f5083b6d8 20:57:04 noop 20:57:04 Removing intermediate container de5f5083b6d8 20:57:04 ---> eaa5fda1d599 20:57:04 Successfully built eaa5fda1d599 20:57:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:57:04 + docker inspect -f . ci-base-image-x86_64 20:57:04 . [Pipeline] withDockerContainer 20:57:04 prd-centos7-docker-4c-2g-863 does not seem to be running inside a container 20:57:04 $ 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 20:57:05 $ docker top 3c1a2bcd2b9831fe3b6d8facaaa8a0d526cd1beec1db374d79d637f7293e8075 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:05 + go version 20:57:05 go version go1.16.8 linux/amd64 [Pipeline] } 20:57:05 $ docker stop --time=1 3c1a2bcd2b9831fe3b6d8facaaa8a0d526cd1beec1db374d79d637f7293e8075 20:57:07 $ docker rm -f 3c1a2bcd2b9831fe3b6d8facaaa8a0d526cd1beec1db374d79d637f7293e8075 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:57:07 + docker inspect -f . ci-base-image-x86_64 20:57:07 . [Pipeline] withDockerContainer 20:57:07 prd-centos7-docker-4c-2g-863 does not seem to be running inside a container 20:57:07 $ 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 20:57:08 $ docker top 8ff31e1b4e432724bda1514e24ed9bed02e44d6126a1624582d26e6af813722d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:57:08 + make test 20:57:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:57:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:57:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:57:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:57:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:57:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.050s coverage: 23.3% of statements 20:57:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:57:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 27.6% of statements 20:57:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.061s coverage: 78.9% of statements 20:57:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.045s coverage: 9.0% of statements 20:57:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 20:57:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:57:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:57:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 28.7% of statements 20:57:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:57:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.049s coverage: 83.3% of statements 20:57:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:57:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:57:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 57.8% of statements 20:57:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.795s coverage: 89.2% of statements 20:57:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:57:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.8% of statements 20:57:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:57:41 GO111MODULE=on go vet ./... 20:57:48 Removing intermediate container 8a7c14b2a23f 20:57:48 ---> 1e1e1041f857 20:57:48 Step 10/10 : RUN ${MAKE} 20:57:48 ---> Running in 48b69101ad55 20:57:48 noop 20:57:48 Removing intermediate container 48b69101ad55 20:57:48 ---> d0200fd5a3eb 20:57:48 Successfully built d0200fd5a3eb 20:57:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:57:48 + docker inspect -f . ci-base-image-arm64 20:57:48 . [Pipeline] withDockerContainer 20:57:48 prd-ubuntu18.04-docker-arm64-4c-16g-862 does not seem to be running inside a container 20:57:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:57:50 $ docker top c4b45905bf3f23437e89ed3b52cb6cbadb4b4384400d23b96f9a181834ba39e6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:50 + go version 20:57:50 go version go1.16.8 linux/arm64 [Pipeline] } 20:57:50 $ docker stop --time=1 c4b45905bf3f23437e89ed3b52cb6cbadb4b4384400d23b96f9a181834ba39e6 20:57:52 $ docker rm -f c4b45905bf3f23437e89ed3b52cb6cbadb4b4384400d23b96f9a181834ba39e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:57:53 + docker inspect -f . ci-base-image-arm64 20:57:53 . [Pipeline] withDockerContainer 20:57:53 prd-ubuntu18.04-docker-arm64-4c-16g-862 does not seem to be running inside a container 20:57:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:57:54 $ docker top 51fa713107e94563267fadd29af8b162849c06e80b47a2a4ce0f9996d4e31779 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:57:55 + make test 20:57:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:58:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:58:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:58:00 ./bin/test-attribution-txt.sh [Pipeline] echo 20:58:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:58:00 $ docker stop --time=1 8ff31e1b4e432724bda1514e24ed9bed02e44d6126a1624582d26e6af813722d 20:58:01 $ docker rm -f 8ff31e1b4e432724bda1514e24ed9bed02e44d6126a1624582d26e6af813722d [Pipeline] // withDockerContainer [Pipeline] sh 20:58:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:58:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:58:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:58:04 + ls -al . 20:58:04 total 268 20:58:04 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 14 20:57 . 20:58:04 drwxrwxr-x. 4 jenkins jenkins 28 Dec 14 20:56 .. 20:58:04 drwxrwxr-x. 2 jenkins jenkins 37 Dec 14 20:56 bin 20:58:04 -rw-rw-r--. 1 jenkins jenkins 26321 Dec 14 20:56 CHANGELOG.md 20:58:04 -rw-r--r--. 1 jenkins jenkins 128369 Dec 14 20:57 coverage.out 20:58:04 -rw-rw-r--. 1 jenkins jenkins 140 Dec 14 20:56 .dockerignore 20:58:04 drwxrwxr-x. 5 jenkins jenkins 62 Dec 14 20:56 example 20:58:04 drwxrwxr-x. 8 jenkins jenkins 179 Dec 14 20:56 .git 20:58:04 drwxrwxr-x. 3 jenkins jenkins 125 Dec 14 20:56 .github 20:58:04 -rw-rw-r--. 1 jenkins jenkins 131 Dec 14 20:56 .gitignore 20:58:04 -rw-rw-r--. 1 jenkins jenkins 582 Dec 14 20:56 go.mod 20:58:04 -rw-rw-r--. 1 jenkins jenkins 49492 Dec 14 20:56 go.sum 20:58:04 -rw-rw-r--. 1 jenkins jenkins 677 Dec 14 20:56 GOVERNANCE.md 20:58:04 drwxrwxr-x. 15 jenkins jenkins 224 Dec 14 20:56 internal 20:58:04 -rw-rw-r--. 1 jenkins jenkins 880 Dec 14 20:56 Jenkinsfile 20:58:04 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 14 20:56 LICENSE 20:58:04 -rw-rw-r--. 1 jenkins jenkins 1120 Dec 14 20:56 Makefile 20:58:04 drwxrwxr-x. 3 jenkins jenkins 16 Dec 14 20:56 openapi 20:58:04 -rw-rw-r--. 1 jenkins jenkins 619 Dec 14 20:56 OWNERS.md 20:58:04 drwxrwxr-x. 5 jenkins jenkins 50 Dec 14 20:56 pkg 20:58:04 -rw-rw-r--. 1 jenkins jenkins 4881 Dec 14 20:56 README.md 20:58:04 drwxrwxr-x. 4 jenkins jenkins 54 Dec 14 20:56 snap 20:58:04 -rw-rw-r--. 1 jenkins jenkins 5 Dec 14 20:53 VERSION 20:58:04 -rw-rw-r--. 1 jenkins jenkins 222 Dec 14 20:56 version.go [Pipeline] isUnix [Pipeline] sh 20:58:04 + 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=3199f92bba610db9294d51f2a575e13e069dd597 --label arch=amd64 --label version=0.0.0 . 20:58:04 Sending build context to Docker daemon 5.101MB 20:58:04 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 20:58:04 Step 2/24 : FROM ${BASE} AS builder 20:58:04 ---> eaa5fda1d599 20:58:04 Step 3/24 : ARG MAKE=make build 20:58:04 ---> Running in 4d6d7a796d59 20:58:04 Removing intermediate container 4d6d7a796d59 20:58:04 ---> da34d10538cc 20:58:04 Step 4/24 : WORKDIR /device-sdk-go 20:58:04 ---> Running in ea35941bd33e 20:58:04 Removing intermediate container ea35941bd33e 20:58:04 ---> fb408127420f 20:58:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:58:04 ---> Running in 2e50704e91e2 20:58:04 Removing intermediate container 2e50704e91e2 20:58:04 ---> 6ab51e83df12 20:58:04 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:58:04 ---> Running in bb657a74221b 20:58:05 Removing intermediate container bb657a74221b 20:58:05 ---> 0edcd5e1f946 20:58:05 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:58:05 ---> Running in bf5e2fe08ac3 20:58:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:58:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:58:06 OK: 220 MiB in 52 packages 20:58:07 Removing intermediate container bf5e2fe08ac3 20:58:07 ---> 4b345af3f21a 20:58:07 Step 8/24 : COPY . . 20:58:07 ---> c1c3056dbe26 20:58:07 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:07 ---> Running in cb0b96080f94 20:58:07 Removing intermediate container cb0b96080f94 20:58:07 ---> b676f47dd870 20:58:07 Step 10/24 : RUN ${MAKE} 20:58:07 ---> Running in c7d6b85fdaf7 20:58:08 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 20:58:18 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 20:58:20 Removing intermediate container c7d6b85fdaf7 20:58:20 ---> 7904b0aa0153 20:58:20 Step 11/24 : FROM alpine:3.14 20:58:20 3.14: Pulling from library/alpine 20:58:20 97518928ae5f: Pulling fs layer 20:58:20 97518928ae5f: Verifying Checksum 20:58:20 97518928ae5f: Download complete 20:58:20 97518928ae5f: Pull complete 20:58:20 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:58:20 Status: Downloaded newer image for alpine:3.14 20:58:20 ---> 0a97eee8041e 20:58:20 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:58:20 ---> Running in d9b8ab2ae81c 20:58:20 Removing intermediate container d9b8ab2ae81c 20:58:20 ---> d058f7063c51 20:58:20 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:58:20 ---> Running in ae8b1f185b38 20:58:20 Removing intermediate container ae8b1f185b38 20:58:20 ---> f79e304ea2f6 20:58:20 Step 14/24 : RUN apk add --update --no-cache zeromq 20:58:20 ---> Running in 26815347b88a 20:58:21 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:58:22 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:58:22 (1/5) Installing libgcc (10.3.1_git20210424-r2) 20:58:22 (2/5) Installing libsodium (1.0.18-r0) 20:58:22 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 20:58:22 (4/5) Installing libzmq (4.3.4-r0) 20:58:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:58:22 (5/5) Installing zeromq (4.3.4-r0) 20:58:22 Executing busybox-1.33.1-r6.trigger 20:58:22 OK: 8 MiB in 19 packages 20:58:23 Removing intermediate container 26815347b88a 20:58:23 ---> f2e97deeb09c 20:58:23 Step 15/24 : WORKDIR / 20:58:23 ---> Running in 85434f18b4f2 20:58:23 Removing intermediate container 85434f18b4f2 20:58:23 ---> 6e762f5be70b 20:58:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:58:23 ---> e29fdf9d45bd 20:58:23 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:58:23 ---> 02c549f9ed0f 20:58:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:58:24 ---> 0258d20bb7b0 20:58:24 Step 19/24 : EXPOSE 59999 20:58:24 ---> Running in 79d33cb8420f 20:58:24 Removing intermediate container 79d33cb8420f 20:58:24 ---> 08f53f29076f 20:58:24 Step 20/24 : ENTRYPOINT ["/device-simple"] 20:58:24 ---> Running in 3269f38de955 20:58:24 Removing intermediate container 3269f38de955 20:58:24 ---> 6cf1e4282f83 20:58:24 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:58:24 ---> Running in 13533518a03d 20:58:24 Removing intermediate container 13533518a03d 20:58:24 ---> 40b3d19b0c21 20:58:24 Step 22/24 : LABEL arch=amd64 20:58:24 ---> Running in 7d8b4129827f 20:58:24 Removing intermediate container 7d8b4129827f 20:58:24 ---> 5fda73aa29b9 20:58:24 Step 23/24 : LABEL git_sha=3199f92bba610db9294d51f2a575e13e069dd597 20:58:24 ---> Running in 0f0d352d30e5 20:58:24 Removing intermediate container 0f0d352d30e5 20:58:24 ---> 89e220bb72ec 20:58:24 Step 24/24 : LABEL version=0.0.0 20:58:24 ---> Running in 6c9baf548cd2 20:58:24 Removing intermediate container 6c9baf548cd2 20:58:24 ---> 51ae8536d217 20:58:24 [Warning] One or more build-args [ARCH] were not consumed 20:58:24 Successfully built 51ae8536d217 20:58:24 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 20:58:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:25 20:58:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:58:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:25 latest: Pulling from edgex-lftools-log-publisher 20:58:25 b4d181a07f80: Pulling fs layer 20:58:25 a1111a8f2ec3: Pulling fs layer 20:58:25 ed53099fbce6: Pulling fs layer 20:58:25 dc539afda2c1: Pulling fs layer 20:58:25 77bc0d833cb6: Pulling fs layer 20:58:25 9065ff56babe: Pulling fs layer 20:58:25 d287ab97295c: Pulling fs layer 20:58:25 77bc0d833cb6: Waiting 20:58:25 9065ff56babe: Waiting 20:58:25 d287ab97295c: Waiting 20:58:25 dc539afda2c1: Waiting 20:58:25 a1111a8f2ec3: Verifying Checksum 20:58:25 a1111a8f2ec3: Download complete 20:58:25 dc539afda2c1: Verifying Checksum 20:58:25 dc539afda2c1: Download complete 20:58:26 ed53099fbce6: Verifying Checksum 20:58:26 ed53099fbce6: Download complete 20:58:26 9065ff56babe: Verifying Checksum 20:58:26 9065ff56babe: Download complete 20:58:26 77bc0d833cb6: Verifying Checksum 20:58:26 77bc0d833cb6: Download complete 20:58:26 b4d181a07f80: Verifying Checksum 20:58:26 b4d181a07f80: Download complete 20:58:26 d287ab97295c: Verifying Checksum 20:58:26 d287ab97295c: Download complete 20:58:27 b4d181a07f80: Pull complete 20:58:27 a1111a8f2ec3: Pull complete 20:58:28 ed53099fbce6: Pull complete 20:58:28 dc539afda2c1: Pull complete 20:58:28 77bc0d833cb6: Pull complete 20:58:28 9065ff56babe: Pull complete 20:58:33 d287ab97295c: Pull complete 20:58:33 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:58:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:58:33 prd-centos7-docker-4c-2g-863 does not seem to be running inside a container 20:58:33 $ 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 20:58:36 $ docker top 59d93d91b70dac0cde907eddab14d8b3fec1314abe93aa19ccabbbce07f92215 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:37 ---> job-cost.sh 20:58:37 lf-activate-venv: SKIPPING 20:58:37 INFO: No Stack... 20:58:38 INFO: Retrieving Pricing Info for: v3-standard-2 20:58:38 INFO: Archiving Costs [Pipeline] sh 20:58:38 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 20:58:38 + cut -d, -f6 [Pipeline] lock 20:58:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] 20:58:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] did not exist. Created. 20:58:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:39 + echo total: 0.05999999865889549 [Pipeline] stash 20:58:39 Stashed 1 file(s) [Pipeline] } 20:58:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:58:39 $ docker stop --time=1 59d93d91b70dac0cde907eddab14d8b3fec1314abe93aa19ccabbbce07f92215 20:58:40 $ docker rm -f 59d93d91b70dac0cde907eddab14d8b3fec1314abe93aa19ccabbbce07f92215 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:59:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:59:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:59:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:59:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.274s coverage: 23.3% of statements 20:59:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:59:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.199s coverage: 27.6% of statements 20:59:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.260s coverage: 78.9% of statements 20:59:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.205s coverage: 9.0% of statements 20:59:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 20:59:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:59:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:59:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.293s coverage: 28.7% of statements 20:59:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:59:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.410s coverage: 83.3% of statements 20:59:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:59:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:59:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.355s coverage: 57.8% of statements 20:59:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.022s coverage: 89.2% of statements 20:59:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:59:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.192s coverage: 4.8% of statements 20:59:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:59:41 GO111MODULE=on go vet ./... 21:00:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:00:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:00:37 ./bin/test-attribution-txt.sh [Pipeline] echo 21:00:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:00:37 $ docker stop --time=1 51fa713107e94563267fadd29af8b162849c06e80b47a2a4ce0f9996d4e31779 21:00:39 $ docker rm -f 51fa713107e94563267fadd29af8b162849c06e80b47a2a4ce0f9996d4e31779 [Pipeline] // withDockerContainer [Pipeline] sh 21:00:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:00:40 Warning: overwriting stash ‘coverage-report’ 21:00:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:00:42 + ls -al . 21:00:42 total 304 21:00:42 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 21:00 . 21:00:42 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 20:55 .. 21:00:42 -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 20:55 .dockerignore 21:00:42 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 20:55 .git 21:00:42 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:55 .github 21:00:42 -rw-rw-r-- 1 jenkins jenkins 131 Dec 14 20:55 .gitignore 21:00:42 -rw-rw-r-- 1 jenkins jenkins 26321 Dec 14 20:55 CHANGELOG.md 21:00:42 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 20:55 GOVERNANCE.md 21:00:42 -rw-rw-r-- 1 jenkins jenkins 880 Dec 14 20:55 Jenkinsfile 21:00:42 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 14 20:55 LICENSE 21:00:42 -rw-rw-r-- 1 jenkins jenkins 1120 Dec 14 20:55 Makefile 21:00:42 -rw-rw-r-- 1 jenkins jenkins 619 Dec 14 20:55 OWNERS.md 21:00:42 -rw-rw-r-- 1 jenkins jenkins 4881 Dec 14 20:55 README.md 21:00:42 -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 20:53 VERSION 21:00:42 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 20:55 bin 21:00:42 -rw-r--r-- 1 jenkins jenkins 128369 Dec 14 20:59 coverage.out 21:00:42 drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 20:55 example 21:00:42 -rw-rw-r-- 1 jenkins jenkins 582 Dec 14 20:55 go.mod 21:00:42 -rw-rw-r-- 1 jenkins jenkins 49492 Dec 14 20:55 go.sum 21:00:42 drwxrwxr-x 15 jenkins jenkins 4096 Dec 14 20:55 internal 21:00:42 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:55 openapi 21:00:42 drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 20:55 pkg 21:00:42 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 20:55 snap 21:00:42 -rw-rw-r-- 1 jenkins jenkins 222 Dec 14 20:55 version.go [Pipeline] isUnix [Pipeline] sh 21:00:42 + 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=3199f92bba610db9294d51f2a575e13e069dd597 --label arch=arm64 --label version=0.0.0 . 21:00:43 Sending build context to Docker daemon 5.1MB 21:00:43 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 21:00:43 Step 2/24 : FROM ${BASE} AS builder 21:00:43 ---> d0200fd5a3eb 21:00:43 Step 3/24 : ARG MAKE=make build 21:00:43 ---> Running in 2399823e08f4 21:00:43 Removing intermediate container 2399823e08f4 21:00:43 ---> f0e7c4f68584 21:00:43 Step 4/24 : WORKDIR /device-sdk-go 21:00:43 ---> Running in 4caf89172a7c 21:00:43 Removing intermediate container 4caf89172a7c 21:00:43 ---> c9486d05a5ef 21:00:43 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:00:43 ---> Running in fe7c9061b455 21:00:44 Removing intermediate container fe7c9061b455 21:00:44 ---> 91aedbfbc3f3 21:00:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:00:44 ---> Running in 4fa53df65a4b 21:00:45 Removing intermediate container 4fa53df65a4b 21:00:45 ---> 2f0f7a801286 21:00:45 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:00:46 ---> Running in 06cb451c61e7 21:00:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:00:48 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:00:48 OK: 219 MiB in 52 packages 21:00:49 Removing intermediate container 06cb451c61e7 21:00:49 ---> 0e5033a83a34 21:00:49 Step 8/24 : COPY . . 21:00:50 ---> 1bf42c52d4f6 21:00:50 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:50 ---> Running in 52a1a76bae83 21:00:52 Removing intermediate container 52a1a76bae83 21:00:52 ---> 98b7962fed1e 21:00:52 Step 10/24 : RUN ${MAKE} 21:00:52 ---> Running in fc556106b198 21:00:53 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 21:01:25 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:01:28 Removing intermediate container fc556106b198 21:01:28 ---> f043de1416e5 21:01:28 Step 11/24 : FROM alpine:3.14 21:01:28 3.14: Pulling from library/alpine 21:01:29 be307f383ecc: Pulling fs layer 21:01:29 be307f383ecc: Verifying Checksum 21:01:29 be307f383ecc: Pull complete 21:01:29 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 21:01:29 Status: Downloaded newer image for alpine:3.14 21:01:29 ---> 5b8b7b635229 21:01:29 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:01:29 ---> Running in 1a2aea4a16bf 21:01:30 Removing intermediate container 1a2aea4a16bf 21:01:30 ---> f6401fff3555 21:01:30 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:01:30 ---> Running in fe73d465c7d9 21:01:31 Removing intermediate container fe73d465c7d9 21:01:31 ---> c8560949d9ab 21:01:31 Step 14/24 : RUN apk add --update --no-cache zeromq 21:01:32 ---> Running in 5d5facab34f2 21:01:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:01:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:01:34 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:01:34 (2/5) Installing libsodium (1.0.18-r0) 21:01:34 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:01:35 (4/5) Installing libzmq (4.3.4-r0) 21:01:35 (5/5) Installing zeromq (4.3.4-r0) 21:01:35 Executing busybox-1.33.1-r6.trigger 21:01:35 OK: 8 MiB in 19 packages 21:01:36 Removing intermediate container 5d5facab34f2 21:01:36 ---> f3f4ae51b7f1 21:01:36 Step 15/24 : WORKDIR / 21:01:36 ---> Running in b6d69097c832 21:01:36 Removing intermediate container b6d69097c832 21:01:36 ---> 11b0798ff4f6 21:01:36 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:01:37 ---> 75c819b317f3 21:01:37 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:01:38 ---> c71aa1e12f08 21:01:38 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:01:38 ---> f691c5c6b626 21:01:38 Step 19/24 : EXPOSE 59999 21:01:38 ---> Running in 5abe530aaaa9 21:01:38 Removing intermediate container 5abe530aaaa9 21:01:38 ---> a886ae664bbf 21:01:38 Step 20/24 : ENTRYPOINT ["/device-simple"] 21:01:38 ---> Running in d7f5132bd0bb 21:01:39 Removing intermediate container d7f5132bd0bb 21:01:39 ---> 25471dbfc4bf 21:01:39 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:01:39 ---> Running in a573e6dc47f5 21:01:39 Removing intermediate container a573e6dc47f5 21:01:39 ---> 1c8bdf627752 21:01:39 Step 22/24 : LABEL arch=arm64 21:01:39 ---> Running in c39a69ffa360 21:01:40 Removing intermediate container c39a69ffa360 21:01:40 ---> 05e64c302b87 21:01:40 Step 23/24 : LABEL git_sha=3199f92bba610db9294d51f2a575e13e069dd597 21:01:40 ---> Running in 70ad30aa6912 21:01:40 Removing intermediate container 70ad30aa6912 21:01:40 ---> 39b37dcb08e9 21:01:40 Step 24/24 : LABEL version=0.0.0 21:01:40 ---> Running in 4370fc7cfbb7 21:01:41 Removing intermediate container 4370fc7cfbb7 21:01:41 ---> e9e0b37def7f 21:01:41 [Warning] One or more build-args [ARCH] were not consumed 21:01:41 Successfully built e9e0b37def7f 21:01:41 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 21:01:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:01:42 21:01:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:01:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:01:42 arm64: Pulling from edgex-lftools-log-publisher 21:01:42 448f6bf000e3: Pulling fs layer 21:01:42 f757da607395: Pulling fs layer 21:01:42 05883995daec: Pulling fs layer 21:01:42 8603b9c90790: Pulling fs layer 21:01:42 1560dd03e051: Pulling fs layer 21:01:42 27f5ce0e4adf: Pulling fs layer 21:01:42 c2d8d7efcc4b: Pulling fs layer 21:01:42 8603b9c90790: Waiting 21:01:42 1560dd03e051: Waiting 21:01:42 27f5ce0e4adf: Waiting 21:01:42 c2d8d7efcc4b: Waiting 21:01:42 f757da607395: Verifying Checksum 21:01:42 f757da607395: Download complete 21:01:42 8603b9c90790: Verifying Checksum 21:01:42 8603b9c90790: Download complete 21:01:43 1560dd03e051: Verifying Checksum 21:01:43 1560dd03e051: Download complete 21:01:43 27f5ce0e4adf: Verifying Checksum 21:01:43 27f5ce0e4adf: Download complete 21:01:43 05883995daec: Verifying Checksum 21:01:43 05883995daec: Download complete 21:01:43 448f6bf000e3: Download complete 21:01:46 c2d8d7efcc4b: Verifying Checksum 21:01:46 c2d8d7efcc4b: Download complete 21:01:47 448f6bf000e3: Pull complete 21:01:47 f757da607395: Pull complete 21:01:49 05883995daec: Pull complete 21:01:49 8603b9c90790: Pull complete 21:01:50 1560dd03e051: Pull complete 21:01:50 27f5ce0e4adf: Pull complete 21:02:05 c2d8d7efcc4b: Pull complete 21:02:05 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 21:02:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:02:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:02:05 prd-ubuntu18.04-docker-arm64-4c-16g-862 does not seem to be running inside a container 21:02:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:02:08 $ docker top fb325e4fce3a6a75b0e47ece7d0a5a9ba57726025a75174d97f5122c42df1e62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:09 ---> job-cost.sh 21:02:09 lf-activate-venv: SKIPPING 21:02:09 INFO: No Stack... 21:02:09 INFO: Retrieving Pricing Info for: v3-standard-4 21:02:10 INFO: Archiving Costs [Pipeline] sh 21:02:10 + + cut -d, -f6 21:02:10 cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 21:02:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] 21:02:10 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] did not exist. Created. 21:02:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:02:11 /w/workspace/device-sdk-go/1@tmp/durable-af12077f/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-af12077f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 21:02:12 + echo total: 0.10999999940395355 [Pipeline] stash 21:02:12 Warning: overwriting stash ‘stack-cost’ 21:02:12 Stashed 1 file(s) [Pipeline] } 21:02:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:02:12 $ docker stop --time=1 fb325e4fce3a6a75b0e47ece7d0a5a9ba57726025a75174d97f5122c42df1e62 21:02:13 $ docker rm -f fb325e4fce3a6a75b0e47ece7d0a5a9ba57726025a75174d97f5122c42df1e62 [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 21:02:14 provisioning config files... 21:02:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/config8162739599502897064tmp [Pipeline] { [Pipeline] sh 21:02:15 + set +x 21:02:15 + curl -s https://codecov.io/bash 21:02:15 + bash -s -- 21:02:15 21:02:15 _____ _ 21:02:15 / ____| | | 21:02:15 | | ___ __| | ___ ___ _____ __ 21:02:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:02:15 | |___| (_) | (_| | __/ (_| (_) \ V / 21:02:15 \_____\___/ \__,_|\___|\___\___/ \_/ 21:02:15 Bash-1.0.6 21:02:15 21:02:15 21:02:15 ==> git version 2.24.4 found 21:02:15 ==> 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 21:02:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:02:15 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:02:15 ==> Jenkins CI detected. 21:02:15 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1074 21:02:15 project root: . 21:02:15 --> token set from env 21:02:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:02:15 ==> Running gcov in . (disable via -X gcov) 21:02:15 ==> Python coveragepy not found 21:02:15 ==> Searching for coverage reports in: 21:02:15 + . 21:02:15 -> Found 1 reports 21:02:15 ==> Detecting git/mercurial file structure 21:02:15 ==> Reading reports 21:02:15 + ./coverage.out bytes=128369 21:02:15 ==> Appending adjustments 21:02:15 https://docs.codecov.io/docs/fixing-reports 21:02:15 + Found adjustments 21:02:15 ==> Gzipping contents 21:02:15 16K /tmp/codecov.6fJ81u.gz 21:02:15 ==> Uploading reports 21:02:15 url: https://codecov.io 21:02:15 query: branch=PR-1074&commit=3199f92bba610db9294d51f2a575e13e069dd597&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1074%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1074&job=&cmd_args= 21:02:15 -> Pinging Codecov 21:02:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1074&commit=3199f92bba610db9294d51f2a575e13e069dd597&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1074%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1074&job=&cmd_args= 21:02:16 -> Uploading to 21:02:16 https://storage.googleapis.com/codecov/v4/raw/2021-12-14/7E55EF52A471D76F132DFD9A03CDDE97/3199f92bba610db9294d51f2a575e13e069dd597/248fdb10-bb22-429c-92ea-62fb30fe5894.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211214T210216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1e17ad84d1b1ebed4c1d119be79e9e89595991c214114b4aa068df7f38e2026c 21:02:16 % Total % Received % Xferd Average Speed Time Time Time Current 21:02:16 Dload Upload Total Spent Left Speed 21:02:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16325 0 0 100 16325 0 48577 --:--:-- --:--:-- --:--:-- 48731 21:02:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3199f92bba610db9294d51f2a575e13e069dd597 [Pipeline] } 21:02:17 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:02:19 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1074/archives ']' [Pipeline] libraryResource [Pipeline] sh 21:02:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:02:19 ---> package-listing.sh 21:02:19 ++ tr '[:upper:]' '[:lower:]' 21:02:19 ++ facter osfamily 21:02:20 + OS_FAMILY=redhat 21:02:20 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1074 21:02:20 + START_PACKAGES=/tmp/packages_start.txt 21:02:20 + END_PACKAGES=/tmp/packages_end.txt 21:02:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:02:20 + PACKAGES=/tmp/packages_start.txt 21:02:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1074 ']' 21:02:20 + PACKAGES=/tmp/packages_end.txt 21:02:20 + case "${OS_FAMILY}" in 21:02:20 + sort 21:02:20 + rpm -qa 21:02:20 + '[' -f /tmp/packages_start.txt ']' 21:02:20 + '[' -f /tmp/packages_end.txt ']' 21:02:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:02:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1074 ']' 21:02:20 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1074/archives/ 21:02:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1074/archives/ [Pipeline] echo 21:02:20 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-1074/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:02:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:02:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:21 21:02:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:02:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:22 latest: Pulling from edgex-lftools-log-publisher 21:02:22 b4d181a07f80: Pulling fs layer 21:02:22 a1111a8f2ec3: Pulling fs layer 21:02:22 ed53099fbce6: Pulling fs layer 21:02:22 dc539afda2c1: Pulling fs layer 21:02:22 77bc0d833cb6: Pulling fs layer 21:02:22 9065ff56babe: Pulling fs layer 21:02:22 d287ab97295c: Pulling fs layer 21:02:22 dc539afda2c1: Waiting 21:02:22 77bc0d833cb6: Waiting 21:02:22 9065ff56babe: Waiting 21:02:22 d287ab97295c: Waiting 21:02:22 a1111a8f2ec3: Verifying Checksum 21:02:22 a1111a8f2ec3: Download complete 21:02:22 dc539afda2c1: Verifying Checksum 21:02:22 dc539afda2c1: Download complete 21:02:22 ed53099fbce6: Verifying Checksum 21:02:22 ed53099fbce6: Download complete 21:02:22 77bc0d833cb6: Verifying Checksum 21:02:22 77bc0d833cb6: Download complete 21:02:22 9065ff56babe: Verifying Checksum 21:02:22 9065ff56babe: Download complete 21:02:22 b4d181a07f80: Verifying Checksum 21:02:22 b4d181a07f80: Download complete 21:02:22 d287ab97295c: Verifying Checksum 21:02:22 d287ab97295c: Download complete 21:02:23 b4d181a07f80: Pull complete 21:02:23 a1111a8f2ec3: Pull complete 21:02:24 ed53099fbce6: Pull complete 21:02:24 dc539afda2c1: Pull complete 21:02:25 77bc0d833cb6: Pull complete 21:02:25 9065ff56babe: Pull complete 21:02:30 d287ab97295c: Pull complete 21:02:30 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:02:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:02:31 prd-centos7-docker-4c-2g-861 does not seem to be running inside a container 21:02:31 $ 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-1074/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-1074 -v /w/workspace/gexfoundry_device-sdk-go_PR-1074:/w/workspace/gexfoundry_device-sdk-go_PR-1074:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1074@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 21:02:33 $ docker top 4e0cbdbb5a4e2bc0b26386dfddd51e160247dad1334aa87b058677f28fe1e2c5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:33 + touch /tmp/pre-build-complete [Pipeline] sh 21:02:33 + mkdir -p /var/log/sysstat [Pipeline] sh 21:02:34 + ls /var/log/sa-host 21:02:34 + sadf -c /var/log/sa-host/sa14 21:02:34 file_magic: OK 21:02:34 HZ: Using current value: 100 21:02:34 file_header: OK 21:02:34 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 21:02:34 Statistics: 21:02:34 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:02:34 File successfully converted to sysstat format version 12.0.3 21:02:34 + sadf -c /var/log/sa-host/sa17 21:02:34 file_magic: OK 21:02:34 HZ: Using current value: 100 21:02:34 file_header: OK 21:02:34 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 21:02:34 Statistics: 21:02:34 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:02:34 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:02:34 provisioning config files... 21:02:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/config4767955777164469173tmp [Pipeline] { [Pipeline] echo 21:02:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:02:34 ---> create-netrc.sh [Pipeline] } 21:02:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:02:35 ---> python-tools-install.sh [Pipeline] echo 21:02:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:02:35 ---> sudo-logs.sh 21:02:35 Archiving 'sudo' log.. 21:02:35 sudo: unable to resolve host prd-centos7-docker-4c-2g-861.novalocal: Name or service not known 21:02:35 sudo: unable to resolve host prd-centos7-docker-4c-2g-861.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 21:02:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:02:35 ---> job-cost.sh 21:02:35 lf-activate-venv: SKIPPING 21:02:35 DEBUG: total: 0.10999999940395355 21:02:35 INFO: Retrieving Stack Cost... 21:02:36 INFO: Retrieving Pricing Info for: v3-standard-2 21:02:36 INFO: Archiving Costs [Pipeline] echo 21:02:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:02:36 ---> logs-deploy.sh 21:02:36 lf-activate-venv: SKIPPING 21:02:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1074/1 21:02:36 INFO: archiving workspace using pattern(s): 21:02:37 Archives upload complete. 21:02:37 INFO: archiving logs to Nexus