Pull request #1072 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a222f540a46da2b72ca2166f67e933099f538379+34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d (40635ee7ff096b20b698130298a49b81fec0b230) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3550082502401571810.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-ssh1195395069437040292.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-1072/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-1072/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4404584204637459387.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-1072/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3779549838481983177.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-ssh1236619736210378992.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-1072/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-1072/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2602618396862509426.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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-713 in /w/workspace/gexfoundry_device-sdk-go_PR-1072 [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-1072 # 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-1072@tmp/jenkins-gitclient-ssh1768703077239969503.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/jenkins-gitclient-ssh4185393705874239269.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1072/head:refs/remotes/origin/PR-1072 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d into PR head commit a222f540a46da2b72ca2166f67e933099f538379 Merge succeeded, producing a222f540a46da2b72ca2166f67e933099f538379 Checking out Revision a222f540a46da2b72ca2166f67e933099f538379 (PR-1072) > git config core.sparsecheckout # timeout=10 > git checkout -f a222f540a46da2b72ca2166f67e933099f538379 # 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-1072@tmp/jenkins-gitclient-ssh782049166622816488.key > git merge 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a222f540a46da2b72ca2166f67e933099f538379 # timeout=10 Commit message: "build: Update to latest go-mod-messaging w/o ZMQ on windows" 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 21:15:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:15:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:15:14 ========================================================= 21:15:14 EdgeX Global Pipelines Version Info 21:15:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:15:16 ------------------- 21:15:16 stable info: 21:15:16 ------------------- 21:15:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:15:16 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 21:15:16 Message: update stable to v1.0.217 21:15:16 ------------------- 21:15:16 experimental info: 21:15:16 ------------------- 21:15:16 Commited By: **** collab-it+edgex@linuxfoundation.org 21:15:16 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 21:15:16 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:15:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:15:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:15:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:15:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:15:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:15:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 21:15:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:15:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1072 [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1072 [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1072 [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a222f540a46da2b72ca2166f67e933099f538379 [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a222f54 [Pipeline] echo 21:15:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:17 provisioning config files... 21:15:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/config305100963500160503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:18 ---> docker-login.sh 21:15:18 nexus3.edgexfoundry.org:10001 21:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:18 Configure a credential helper to remove this warning. See 21:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:18 21:15:18 Login Succeeded 21:15:18 nexus3.edgexfoundry.org:10002 21:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:18 Configure a credential helper to remove this warning. See 21:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:18 21:15:18 Login Succeeded 21:15:18 nexus3.edgexfoundry.org:10003 21:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:18 Configure a credential helper to remove this warning. See 21:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:18 21:15:18 Login Succeeded 21:15:18 nexus3.edgexfoundry.org:10004 21:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:18 Configure a credential helper to remove this warning. See 21:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:18 21:15:18 Login Succeeded 21:15:18 docker.io 21:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:19 Configure a credential helper to remove this warning. See 21:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:19 21:15:19 Login Succeeded 21:15:19 ---> docker-login.sh ends [Pipeline] } 21:15:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:15:19 + git rev-list -1 --merges a222f540a46da2b72ca2166f67e933099f538379~1..a222f540a46da2b72ca2166f67e933099f538379 [Pipeline] echo 21:15:20 -----------> git rev-list -1 --merges a222f540a46da2b72ca2166f67e933099f538379~1..a222f540a46da2b72ca2166f67e933099f538379 a222f540a46da2b72ca2166f67e933099f538379 [false] [Pipeline] sh 21:15:20 + git log --format=format:%s -1 a222f540a46da2b72ca2166f67e933099f538379 [Pipeline] echo 21:15:20 ========================================================= 21:15:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:15:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:15:20 + git log --format=format:%s -1 a222f540a46da2b72ca2166f67e933099f538379 [Pipeline] echo 21:15:20 [semverPrep] GIT_COMMIT: a222f540a46da2b72ca2166f67e933099f538379, Commit Message: build: Update to latest go-mod-messaging w/o ZMQ on windows [Pipeline] echo 21:15:20 [semverPrep] This is not a build commit. [Pipeline] sh 21:15:21 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 21:15:21 + grep -v github /etc/ssh/ssh_known_hosts 21:15:21 + '[' -e /tmp/ssh_known_hosts ']' 21:15:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:15:21 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 21:15:21 + sudo tee -a /etc/ssh/ssh_known_hosts 21:15:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:15:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:15:21 21:15:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:15:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:15:21 latest: Pulling from edgex-devops/git-semver 21:15:21 a0d0a0d46f8b: Pulling fs layer 21:15:21 3e5f54012d9b: Pulling fs layer 21:15:21 4c7163046ea9: Pulling fs layer 21:15:21 0c2d73faf560: Pulling fs layer 21:15:21 0c2d73faf560: Waiting 21:15:21 3e5f54012d9b: Verifying Checksum 21:15:21 3e5f54012d9b: Download complete 21:15:21 a0d0a0d46f8b: Verifying Checksum 21:15:21 a0d0a0d46f8b: Download complete 21:15:21 4c7163046ea9: Verifying Checksum 21:15:21 4c7163046ea9: Download complete 21:15:21 0c2d73faf560: Verifying Checksum 21:15:21 0c2d73faf560: Download complete 21:15:22 a0d0a0d46f8b: Pull complete 21:15:22 3e5f54012d9b: Pull complete 21:15:22 4c7163046ea9: Pull complete 21:15:22 0c2d73faf560: Pull complete 21:15:22 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 21:15:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:15:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:15:22 prd-centos7-docker-4c-2g-713 does not seem to be running inside a container 21:15:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1072 -v /w/workspace/gexfoundry_device-sdk-go_PR-1072:/w/workspace/gexfoundry_device-sdk-go_PR-1072:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:15:23 $ docker top 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:23 [ssh-agent] Looking for ssh-agent implementation... 21:15:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:23 $ docker exec 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a ssh-agent 21:15:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdIiald/agent.13 21:15:23 SSH_AGENT_PID=19 21:15:23 Running ssh-add (command line suppressed) 21:15:23 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/private_key_7629754563560647842.key (/w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/private_key_7629754563560647842.key) 21:15:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:24 + git tag --points-at HEAD [Pipeline] } 21:15:24 $ docker exec --env ******** --env ******** 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a ssh-agent -k 21:15:24 unset SSH_AUTH_SOCK; 21:15:24 unset SSH_AGENT_PID; 21:15:24 echo Agent pid 19 killed; 21:15:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:15:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:24 [ssh-agent] Looking for ssh-agent implementation... 21:15:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:24 $ docker exec 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a ssh-agent 21:15:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCNcnkh/agent.54 21:15:24 SSH_AGENT_PID=61 21:15:24 Running ssh-add (command line suppressed) 21:15:24 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/private_key_1698594609391752099.key (/w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/private_key_1698594609391752099.key) 21:15:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:25 + git semver init 21:15:25 # -> Open(): unable to determine branch for HEAD 21:15:25 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1072/.git 21:15:25 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1072 21:15:25 # $SEMVER_REMOTE_NAME = origin 21:15:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:15:25 # $SEMVER_USER_NAME = edgex-jenkins 21:15:25 # $SEMVER_BRANCH = PR-1072 21:15:25 # $SEMVER_TEMP = /tmp/semver-192350269 21:15:25 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 21:15:26 # '/tmp/semver-192350269' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1072/.semver' 21:15:26 # -> Force: false 21:15:26 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1072/.semver [Pipeline] } 21:15:26 $ docker exec --env ******** --env ******** 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a ssh-agent -k 21:15:26 unset SSH_AUTH_SOCK; 21:15:26 unset SSH_AGENT_PID; 21:15:26 echo Agent pid 61 killed; 21:15:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:27 + git semver [Pipeline] } 21:15:27 $ docker stop --time=1 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a 21:15:28 $ docker rm -f 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a [Pipeline] // withDockerContainer [Pipeline] sh 21:15:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:15:29 Stashed 1 file(s) [Pipeline] echo 21:15:29 [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 21:15:44 Still waiting to schedule task 21:15:44 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:15:44 Still waiting to schedule task 21:15:44 ‘prd-ubuntu18.04-docker-arm64-4c-16g-710’ is offline 21:17:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-715 in /w/workspace/gexfoundry_device-sdk-go_PR-1072 [Pipeline] { [Pipeline] ws 21:17:44 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:17:44 The recommended git tool is: git 21:17:48 Running on prd-centos7-docker-4c-2g-716 in /w/workspace/gexfoundry_device-sdk-go_PR-1072 [Pipeline] { [Pipeline] ws 21:17:48 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:17:48 The recommended git tool is: git 21:17:50 using credential edgex-jenkins-ssh 21:17:50 Cloning the remote Git repository 21:17:50 using credential edgex-jenkins-ssh 21:17:50 Cloning the remote Git repository 21:17:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:17:49 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:17:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:17:49 > git --version # timeout=10 21:17:50 > git --version # 'git version 2.24.4' 21:17:50 using GIT_SSH to set credentials SSH Credentials for GitHub 21:17:50 [INFO] Currently running in a labeled security context 21:17:50 [INFO] Currently SELinux is 'enforcing' on the host 21:17:50 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1219373092170441739.key 21:17:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:17:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:17:50 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:17:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:17:50 > git --version # timeout=10 21:17:50 > git --version # 'git version 2.17.1' 21:17:50 using GIT_SSH to set credentials SSH Credentials for GitHub 21:17:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:17:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:17:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:17:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:17:50 using GIT_SSH to set credentials SSH Credentials for GitHub 21:17:50 [INFO] Currently running in a labeled security context 21:17:50 [INFO] Currently SELinux is 'enforcing' on the host 21:17:50 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7962374750273628081.key 21:17:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1072/head:refs/remotes/origin/PR-1072 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:17:51 Merging remotes/origin/main commit 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d into PR head commit a222f540a46da2b72ca2166f67e933099f538379 21:17:52 Merge succeeded, producing a222f540a46da2b72ca2166f67e933099f538379 21:17:52 Checking out Revision a222f540a46da2b72ca2166f67e933099f538379 (PR-1072) 21:17:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:17:51 > git config core.sparsecheckout # timeout=10 21:17:51 > git checkout -f a222f540a46da2b72ca2166f67e933099f538379 # timeout=10 21:17:51 > git remote # timeout=10 21:17:51 > git config --get remote.origin.url # timeout=10 21:17:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:17:51 [INFO] Currently running in a labeled security context 21:17:51 [INFO] Currently SELinux is 'enforcing' on the host 21:17:51 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh934407922713369790.key 21:17:51 > git merge 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d # timeout=10 21:17:51 > git rev-parse HEAD^{commit} # timeout=10 21:17:51 > git config core.sparsecheckout # timeout=10 21:17:51 > git checkout -f a222f540a46da2b72ca2166f67e933099f538379 # timeout=10 21:17:53 Merging remotes/origin/main commit 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d into PR head commit a222f540a46da2b72ca2166f67e933099f538379 21:17:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:17:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:17:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:17:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:17:52 using GIT_SSH to set credentials SSH Credentials for GitHub 21:17:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1072/head:refs/remotes/origin/PR-1072 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:17:53 > git config core.sparsecheckout # timeout=10 21:17:53 > git checkout -f a222f540a46da2b72ca2166f67e933099f538379 # timeout=10 21:17:53 Merge succeeded, producing a222f540a46da2b72ca2166f67e933099f538379 21:17:53 Checking out Revision a222f540a46da2b72ca2166f67e933099f538379 (PR-1072) 21:17:53 > git remote # timeout=10 21:17:53 > git config --get remote.origin.url # timeout=10 21:17:53 using GIT_SSH to set credentials SSH Credentials for GitHub 21:17:53 > git merge 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d # timeout=10 21:17:53 > git rev-parse HEAD^{commit} # timeout=10 21:17:53 > git config core.sparsecheckout # timeout=10 21:17:53 > git checkout -f a222f540a46da2b72ca2166f67e933099f538379 # timeout=10 21:17:55 Commit message: "build: Update to latest go-mod-messaging w/o ZMQ on windows" 21:17:55 > git --version # timeout=10 21:17:55 > git --version # 'git version 2.24.4' 21:17:55 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:56 provisioning config files... 21:17:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8057802031878245008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:56 ---> docker-login.sh 21:17:56 nexus3.edgexfoundry.org:10001 21:17:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:56 Configure a credential helper to remove this warning. See 21:17:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:56 21:17:56 Login Succeeded 21:17:56 nexus3.edgexfoundry.org:10002 21:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:57 Configure a credential helper to remove this warning. See 21:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:57 21:17:57 Login Succeeded 21:17:57 nexus3.edgexfoundry.org:10003 21:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:57 Configure a credential helper to remove this warning. See 21:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:57 21:17:57 Login Succeeded 21:17:57 nexus3.edgexfoundry.org:10004 21:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:57 Configure a credential helper to remove this warning. See 21:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:57 21:17:57 Login Succeeded 21:17:57 docker.io 21:17:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:17:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:17:57 Configure a credential helper to remove this warning. See 21:17:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:17:57 21:17:57 Login Succeeded 21:17:57 ---> docker-login.sh ends [Pipeline] } 21:17:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 21:17:57 Commit message: "build: Update to latest go-mod-messaging w/o ZMQ on windows" [Pipeline] echo 21:17:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:17:57 ========================================================= 21:17:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 21:17:57 ========================================================= [Pipeline] fileExists 21:17:57 > git --version # timeout=10 21:17:57 > git --version # 'git version 2.17.1' 21:17:57 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { 21:17:58 + 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 . 21:17:58 Sending build context to Docker daemon 4.983MB 21:17:58 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 21:17:58 Step 2/10 : FROM ${BASE} AS builder 21:17:58 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 21:17:58 a0d0a0d46f8b: Pulling fs layer 21:17:58 31adcdaf11c8: Pulling fs layer 21:17:58 b8b176561691: Pulling fs layer 21:17:58 4527c011a84f: Pulling fs layer 21:17:58 5d74067f8e1e: Pulling fs layer 21:17:58 e0aca202a116: Pulling fs layer 21:17:58 3a43be97a3b4: Pulling fs layer 21:17:58 34cad66bf833: Pulling fs layer 21:17:58 b4e3c513aaa6: Pulling fs layer 21:17:58 4527c011a84f: Waiting 21:17:58 5d74067f8e1e: Waiting 21:17:58 e0aca202a116: Waiting 21:17:58 3a43be97a3b4: Waiting 21:17:58 34cad66bf833: Waiting 21:17:58 b4e3c513aaa6: Waiting [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:17:58 b8b176561691: Verifying Checksum 21:17:58 b8b176561691: Download complete 21:17:58 31adcdaf11c8: Download complete 21:17:58 5d74067f8e1e: Verifying Checksum 21:17:58 5d74067f8e1e: Download complete 21:17:58 a0d0a0d46f8b: Verifying Checksum 21:17:58 a0d0a0d46f8b: Download complete 21:17:58 e0aca202a116: Verifying Checksum 21:17:58 e0aca202a116: Download complete 21:17:58 3a43be97a3b4: Verifying Checksum 21:17:58 3a43be97a3b4: Download complete 21:17:58 34cad66bf833: Verifying Checksum 21:17:58 34cad66bf833: Download complete 21:17:58 a0d0a0d46f8b: Pull complete 21:17:58 31adcdaf11c8: Pull complete 21:17:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:17:58 % Total % Received % Xferd Average Speed Time Time Time Current 21:17:58 Dload Upload Total Spent Left Speed 21:17:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 186k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 21:17:59 4527c011a84f: Verifying Checksum 21:17:59 4527c011a84f: Download complete 21:17:59 b8b176561691: Pull complete 21:17:59 b4e3c513aaa6: Verifying Checksum 21:17:59 b4e3c513aaa6: Download complete 21:17:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:17:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:17:59 + sudo tee /etc/docker/daemon.new 21:17:59 { 21:17:59 "registry-mirrors": [ 21:17:59 "https://nexus3.edgexfoundry.org:10001" 21:17:59 ], 21:17:59 "bip": "10.250.0.254/24", 21:17:59 "hosts": [ 21:17:59 "tcp://0.0.0.0:5555", 21:17:59 "unix:///var/run/docker.sock" 21:17:59 ], 21:17:59 "mtu": 1458, 21:17:59 "selinux-enabled": true, 21:17:59 "seccomp-profile": "/etc/docker/seccomp.json" 21:17:59 } [Pipeline] sh 21:18:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:18:00 + sudo service docker restart 21:18:03 4527c011a84f: Pull complete 21:18:03 5d74067f8e1e: Pull complete 21:18:03 e0aca202a116: Pull complete 21:18:03 3a43be97a3b4: Pull complete 21:18:03 34cad66bf833: Pull complete 21:18:06 b4e3c513aaa6: Pull complete 21:18:06 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 21:18:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:18:06 ---> 9f6097aaca64 21:18:06 Step 3/10 : ARG MAKE=make build 21:18:08 ---> Running in d0b1989406b9 21:18:08 Removing intermediate container d0b1989406b9 21:18:08 ---> d618b01d83db 21:18:08 Step 4/10 : WORKDIR /device-sdk-go 21:18:08 ---> Running in 09868acccdf3 21:18:08 Removing intermediate container 09868acccdf3 21:18:08 ---> dd75135f173a 21:18:08 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:18:08 ---> Running in f890ad18737f 21:18:08 Removing intermediate container f890ad18737f 21:18:08 ---> 902bdde862a8 21:18:08 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:18:08 ---> Running in 0686b8c8d1bb 21:18:09 Removing intermediate container 0686b8c8d1bb 21:18:09 ---> 61bb7d8b4ba6 21:18:09 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:18:09 ---> Running in 2ed86c334bec 21:18:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:18:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:18:11 OK: 220 MiB in 52 packages 21:18:11 Removing intermediate container 2ed86c334bec 21:18:11 ---> 198fa3b296f7 21:18:11 Step 8/10 : COPY . . 21:18:11 ---> e6d75911222a 21:18:11 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:11 ---> Running in f847ccf34f77 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:18:19 provisioning config files... 21:18:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5852806574633087797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:18:19 ---> docker-login.sh 21:18:19 nexus3.edgexfoundry.org:10001 21:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:20 Configure a credential helper to remove this warning. See 21:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:20 21:18:20 Login Succeeded 21:18:20 nexus3.edgexfoundry.org:10002 21:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:20 Configure a credential helper to remove this warning. See 21:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:20 21:18:20 Login Succeeded 21:18:20 nexus3.edgexfoundry.org:10003 21:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:21 Configure a credential helper to remove this warning. See 21:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:21 21:18:21 Login Succeeded 21:18:21 nexus3.edgexfoundry.org:10004 21:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:22 Configure a credential helper to remove this warning. See 21:18:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:22 21:18:22 Login Succeeded 21:18:22 docker.io 21:18:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:18:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:18:22 Configure a credential helper to remove this warning. See 21:18:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:18:22 21:18:22 Login Succeeded 21:18:22 ---> docker-login.sh ends [Pipeline] } 21:18:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:18:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:18:23 ========================================================= 21:18:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 21:18:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:18:24 + 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 . 21:18:24 Sending build context to Docker daemon 4.982MB 21:18:24 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 21:18:24 Step 2/10 : FROM ${BASE} AS builder 21:18:24 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:18:24 552d1f2373af: Pulling fs layer 21:18:24 ea3f2d53f512: Pulling fs layer 21:18:24 9e70ebbbe112: Pulling fs layer 21:18:24 7a9cfe048b4a: Pulling fs layer 21:18:24 72dc09318566: Pulling fs layer 21:18:24 f4f7b4309257: Pulling fs layer 21:18:24 0ac9a79272e3: Pulling fs layer 21:18:24 b78e95d17946: Pulling fs layer 21:18:24 7a9cfe048b4a: Waiting 21:18:24 72dc09318566: Waiting 21:18:24 f4f7b4309257: Waiting 21:18:24 b78e95d17946: Waiting 21:18:24 0ac9a79272e3: Waiting 21:18:24 9e70ebbbe112: Verifying Checksum 21:18:24 9e70ebbbe112: Download complete 21:18:24 ea3f2d53f512: Verifying Checksum 21:18:24 ea3f2d53f512: Download complete 21:18:24 72dc09318566: Verifying Checksum 21:18:24 72dc09318566: Download complete 21:18:24 f4f7b4309257: Verifying Checksum 21:18:24 f4f7b4309257: Download complete 21:18:24 552d1f2373af: Verifying Checksum 21:18:24 552d1f2373af: Download complete 21:18:24 0ac9a79272e3: Verifying Checksum 21:18:24 0ac9a79272e3: Download complete 21:18:25 552d1f2373af: Pull complete 21:18:26 ea3f2d53f512: Pull complete 21:18:26 9e70ebbbe112: Pull complete 21:18:26 b78e95d17946: Verifying Checksum 21:18:26 b78e95d17946: Download complete 21:18:27 7a9cfe048b4a: Verifying Checksum 21:18:27 7a9cfe048b4a: Download complete 21:18:37 7a9cfe048b4a: Pull complete 21:18:37 72dc09318566: Pull complete 21:18:37 f4f7b4309257: Pull complete 21:18:38 0ac9a79272e3: Pull complete 21:18:43 b78e95d17946: Pull complete 21:18:43 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 21:18:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:18:43 ---> 8b459fc5aaf0 21:18:43 Step 3/10 : ARG MAKE=make build 21:18:44 Removing intermediate container f847ccf34f77 21:18:44 ---> 84ebc9f82c87 21:18:44 Step 10/10 : RUN ${MAKE} 21:18:44 ---> Running in 5bb451fd8379 21:18:44 noop 21:18:44 Removing intermediate container 5bb451fd8379 21:18:44 ---> 877b27b61ddd 21:18:44 Successfully built 877b27b61ddd 21:18:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:18:44 + docker inspect -f . ci-base-image-x86_64 21:18:44 . [Pipeline] withDockerContainer 21:18:44 prd-centos7-docker-4c-2g-716 does not seem to be running inside a container 21:18:44 $ 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 21:18:44 $ docker top 3107525f862b226552eb20661c41bc553554dca62ca18e69b271e1f1b223b078 -eo pid,comm [Pipeline] { [Pipeline] sh 21:18:45 + go version 21:18:45 go version go1.16.8 linux/amd64 [Pipeline] } 21:18:45 $ docker stop --time=1 3107525f862b226552eb20661c41bc553554dca62ca18e69b271e1f1b223b078 21:18:45 ---> Running in eb4dc610008d 21:18:45 Removing intermediate container eb4dc610008d 21:18:45 ---> 841e89dc99a1 21:18:45 Step 4/10 : WORKDIR /device-sdk-go 21:18:45 ---> Running in 94f1bebdaaba 21:18:46 Removing intermediate container 94f1bebdaaba 21:18:46 ---> 9894c58d2e04 21:18:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:18:46 ---> Running in cc568e5df36b 21:18:46 $ docker rm -f 3107525f862b226552eb20661c41bc553554dca62ca18e69b271e1f1b223b078 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix 21:18:46 Removing intermediate container cc568e5df36b 21:18:46 ---> 2f8a6bca510d 21:18:46 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:18:46 ---> Running in b28605914b69 [Pipeline] sh 21:18:47 + docker inspect -f . ci-base-image-x86_64 21:18:47 . [Pipeline] withDockerContainer 21:18:47 prd-centos7-docker-4c-2g-716 does not seem to be running inside a container 21:18:47 $ 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 21:18:47 $ docker top d766a42baec019dd4f89f2780c5ebbff492f9ef44b72ea0cca1bef8145224a6c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:18:48 + make test 21:18:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:18:48 Removing intermediate container b28605914b69 21:18:48 ---> d8b6f6699359 21:18:48 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:18:49 ---> Running in 6f93b84e6ba9 21:18:50 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:18:51 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:18:52 OK: 219 MiB in 52 packages 21:18:52 Removing intermediate container 6f93b84e6ba9 21:18:52 ---> a74bb8357aec 21:18:52 Step 8/10 : COPY . . 21:18:53 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:18:54 ---> 6ab0153b8ca2 21:18:54 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:54 ---> Running in 35ff39351d9d 21:19:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:19:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:19:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:19:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.066s coverage: 23.3% of statements 21:19:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:19:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.047s coverage: 27.6% of statements 21:19:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.087s coverage: 78.9% of statements 21:19:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 9.0% of statements 21:19:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 21:19:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:19:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:19:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.056s coverage: 28.7% of statements 21:19:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:19:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.062s coverage: 83.3% of statements 21:19:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:19:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:19:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.080s coverage: 57.8% of statements 21:19:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.802s coverage: 89.2% of statements 21:19:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:19:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.8% of statements 21:19:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:19:24 GO111MODULE=on go vet ./... 21:19:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:19:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:19:46 ./bin/test-attribution-txt.sh [Pipeline] echo 21:19:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:19:46 $ docker stop --time=1 d766a42baec019dd4f89f2780c5ebbff492f9ef44b72ea0cca1bef8145224a6c 21:19:48 $ docker rm -f d766a42baec019dd4f89f2780c5ebbff492f9ef44b72ea0cca1bef8145224a6c [Pipeline] // withDockerContainer [Pipeline] sh 21:19:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:19:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:19:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:19:50 + ls -al . 21:19:50 total 268 21:19:50 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 29 21:19 . 21:19:50 drwxrwxr-x. 4 jenkins jenkins 28 Nov 29 21:17 .. 21:19:50 drwxrwxr-x. 2 jenkins jenkins 37 Nov 29 21:17 bin 21:19:50 -rw-rw-r--. 1 jenkins jenkins 26321 Nov 29 21:17 CHANGELOG.md 21:19:50 -rw-r--r--. 1 jenkins jenkins 128369 Nov 29 21:19 coverage.out 21:19:50 -rw-rw-r--. 1 jenkins jenkins 140 Nov 29 21:17 .dockerignore 21:19:50 drwxrwxr-x. 5 jenkins jenkins 62 Nov 29 21:17 example 21:19:50 drwxrwxr-x. 8 jenkins jenkins 179 Nov 29 21:17 .git 21:19:50 drwxrwxr-x. 3 jenkins jenkins 125 Nov 29 21:17 .github 21:19:50 -rw-rw-r--. 1 jenkins jenkins 131 Nov 29 21:17 .gitignore 21:19:50 -rw-rw-r--. 1 jenkins jenkins 582 Nov 29 21:17 go.mod 21:19:50 -rw-rw-r--. 1 jenkins jenkins 49492 Nov 29 21:17 go.sum 21:19:50 -rw-rw-r--. 1 jenkins jenkins 677 Nov 29 21:17 GOVERNANCE.md 21:19:50 drwxrwxr-x. 15 jenkins jenkins 224 Nov 29 21:17 internal 21:19:50 -rw-rw-r--. 1 jenkins jenkins 880 Nov 29 21:17 Jenkinsfile 21:19:50 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 29 21:17 LICENSE 21:19:50 -rw-rw-r--. 1 jenkins jenkins 1120 Nov 29 21:17 Makefile 21:19:50 drwxrwxr-x. 3 jenkins jenkins 16 Nov 29 21:17 openapi 21:19:50 -rw-rw-r--. 1 jenkins jenkins 619 Nov 29 21:17 OWNERS.md 21:19:50 drwxrwxr-x. 5 jenkins jenkins 50 Nov 29 21:17 pkg 21:19:50 -rw-rw-r--. 1 jenkins jenkins 4881 Nov 29 21:17 README.md 21:19:50 drwxrwxr-x. 4 jenkins jenkins 54 Nov 29 21:17 snap 21:19:50 -rw-rw-r--. 1 jenkins jenkins 5 Nov 29 21:15 VERSION 21:19:50 -rw-rw-r--. 1 jenkins jenkins 222 Nov 29 21:17 version.go [Pipeline] isUnix [Pipeline] sh 21:19:50 + 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=a222f540a46da2b72ca2166f67e933099f538379 --label arch=amd64 --label version=0.0.0 . 21:19:50 Sending build context to Docker daemon 5.112MB 21:19:50 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 21:19:50 Step 2/24 : FROM ${BASE} AS builder 21:19:50 ---> 877b27b61ddd 21:19:50 Step 3/24 : ARG MAKE=make build 21:19:50 ---> Running in e6276af7098c 21:19:50 Removing intermediate container e6276af7098c 21:19:50 ---> ef99a880668c 21:19:50 Step 4/24 : WORKDIR /device-sdk-go 21:19:50 ---> Running in 4fa825cd5894 21:19:50 Removing intermediate container 4fa825cd5894 21:19:50 ---> 2765c9643570 21:19:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:19:50 ---> Running in 1a8ec3719b4a 21:19:50 Removing intermediate container 1a8ec3719b4a 21:19:50 ---> 119790f83e7e 21:19:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:19:50 ---> Running in 73a7aebb8383 21:19:51 Removing intermediate container 73a7aebb8383 21:19:51 ---> 32c907beeb41 21:19:51 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:19:51 ---> Running in 1dc37ab1fb8f 21:19:51 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:19:52 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:19:52 OK: 220 MiB in 52 packages 21:19:52 Removing intermediate container 1dc37ab1fb8f 21:19:52 ---> 1692b27646e7 21:19:52 Step 8/24 : COPY . . 21:19:53 ---> 3fc5fab04169 21:19:53 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:19:53 ---> Running in 4717e7fa4fd6 21:19:53 Removing intermediate container 4717e7fa4fd6 21:19:53 ---> 147afacdc2d1 21:19:53 Step 10/24 : RUN ${MAKE} 21:19:53 ---> Running in 19e150fa8b36 21:19:54 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:20:06 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:20:06 Removing intermediate container 19e150fa8b36 21:20:06 ---> 80e948c5bfc3 21:20:06 Step 11/24 : FROM alpine:3.14 21:20:06 3.14: Pulling from library/alpine 21:20:06 97518928ae5f: Pulling fs layer 21:20:06 97518928ae5f: Verifying Checksum 21:20:06 97518928ae5f: Download complete 21:20:07 97518928ae5f: Pull complete 21:20:07 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 21:20:07 Status: Downloaded newer image for alpine:3.14 21:20:07 ---> 0a97eee8041e 21:20:07 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:20:07 ---> Running in 4c2c613970e5 21:20:07 Removing intermediate container 4c2c613970e5 21:20:07 ---> 52868d974701 21:20:07 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:20:07 ---> Running in f0122735dc83 21:20:07 Removing intermediate container f0122735dc83 21:20:07 ---> a0db745201ac 21:20:07 Step 14/24 : RUN apk add --update --no-cache zeromq 21:20:07 ---> Running in 7515da01375a 21:20:08 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:20:08 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:20:09 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:20:09 (2/5) Installing libsodium (1.0.18-r0) 21:20:09 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:20:09 (4/5) Installing libzmq (4.3.4-r0) 21:20:09 (5/5) Installing zeromq (4.3.4-r0) 21:20:09 Executing busybox-1.33.1-r6.trigger 21:20:09 OK: 8 MiB in 19 packages 21:20:10 Removing intermediate container 7515da01375a 21:20:10 ---> 3067e32b865b 21:20:10 Step 15/24 : WORKDIR / 21:20:10 ---> Running in a274865f990d 21:20:10 Removing intermediate container a274865f990d 21:20:10 ---> 2fce0a889bbd 21:20:10 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:20:10 ---> a6f52dce546c 21:20:10 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:20:10 ---> d7cde5af3600 21:20:10 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:20:10 ---> c052c647bb80 21:20:10 Step 19/24 : EXPOSE 59999 21:20:10 ---> Running in fadf1ef240fd 21:20:10 Removing intermediate container fadf1ef240fd 21:20:10 ---> 55f55fadf72c 21:20:10 Step 20/24 : ENTRYPOINT ["/device-simple"] 21:20:10 ---> Running in e010d49864ab 21:20:10 Removing intermediate container e010d49864ab 21:20:10 ---> 3b8cb03c3e90 21:20:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:20:10 ---> Running in 915a29a45af8 21:20:11 Removing intermediate container 915a29a45af8 21:20:11 ---> 2fd0f5263f98 21:20:11 Step 22/24 : LABEL arch=amd64 21:20:11 ---> Running in 2f4072e3273d 21:20:11 Removing intermediate container 2f4072e3273d 21:20:11 ---> 44a51700b974 21:20:11 Step 23/24 : LABEL git_sha=a222f540a46da2b72ca2166f67e933099f538379 21:20:11 ---> Running in 146e07b7aa97 21:20:11 Removing intermediate container 146e07b7aa97 21:20:11 ---> 3122baab856f 21:20:11 Step 24/24 : LABEL version=0.0.0 21:20:11 ---> Running in 7df4d31775f7 21:20:11 Removing intermediate container 7df4d31775f7 21:20:11 ---> df2f69fad7c1 21:20:11 [Warning] One or more build-args [ARCH] were not consumed 21:20:11 Successfully built df2f69fad7c1 21:20:11 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 21:20:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:12 21:20:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:20:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:12 latest: Pulling from edgex-lftools-log-publisher 21:20:12 b4d181a07f80: Pulling fs layer 21:20:12 a1111a8f2ec3: Pulling fs layer 21:20:12 ed53099fbce6: Pulling fs layer 21:20:12 dc539afda2c1: Pulling fs layer 21:20:12 77bc0d833cb6: Pulling fs layer 21:20:12 9065ff56babe: Pulling fs layer 21:20:12 d287ab97295c: Pulling fs layer 21:20:12 dc539afda2c1: Waiting 21:20:12 77bc0d833cb6: Waiting 21:20:12 9065ff56babe: Waiting 21:20:12 d287ab97295c: Waiting 21:20:12 a1111a8f2ec3: Verifying Checksum 21:20:12 a1111a8f2ec3: Download complete 21:20:12 dc539afda2c1: Download complete 21:20:12 ed53099fbce6: Verifying Checksum 21:20:12 ed53099fbce6: Download complete 21:20:12 9065ff56babe: Verifying Checksum 21:20:12 9065ff56babe: Download complete 21:20:12 77bc0d833cb6: Verifying Checksum 21:20:12 77bc0d833cb6: Download complete 21:20:12 b4d181a07f80: Verifying Checksum 21:20:12 b4d181a07f80: Download complete 21:20:13 d287ab97295c: Verifying Checksum 21:20:13 d287ab97295c: Download complete 21:20:14 b4d181a07f80: Pull complete 21:20:14 a1111a8f2ec3: Pull complete 21:20:15 ed53099fbce6: Pull complete 21:20:15 dc539afda2c1: Pull complete 21:20:15 77bc0d833cb6: Pull complete 21:20:15 9065ff56babe: Pull complete 21:20:16 Removing intermediate container 35ff39351d9d 21:20:16 ---> 46fdba4f3afb 21:20:16 Step 10/10 : RUN ${MAKE} 21:20:16 ---> Running in 63f197d2df46 21:20:16 noop 21:20:16 Removing intermediate container 63f197d2df46 21:20:16 ---> 8b9b449e23d0 21:20:16 Successfully built 8b9b449e23d0 21:20:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:20:16 + docker inspect -f . ci-base-image-arm64 21:20:16 . [Pipeline] withDockerContainer 21:20:16 prd-ubuntu18.04-docker-arm64-4c-16g-715 does not seem to be running inside a container 21:20:16 $ 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 21:20:18 $ docker top 51648d76d797b831d68b5bc310340275d48f4c99eecb50e26e3fb0d99c9056be -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:19 + go version 21:20:19 go version go1.16.8 linux/arm64 [Pipeline] } 21:20:19 $ docker stop --time=1 51648d76d797b831d68b5bc310340275d48f4c99eecb50e26e3fb0d99c9056be 21:20:21 $ docker rm -f 51648d76d797b831d68b5bc310340275d48f4c99eecb50e26e3fb0d99c9056be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:20:22 + docker inspect -f . ci-base-image-arm64 21:20:22 . [Pipeline] withDockerContainer 21:20:22 prd-ubuntu18.04-docker-arm64-4c-16g-715 does not seem to be running inside a container 21:20:22 d287ab97295c: Pull complete 21:20:22 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:20:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:22 $ 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 21:20:23 $ docker top 37124385bfc54d97f9189d3f477aeb80994b679ca0d4cd2afd59ea759f4f7a17 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 21:20:24 prd-centos7-docker-4c-2g-716 does not seem to be running inside a container 21:20:24 $ 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 21:20:26 $ docker top 7b5d510ff4ae32001bc48ba71ccaa398b9aa05a7d843a37257beeff49c94f1b8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] libraryResource [Pipeline] sh [Pipeline] sh 21:20:27 ---> job-cost.sh 21:20:27 lf-activate-venv: SKIPPING 21:20:27 INFO: No Stack... 21:20:27 INFO: Retrieving Pricing Info for: v3-standard-2 21:20:27 + make test 21:20:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:20:28 INFO: Archiving Costs [Pipeline] sh 21:20:28 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 21:20:28 + cut -d, -f6 [Pipeline] lock 21:20:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] 21:20:28 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] did not exist. Created. 21:20:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:20:28 + echo total: 0.05999999865889549 [Pipeline] stash 21:20:28 Stashed 1 file(s) [Pipeline] } 21:20:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:20:28 $ docker stop --time=1 7b5d510ff4ae32001bc48ba71ccaa398b9aa05a7d843a37257beeff49c94f1b8 21:20:30 $ docker rm -f 7b5d510ff4ae32001bc48ba71ccaa398b9aa05a7d843a37257beeff49c94f1b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:20:54 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:22:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:22:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:22:02 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:22:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.396s coverage: 23.3% of statements 21:22:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:22:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.236s coverage: 27.6% of statements 21:22:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.227s coverage: 78.9% of statements 21:22:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.290s coverage: 9.0% of statements 21:22:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 21:22:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:22:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:22:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.340s coverage: 28.7% of statements 21:22:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:22:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.220s coverage: 83.3% of statements 21:22:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:22:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:22:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.368s coverage: 57.8% of statements 21:22:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.213s coverage: 89.2% of statements 21:22:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:22:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.203s coverage: 4.8% of statements 21:22:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:22:18 GO111MODULE=on go vet ./... 21:23:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:23:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:23:26 ./bin/test-attribution-txt.sh [Pipeline] echo 21:23:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:23:26 $ docker stop --time=1 37124385bfc54d97f9189d3f477aeb80994b679ca0d4cd2afd59ea759f4f7a17 21:23:28 $ docker rm -f 37124385bfc54d97f9189d3f477aeb80994b679ca0d4cd2afd59ea759f4f7a17 [Pipeline] // withDockerContainer [Pipeline] sh 21:23:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:23:29 Warning: overwriting stash ‘coverage-report’ 21:23:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:23:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:23:31 + ls -al . 21:23:31 total 304 21:23:31 drwxrwxr-x 10 jenkins jenkins 4096 Nov 29 21:23 . 21:23:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 21:17 .. 21:23:31 -rw-rw-r-- 1 jenkins jenkins 140 Nov 29 21:17 .dockerignore 21:23:31 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 21:17 .git 21:23:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 21:17 .github 21:23:31 -rw-rw-r-- 1 jenkins jenkins 131 Nov 29 21:17 .gitignore 21:23:31 -rw-rw-r-- 1 jenkins jenkins 26321 Nov 29 21:17 CHANGELOG.md 21:23:31 -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 21:17 GOVERNANCE.md 21:23:31 -rw-rw-r-- 1 jenkins jenkins 880 Nov 29 21:17 Jenkinsfile 21:23:31 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 29 21:17 LICENSE 21:23:31 -rw-rw-r-- 1 jenkins jenkins 1120 Nov 29 21:17 Makefile 21:23:31 -rw-rw-r-- 1 jenkins jenkins 619 Nov 29 21:17 OWNERS.md 21:23:31 -rw-rw-r-- 1 jenkins jenkins 4881 Nov 29 21:17 README.md 21:23:31 -rw-rw-r-- 1 jenkins jenkins 5 Nov 29 21:15 VERSION 21:23:31 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 21:17 bin 21:23:31 -rw-r--r-- 1 jenkins jenkins 128369 Nov 29 21:22 coverage.out 21:23:31 drwxrwxr-x 5 jenkins jenkins 4096 Nov 29 21:17 example 21:23:31 -rw-rw-r-- 1 jenkins jenkins 582 Nov 29 21:17 go.mod 21:23:31 -rw-rw-r-- 1 jenkins jenkins 49492 Nov 29 21:17 go.sum 21:23:31 drwxrwxr-x 15 jenkins jenkins 4096 Nov 29 21:17 internal 21:23:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 21:17 openapi 21:23:31 drwxrwxr-x 5 jenkins jenkins 4096 Nov 29 21:17 pkg 21:23:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 21:17 snap 21:23:31 -rw-rw-r-- 1 jenkins jenkins 222 Nov 29 21:17 version.go [Pipeline] isUnix [Pipeline] sh 21:23:31 + 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=a222f540a46da2b72ca2166f67e933099f538379 --label arch=arm64 --label version=0.0.0 . 21:23:32 Sending build context to Docker daemon 5.111MB 21:23:32 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 21:23:32 Step 2/24 : FROM ${BASE} AS builder 21:23:32 ---> 8b9b449e23d0 21:23:32 Step 3/24 : ARG MAKE=make build 21:23:32 ---> Running in 495a54c535f1 21:23:33 Removing intermediate container 495a54c535f1 21:23:33 ---> db8dcfabf59c 21:23:33 Step 4/24 : WORKDIR /device-sdk-go 21:23:33 ---> Running in adf69c32f41b 21:23:33 Removing intermediate container adf69c32f41b 21:23:33 ---> eb9f3800fe8a 21:23:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:23:33 ---> Running in 8932fe2d38c4 21:23:34 Removing intermediate container 8932fe2d38c4 21:23:34 ---> 6480a4e11697 21:23:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:23:34 ---> Running in 0167bf8e9717 21:23:36 Removing intermediate container 0167bf8e9717 21:23:36 ---> e8ddd4b80f79 21:23:36 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:23:36 ---> Running in cde2800d94b4 21:23:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:23:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:23:39 OK: 219 MiB in 52 packages 21:23:40 Removing intermediate container cde2800d94b4 21:23:40 ---> 9e0d4afd7f83 21:23:40 Step 8/24 : COPY . . 21:23:41 ---> 6f57cfaec61c 21:23:41 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:23:41 ---> Running in e674875989f8 21:23:44 Removing intermediate container e674875989f8 21:23:44 ---> 45934d1f8e66 21:23:44 Step 10/24 : RUN ${MAKE} 21:23:44 ---> Running in 65e903bbab2d 21:23:45 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:24:24 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:24:24 Removing intermediate container 65e903bbab2d 21:24:24 ---> d1dc16ce8218 21:24:24 Step 11/24 : FROM alpine:3.14 21:24:24 3.14: Pulling from library/alpine 21:24:24 be307f383ecc: Pulling fs layer 21:24:25 be307f383ecc: Verifying Checksum 21:24:25 be307f383ecc: Download complete 21:24:25 be307f383ecc: Pull complete 21:24:25 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 21:24:25 Status: Downloaded newer image for alpine:3.14 21:24:25 ---> 5b8b7b635229 21:24:25 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:24:26 ---> Running in 7bcebb3ce20a 21:24:26 Removing intermediate container 7bcebb3ce20a 21:24:26 ---> 375f714a31c1 21:24:26 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:24:26 ---> Running in ea109aa832a1 21:24:28 Removing intermediate container ea109aa832a1 21:24:28 ---> fdae745f4867 21:24:28 Step 14/24 : RUN apk add --update --no-cache zeromq 21:24:28 ---> Running in f4feb1cf3a5e 21:24:29 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:24:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:24:31 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:24:31 (2/5) Installing libsodium (1.0.18-r0) 21:24:31 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:24:31 (4/5) Installing libzmq (4.3.4-r0) 21:24:31 (5/5) Installing zeromq (4.3.4-r0) 21:24:31 Executing busybox-1.33.1-r6.trigger 21:24:31 OK: 8 MiB in 19 packages 21:24:32 Removing intermediate container f4feb1cf3a5e 21:24:32 ---> 2424f7c25acc 21:24:32 Step 15/24 : WORKDIR / 21:24:32 ---> Running in dd75318a454f 21:24:33 Removing intermediate container dd75318a454f 21:24:33 ---> 77fb559aa988 21:24:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:24:33 ---> e64f892ecc90 21:24:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:24:34 ---> 43c1b3200a5d 21:24:34 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:24:35 ---> ba14b8ddbd51 21:24:35 Step 19/24 : EXPOSE 59999 21:24:35 ---> Running in 4be495e06f24 21:24:35 Removing intermediate container 4be495e06f24 21:24:35 ---> 8a0916eda6bc 21:24:35 Step 20/24 : ENTRYPOINT ["/device-simple"] 21:24:36 ---> Running in 0f63221b9341 21:24:36 Removing intermediate container 0f63221b9341 21:24:36 ---> 73724e24ce81 21:24:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:24:36 ---> Running in d38b2be69e6b 21:24:37 Removing intermediate container d38b2be69e6b 21:24:37 ---> ff651676a809 21:24:37 Step 22/24 : LABEL arch=arm64 21:24:37 ---> Running in ebcfc3b29893 21:24:37 Removing intermediate container ebcfc3b29893 21:24:37 ---> 6228932794bf 21:24:37 Step 23/24 : LABEL git_sha=a222f540a46da2b72ca2166f67e933099f538379 21:24:37 ---> Running in 0d1899b660eb 21:24:37 Removing intermediate container 0d1899b660eb 21:24:37 ---> 71441c0b0950 21:24:37 Step 24/24 : LABEL version=0.0.0 21:24:37 ---> Running in 1a628a2ceafa 21:24:38 Removing intermediate container 1a628a2ceafa 21:24:38 ---> 2a803fa223ae 21:24:38 [Warning] One or more build-args [ARCH] were not consumed 21:24:38 Successfully built 2a803fa223ae 21:24:38 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:24:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:24:39 21:24:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:24:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:24:39 arm64: Pulling from edgex-lftools-log-publisher 21:24:39 448f6bf000e3: Pulling fs layer 21:24:39 f757da607395: Pulling fs layer 21:24:39 05883995daec: Pulling fs layer 21:24:39 8603b9c90790: Pulling fs layer 21:24:39 1560dd03e051: Pulling fs layer 21:24:39 27f5ce0e4adf: Pulling fs layer 21:24:39 c2d8d7efcc4b: Pulling fs layer 21:24:39 8603b9c90790: Waiting 21:24:39 27f5ce0e4adf: Waiting 21:24:39 c2d8d7efcc4b: Waiting 21:24:39 1560dd03e051: Waiting 21:24:39 f757da607395: Verifying Checksum 21:24:39 f757da607395: Download complete 21:24:39 8603b9c90790: Verifying Checksum 21:24:39 8603b9c90790: Download complete 21:24:40 1560dd03e051: Verifying Checksum 21:24:40 1560dd03e051: Download complete 21:24:40 27f5ce0e4adf: Verifying Checksum 21:24:40 27f5ce0e4adf: Download complete 21:24:40 05883995daec: Verifying Checksum 21:24:40 05883995daec: Download complete 21:24:40 448f6bf000e3: Verifying Checksum 21:24:40 448f6bf000e3: Download complete 21:24:43 c2d8d7efcc4b: Verifying Checksum 21:24:43 c2d8d7efcc4b: Download complete 21:24:44 448f6bf000e3: Pull complete 21:24:44 f757da607395: Pull complete 21:24:46 05883995daec: Pull complete 21:24:46 8603b9c90790: Pull complete 21:24:47 1560dd03e051: Pull complete 21:24:47 27f5ce0e4adf: Pull complete 21:25:02 c2d8d7efcc4b: Pull complete 21:25:02 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 21:25:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:25:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:25:03 prd-ubuntu18.04-docker-arm64-4c-16g-715 does not seem to be running inside a container 21:25:03 $ 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:25:06 $ docker top 960ac09976084fdb5dbd10ff4dd4694e3e75a31cfef7018895897d8407003342 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:07 ---> job-cost.sh 21:25:07 lf-activate-venv: SKIPPING 21:25:07 INFO: No Stack... 21:25:07 INFO: Retrieving Pricing Info for: v3-standard-4 21:25:07 INFO: Archiving Costs [Pipeline] sh 21:25:08 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 21:25:08 + cut -d, -f6 [Pipeline] lock 21:25:08 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] 21:25:08 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] did not exist. Created. 21:25:08 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:25:09 /w/workspace/device-sdk-go/1@tmp/durable-ff209644/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-ff209644/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 21:25:10 + echo total: 0.10999999940395355 [Pipeline] stash 21:25:10 Warning: overwriting stash ‘stack-cost’ 21:25:10 Stashed 1 file(s) [Pipeline] } 21:25:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:25:10 $ docker stop --time=1 960ac09976084fdb5dbd10ff4dd4694e3e75a31cfef7018895897d8407003342 21:25:11 $ docker rm -f 960ac09976084fdb5dbd10ff4dd4694e3e75a31cfef7018895897d8407003342 [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:25:12 provisioning config files... 21:25:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/config2752410468253007192tmp [Pipeline] { [Pipeline] sh 21:25:13 + set +x 21:25:13 + curl -s https://codecov.io/bash 21:25:13 + bash -s -- 21:25:13 21:25:13 _____ _ 21:25:13 / ____| | | 21:25:13 | | ___ __| | ___ ___ _____ __ 21:25:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:25:13 | |___| (_) | (_| | __/ (_| (_) \ V / 21:25:13 \_____\___/ \__,_|\___|\___\___/ \_/ 21:25:13 Bash-1.0.6 21:25:13 21:25:13 21:25:13 ==> git version 2.24.4 found 21:25:13 ==> 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:25:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:25:13 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:25:13 ==> Jenkins CI detected. 21:25:13 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1072 21:25:13 project root: . 21:25:13 --> token set from env 21:25:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:25:13 ==> Running gcov in . (disable via -X gcov) 21:25:13 ==> Python coveragepy not found 21:25:13 ==> Searching for coverage reports in: 21:25:13 + . 21:25:13 -> Found 1 reports 21:25:13 ==> Detecting git/mercurial file structure 21:25:13 ==> Reading reports 21:25:13 + ./coverage.out bytes=128369 21:25:13 ==> Appending adjustments 21:25:13 https://docs.codecov.io/docs/fixing-reports 21:25:13 + Found adjustments 21:25:13 ==> Gzipping contents 21:25:13 16K /tmp/codecov.1ii9rn.gz 21:25:13 ==> Uploading reports 21:25:13 url: https://codecov.io 21:25:13 query: branch=PR-1072&commit=a222f540a46da2b72ca2166f67e933099f538379&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1072%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1072&job=&cmd_args= 21:25:13 -> Pinging Codecov 21:25:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1072&commit=a222f540a46da2b72ca2166f67e933099f538379&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1072%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1072&job=&cmd_args= 21:25:14 -> Uploading to 21:25:14 https://storage.googleapis.com/codecov/v4/raw/2021-11-29/7E55EF52A471D76F132DFD9A03CDDE97/a222f540a46da2b72ca2166f67e933099f538379/68969a46-71ff-48d9-800d-9163f9e6d400.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211129%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211129T212513Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42330533115127044bb8773208387fe04546217ff0a2f441f14b3dcbcb49ef31 21:25:14 % Total % Received % Xferd Average Speed Time Time Time Current 21:25:14 Dload Upload Total Spent Left Speed 21:25:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16304 0 0 100 16304 0 54840 --:--:-- --:--:-- --:--:-- 54895 21:25:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a222f540a46da2b72ca2166f67e933099f538379 [Pipeline] } 21:25:14 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:25:16 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1072/archives ']' [Pipeline] libraryResource [Pipeline] sh 21:25:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:25:17 ---> package-listing.sh 21:25:17 ++ facter osfamily 21:25:17 ++ tr '[:upper:]' '[:lower:]' 21:25:17 + OS_FAMILY=redhat 21:25:17 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1072 21:25:17 + START_PACKAGES=/tmp/packages_start.txt 21:25:17 + END_PACKAGES=/tmp/packages_end.txt 21:25:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:25:17 + PACKAGES=/tmp/packages_start.txt 21:25:17 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1072 ']' 21:25:17 + PACKAGES=/tmp/packages_end.txt 21:25:17 + case "${OS_FAMILY}" in 21:25:17 + rpm -qa 21:25:17 + sort 21:25:18 + '[' -f /tmp/packages_start.txt ']' 21:25:18 + '[' -f /tmp/packages_end.txt ']' 21:25:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:25:18 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1072 ']' 21:25:18 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1072/archives/ 21:25:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1072/archives/ [Pipeline] echo 21:25:18 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-1072/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:25:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:25:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:18 21:25:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:25:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:19 latest: Pulling from edgex-lftools-log-publisher 21:25:19 b4d181a07f80: Pulling fs layer 21:25:19 a1111a8f2ec3: Pulling fs layer 21:25:19 ed53099fbce6: Pulling fs layer 21:25:19 dc539afda2c1: Pulling fs layer 21:25:19 77bc0d833cb6: Pulling fs layer 21:25:19 9065ff56babe: Pulling fs layer 21:25:19 d287ab97295c: Pulling fs layer 21:25:19 dc539afda2c1: Waiting 21:25:19 77bc0d833cb6: Waiting 21:25:19 9065ff56babe: Waiting 21:25:19 d287ab97295c: Waiting 21:25:19 a1111a8f2ec3: Verifying Checksum 21:25:19 a1111a8f2ec3: Download complete 21:25:19 dc539afda2c1: Verifying Checksum 21:25:19 dc539afda2c1: Download complete 21:25:19 ed53099fbce6: Verifying Checksum 21:25:19 ed53099fbce6: Download complete 21:25:19 77bc0d833cb6: Verifying Checksum 21:25:19 77bc0d833cb6: Download complete 21:25:19 9065ff56babe: Verifying Checksum 21:25:19 9065ff56babe: Download complete 21:25:19 b4d181a07f80: Verifying Checksum 21:25:19 b4d181a07f80: Download complete 21:25:20 d287ab97295c: Verifying Checksum 21:25:20 d287ab97295c: Download complete 21:25:21 b4d181a07f80: Pull complete 21:25:21 a1111a8f2ec3: Pull complete 21:25:21 ed53099fbce6: Pull complete 21:25:21 dc539afda2c1: Pull complete 21:25:22 77bc0d833cb6: Pull complete 21:25:22 9065ff56babe: Pull complete 21:25:27 d287ab97295c: Pull complete 21:25:27 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:25:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:25:27 prd-centos7-docker-4c-2g-713 does not seem to be running inside a container 21:25:27 $ 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-1072/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-1072 -v /w/workspace/gexfoundry_device-sdk-go_PR-1072:/w/workspace/gexfoundry_device-sdk-go_PR-1072:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1072@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 21:25:29 $ docker top b7b9381e195fed6d0f084f2a836af8da49ad3738a12227ea06dec6173201e4e0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:30 + touch /tmp/pre-build-complete [Pipeline] sh 21:25:30 + mkdir -p /var/log/sysstat [Pipeline] sh 21:25:30 + ls /var/log/sa-host 21:25:30 + sadf -c /var/log/sa-host/sa29 21:25:30 file_magic: OK 21:25:30 HZ: Using current value: 100 21:25:30 file_header: OK 21:25:30 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:25:30 Statistics: 21:25:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:25:30 File successfully converted to sysstat format version 12.0.3 21:25:30 + sadf -c /var/log/sa-host/sa30 21:25:30 file_magic: OK 21:25:30 HZ: Using current value: 100 21:25:30 file_header: OK 21:25:30 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:25:30 Statistics: 21:25:30 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:25:30 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:31 provisioning config files... 21:25:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/config8982293279408416232tmp [Pipeline] { [Pipeline] echo 21:25:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:25:31 ---> create-netrc.sh [Pipeline] } 21:25:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:25:31 ---> python-tools-install.sh [Pipeline] echo 21:25:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:25:32 ---> sudo-logs.sh 21:25:32 Archiving 'sudo' log.. 21:25:32 sudo: unable to resolve host prd-centos7-docker-4c-2g-713.novalocal: Name or service not known 21:25:32 sudo: unable to resolve host prd-centos7-docker-4c-2g-713.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 21:25:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:25:32 ---> job-cost.sh 21:25:32 lf-activate-venv: SKIPPING 21:25:32 DEBUG: total: 0.10999999940395355 21:25:32 INFO: Retrieving Stack Cost... 21:25:33 INFO: Retrieving Pricing Info for: v3-standard-2 21:25:33 INFO: Archiving Costs [Pipeline] echo 21:25:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:25:33 ---> logs-deploy.sh 21:25:33 lf-activate-venv: SKIPPING 21:25:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1072/1 21:25:33 INFO: archiving workspace using pattern(s): 21:25:34 Archives upload complete. 21:25:34 INFO: archiving logs to Nexus