Pull request #1077 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e+2c9dfba109846ec6e3a71fe827451a179e021c5b (d882c23e997966673c73f63a6fbda76f4eb9b41d) 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-ssh11036217006009435150.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-ssh12519276504083626418.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-1077/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-1077/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1922992817630165464.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-1077/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12391075219664752304.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-ssh6617146289963269603.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-1077/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-1077/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3736661950956333297.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 ‘prd-centos7-docker-4c-2g-855’ is offline Running on prd-centos7-docker-4c-2g-857 in /w/workspace/gexfoundry_device-sdk-go_PR-1077 [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-1077 # 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-1077@tmp/jenkins-gitclient-ssh1645910455546999759.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e Merge succeeded, producing 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e Checking out Revision 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e (PR-1077) > 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-1077@tmp/jenkins-gitclient-ssh7877461895858196570.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1077/head:refs/remotes/origin/PR-1077 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e # 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-1077@tmp/jenkins-gitclient-ssh4166948082183137260.key > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 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 04:09:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:09:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:09:31 ========================================================= 04:09:31 EdgeX Global Pipelines Version Info 04:09:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:09:32 ------------------- 04:09:32 stable info: 04:09:32 ------------------- 04:09:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:09:32 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:09:32 Message: update stable to v1.0.217 04:09:32 ------------------- 04:09:32 experimental info: 04:09:32 ------------------- 04:09:32 Commited By: **** collab-it+edgex@linuxfoundation.org 04:09:32 Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 04:09:32 Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:09:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:09:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:09:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:09:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:09:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:09:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:09:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1077 [Pipeline] echo 04:09:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1077 [Pipeline] echo 04:09:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1077 [Pipeline] echo 04:09:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e [Pipeline] echo 04:09:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33713b2 [Pipeline] echo 04:09:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:34 provisioning config files... 04:09:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/config6036887473112544868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:34 ---> docker-login.sh 04:09:34 nexus3.edgexfoundry.org:10001 04:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:35 Configure a credential helper to remove this warning. See 04:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:35 04:09:35 Login Succeeded 04:09:35 nexus3.edgexfoundry.org:10002 04:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:35 Configure a credential helper to remove this warning. See 04:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:35 04:09:35 Login Succeeded 04:09:35 nexus3.edgexfoundry.org:10003 04:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:35 Configure a credential helper to remove this warning. See 04:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:35 04:09:35 Login Succeeded 04:09:35 nexus3.edgexfoundry.org:10004 04:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:35 Configure a credential helper to remove this warning. See 04:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:35 04:09:35 Login Succeeded 04:09:35 docker.io 04:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:35 Configure a credential helper to remove this warning. See 04:09:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:35 04:09:35 Login Succeeded 04:09:35 ---> docker-login.sh ends [Pipeline] } 04:09:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:09:36 + git rev-list -1 --merges 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e~1..33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e [Pipeline] echo 04:09:36 -----------> git rev-list -1 --merges 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e~1..33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e [false] [Pipeline] sh 04:09:36 + git log --format=format:%s -1 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e [Pipeline] echo 04:09:36 ========================================================= 04:09:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:09:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:37 + git log --format=format:%s -1 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e [Pipeline] echo 04:09:37 [semverPrep] GIT_COMMIT: 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 04:09:37 [semverPrep] This is not a build commit. [Pipeline] sh 04:09:37 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:09:37 + grep -v github /etc/ssh/ssh_known_hosts 04:09:37 + '[' -e /tmp/ssh_known_hosts ']' 04:09:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:09:37 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 04:09:37 + sudo tee -a /etc/ssh/ssh_known_hosts 04:09:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:09:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:09:38 04:09:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:09:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:09:38 latest: Pulling from edgex-devops/git-semver 04:09:38 a0d0a0d46f8b: Pulling fs layer 04:09:38 3e5f54012d9b: Pulling fs layer 04:09:38 4c7163046ea9: Pulling fs layer 04:09:38 0c2d73faf560: Pulling fs layer 04:09:38 0c2d73faf560: Waiting 04:09:38 3e5f54012d9b: Verifying Checksum 04:09:38 3e5f54012d9b: Download complete 04:09:38 a0d0a0d46f8b: Download complete 04:09:38 4c7163046ea9: Verifying Checksum 04:09:38 4c7163046ea9: Download complete 04:09:38 0c2d73faf560: Verifying Checksum 04:09:38 0c2d73faf560: Download complete 04:09:38 a0d0a0d46f8b: Pull complete 04:09:38 3e5f54012d9b: Pull complete 04:09:38 4c7163046ea9: Pull complete 04:09:39 0c2d73faf560: Pull complete 04:09:39 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:09:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:09:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:09:39 prd-centos7-docker-4c-2g-857 does not seem to be running inside a container 04:09:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1077 -v /w/workspace/gexfoundry_device-sdk-go_PR-1077:/w/workspace/gexfoundry_device-sdk-go_PR-1077:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1077@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:09:40 $ docker top e1eae8696a35b9a6fa51570d10160fd392224671082e0f222ea6c58541ce266e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:09:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:40 [ssh-agent] Looking for ssh-agent implementation... 04:09:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:40 $ docker exec e1eae8696a35b9a6fa51570d10160fd392224671082e0f222ea6c58541ce266e ssh-agent 04:09:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEhcpJM/agent.14 04:09:40 SSH_AGENT_PID=21 04:09:40 Running ssh-add (command line suppressed) 04:09:40 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/private_key_7305763638343673064.key (/w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/private_key_7305763638343673064.key) 04:09:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:40 + git tag --points-at HEAD [Pipeline] } 04:09:40 $ docker exec --env ******** --env ******** e1eae8696a35b9a6fa51570d10160fd392224671082e0f222ea6c58541ce266e ssh-agent -k 04:09:40 unset SSH_AUTH_SOCK; 04:09:40 unset SSH_AGENT_PID; 04:09:40 echo Agent pid 21 killed; 04:09:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:09:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:09:41 [ssh-agent] Looking for ssh-agent implementation... 04:09:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:09:41 $ docker exec e1eae8696a35b9a6fa51570d10160fd392224671082e0f222ea6c58541ce266e ssh-agent 04:09:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaifKcE/agent.54 04:09:41 SSH_AGENT_PID=60 04:09:41 Running ssh-add (command line suppressed) 04:09:41 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/private_key_2803795167398322796.key (/w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/private_key_2803795167398322796.key) 04:09:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:09:41 + git semver init 04:09:41 # -> Open(): unable to determine branch for HEAD 04:09:41 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1077/.git 04:09:41 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1077 04:09:41 # $SEMVER_REMOTE_NAME = origin 04:09:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:09:41 # $SEMVER_USER_NAME = edgex-jenkins 04:09:41 # $SEMVER_BRANCH = PR-1077 04:09:41 # $SEMVER_TEMP = /tmp/semver-605734260 04:09:41 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:09:42 # '/tmp/semver-605734260' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1077/.semver' 04:09:42 # -> Force: false 04:09:42 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1077/.semver [Pipeline] } 04:09:42 $ docker exec --env ******** --env ******** e1eae8696a35b9a6fa51570d10160fd392224671082e0f222ea6c58541ce266e ssh-agent -k 04:09:42 unset SSH_AUTH_SOCK; 04:09:42 unset SSH_AGENT_PID; 04:09:42 echo Agent pid 60 killed; 04:09:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:09:43 + git semver [Pipeline] } 04:09:43 $ docker stop --time=1 e1eae8696a35b9a6fa51570d10160fd392224671082e0f222ea6c58541ce266e 04:09:44 $ docker rm -f e1eae8696a35b9a6fa51570d10160fd392224671082e0f222ea6c58541ce266e [Pipeline] // withDockerContainer [Pipeline] sh 04:09:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:09:45 Stashed 1 file(s) [Pipeline] echo 04:09:45 [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 04:10:00 Still waiting to schedule task 04:10:00 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:10:00 Still waiting to schedule task 04:10:00 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:11:15 Running on prd-centos7-docker-4c-2g-860 in /w/workspace/gexfoundry_device-sdk-go_PR-1077 [Pipeline] { [Pipeline] ws 04:11:15 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:11:15 The recommended git tool is: git 04:11:17 using credential edgex-jenkins-ssh 04:11:17 Cloning the remote Git repository 04:11:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:11:16 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:11:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:11:16 > git --version # timeout=10 04:11:16 > git --version # 'git version 2.24.4' 04:11:16 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:16 [INFO] Currently running in a labeled security context 04:11:16 [INFO] Currently SELinux is 'enforcing' on the host 04:11:16 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4213424193665316944.key 04:11:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:11:19 Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e 04:11:19 Merge succeeded, producing 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e 04:11:19 Checking out Revision 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e (PR-1077) 04:11:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:11:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:11:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:11:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:11:17 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:17 [INFO] Currently running in a labeled security context 04:11:17 [INFO] Currently SELinux is 'enforcing' on the host 04:11:17 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1397100228135541238.key 04:11:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1077/head:refs/remotes/origin/PR-1077 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:11:18 > git config core.sparsecheckout # timeout=10 04:11:18 > git checkout -f 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e # timeout=10 04:11:18 > git remote # timeout=10 04:11:18 > git config --get remote.origin.url # timeout=10 04:11:18 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:18 [INFO] Currently running in a labeled security context 04:11:18 [INFO] Currently SELinux is 'enforcing' on the host 04:11:18 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2504622699080571874.key 04:11:18 > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 04:11:18 > git rev-parse HEAD^{commit} # timeout=10 04:11:18 > git config core.sparsecheckout # timeout=10 04:11:18 > git checkout -f 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e # timeout=10 04:11:22 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 04:11:21 > git --version # timeout=10 04:11:21 > git --version # 'git version 2.24.4' 04:11:21 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:23 provisioning config files... 04:11:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9108971602072485144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:23 ---> docker-login.sh 04:11:23 nexus3.edgexfoundry.org:10001 04:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:24 Configure a credential helper to remove this warning. See 04:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:24 04:11:24 Login Succeeded 04:11:24 nexus3.edgexfoundry.org:10002 04:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:24 Configure a credential helper to remove this warning. See 04:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:24 04:11:24 Login Succeeded 04:11:24 nexus3.edgexfoundry.org:10003 04:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:24 Configure a credential helper to remove this warning. See 04:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:24 04:11:24 Login Succeeded 04:11:24 nexus3.edgexfoundry.org:10004 04:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:24 Configure a credential helper to remove this warning. See 04:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:24 04:11:24 Login Succeeded 04:11:24 docker.io 04:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:24 Configure a credential helper to remove this warning. See 04:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:24 04:11:24 Login Succeeded 04:11:24 ---> docker-login.sh ends [Pipeline] } 04:11:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:11:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:25 ========================================================= 04:11:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:11:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:11:25 + 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 . 04:11:25 Sending build context to Docker daemon 4.985MB 04:11:25 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:11:25 Step 2/10 : FROM ${BASE} AS builder 04:11:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:11:25 a0d0a0d46f8b: Pulling fs layer 04:11:25 31adcdaf11c8: Pulling fs layer 04:11:25 b8b176561691: Pulling fs layer 04:11:25 4527c011a84f: Pulling fs layer 04:11:25 5d74067f8e1e: Pulling fs layer 04:11:25 e0aca202a116: Pulling fs layer 04:11:25 3a43be97a3b4: Pulling fs layer 04:11:25 34cad66bf833: Pulling fs layer 04:11:25 b4e3c513aaa6: Pulling fs layer 04:11:25 5d74067f8e1e: Waiting 04:11:25 4527c011a84f: Waiting 04:11:25 e0aca202a116: Waiting 04:11:25 3a43be97a3b4: Waiting 04:11:25 b4e3c513aaa6: Waiting 04:11:25 34cad66bf833: Waiting 04:11:25 b8b176561691: Verifying Checksum 04:11:25 b8b176561691: Download complete 04:11:25 31adcdaf11c8: Verifying Checksum 04:11:25 31adcdaf11c8: Download complete 04:11:25 5d74067f8e1e: Verifying Checksum 04:11:25 5d74067f8e1e: Download complete 04:11:25 e0aca202a116: Verifying Checksum 04:11:25 e0aca202a116: Download complete 04:11:25 a0d0a0d46f8b: Verifying Checksum 04:11:25 a0d0a0d46f8b: Download complete 04:11:26 3a43be97a3b4: Verifying Checksum 04:11:26 3a43be97a3b4: Download complete 04:11:26 34cad66bf833: Verifying Checksum 04:11:26 34cad66bf833: Download complete 04:11:26 b4e3c513aaa6: Verifying Checksum 04:11:26 b4e3c513aaa6: Download complete 04:11:26 a0d0a0d46f8b: Pull complete 04:11:26 4527c011a84f: Verifying Checksum 04:11:26 4527c011a84f: Download complete 04:11:26 31adcdaf11c8: Pull complete 04:11:26 b8b176561691: Pull complete 04:11:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-858 in /w/workspace/gexfoundry_device-sdk-go_PR-1077 [Pipeline] { [Pipeline] ws 04:11:30 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:11:30 The recommended git tool is: git 04:11:30 4527c011a84f: Pull complete 04:11:30 5d74067f8e1e: Pull complete 04:11:30 e0aca202a116: Pull complete 04:11:30 3a43be97a3b4: Pull complete 04:11:30 34cad66bf833: Pull complete 04:11:32 b4e3c513aaa6: Pull complete 04:11:32 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:11:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:11:32 ---> 9f6097aaca64 04:11:32 Step 3/10 : ARG MAKE=make build 04:11:35 using credential edgex-jenkins-ssh 04:11:35 Cloning the remote Git repository 04:11:35 ---> Running in b9ce82bfb02b 04:11:35 Removing intermediate container b9ce82bfb02b 04:11:35 ---> 756efad88377 04:11:35 Step 4/10 : WORKDIR /device-sdk-go 04:11:35 ---> Running in d28f5f9cd7b1 04:11:35 Removing intermediate container d28f5f9cd7b1 04:11:35 ---> 9051d46296fe 04:11:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:11:35 ---> Running in 3670b6ee4d13 04:11:35 Removing intermediate container 3670b6ee4d13 04:11:35 ---> 42231d73adde 04:11:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:11:35 ---> Running in f78ed3ea23ad 04:11:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:11:35 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:11:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:11:35 > git --version # timeout=10 04:11:35 > git --version # 'git version 2.17.1' 04:11:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:11:35 Removing intermediate container f78ed3ea23ad 04:11:35 ---> a07f2c630789 04:11:35 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:11:35 ---> Running in 8718673bbb9d 04:11:36 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:11:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:11:37 OK: 220 MiB in 52 packages 04:11:37 Removing intermediate container 8718673bbb9d 04:11:37 ---> 00918f14d89b 04:11:37 Step 8/10 : COPY . . 04:11:37 Merging remotes/origin/main commit 2c9dfba109846ec6e3a71fe827451a179e021c5b into PR head commit 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e 04:11:37 ---> 49d2fe25db42 04:11:37 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:38 Merge succeeded, producing 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e 04:11:38 Checking out Revision 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e (PR-1077) 04:11:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:11:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:11:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:11:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:11:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1077/head:refs/remotes/origin/PR-1077 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:11:37 > git config core.sparsecheckout # timeout=10 04:11:37 > git checkout -f 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e # timeout=10 04:11:38 > git remote # timeout=10 04:11:38 > git config --get remote.origin.url # timeout=10 04:11:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:38 > git merge 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 04:11:38 > git rev-parse HEAD^{commit} # timeout=10 04:11:38 > git config core.sparsecheckout # timeout=10 04:11:38 > git checkout -f 33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e # timeout=10 04:11:38 ---> Running in f50a8784e880 04:11:42 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 04:11:42 > git --version # timeout=10 04:11:42 > git --version # 'git version 2.17.1' 04:11:42 fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:11:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:11:43 % Total % Received % Xferd Average Speed Time Time Time Current 04:11:43 Dload Upload Total Spent Left Speed 04:11:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 69146 0 --:--:-- --:--:-- --:--:-- 68744 [Pipeline] sh 04:11:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:11:44 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 04:11:44 /etc/docker/daemon.new 04:11:44 { 04:11:44 "registry-mirrors": [ 04:11:44 "https://nexus3.edgexfoundry.org:10001" 04:11:44 ], 04:11:44 "bip": "10.250.0.254/24", 04:11:44 "hosts": [ 04:11:44 "tcp://0.0.0.0:5555", 04:11:44 "unix:///var/run/docker.sock" 04:11:44 ], 04:11:44 "mtu": 1458, 04:11:44 "selinux-enabled": true, 04:11:44 "seccomp-profile": "/etc/docker/seccomp.json" 04:11:44 } [Pipeline] sh 04:11:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:11:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:12:03 provisioning config files... 04:12:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2339078391391184696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:03 ---> docker-login.sh 04:12:03 nexus3.edgexfoundry.org:10001 04:12:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:04 Configure a credential helper to remove this warning. See 04:12:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:04 04:12:04 Login Succeeded 04:12:04 nexus3.edgexfoundry.org:10002 04:12:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:05 Configure a credential helper to remove this warning. See 04:12:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:05 04:12:05 Login Succeeded 04:12:05 nexus3.edgexfoundry.org:10003 04:12:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:05 Configure a credential helper to remove this warning. See 04:12:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:05 04:12:05 Login Succeeded 04:12:05 nexus3.edgexfoundry.org:10004 04:12:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:05 Configure a credential helper to remove this warning. See 04:12:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:05 04:12:05 Login Succeeded 04:12:05 docker.io 04:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:06 Configure a credential helper to remove this warning. See 04:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:06 04:12:06 Login Succeeded 04:12:06 ---> docker-login.sh ends [Pipeline] } 04:12:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:12:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:12:07 ========================================================= 04:12:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:12:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:12:08 + 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 . 04:12:08 Sending build context to Docker daemon 4.984MB 04:12:08 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:12:08 Step 2/10 : FROM ${BASE} AS builder 04:12:08 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:12:08 552d1f2373af: Pulling fs layer 04:12:08 ea3f2d53f512: Pulling fs layer 04:12:08 9e70ebbbe112: Pulling fs layer 04:12:08 7a9cfe048b4a: Pulling fs layer 04:12:08 72dc09318566: Pulling fs layer 04:12:08 f4f7b4309257: Pulling fs layer 04:12:08 0ac9a79272e3: Pulling fs layer 04:12:08 b78e95d17946: Pulling fs layer 04:12:08 7a9cfe048b4a: Waiting 04:12:08 72dc09318566: Waiting 04:12:08 f4f7b4309257: Waiting 04:12:08 0ac9a79272e3: Waiting 04:12:08 b78e95d17946: Waiting 04:12:08 9e70ebbbe112: Verifying Checksum 04:12:08 9e70ebbbe112: Download complete 04:12:08 ea3f2d53f512: Verifying Checksum 04:12:08 ea3f2d53f512: Download complete 04:12:08 72dc09318566: Download complete 04:12:08 f4f7b4309257: Verifying Checksum 04:12:08 f4f7b4309257: Download complete 04:12:08 552d1f2373af: Download complete 04:12:08 0ac9a79272e3: Verifying Checksum 04:12:08 0ac9a79272e3: Download complete 04:12:09 552d1f2373af: Pull complete 04:12:10 ea3f2d53f512: Pull complete 04:12:10 9e70ebbbe112: Pull complete 04:12:10 b78e95d17946: Verifying Checksum 04:12:11 7a9cfe048b4a: Verifying Checksum 04:12:11 7a9cfe048b4a: Download complete 04:12:21 7a9cfe048b4a: Pull complete 04:12:21 72dc09318566: Pull complete 04:12:21 f4f7b4309257: Pull complete 04:12:22 0ac9a79272e3: Pull complete 04:12:24 Removing intermediate container f50a8784e880 04:12:24 ---> 27f21d6c743d 04:12:24 Step 10/10 : RUN ${MAKE} 04:12:24 ---> Running in 652734ddee4e 04:12:24 noop 04:12:24 Removing intermediate container 652734ddee4e 04:12:24 ---> 785078f6c547 04:12:24 Successfully built 785078f6c547 04:12:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:12:25 + docker inspect -f . ci-base-image-x86_64 04:12:25 . [Pipeline] withDockerContainer 04:12:25 prd-centos7-docker-4c-2g-860 does not seem to be running inside a container 04:12:25 $ 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 ******** ci-base-image-x86_64 cat 04:12:25 $ docker top 84dd2834fa58c26e60a915146d8a6937ab7af93a23893dba8efaef8da5e04f92 -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:26 + go version 04:12:26 go version go1.16.8 linux/amd64 [Pipeline] } 04:12:26 $ docker stop --time=1 84dd2834fa58c26e60a915146d8a6937ab7af93a23893dba8efaef8da5e04f92 04:12:27 $ docker rm -f 84dd2834fa58c26e60a915146d8a6937ab7af93a23893dba8efaef8da5e04f92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 04:12:27 b78e95d17946: Pull complete 04:12:27 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:12:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:12:27 ---> 8b459fc5aaf0 04:12:27 Step 3/10 : ARG MAKE=make build [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:12:28 + docker inspect -f . ci-base-image-x86_64 04:12:28 . [Pipeline] withDockerContainer 04:12:28 prd-centos7-docker-4c-2g-860 does not seem to be running inside a container 04:12:28 $ 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 ******** ci-base-image-x86_64 cat 04:12:28 $ docker top d8f7990e04c3ff0c5bc2ef8610b92571fab61edea39a944d42cf1fb4420eca3f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:12:29 + make test 04:12:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:12:29 ---> Running in 03b9032128fa 04:12:29 Removing intermediate container 03b9032128fa 04:12:29 ---> fcbe95ee56b2 04:12:29 Step 4/10 : WORKDIR /device-sdk-go 04:12:29 ---> Running in 99fbbb29c6ed 04:12:30 Removing intermediate container 99fbbb29c6ed 04:12:30 ---> 0efde4297143 04:12:30 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:12:30 ---> Running in 8bf95d988224 04:12:30 Removing intermediate container 8bf95d988224 04:12:30 ---> efe3f36d66aa 04:12:30 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:12:30 ---> Running in 6a3a51736157 04:12:32 Removing intermediate container 6a3a51736157 04:12:32 ---> fef995ce44b2 04:12:32 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:12:32 ---> Running in d2da1dafba01 04:12:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:12:34 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:12:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:12:35 OK: 219 MiB in 52 packages 04:12:36 Removing intermediate container d2da1dafba01 04:12:36 ---> 8a7db643dce0 04:12:36 Step 8/10 : COPY . . 04:12:37 ---> 34ad35e2ecfb 04:12:37 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:12:37 ---> Running in 30b5416ca867 04:12:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:12:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:12:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:12:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 23.3% of statements 04:12:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:12:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements 04:12:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements 04:12:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.051s coverage: 9.0% of statements 04:12:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:12:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:12:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:12:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements 04:12:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:13:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.056s coverage: 83.3% of statements 04:13:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:13:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:13:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 57.8% of statements 04:13:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.793s coverage: 89.2% of statements 04:13:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:13:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.041s coverage: 4.8% of statements 04:13:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:13:01 GO111MODULE=on go vet ./... 04:13:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:13:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:13:20 ./bin/test-attribution-txt.sh [Pipeline] echo 04:13:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:13:20 $ docker stop --time=1 d8f7990e04c3ff0c5bc2ef8610b92571fab61edea39a944d42cf1fb4420eca3f 04:13:21 $ docker rm -f d8f7990e04c3ff0c5bc2ef8610b92571fab61edea39a944d42cf1fb4420eca3f [Pipeline] // withDockerContainer [Pipeline] sh 04:13:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:13:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:13:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:13:23 + ls -al . 04:13:23 total 268 04:13:23 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 6 04:13 . 04:13:23 drwxrwxr-x. 4 jenkins jenkins 28 Jan 6 04:11 .. 04:13:23 drwxrwxr-x. 2 jenkins jenkins 37 Jan 6 04:11 bin 04:13:23 -rw-rw-r--. 1 jenkins jenkins 26321 Jan 6 04:11 CHANGELOG.md 04:13:23 -rw-r--r--. 1 jenkins jenkins 128369 Jan 6 04:13 coverage.out 04:13:23 -rw-rw-r--. 1 jenkins jenkins 140 Jan 6 04:11 .dockerignore 04:13:23 drwxrwxr-x. 5 jenkins jenkins 62 Jan 6 04:11 example 04:13:23 drwxrwxr-x. 8 jenkins jenkins 179 Jan 6 04:11 .git 04:13:23 drwxrwxr-x. 3 jenkins jenkins 125 Jan 6 04:11 .github 04:13:23 -rw-rw-r--. 1 jenkins jenkins 131 Jan 6 04:11 .gitignore 04:13:23 -rw-rw-r--. 1 jenkins jenkins 582 Jan 6 04:11 go.mod 04:13:23 -rw-rw-r--. 1 jenkins jenkins 49709 Jan 6 04:11 go.sum 04:13:23 -rw-rw-r--. 1 jenkins jenkins 677 Jan 6 04:11 GOVERNANCE.md 04:13:23 drwxrwxr-x. 15 jenkins jenkins 224 Jan 6 04:11 internal 04:13:23 -rw-rw-r--. 1 jenkins jenkins 880 Jan 6 04:11 Jenkinsfile 04:13:23 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 6 04:11 LICENSE 04:13:23 -rw-rw-r--. 1 jenkins jenkins 1120 Jan 6 04:11 Makefile 04:13:23 drwxrwxr-x. 3 jenkins jenkins 16 Jan 6 04:11 openapi 04:13:23 -rw-rw-r--. 1 jenkins jenkins 619 Jan 6 04:11 OWNERS.md 04:13:23 drwxrwxr-x. 5 jenkins jenkins 50 Jan 6 04:11 pkg 04:13:23 -rw-rw-r--. 1 jenkins jenkins 4881 Jan 6 04:11 README.md 04:13:23 drwxrwxr-x. 4 jenkins jenkins 54 Jan 6 04:11 snap 04:13:23 -rw-rw-r--. 1 jenkins jenkins 5 Jan 6 04:09 VERSION 04:13:23 -rw-rw-r--. 1 jenkins jenkins 222 Jan 6 04:11 version.go [Pipeline] isUnix [Pipeline] sh 04:13:24 + 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=33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e --label arch=amd64 --label version=0.0.0 . 04:13:24 Sending build context to Docker daemon 5.114MB 04:13:24 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:13:24 Step 2/24 : FROM ${BASE} AS builder 04:13:24 ---> 785078f6c547 04:13:24 Step 3/24 : ARG MAKE=make build 04:13:24 ---> Running in 2a9853bc00aa 04:13:24 Removing intermediate container 2a9853bc00aa 04:13:24 ---> 58c76c92da08 04:13:24 Step 4/24 : WORKDIR /device-sdk-go 04:13:24 ---> Running in 89a47860a24f 04:13:24 Removing intermediate container 89a47860a24f 04:13:24 ---> 7c39c5e81ad8 04:13:24 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:13:24 ---> Running in 66208921ead2 04:13:24 Removing intermediate container 66208921ead2 04:13:24 ---> c9ec5c3efc95 04:13:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:13:24 ---> Running in c083b5c13fd5 04:13:25 Removing intermediate container c083b5c13fd5 04:13:25 ---> 1f39e281ad87 04:13:25 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:13:25 ---> Running in fa62a1dacb84 04:13:25 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:13:26 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:13:26 OK: 220 MiB in 52 packages 04:13:26 Removing intermediate container fa62a1dacb84 04:13:26 ---> bcd8bfe5a410 04:13:26 Step 8/24 : COPY . . 04:13:27 ---> 40cb5958d6b9 04:13:27 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:27 ---> Running in ada602879509 04:13:27 Removing intermediate container ada602879509 04:13:27 ---> 39037a58a2bf 04:13:27 Step 10/24 : RUN ${MAKE} 04:13:27 ---> Running in 213bdde5e94d 04:13:27 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 04:13:38 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:13:38 Removing intermediate container 213bdde5e94d 04:13:38 ---> 747282e9fee6 04:13:38 Step 11/24 : FROM alpine:3.14 04:13:39 3.14: Pulling from library/alpine 04:13:39 97518928ae5f: Pulling fs layer 04:13:39 97518928ae5f: Verifying Checksum 04:13:39 97518928ae5f: Download complete 04:13:39 97518928ae5f: Pull complete 04:13:39 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:13:39 Status: Downloaded newer image for alpine:3.14 04:13:39 ---> 0a97eee8041e 04:13:39 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:13:40 ---> Running in cc7796769475 04:13:40 Removing intermediate container cc7796769475 04:13:40 ---> 3f0d0fe79cf5 04:13:40 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:13:40 ---> Running in 657b17c55bea 04:13:40 Removing intermediate container 657b17c55bea 04:13:40 ---> 956ff8d28a40 04:13:40 Step 14/24 : RUN apk add --update --no-cache zeromq 04:13:40 ---> Running in 2473f66c72ac 04:13:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:13:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:13:42 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:13:42 (2/5) Installing libsodium (1.0.18-r0) 04:13:42 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:13:42 (4/5) Installing libzmq (4.3.4-r0) 04:13:42 (5/5) Installing zeromq (4.3.4-r0) 04:13:42 Executing busybox-1.33.1-r6.trigger 04:13:42 OK: 8 MiB in 19 packages 04:13:42 Removing intermediate container 2473f66c72ac 04:13:42 ---> 99ff26b263c5 04:13:42 Step 15/24 : WORKDIR / 04:13:42 ---> Running in e201bbbc997c 04:13:42 Removing intermediate container e201bbbc997c 04:13:42 ---> 9d2a683d9c4c 04:13:42 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:13:42 ---> 2712a3ea7ea6 04:13:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:13:43 ---> 31ce92c5426f 04:13:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:13:43 ---> 3b86886d6983 04:13:43 Step 19/24 : EXPOSE 59999 04:13:43 ---> Running in c155046d1b1d 04:13:43 Removing intermediate container c155046d1b1d 04:13:43 ---> 73053b3869b7 04:13:43 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:13:43 ---> Running in 2a9466305668 04:13:43 Removing intermediate container 2a9466305668 04:13:43 ---> 62e9eb9b868c 04:13:43 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:13:43 ---> Running in 845ba722fc94 04:13:43 Removing intermediate container 845ba722fc94 04:13:43 ---> 4ed2359720fe 04:13:43 Step 22/24 : LABEL arch=amd64 04:13:43 ---> Running in 944ca72fdb38 04:13:43 Removing intermediate container 944ca72fdb38 04:13:43 ---> 5949a9ebb6e9 04:13:43 Step 23/24 : LABEL git_sha=33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e 04:13:43 ---> Running in 2e21dfaa1412 04:13:43 Removing intermediate container 2e21dfaa1412 04:13:43 ---> 22eb7d0bdcf1 04:13:43 Step 24/24 : LABEL version=0.0.0 04:13:43 ---> Running in f467ca36e93a 04:13:43 Removing intermediate container f467ca36e93a 04:13:43 ---> f4e3aef0e216 04:13:43 [Warning] One or more build-args [ARCH] were not consumed 04:13:43 Successfully built f4e3aef0e216 04:13:43 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 04:13:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:13:44 04:13:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:13:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:13:45 latest: Pulling from edgex-lftools-log-publisher 04:13:45 b4d181a07f80: Pulling fs layer 04:13:45 a1111a8f2ec3: Pulling fs layer 04:13:45 ed53099fbce6: Pulling fs layer 04:13:45 dc539afda2c1: Pulling fs layer 04:13:45 77bc0d833cb6: Pulling fs layer 04:13:45 9065ff56babe: Pulling fs layer 04:13:45 d287ab97295c: Pulling fs layer 04:13:45 77bc0d833cb6: Waiting 04:13:45 9065ff56babe: Waiting 04:13:45 d287ab97295c: Waiting 04:13:45 dc539afda2c1: Waiting 04:13:45 a1111a8f2ec3: Verifying Checksum 04:13:45 a1111a8f2ec3: Download complete 04:13:45 dc539afda2c1: Verifying Checksum 04:13:45 dc539afda2c1: Download complete 04:13:45 ed53099fbce6: Verifying Checksum 04:13:45 ed53099fbce6: Download complete 04:13:45 9065ff56babe: Verifying Checksum 04:13:45 9065ff56babe: Download complete 04:13:45 77bc0d833cb6: Verifying Checksum 04:13:45 77bc0d833cb6: Download complete 04:13:45 b4d181a07f80: Verifying Checksum 04:13:45 b4d181a07f80: Download complete 04:13:45 d287ab97295c: Verifying Checksum 04:13:45 d287ab97295c: Download complete 04:13:46 b4d181a07f80: Pull complete 04:13:46 a1111a8f2ec3: Pull complete 04:13:47 ed53099fbce6: Pull complete 04:13:47 dc539afda2c1: Pull complete 04:13:47 77bc0d833cb6: Pull complete 04:13:47 9065ff56babe: Pull complete 04:13:53 d287ab97295c: Pull complete 04:13:53 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:13:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:13:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:13:53 prd-centos7-docker-4c-2g-860 does not seem to be running inside a container 04:13:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:13:55 $ docker top 235f2d839d61fc91761c69e066fd38e050c74dc16aa7e75d6c6bedaca9173d8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:55 ---> job-cost.sh 04:13:55 lf-activate-venv: SKIPPING 04:13:55 INFO: No Stack... 04:13:56 INFO: Retrieving Pricing Info for: v3-standard-2 04:13:56 INFO: Archiving Costs [Pipeline] sh 04:13:56 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:13:56 + cut -d, -f6 [Pipeline] lock 04:13:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1077-1-stack-cost] 04:13:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1077-1-stack-cost] did not exist. Created. 04:13:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1077-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:13:57 + echo total: 0.05999999865889549 [Pipeline] stash 04:13:57 Stashed 1 file(s) [Pipeline] } 04:13:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1077-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:13:57 $ docker stop --time=1 235f2d839d61fc91761c69e066fd38e050c74dc16aa7e75d6c6bedaca9173d8c 04:13:58 $ docker rm -f 235f2d839d61fc91761c69e066fd38e050c74dc16aa7e75d6c6bedaca9173d8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:13:59 Removing intermediate container 30b5416ca867 04:13:59 ---> e770187ad6d2 04:13:59 Step 10/10 : RUN ${MAKE} 04:13:59 ---> Running in 060d2a95ef7f 04:13:59 noop 04:13:59 Removing intermediate container 060d2a95ef7f 04:13:59 ---> fa740872612f 04:13:59 Successfully built fa740872612f 04:13:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:13:59 + docker inspect -f . ci-base-image-arm64 04:13:59 . [Pipeline] withDockerContainer 04:14:00 prd-ubuntu18.04-docker-arm64-4c-16g-858 does not seem to be running inside a container 04:14:00 $ 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 ******** ci-base-image-arm64 cat 04:14:01 $ docker top f6cc76937cc1176f0ff02b92e4bb68ee5b94d5bcd22e248ce90967ebf3196c42 -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:02 + go version 04:14:02 go version go1.16.8 linux/arm64 [Pipeline] } 04:14:02 $ docker stop --time=1 f6cc76937cc1176f0ff02b92e4bb68ee5b94d5bcd22e248ce90967ebf3196c42 04:14:03 $ docker rm -f f6cc76937cc1176f0ff02b92e4bb68ee5b94d5bcd22e248ce90967ebf3196c42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:14:04 + docker inspect -f . ci-base-image-arm64 04:14:04 . [Pipeline] withDockerContainer 04:14:04 prd-ubuntu18.04-docker-arm64-4c-16g-858 does not seem to be running inside a container 04:14:05 $ 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 ******** ci-base-image-arm64 cat 04:14:06 $ docker top 64f1035764c4eeb2ba37027ea7d10ae7f666686645b5174fa8e8f5a9934c5be5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:14:07 + make test 04:14:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:14:33 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:15:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:15:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:15:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:15:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.315s coverage: 23.3% of statements 04:15:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:15:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.231s coverage: 27.6% of statements 04:15:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.222s coverage: 78.9% of statements 04:15:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.201s coverage: 9.0% of statements 04:15:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:15:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:15:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:15:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.304s coverage: 28.7% of statements 04:15:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:15:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.297s coverage: 83.3% of statements 04:15:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:15:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:15:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.386s coverage: 57.8% of statements 04:15:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.214s coverage: 89.2% of statements 04:15:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:15:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.221s coverage: 4.8% of statements 04:15:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:15:57 GO111MODULE=on go vet ./... 04:17:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:17:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:17:05 ./bin/test-attribution-txt.sh [Pipeline] echo 04:17:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:17:05 $ docker stop --time=1 64f1035764c4eeb2ba37027ea7d10ae7f666686645b5174fa8e8f5a9934c5be5 04:17:07 $ docker rm -f 64f1035764c4eeb2ba37027ea7d10ae7f666686645b5174fa8e8f5a9934c5be5 [Pipeline] // withDockerContainer [Pipeline] sh 04:17:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:17:08 Warning: overwriting stash ‘coverage-report’ 04:17:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:17:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:17:09 + ls -al . 04:17:09 total 304 04:17:09 drwxrwxr-x 10 jenkins jenkins 4096 Jan 6 04:16 . 04:17:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 6 04:11 .. 04:17:09 -rw-rw-r-- 1 jenkins jenkins 140 Jan 6 04:11 .dockerignore 04:17:09 drwxrwxr-x 8 jenkins jenkins 4096 Jan 6 04:11 .git 04:17:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 6 04:11 .github 04:17:09 -rw-rw-r-- 1 jenkins jenkins 131 Jan 6 04:11 .gitignore 04:17:09 -rw-rw-r-- 1 jenkins jenkins 26321 Jan 6 04:11 CHANGELOG.md 04:17:09 -rw-rw-r-- 1 jenkins jenkins 677 Jan 6 04:11 GOVERNANCE.md 04:17:09 -rw-rw-r-- 1 jenkins jenkins 880 Jan 6 04:11 Jenkinsfile 04:17:09 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 6 04:11 LICENSE 04:17:09 -rw-rw-r-- 1 jenkins jenkins 1120 Jan 6 04:11 Makefile 04:17:09 -rw-rw-r-- 1 jenkins jenkins 619 Jan 6 04:11 OWNERS.md 04:17:09 -rw-rw-r-- 1 jenkins jenkins 4881 Jan 6 04:11 README.md 04:17:09 -rw-rw-r-- 1 jenkins jenkins 5 Jan 6 04:09 VERSION 04:17:09 drwxrwxr-x 2 jenkins jenkins 4096 Jan 6 04:11 bin 04:17:09 -rw-r--r-- 1 jenkins jenkins 128370 Jan 6 04:15 coverage.out 04:17:09 drwxrwxr-x 5 jenkins jenkins 4096 Jan 6 04:11 example 04:17:09 -rw-rw-r-- 1 jenkins jenkins 582 Jan 6 04:11 go.mod 04:17:09 -rw-rw-r-- 1 jenkins jenkins 49709 Jan 6 04:11 go.sum 04:17:09 drwxrwxr-x 15 jenkins jenkins 4096 Jan 6 04:11 internal 04:17:09 drwxrwxr-x 3 jenkins jenkins 4096 Jan 6 04:11 openapi 04:17:09 drwxrwxr-x 5 jenkins jenkins 4096 Jan 6 04:11 pkg 04:17:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 6 04:11 snap 04:17:09 -rw-rw-r-- 1 jenkins jenkins 222 Jan 6 04:11 version.go [Pipeline] isUnix [Pipeline] sh 04:17:10 + 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=33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e --label arch=arm64 --label version=0.0.0 . 04:17:10 Sending build context to Docker daemon 5.113MB 04:17:10 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 04:17:10 Step 2/24 : FROM ${BASE} AS builder 04:17:10 ---> fa740872612f 04:17:10 Step 3/24 : ARG MAKE=make build 04:17:10 ---> Running in c424860cc218 04:17:10 Removing intermediate container c424860cc218 04:17:10 ---> 76aa6d34d3ca 04:17:10 Step 4/24 : WORKDIR /device-sdk-go 04:17:11 ---> Running in 13907284c4a1 04:17:11 Removing intermediate container 13907284c4a1 04:17:11 ---> 2db7c6aa0a69 04:17:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:17:11 ---> Running in a839eb14d57e 04:17:12 Removing intermediate container a839eb14d57e 04:17:12 ---> 7f0b20da50bb 04:17:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:17:12 ---> Running in 3f65271715e0 04:17:13 Removing intermediate container 3f65271715e0 04:17:13 ---> 549e127c8ea6 04:17:13 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:17:13 ---> Running in a7ff5dfdb3b8 04:17:14 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:17:15 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:17:16 OK: 219 MiB in 52 packages 04:17:17 Removing intermediate container a7ff5dfdb3b8 04:17:17 ---> 49e64e3ceb79 04:17:17 Step 8/24 : COPY . . 04:17:18 ---> 3a07c37e45db 04:17:18 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:17:18 ---> Running in 418402c13a76 04:17:20 Removing intermediate container 418402c13a76 04:17:20 ---> ffc5bd372690 04:17:20 Step 10/24 : RUN ${MAKE} 04:17:20 ---> Running in 9d281c2168db 04:17:21 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 04:18:00 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:18:00 Removing intermediate container 9d281c2168db 04:18:00 ---> 7350cd0a2cf3 04:18:00 Step 11/24 : FROM alpine:3.14 04:18:00 3.14: Pulling from library/alpine 04:18:00 be307f383ecc: Pulling fs layer 04:18:00 be307f383ecc: Download complete 04:18:00 be307f383ecc: Pull complete 04:18:00 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:18:00 Status: Downloaded newer image for alpine:3.14 04:18:00 ---> 5b8b7b635229 04:18:00 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:18:00 ---> Running in 62fda27ac558 04:18:00 Removing intermediate container 62fda27ac558 04:18:00 ---> 31bfaf96e65c 04:18:00 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:18:00 ---> Running in db1d54c7b5e4 04:18:01 Removing intermediate container db1d54c7b5e4 04:18:01 ---> 137dfcad090f 04:18:01 Step 14/24 : RUN apk add --update --no-cache zeromq 04:18:01 ---> Running in 730cfb09a4b1 04:18:02 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:18:03 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:18:04 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:18:04 (2/5) Installing libsodium (1.0.18-r0) 04:18:04 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:18:04 (4/5) Installing libzmq (4.3.4-r0) 04:18:04 (5/5) Installing zeromq (4.3.4-r0) 04:18:04 Executing busybox-1.33.1-r6.trigger 04:18:05 OK: 8 MiB in 19 packages 04:18:06 Removing intermediate container 730cfb09a4b1 04:18:06 ---> 2c4c546b7f8c 04:18:06 Step 15/24 : WORKDIR / 04:18:06 ---> Running in c1e8840e497a 04:18:06 Removing intermediate container c1e8840e497a 04:18:06 ---> 3db7bdcd2a2b 04:18:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:18:07 ---> fd002039d597 04:18:07 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:18:08 ---> d419d993f1aa 04:18:08 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:18:08 ---> 0ff9801ff204 04:18:08 Step 19/24 : EXPOSE 59999 04:18:08 ---> Running in dfb40184a950 04:18:08 Removing intermediate container dfb40184a950 04:18:08 ---> b8c492f49281 04:18:08 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:18:09 ---> Running in e84bb10b5bb5 04:18:09 Removing intermediate container e84bb10b5bb5 04:18:09 ---> 5ec77e4c8ea7 04:18:09 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:18:09 ---> Running in 28a5f12af7f2 04:18:09 Removing intermediate container 28a5f12af7f2 04:18:09 ---> 425fe794bba8 04:18:09 Step 22/24 : LABEL arch=arm64 04:18:09 ---> Running in caa742c213ab 04:18:10 Removing intermediate container caa742c213ab 04:18:10 ---> c0a3d4298870 04:18:10 Step 23/24 : LABEL git_sha=33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e 04:18:10 ---> Running in 9874d4d8d0db 04:18:10 Removing intermediate container 9874d4d8d0db 04:18:10 ---> a1c4d899e892 04:18:10 Step 24/24 : LABEL version=0.0.0 04:18:10 ---> Running in d3a7c8e9adb2 04:18:11 Removing intermediate container d3a7c8e9adb2 04:18:11 ---> 2403a3960057 04:18:11 [Warning] One or more build-args [ARCH] were not consumed 04:18:11 Successfully built 2403a3960057 04:18:11 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 04:18:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:11 04:18:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:18:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:12 arm64: Pulling from edgex-lftools-log-publisher 04:18:12 448f6bf000e3: Pulling fs layer 04:18:12 f757da607395: Pulling fs layer 04:18:12 05883995daec: Pulling fs layer 04:18:12 8603b9c90790: Pulling fs layer 04:18:12 1560dd03e051: Pulling fs layer 04:18:12 27f5ce0e4adf: Pulling fs layer 04:18:12 c2d8d7efcc4b: Pulling fs layer 04:18:12 8603b9c90790: Waiting 04:18:12 1560dd03e051: Waiting 04:18:12 27f5ce0e4adf: Waiting 04:18:12 c2d8d7efcc4b: Waiting 04:18:12 f757da607395: Verifying Checksum 04:18:12 f757da607395: Download complete 04:18:12 8603b9c90790: Verifying Checksum 04:18:12 8603b9c90790: Download complete 04:18:12 1560dd03e051: Verifying Checksum 04:18:12 1560dd03e051: Download complete 04:18:12 27f5ce0e4adf: Verifying Checksum 04:18:12 27f5ce0e4adf: Download complete 04:18:12 05883995daec: Verifying Checksum 04:18:12 05883995daec: Download complete 04:18:13 448f6bf000e3: Verifying Checksum 04:18:13 448f6bf000e3: Download complete 04:18:15 c2d8d7efcc4b: Verifying Checksum 04:18:15 c2d8d7efcc4b: Download complete 04:18:16 448f6bf000e3: Pull complete 04:18:17 f757da607395: Pull complete 04:18:18 05883995daec: Pull complete 04:18:18 8603b9c90790: Pull complete 04:18:19 1560dd03e051: Pull complete 04:18:20 27f5ce0e4adf: Pull complete 04:18:35 c2d8d7efcc4b: Pull complete 04:18:35 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:18:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:18:35 prd-ubuntu18.04-docker-arm64-4c-16g-858 does not seem to be running inside a container 04:18:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:18:38 $ docker top d179809c4f6f521ce87c5f493aea4c7ae48dafa95488e7e02d7e1deee2956bec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:39 ---> job-cost.sh 04:18:39 lf-activate-venv: SKIPPING 04:18:39 INFO: No Stack... 04:18:39 INFO: Retrieving Pricing Info for: v3-standard-4 04:18:40 INFO: Archiving Costs [Pipeline] sh 04:18:40 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:18:40 + cut -d, -f6 [Pipeline] lock 04:18:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1077-1-stack-cost] 04:18:40 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1077-1-stack-cost] did not exist. Created. 04:18:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1077-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:18:41 /w/workspace/device-sdk-go/1@tmp/durable-9082633c/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-9082633c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:18:42 + echo total: 0.10999999940395355 [Pipeline] stash 04:18:42 Warning: overwriting stash ‘stack-cost’ 04:18:42 Stashed 1 file(s) [Pipeline] } 04:18:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1077-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:18:42 $ docker stop --time=1 d179809c4f6f521ce87c5f493aea4c7ae48dafa95488e7e02d7e1deee2956bec 04:18:44 $ docker rm -f d179809c4f6f521ce87c5f493aea4c7ae48dafa95488e7e02d7e1deee2956bec [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 04:18:44 provisioning config files... 04:18:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/config2394679075055286113tmp [Pipeline] { [Pipeline] sh 04:18:45 + set +x 04:18:45 + curl -s https://codecov.io/bash 04:18:45 + bash -s -- 04:18:45 04:18:45 _____ _ 04:18:45 / ____| | | 04:18:45 | | ___ __| | ___ ___ _____ __ 04:18:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:18:45 | |___| (_) | (_| | __/ (_| (_) \ V / 04:18:45 \_____\___/ \__,_|\___|\___\___/ \_/ 04:18:45 Bash-1.0.6 04:18:45 04:18:45 04:18:45 ==> git version 2.24.4 found 04:18:45 ==> 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 04:18:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:18:45 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:18:45 ==> Jenkins CI detected. 04:18:45 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1077 04:18:45 project root: . 04:18:45 --> token set from env 04:18:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:18:45 ==> Running gcov in . (disable via -X gcov) 04:18:45 ==> Python coveragepy not found 04:18:45 ==> Searching for coverage reports in: 04:18:45 + . 04:18:45 -> Found 1 reports 04:18:45 ==> Detecting git/mercurial file structure 04:18:45 ==> Reading reports 04:18:45 + ./coverage.out bytes=128370 04:18:45 ==> Appending adjustments 04:18:45 https://docs.codecov.io/docs/fixing-reports 04:18:45 + Found adjustments 04:18:45 ==> Gzipping contents 04:18:45 16K /tmp/codecov.nk92RZ.gz 04:18:45 ==> Uploading reports 04:18:45 url: https://codecov.io 04:18:45 query: branch=PR-1077&commit=33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1077%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1077&job=&cmd_args= 04:18:45 -> Pinging Codecov 04:18:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1077&commit=33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1077%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1077&job=&cmd_args= 04:18:46 -> Uploading to 04:18:46 https://storage.googleapis.com/codecov/v4/raw/2022-01-06/7E55EF52A471D76F132DFD9A03CDDE97/33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e/30952a17-80d1-43c2-84fb-326031a55693.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220106%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220106T041845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=775e7652970d2ac6fc30bf8ee4cb1e74697c1672bd8b477f09de80fd9e9f5a77 04:18:46 % Total % Received % Xferd Average Speed Time Time Time Current 04:18:46 Dload Upload Total Spent Left Speed 04:18:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16323 0 0 100 16323 0 54308 --:--:-- --:--:-- --:--:-- 54410 04:18:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/33713b26d8a6fcd12fc2f0cc8a7643a722d6da4e [Pipeline] } 04:18:46 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 04:18:48 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1077/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:18:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:18:48 ---> package-listing.sh 04:18:48 ++ facter osfamily 04:18:48 ++ tr '[:upper:]' '[:lower:]' 04:18:49 + OS_FAMILY=redhat 04:18:49 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1077 04:18:49 + START_PACKAGES=/tmp/packages_start.txt 04:18:49 + END_PACKAGES=/tmp/packages_end.txt 04:18:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:18:49 + PACKAGES=/tmp/packages_start.txt 04:18:49 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1077 ']' 04:18:49 + PACKAGES=/tmp/packages_end.txt 04:18:49 + case "${OS_FAMILY}" in 04:18:49 + rpm -qa 04:18:49 + sort 04:18:49 + '[' -f /tmp/packages_start.txt ']' 04:18:49 + '[' -f /tmp/packages_end.txt ']' 04:18:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:18:49 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1077 ']' 04:18:49 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1077/archives/ 04:18:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1077/archives/ [Pipeline] echo 04:18:49 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-1077/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:18:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:18:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:50 04:18:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:18:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:51 latest: Pulling from edgex-lftools-log-publisher 04:18:51 b4d181a07f80: Pulling fs layer 04:18:51 a1111a8f2ec3: Pulling fs layer 04:18:51 ed53099fbce6: Pulling fs layer 04:18:51 dc539afda2c1: Pulling fs layer 04:18:51 77bc0d833cb6: Pulling fs layer 04:18:51 9065ff56babe: Pulling fs layer 04:18:51 d287ab97295c: Pulling fs layer 04:18:51 dc539afda2c1: Waiting 04:18:51 77bc0d833cb6: Waiting 04:18:51 9065ff56babe: Waiting 04:18:51 d287ab97295c: Waiting 04:18:51 a1111a8f2ec3: Verifying Checksum 04:18:51 a1111a8f2ec3: Download complete 04:18:51 dc539afda2c1: Verifying Checksum 04:18:51 dc539afda2c1: Download complete 04:18:51 ed53099fbce6: Verifying Checksum 04:18:51 ed53099fbce6: Download complete 04:18:51 9065ff56babe: Verifying Checksum 04:18:51 9065ff56babe: Download complete 04:18:51 77bc0d833cb6: Verifying Checksum 04:18:51 77bc0d833cb6: Download complete 04:18:51 b4d181a07f80: Verifying Checksum 04:18:51 b4d181a07f80: Download complete 04:18:51 d287ab97295c: Verifying Checksum 04:18:51 d287ab97295c: Download complete 04:18:52 b4d181a07f80: Pull complete 04:18:52 a1111a8f2ec3: Pull complete 04:18:53 ed53099fbce6: Pull complete 04:18:53 dc539afda2c1: Pull complete 04:18:53 77bc0d833cb6: Pull complete 04:18:53 9065ff56babe: Pull complete 04:18:59 d287ab97295c: Pull complete 04:18:59 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:18:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:18:59 prd-centos7-docker-4c-2g-857 does not seem to be running inside a container 04:18:59 $ 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-1077/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-1077 -v /w/workspace/gexfoundry_device-sdk-go_PR-1077:/w/workspace/gexfoundry_device-sdk-go_PR-1077:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1077@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:19:01 $ docker top d8f07e32cca77c552bc94cb49c372cde5f334369046b3a9dae957138813ecf62 -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:02 + touch /tmp/pre-build-complete [Pipeline] sh 04:19:02 + mkdir -p /var/log/sysstat [Pipeline] sh 04:19:02 + ls /var/log/sa-host 04:19:02 + sadf -c /var/log/sa-host/sa06 04:19:02 file_magic: OK 04:19:02 HZ: Using current value: 100 04:19:02 file_header: OK 04:19:02 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 04:19:02 Statistics: 04:19:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:19:02 File successfully converted to sysstat format version 12.0.3 04:19:02 + sadf -c /var/log/sa-host/sa17 04:19:02 file_magic: OK 04:19:02 HZ: Using current value: 100 04:19:02 file_header: OK 04:19:02 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 04:19:02 Statistics: 04:19:02 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:19:02 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:02 provisioning config files... 04:19:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1077@tmp/config1624302081379699192tmp [Pipeline] { [Pipeline] echo 04:19:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:19:03 ---> create-netrc.sh [Pipeline] } 04:19:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:19:03 ---> python-tools-install.sh [Pipeline] echo 04:19:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:19:04 ---> sudo-logs.sh 04:19:04 Archiving 'sudo' log.. 04:19:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-857.novalocal: Name or service not known 04:19:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-857.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:19:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:19:04 ---> job-cost.sh 04:19:04 lf-activate-venv: SKIPPING 04:19:04 DEBUG: total: 0.10999999940395355 04:19:04 INFO: Retrieving Stack Cost... 04:19:05 INFO: Retrieving Pricing Info for: v3-standard-2 04:19:05 INFO: Archiving Costs [Pipeline] echo 04:19:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:19:05 ---> logs-deploy.sh 04:19:05 lf-activate-venv: SKIPPING 04:19:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1077/1 04:19:05 INFO: archiving workspace using pattern(s): 04:19:06 Archives upload complete. 04:19:06 INFO: archiving logs to Nexus 04:19:06 ---> uname -a: 04:19:06 Linux prd-centos7-docker-4c-2g-857.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 04:19:06 04:19:06 04:19:06 ---> lscpu: 04:19:06 Architecture: x86_64 04:19:06 CPU op-mode(s): 32-bit, 64-bit 04:19:06 Byte Order: Little Endian 04:19:06 Address sizes: 40 bits physical, 48 bits virtual 04:19:06 CPU(s): 2 04:19:06 On-line CPU(s) list: 0,1 04:19:06 Thread(s) per core: 1 04:19:06 Core(s) per socket: 1 04:19:06 Socket(s): 2 04:19:06 NUMA node(s): 1 04:19:06 Vendor ID: AuthenticAMD 04:19:06 CPU family: 23 04:19:06 Model: 49 04:19:06 Model name: AMD EPYC-Rome Processor 04:19:06 Stepping: 0 04:19:06 CPU MHz: 2799.998 04:19:06 BogoMIPS: 5599.99 04:19:06 Virtualization: AMD-V 04:19:06 Hypervisor vendor: KVM 04:19:06 Virtualization type: full 04:19:06 L1d cache: 32K 04:19:06 L1i cache: 32K 04:19:06 L2 cache: 512K 04:19:06 L3 cache: 16384K 04:19:06 NUMA node0 CPU(s): 0,1 04:19:06 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 04:19:06 04:19:06 04:19:06 ---> nproc: 04:19:06 2 04:19:06 04:19:06 04:19:06 ---> df -h: 04:19:06 Filesystem Size Used Avail Use% Mounted on 04:19:06 overlay 40G 7.7G 33G 20% / 04:19:06 tmpfs 64M 0 64M 0% /dev 04:19:06 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 04:19:06 shm 64M 0 64M 0% /dev/shm 04:19:06 /dev/vda1 40G 7.7G 33G 20% /facter-os 04:19:06 04:19:06 04:19:06 ---> sar -b -r -n DEV: 04:19:06 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 01/06/22 _x86_64_ (2 CPU) 04:19:06 04:19:06 04:08:59 LINUX RESTART (2 CPU) 04:19:06 04:19:06 04:10:01 tps rtps wtps bread/s bwrtn/s 04:19:06 04:11:02 1.92 0.05 1.87 1.07 37.31 04:19:06 04:12:01 0.25 0.00 0.25 0.00 3.20 04:19:06 04:13:01 0.30 0.00 0.30 0.00 4.40 04:19:06 04:14:01 0.20 0.00 0.20 0.00 2.97 04:19:06 04:15:01 0.37 0.00 0.37 0.00 5.46 04:19:06 04:16:01 0.22 0.00 0.22 0.00 2.97 04:19:06 04:17:01 0.18 0.00 0.18 0.00 1.48 04:19:06 04:18:01 0.30 0.00 0.30 0.00 3.21 04:19:06 04:19:01 54.05 0.13 53.91 13.72 16056.30 04:19:06 Average: 6.43 0.02 6.41 1.65 1794.32 04:19:06 04:19:06 04:10:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:19:06 04:11:02 5699584 0 605496 7.56 2620 1701240 1168072 12.90 556676 1520340 20 04:19:06 04:12:01 5701916 0 603156 7.53 2620 1701248 1168164 12.90 554656 1520296 8 04:19:06 04:13:01 5701196 0 603876 7.54 2620 1701248 1163752 12.85 555764 1520296 8 04:19:06 04:14:01 5699828 0 605216 7.56 2620 1701276 1164076 12.85 556696 1520300 12 04:19:06 04:15:01 5701960 0 603100 7.53 2620 1701260 1163896 12.85 555112 1520296 16 04:19:06 04:16:01 5702648 0 602412 7.52 2620 1701260 1163752 12.85 554508 1520296 8 04:19:06 04:17:01 5696604 0 608448 7.60 2620 1701268 1163752 12.85 560492 1520296 8 04:19:06 04:18:01 5693860 0 611188 7.63 2620 1701272 1163752 12.85 563188 1520296 8 04:19:06 04:19:01 5016096 0 798428 9.97 2620 2191796 1330428 14.69 787772 1857688 1552 04:19:06 Average: 5623744 0 626813 7.83 2620 1755763 1183294 13.06 582763 1557789 182 04:19:06 04:19:06 04:10:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:19:06 04:11:02 eth0 2.58 0.77 3.62 0.24 0.00 0.00 0.00 0.00 04:19:06 04:11:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:11:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:12:01 eth0 0.90 0.69 0.53 0.41 0.00 0.00 0.00 0.00 04:19:06 04:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:13:01 eth0 1.08 0.08 0.10 0.01 0.00 0.00 0.00 0.00 04:19:06 04:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:14:01 eth0 0.95 0.72 0.52 0.41 0.00 0.00 0.00 0.00 04:19:06 04:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:15:01 eth0 0.23 0.18 0.08 0.07 0.00 0.00 0.00 0.00 04:19:06 04:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:16:01 eth0 0.05 0.03 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:17:01 eth0 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:19:06 04:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:18:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 04:19:06 04:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:19:01 eth0 118.55 73.50 2602.11 12.48 0.00 0.00 0.00 0.00 04:19:06 04:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 Average: eth0 13.87 8.48 290.23 1.52 0.00 0.00 0.00 0.00 04:19:06 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:19:06 04:19:06