Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from df04f74a880a3df804ffa1ff22b734cb8b57c5c6+95a9d1abedb9d7c119ffb1f24142991202c879de (dad6a37b24ff057527bd48bef244d8bc2f3bdc89) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh939880733377917937.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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-ssh8866560911249525298.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 f1d79d91c36788821211008368c3015072ca53ca The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1028/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1028/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1327102105335678166.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > 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 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-ssh7160936494927246184.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1028/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1028/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2898119348964200163.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-241 in /w/workspace/gexfoundry_device-sdk-go_PR-1028 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1028 # 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-1028@tmp/jenkins-gitclient-ssh7184254156814849253.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/jenkins-gitclient-ssh7600887047698181781.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1028/head:refs/remotes/origin/PR-1028 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit df04f74a880a3df804ffa1ff22b734cb8b57c5c6 Merge succeeded, producing 58755761361c54f2d0f3e9f2c029d14e06c64751 Checking out Revision 58755761361c54f2d0f3e9f2c029d14e06c64751 (PR-1028) > git config core.sparsecheckout # timeout=10 > git checkout -f df04f74a880a3df804ffa1ff22b734cb8b57c5c6 # 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-1028@tmp/jenkins-gitclient-ssh6601999850933604310.key > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58755761361c54f2d0f3e9f2c029d14e06c64751 # timeout=10 Commit message: "Merge commit '95a9d1abedb9d7c119ffb1f24142991202c879de' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:41:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:41:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:41:49 ========================================================= 14:41:49 EdgeX Global Pipelines Version Info 14:41:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7fd8dafc0832d68bb90b77141580665b7c0937bf # timeout=10 14:41:50 ------------------- 14:41:50 stable info: 14:41:50 ------------------- 14:41:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:41:50 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 14:41:50 Message: update stable to v1.0.209 14:41:51 ------------------- 14:41:51 experimental info: 14:41:51 ------------------- 14:41:51 Commited By: **** collab-it+edgex@linuxfoundation.org 14:41:51 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 14:41:51 Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1028 [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1028 [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1028 [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58755761361c54f2d0f3e9f2c029d14e06c64751 [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5875576 [Pipeline] echo 14:41:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:41:51 provisioning config files... 14:41:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/config7254153999537996464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:41:52 ---> docker-login.sh 14:41:52 nexus3.edgexfoundry.org:10001 14:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:52 Configure a credential helper to remove this warning. See 14:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:52 14:41:52 Login Succeeded 14:41:52 nexus3.edgexfoundry.org:10002 14:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:52 Configure a credential helper to remove this warning. See 14:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:52 14:41:52 Login Succeeded 14:41:52 nexus3.edgexfoundry.org:10003 14:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:52 Configure a credential helper to remove this warning. See 14:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:52 14:41:52 Login Succeeded 14:41:52 nexus3.edgexfoundry.org:10004 14:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:52 Configure a credential helper to remove this warning. See 14:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:52 14:41:52 Login Succeeded 14:41:52 docker.io 14:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:41:53 Configure a credential helper to remove this warning. See 14:41:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:41:53 14:41:53 Login Succeeded 14:41:53 ---> docker-login.sh ends [Pipeline] } 14:41:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:41:53 + git log --format=format:%s -1 58755761361c54f2d0f3e9f2c029d14e06c64751 [Pipeline] echo 14:41:53 GIT_COMMIT: 58755761361c54f2d0f3e9f2c029d14e06c64751, Commit Message: Merge commit '95a9d1abedb9d7c119ffb1f24142991202c879de' into HEAD [Pipeline] echo 14:41:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 14:41:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:41:54 14:41:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:41:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:41:54 latest: Pulling from edgex-devops/git-semver 14:41:54 a0d0a0d46f8b: Pulling fs layer 14:41:54 3e5f54012d9b: Pulling fs layer 14:41:54 4c7163046ea9: Pulling fs layer 14:41:54 0c2d73faf560: Pulling fs layer 14:41:54 0c2d73faf560: Waiting 14:41:54 3e5f54012d9b: Verifying Checksum 14:41:54 3e5f54012d9b: Download complete 14:41:54 a0d0a0d46f8b: Verifying Checksum 14:41:54 a0d0a0d46f8b: Download complete 14:41:54 4c7163046ea9: Verifying Checksum 14:41:54 4c7163046ea9: Download complete 14:41:54 0c2d73faf560: Verifying Checksum 14:41:54 0c2d73faf560: Download complete 14:41:55 a0d0a0d46f8b: Pull complete 14:41:55 3e5f54012d9b: Pull complete 14:41:55 4c7163046ea9: Pull complete 14:41:55 0c2d73faf560: Pull complete 14:41:55 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:41:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:41:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:41:55 prd-centos7-docker-4c-2g-241 does not seem to be running inside a container 14:41:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1028 -v /w/workspace/gexfoundry_device-sdk-go_PR-1028:/w/workspace/gexfoundry_device-sdk-go_PR-1028:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 14:41:56 $ docker top 435ee516dde56365b2fe955a7bc3833bd0797d43097517bda40cb8d45d416ec4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:41:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:41:56 [ssh-agent] Looking for ssh-agent implementation... 14:41:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:41:56 $ docker exec 435ee516dde56365b2fe955a7bc3833bd0797d43097517bda40cb8d45d416ec4 ssh-agent 14:41:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcOoMjD/agent.15 14:41:56 SSH_AGENT_PID=21 14:41:56 Running ssh-add (command line suppressed) 14:41:56 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/private_key_267231425923087668.key (/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/private_key_267231425923087668.key) 14:41:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:41:57 + git tag --points-at HEAD [Pipeline] } 14:41:57 $ docker exec --env ******** --env ******** 435ee516dde56365b2fe955a7bc3833bd0797d43097517bda40cb8d45d416ec4 ssh-agent -k 14:41:57 unset SSH_AUTH_SOCK; 14:41:57 unset SSH_AGENT_PID; 14:41:57 echo Agent pid 21 killed; 14:41:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:41:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:41:57 [ssh-agent] Looking for ssh-agent implementation... 14:41:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:41:57 $ docker exec 435ee516dde56365b2fe955a7bc3833bd0797d43097517bda40cb8d45d416ec4 ssh-agent 14:41:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgeGgln/agent.54 14:41:57 SSH_AGENT_PID=60 14:41:57 Running ssh-add (command line suppressed) 14:41:57 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/private_key_4540262622341468118.key (/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/private_key_4540262622341468118.key) 14:41:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:41:57 + git semver init 14:41:57 # -> Open(): unable to determine branch for HEAD 14:41:57 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1028/.git 14:41:57 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1028 14:41:57 # $SEMVER_REMOTE_NAME = origin 14:41:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:41:57 # $SEMVER_USER_NAME = edgex-jenkins 14:41:57 # $SEMVER_BRANCH = PR-1028 14:41:57 # $SEMVER_TEMP = /tmp/semver-815038399 14:41:57 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 14:41:58 # '/tmp/semver-815038399' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1028/.semver' 14:41:58 # -> Force: false 14:41:58 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1028/.semver [Pipeline] } 14:41:58 $ docker exec --env ******** --env ******** 435ee516dde56365b2fe955a7bc3833bd0797d43097517bda40cb8d45d416ec4 ssh-agent -k 14:41:59 unset SSH_AUTH_SOCK; 14:41:59 unset SSH_AGENT_PID; 14:41:59 echo Agent pid 60 killed; 14:41:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:41:59 + git semver [Pipeline] } 14:41:59 $ docker stop --time=1 435ee516dde56365b2fe955a7bc3833bd0797d43097517bda40cb8d45d416ec4 14:42:00 $ docker rm -f 435ee516dde56365b2fe955a7bc3833bd0797d43097517bda40cb8d45d416ec4 [Pipeline] // withDockerContainer [Pipeline] sh 14:42:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:42:01 Stashed 1 file(s) [Pipeline] echo 14:42:01 [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 14:42:16 Still waiting to schedule task 14:42:16 Waiting for next available executor on ‘centos7-docker-4c-2g’ 14:42:16 Still waiting to schedule task 14:42:16 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:42:46 Running on prd-centos7-docker-4c-2g-243 in /w/workspace/gexfoundry_device-sdk-go_PR-1028 [Pipeline] { [Pipeline] ws 14:42:46 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 14:42:46 Selected Git installation does not exist. Using Default 14:42:46 The recommended git tool is: NONE 14:42:48 using credential edgex-jenkins-ssh 14:42:48 Cloning the remote Git repository 14:42:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:42:47 > git init /w/workspace/device-sdk-go/3 # timeout=10 14:42:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:42:47 > git --version # timeout=10 14:42:47 > git --version # 'git version 2.24.4' 14:42:47 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:47 [INFO] Currently running in a labeled security context 14:42:47 [INFO] Currently SELinux is 'enforcing' on the host 14:42:47 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh4376034201323797314.key 14:42:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:42:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:42:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:42:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:42:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:42:48 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:48 [INFO] Currently running in a labeled security context 14:42:48 [INFO] Currently SELinux is 'enforcing' on the host 14:42:48 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8128894786507838614.key 14:42:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1028/head:refs/remotes/origin/PR-1028 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:42:49 Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit df04f74a880a3df804ffa1ff22b734cb8b57c5c6 14:42:49 Merge succeeded, producing f592a8e401671c2e367a832c97720a283a9b0200 14:42:49 Checking out Revision f592a8e401671c2e367a832c97720a283a9b0200 (PR-1028) 14:42:48 > git config core.sparsecheckout # timeout=10 14:42:48 > git checkout -f df04f74a880a3df804ffa1ff22b734cb8b57c5c6 # timeout=10 14:42:48 > git remote # timeout=10 14:42:48 > git config --get remote.origin.url # timeout=10 14:42:48 using GIT_SSH to set credentials SSH Credentials for GitHub 14:42:48 [INFO] Currently running in a labeled security context 14:42:48 [INFO] Currently SELinux is 'enforcing' on the host 14:42:48 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh448682802600456869.key 14:42:48 > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 14:42:48 > git rev-parse HEAD^{commit} # timeout=10 14:42:48 > git config core.sparsecheckout # timeout=10 14:42:48 > git checkout -f f592a8e401671c2e367a832c97720a283a9b0200 # timeout=10 14:42:53 Commit message: "Merge commit '95a9d1abedb9d7c119ffb1f24142991202c879de' into HEAD" 14:42:53 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:42:53 provisioning config files... 14:42:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2974972866706534689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:42:54 ---> docker-login.sh 14:42:54 nexus3.edgexfoundry.org:10001 14:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:54 Configure a credential helper to remove this warning. See 14:42:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:54 14:42:54 Login Succeeded 14:42:54 nexus3.edgexfoundry.org:10002 14:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:54 Configure a credential helper to remove this warning. See 14:42:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:54 14:42:54 Login Succeeded 14:42:54 nexus3.edgexfoundry.org:10003 14:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:54 Configure a credential helper to remove this warning. See 14:42:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:54 14:42:54 Login Succeeded 14:42:54 nexus3.edgexfoundry.org:10004 14:42:52 > git rev-list --no-walk 7fd8dafc0832d68bb90b77141580665b7c0937bf # timeout=10 14:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:54 Configure a credential helper to remove this warning. See 14:42:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:54 14:42:54 Login Succeeded 14:42:54 docker.io 14:42:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:42:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:42:55 Configure a credential helper to remove this warning. See 14:42:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:42:55 14:42:55 Login Succeeded 14:42:55 ---> docker-login.sh ends [Pipeline] } 14:42:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:42:55 ========================================================= 14:42:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 14:42:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:42:55 + 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 . 14:42:55 Sending build context to Docker daemon 2.673MB 14:42:55 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 14:42:55 Step 2/10 : FROM ${BASE} AS builder 14:42:55 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 14:42:55 4e9f2cdf4387: Pulling fs layer 14:42:55 57d31006c564: Pulling fs layer 14:42:55 bd5ccded8296: Pulling fs layer 14:42:55 304dd3a0f381: Pulling fs layer 14:42:55 d37cda54a23b: Pulling fs layer 14:42:55 bae75c0f2455: Pulling fs layer 14:42:55 806579b3d29a: Pulling fs layer 14:42:55 c77eb801bf70: Pulling fs layer 14:42:55 6d0567d44e1a: Pulling fs layer 14:42:55 d37cda54a23b: Waiting 14:42:55 bae75c0f2455: Waiting 14:42:55 806579b3d29a: Waiting 14:42:55 c77eb801bf70: Waiting 14:42:55 6d0567d44e1a: Waiting 14:42:55 304dd3a0f381: Waiting 14:42:55 bd5ccded8296: Verifying Checksum 14:42:55 bd5ccded8296: Download complete 14:42:55 57d31006c564: Verifying Checksum 14:42:55 57d31006c564: Download complete 14:42:55 d37cda54a23b: Verifying Checksum 14:42:55 d37cda54a23b: Download complete 14:42:55 bae75c0f2455: Verifying Checksum 14:42:55 bae75c0f2455: Download complete 14:42:55 4e9f2cdf4387: Verifying Checksum 14:42:55 4e9f2cdf4387: Download complete 14:42:55 806579b3d29a: Verifying Checksum 14:42:55 806579b3d29a: Download complete 14:42:55 c77eb801bf70: Verifying Checksum 14:42:55 c77eb801bf70: Download complete 14:42:56 4e9f2cdf4387: Pull complete 14:42:56 57d31006c564: Pull complete 14:42:56 bd5ccded8296: Pull complete 14:42:56 304dd3a0f381: Verifying Checksum 14:42:56 304dd3a0f381: Download complete 14:42:56 6d0567d44e1a: Verifying Checksum 14:42:56 6d0567d44e1a: Download complete 14:42:59 304dd3a0f381: Pull complete 14:42:59 d37cda54a23b: Pull complete 14:42:59 bae75c0f2455: Pull complete 14:43:00 806579b3d29a: Pull complete 14:43:00 c77eb801bf70: Pull complete 14:43:02 6d0567d44e1a: Pull complete 14:43:02 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 14:43:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:43:02 ---> e839a31ac9d1 14:43:02 Step 3/10 : ARG MAKE=make build 14:43:06 ---> Running in 1557591b6eb9 14:43:06 Removing intermediate container 1557591b6eb9 14:43:06 ---> d603ca5a0296 14:43:06 Step 4/10 : WORKDIR /device-sdk-go 14:43:06 ---> Running in 6de96c46e703 14:43:06 Removing intermediate container 6de96c46e703 14:43:06 ---> 184d7277eec8 14:43:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:43:06 ---> Running in e26df8c7bcae 14:43:06 Removing intermediate container e26df8c7bcae 14:43:06 ---> 9cec8c1728c1 14:43:06 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:43:06 ---> Running in d0559360cb89 14:43:07 Removing intermediate container d0559360cb89 14:43:07 ---> 8ce480d17d97 14:43:07 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 14:43:07 ---> Running in 49e70a6b529c 14:43:07 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 14:43:08 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 14:43:08 OK: 219 MiB in 52 packages 14:43:08 Removing intermediate container 49e70a6b529c 14:43:08 ---> 51ab820d9367 14:43:08 Step 8/10 : COPY . . 14:43:09 ---> 0da78aafbee3 14:43:09 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:43:09 ---> Running in 78e06fa4e823 14:43:55 Removing intermediate container 78e06fa4e823 14:43:55 ---> a939194534e5 14:43:55 Step 10/10 : RUN ${MAKE} 14:43:55 ---> Running in 6f830e1df3ee 14:43:55 noop 14:43:55 Removing intermediate container 6f830e1df3ee 14:43:55 ---> 0bb16e4ba69c 14:43:55 Successfully built 0bb16e4ba69c 14:43:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:43:56 + docker inspect -f . ci-base-image-x86_64 14:43:56 . [Pipeline] withDockerContainer 14:43:56 prd-centos7-docker-4c-2g-243 does not seem to be running inside a container 14:43:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:43:56 $ docker top 36b13b28dbfc00b39d634c02f67b259a81249fdce0ad2f874e4832d34c50b499 -eo pid,comm [Pipeline] { [Pipeline] sh 14:43:57 + go version 14:43:57 go version go1.16.8 linux/amd64 [Pipeline] } 14:43:57 $ docker stop --time=1 36b13b28dbfc00b39d634c02f67b259a81249fdce0ad2f874e4832d34c50b499 14:43:58 $ docker rm -f 36b13b28dbfc00b39d634c02f67b259a81249fdce0ad2f874e4832d34c50b499 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:43:58 + docker inspect -f . ci-base-image-x86_64 14:43:58 . [Pipeline] withDockerContainer 14:43:58 prd-centos7-docker-4c-2g-243 does not seem to be running inside a container 14:43:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:43:59 $ docker top 4973cdbed7438e99bfeb26cbbfe26724dc721c8802cb1c62498ff314072fa8da -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:43:59 + make test 14:43:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 14:44:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 14:44:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-244 in /w/workspace/gexfoundry_device-sdk-go_PR-1028 [Pipeline] { [Pipeline] ws 14:44:22 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 14:44:23 Selected Git installation does not exist. Using Default 14:44:23 The recommended git tool is: NONE 14:44:29 using credential edgex-jenkins-ssh 14:44:29 Cloning the remote Git repository 14:44:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:44:29 > git init /w/workspace/device-sdk-go/3 # timeout=10 14:44:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:44:29 > git --version # timeout=10 14:44:29 > git --version # 'git version 2.17.1' 14:44:29 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:44:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 14:44:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 14:44:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 14:44:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.049s coverage: 23.7% of statements 14:44:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 14:44:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 28.1% of statements 14:44:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.052s coverage: 78.9% of statements 14:44:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.050s coverage: 9.0% of statements 14:44:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 14:44:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 14:44:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 14:44:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements 14:44:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 14:44:31 Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit df04f74a880a3df804ffa1ff22b734cb8b57c5c6 14:44:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:44:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:44:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:44:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:44:31 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1028/head:refs/remotes/origin/PR-1028 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:44:31 > git config core.sparsecheckout # timeout=10 14:44:31 > git checkout -f df04f74a880a3df804ffa1ff22b734cb8b57c5c6 # timeout=10 14:44:32 > git remote # timeout=10 14:44:32 > git config --get remote.origin.url # timeout=10 14:44:32 using GIT_SSH to set credentials SSH Credentials for GitHub 14:44:32 Merge succeeded, producing c1bd30226bc21c918a7f00257f38418bba3e1333 14:44:32 Checking out Revision c1bd30226bc21c918a7f00257f38418bba3e1333 (PR-1028) 14:44:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.059s coverage: 83.3% of statements 14:44:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 14:44:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 14:44:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 57.8% of statements 14:44:32 > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 14:44:32 > git rev-parse HEAD^{commit} # timeout=10 14:44:32 > git config core.sparsecheckout # timeout=10 14:44:32 > git checkout -f c1bd30226bc21c918a7f00257f38418bba3e1333 # timeout=10 14:44:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.802s coverage: 89.0% of statements 14:44:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 14:44:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.9% of statements 14:44:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 14:44:34 GO111MODULE=on go vet ./... 14:44:36 Commit message: "Merge commit '95a9d1abedb9d7c119ffb1f24142991202c879de' into HEAD" 14:44:36 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:44:37 provisioning config files... 14:44:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2485767344072233521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:44:37 ---> docker-login.sh 14:44:37 nexus3.edgexfoundry.org:10001 14:44:36 > git rev-list --no-walk 7fd8dafc0832d68bb90b77141580665b7c0937bf # timeout=10 14:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:39 Configure a credential helper to remove this warning. See 14:44:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:39 14:44:39 Login Succeeded 14:44:39 nexus3.edgexfoundry.org:10002 14:44:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:40 Configure a credential helper to remove this warning. See 14:44:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:40 14:44:40 Login Succeeded 14:44:40 nexus3.edgexfoundry.org:10003 14:44:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:40 Configure a credential helper to remove this warning. See 14:44:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:40 14:44:40 Login Succeeded 14:44:40 nexus3.edgexfoundry.org:10004 14:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:41 Configure a credential helper to remove this warning. See 14:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:41 14:44:41 Login Succeeded 14:44:41 docker.io 14:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:44:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:44:42 Configure a credential helper to remove this warning. See 14:44:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:44:42 14:44:42 Login Succeeded 14:44:42 ---> docker-login.sh ends [Pipeline] } 14:44:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:44:42 ========================================================= 14:44:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 14:44:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:44:43 + 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 . 14:44:43 Sending build context to Docker daemon 2.672MB 14:44:43 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 14:44:43 Step 2/10 : FROM ${BASE} AS builder 14:44:44 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:44:44 bbf911997326: Pulling fs layer 14:44:44 58ec367f63d7: Pulling fs layer 14:44:44 1b4a6ffa7d45: Pulling fs layer 14:44:44 fc5181fea5dc: Pulling fs layer 14:44:44 9c418107303f: Pulling fs layer 14:44:44 284eca6f2348: Pulling fs layer 14:44:44 842844d905b1: Pulling fs layer 14:44:44 901a3a57568e: Pulling fs layer 14:44:44 fc5181fea5dc: Waiting 14:44:44 9c418107303f: Waiting 14:44:44 284eca6f2348: Waiting 14:44:44 842844d905b1: Waiting 14:44:44 1b4a6ffa7d45: Verifying Checksum 14:44:44 1b4a6ffa7d45: Download complete 14:44:44 58ec367f63d7: Download complete 14:44:44 9c418107303f: Download complete 14:44:44 284eca6f2348: Verifying Checksum 14:44:44 284eca6f2348: Download complete 14:44:44 842844d905b1: Verifying Checksum 14:44:44 842844d905b1: Download complete 14:44:44 bbf911997326: Verifying Checksum 14:44:44 bbf911997326: Download complete 14:44:45 bbf911997326: Pull complete 14:44:45 58ec367f63d7: Pull complete 14:44:46 901a3a57568e: Verifying Checksum 14:44:46 901a3a57568e: Download complete 14:44:46 1b4a6ffa7d45: Pull complete 14:44:46 fc5181fea5dc: Verifying Checksum 14:44:46 fc5181fea5dc: Download complete 14:44:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:44:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:44:52 ./bin/test-attribution-txt.sh [Pipeline] } 14:44:52 $ docker stop --time=1 4973cdbed7438e99bfeb26cbbfe26724dc721c8802cb1c62498ff314072fa8da 14:44:53 $ docker rm -f 4973cdbed7438e99bfeb26cbbfe26724dc721c8802cb1c62498ff314072fa8da [Pipeline] // withDockerContainer [Pipeline] sh 14:44:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:44:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:44:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:44:56 + ls -al . 14:44:56 total 264 14:44:56 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 9 14:44 . 14:44:56 drwxrwxr-x. 4 jenkins jenkins 28 Oct 9 14:42 .. 14:44:56 drwxrwxr-x. 2 jenkins jenkins 37 Oct 9 14:42 bin 14:44:56 -rw-rw-r--. 1 jenkins jenkins 24816 Oct 9 14:42 CHANGELOG.md 14:44:56 -rw-r--r--. 1 jenkins jenkins 126161 Oct 9 14:44 coverage.out 14:44:56 -rw-rw-r--. 1 jenkins jenkins 140 Oct 9 14:42 .dockerignore 14:44:56 drwxrwxr-x. 5 jenkins jenkins 62 Oct 9 14:42 example 14:44:56 drwxrwxr-x. 8 jenkins jenkins 179 Oct 9 14:42 .git 14:44:56 drwxrwxr-x. 3 jenkins jenkins 125 Oct 9 14:42 .github 14:44:56 -rw-rw-r--. 1 jenkins jenkins 131 Oct 9 14:42 .gitignore 14:44:56 -rw-rw-r--. 1 jenkins jenkins 583 Oct 9 14:42 go.mod 14:44:56 -rw-rw-r--. 1 jenkins jenkins 49618 Oct 9 14:42 go.sum 14:44:56 -rw-rw-r--. 1 jenkins jenkins 677 Oct 9 14:42 GOVERNANCE.md 14:44:56 drwxrwxr-x. 15 jenkins jenkins 224 Oct 9 14:42 internal 14:44:56 -rw-rw-r--. 1 jenkins jenkins 880 Oct 9 14:42 Jenkinsfile 14:44:56 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 9 14:42 LICENSE 14:44:56 -rw-rw-r--. 1 jenkins jenkins 1120 Oct 9 14:42 Makefile 14:44:56 drwxrwxr-x. 3 jenkins jenkins 16 Oct 9 14:42 openapi 14:44:56 -rw-rw-r--. 1 jenkins jenkins 619 Oct 9 14:42 OWNERS.md 14:44:56 drwxrwxr-x. 5 jenkins jenkins 50 Oct 9 14:42 pkg 14:44:56 -rw-rw-r--. 1 jenkins jenkins 4877 Oct 9 14:42 README.md 14:44:56 drwxrwxr-x. 4 jenkins jenkins 54 Oct 9 14:42 snap 14:44:56 -rw-rw-r--. 1 jenkins jenkins 5 Oct 9 14:42 VERSION 14:44:56 -rw-rw-r--. 1 jenkins jenkins 222 Oct 9 14:42 version.go [Pipeline] isUnix [Pipeline] sh 14:44:56 + 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=f592a8e401671c2e367a832c97720a283a9b0200 --label arch=amd64 --label version=0.0.0 . 14:44:56 Sending build context to Docker daemon 2.8MB 14:44:56 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 14:44:56 Step 2/24 : FROM ${BASE} AS builder 14:44:56 ---> 0bb16e4ba69c 14:44:56 Step 3/24 : ARG MAKE=make build 14:44:56 ---> Running in 15097ed5f84f 14:44:56 Removing intermediate container 15097ed5f84f 14:44:56 ---> b834d76e1553 14:44:56 Step 4/24 : WORKDIR /device-sdk-go 14:44:56 ---> Running in d16f05ed0726 14:44:56 Removing intermediate container d16f05ed0726 14:44:56 ---> 494d4f1c2cb3 14:44:56 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:44:56 ---> Running in 9e19fddc8529 14:44:56 Removing intermediate container 9e19fddc8529 14:44:56 ---> b2a97b95ca44 14:44:56 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:44:56 fc5181fea5dc: Pull complete 14:44:56 ---> Running in a014dcbd1ddd 14:44:57 Removing intermediate container a014dcbd1ddd 14:44:57 ---> 7eb3ed9fb7b4 14:44:57 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 14:44:57 ---> Running in 4cd5c0cb2717 14:44:57 9c418107303f: Pull complete 14:44:57 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 14:44:57 284eca6f2348: Pull complete 14:44:57 842844d905b1: Pull complete 14:44:58 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 14:44:58 OK: 219 MiB in 52 packages 14:44:58 Removing intermediate container 4cd5c0cb2717 14:44:58 ---> d99b68b8229d 14:44:58 Step 8/24 : COPY . . 14:44:59 ---> 638757cfc272 14:44:59 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:44:59 ---> Running in ff0c097535fd 14:44:59 Removing intermediate container ff0c097535fd 14:44:59 ---> 1b58bf9e24fa 14:44:59 Step 10/24 : RUN ${MAKE} 14:44:59 ---> Running in 98bbd06daf71 14:45:00 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 14:45:03 901a3a57568e: Pull complete 14:45:03 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 14:45:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:45:03 ---> 72ade6ffb461 14:45:03 Step 3/10 : ARG MAKE=make build 14:45:07 ---> Running in b9fc8f177691 14:45:08 Removing intermediate container b9fc8f177691 14:45:08 ---> 34b2d633faaa 14:45:08 Step 4/10 : WORKDIR /device-sdk-go 14:45:08 ---> Running in 3d732bfac832 14:45:08 Removing intermediate container 3d732bfac832 14:45:08 ---> 4ef293dacb5c 14:45:08 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:45:08 ---> Running in 890066253bc5 14:45:09 Removing intermediate container 890066253bc5 14:45:09 ---> e6f9440cf8f2 14:45:09 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:45:09 ---> Running in 00f438af3189 14:45:12 Removing intermediate container 00f438af3189 14:45:12 ---> b72789538339 14:45:12 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 14:45:12 ---> Running in 1ebf1477dbc8 14:45:12 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 14:45:12 Removing intermediate container 98bbd06daf71 14:45:12 ---> 81418ce90943 14:45:12 Step 11/24 : FROM alpine:3.14 14:45:12 3.14: Pulling from library/alpine 14:45:12 a0d0a0d46f8b: Pulling fs layer 14:45:12 a0d0a0d46f8b: Verifying Checksum 14:45:12 a0d0a0d46f8b: Download complete 14:45:12 a0d0a0d46f8b: Pull complete 14:45:12 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 14:45:12 Status: Downloaded newer image for alpine:3.14 14:45:12 ---> 14119a10abf4 14:45:12 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:45:13 ---> Running in 90dcd3d4a8b3 14:45:13 Removing intermediate container 90dcd3d4a8b3 14:45:13 ---> 32687c395908 14:45:13 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:45:13 ---> Running in 499d64689b8e 14:45:13 Removing intermediate container 499d64689b8e 14:45:13 ---> fc4b2caf6713 14:45:13 Step 14/24 : RUN apk add --update --no-cache zeromq 14:45:13 ---> Running in 49834c2bac14 14:45:13 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:45:13 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 14:45:14 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:45:14 (1/5) Installing libgcc (10.3.1_git20210424-r2) 14:45:14 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 14:45:15 (2/5) Installing libsodium (1.0.18-r0) 14:45:15 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 14:45:15 (4/5) Installing libzmq (4.3.4-r0) 14:45:15 (5/5) Installing zeromq (4.3.4-r0) 14:45:15 Executing busybox-1.33.1-r3.trigger 14:45:15 OK: 8 MiB in 19 packages 14:45:15 OK: 218 MiB in 52 packages 14:45:15 Removing intermediate container 49834c2bac14 14:45:15 ---> b1721216ec10 14:45:15 Step 15/24 : WORKDIR / 14:45:15 ---> Running in 1854a6ae442b 14:45:15 Removing intermediate container 1854a6ae442b 14:45:15 ---> 23a561b291d6 14:45:15 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 14:45:15 ---> aa7e9a21df5d 14:45:15 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 14:45:16 ---> 2315761db48a 14:45:16 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 14:45:16 ---> 5210732501f4 14:45:16 Step 19/24 : EXPOSE 59999 14:45:16 ---> Running in 46e89e7b1b9e 14:45:16 Removing intermediate container 46e89e7b1b9e 14:45:16 ---> b739ba354665 14:45:16 Step 20/24 : ENTRYPOINT ["/device-simple"] 14:45:16 ---> Running in d9a444f2d079 14:45:16 Removing intermediate container 1ebf1477dbc8 14:45:16 ---> 61520c195052 14:45:16 Step 8/10 : COPY . . 14:45:16 Removing intermediate container d9a444f2d079 14:45:16 ---> c900821bf072 14:45:16 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:45:16 ---> Running in 8ccd2ce84ccd 14:45:16 Removing intermediate container 8ccd2ce84ccd 14:45:16 ---> 8f9dd9b3a99c 14:45:16 Step 22/24 : LABEL arch=amd64 14:45:16 ---> Running in 740fd1b85280 14:45:17 Removing intermediate container 740fd1b85280 14:45:17 ---> 7738866c9c46 14:45:17 Step 23/24 : LABEL git_sha=f592a8e401671c2e367a832c97720a283a9b0200 14:45:17 ---> Running in 99d9c792da2b 14:45:17 Removing intermediate container 99d9c792da2b 14:45:17 ---> 1a487051bb8e 14:45:17 Step 24/24 : LABEL version=0.0.0 14:45:17 ---> Running in c843f43091ec 14:45:17 Removing intermediate container c843f43091ec 14:45:17 ---> 0715ae2a259b 14:45:17 [Warning] One or more build-args [ARCH] were not consumed 14:45:17 Successfully built 0715ae2a259b 14:45:17 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 14:45:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:45:17 14:45:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:45:18 ---> 11cd17359898 14:45:18 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:45:18 ---> Running in 335975364bbb 14:45:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:45:18 latest: Pulling from edgex-lftools-log-publisher 14:45:18 b4d181a07f80: Pulling fs layer 14:45:18 a1111a8f2ec3: Pulling fs layer 14:45:18 ed53099fbce6: Pulling fs layer 14:45:18 dc539afda2c1: Pulling fs layer 14:45:18 77bc0d833cb6: Pulling fs layer 14:45:18 9065ff56babe: Pulling fs layer 14:45:18 d287ab97295c: Pulling fs layer 14:45:18 77bc0d833cb6: Waiting 14:45:18 9065ff56babe: Waiting 14:45:18 d287ab97295c: Waiting 14:45:18 dc539afda2c1: Waiting 14:45:18 a1111a8f2ec3: Verifying Checksum 14:45:18 a1111a8f2ec3: Download complete 14:45:18 dc539afda2c1: Verifying Checksum 14:45:18 dc539afda2c1: Download complete 14:45:18 77bc0d833cb6: Verifying Checksum 14:45:18 77bc0d833cb6: Download complete 14:45:18 ed53099fbce6: Verifying Checksum 14:45:18 ed53099fbce6: Download complete 14:45:18 9065ff56babe: Verifying Checksum 14:45:18 9065ff56babe: Download complete 14:45:18 b4d181a07f80: Verifying Checksum 14:45:18 b4d181a07f80: Download complete 14:45:18 d287ab97295c: Verifying Checksum 14:45:18 d287ab97295c: Download complete 14:45:19 b4d181a07f80: Pull complete 14:45:20 a1111a8f2ec3: Pull complete 14:45:20 ed53099fbce6: Pull complete 14:45:20 dc539afda2c1: Pull complete 14:45:20 77bc0d833cb6: Pull complete 14:45:20 9065ff56babe: Pull complete 14:45:26 d287ab97295c: Pull complete 14:45:26 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:45:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:45:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:45:26 prd-centos7-docker-4c-2g-243 does not seem to be running inside a container 14:45:26 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:45:28 $ docker top 77886e526c602696611259072c0c1b67058ae13becb17d0069ced3206b57a716 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:45:29 ---> job-cost.sh 14:45:29 lf-activate-venv: SKIPPING 14:45:29 INFO: No Stack... 14:45:29 INFO: Retrieving Pricing Info for: v3-standard-2 14:45:29 INFO: Archiving Costs [Pipeline] sh 14:45:30 + cut -d, -f6 14:45:30 + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock 14:45:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1028-3-stack-cost] 14:45:30 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1028-3-stack-cost] did not exist. Created. 14:45:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1028-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:45:30 + echo total: 0.05999999865889549 [Pipeline] stash 14:45:30 Stashed 1 file(s) [Pipeline] } 14:45:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1028-3-stack-cost] [Pipeline] // lock [Pipeline] } 14:45:30 $ docker stop --time=1 77886e526c602696611259072c0c1b67058ae13becb17d0069ced3206b57a716 14:45:31 $ docker rm -f 77886e526c602696611259072c0c1b67058ae13becb17d0069ced3206b57a716 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:46:54 Removing intermediate container 335975364bbb 14:46:54 ---> d42fc7cfc07e 14:46:54 Step 10/10 : RUN ${MAKE} 14:46:54 ---> Running in 35ea5bdf32c2 14:46:54 noop 14:46:54 Removing intermediate container 35ea5bdf32c2 14:46:54 ---> fc2a991c8912 14:46:54 Successfully built fc2a991c8912 14:46:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:46:55 + docker inspect -f . ci-base-image-arm64 14:46:55 . [Pipeline] withDockerContainer 14:46:55 prd-ubuntu18.04-docker-arm64-4c-16g-244 does not seem to be running inside a container 14:46:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:46:57 $ docker top 08ba6cac6d90a683f35f2e3a82050749daabba64b27801013edf9a7ac177e0c4 -eo pid,comm [Pipeline] { [Pipeline] sh 14:46:58 + go version 14:46:58 go version go1.16.8 linux/arm64 [Pipeline] } 14:46:58 $ docker stop --time=1 08ba6cac6d90a683f35f2e3a82050749daabba64b27801013edf9a7ac177e0c4 14:47:00 $ docker rm -f 08ba6cac6d90a683f35f2e3a82050749daabba64b27801013edf9a7ac177e0c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:47:01 + docker inspect -f . ci-base-image-arm64 14:47:01 . [Pipeline] withDockerContainer 14:47:01 prd-ubuntu18.04-docker-arm64-4c-16g-244 does not seem to be running inside a container 14:47:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:47:03 $ docker top 5f4b088fe88c3f709a9a63be840cdb68bb93101bfb5f8e973909bf6f98a4f094 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:47:04 + make test 14:47:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 14:47:31 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 14:48:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 14:48:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 14:48:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 14:48:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.288s coverage: 23.7% of statements 14:48:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 14:48:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.237s coverage: 28.1% of statements 14:48:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.261s coverage: 78.9% of statements 14:48:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.191s coverage: 9.0% of statements 14:48:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 14:48:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 14:48:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 14:48:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.353s coverage: 28.7% of statements 14:48:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 14:48:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.230s coverage: 83.3% of statements 14:48:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 14:48:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 14:48:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.450s coverage: 57.8% of statements 14:48:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.028s coverage: 89.0% of statements 14:48:52 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 14:48:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.197s coverage: 4.9% of statements 14:48:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 14:48:54 GO111MODULE=on go vet ./... 14:50:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:50:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:50:02 ./bin/test-attribution-txt.sh [Pipeline] } 14:50:02 $ docker stop --time=1 5f4b088fe88c3f709a9a63be840cdb68bb93101bfb5f8e973909bf6f98a4f094 14:50:04 $ docker rm -f 5f4b088fe88c3f709a9a63be840cdb68bb93101bfb5f8e973909bf6f98a4f094 [Pipeline] // withDockerContainer [Pipeline] sh 14:50:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:50:05 Warning: overwriting stash ‘coverage-report’ 14:50:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:50:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:50:07 + ls -al . 14:50:07 total 300 14:50:07 drwxrwxr-x 10 jenkins jenkins 4096 Oct 9 14:49 . 14:50:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 14:44 .. 14:50:07 -rw-rw-r-- 1 jenkins jenkins 140 Oct 9 14:44 .dockerignore 14:50:07 drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 14:44 .git 14:50:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 14:44 .github 14:50:07 -rw-rw-r-- 1 jenkins jenkins 131 Oct 9 14:44 .gitignore 14:50:07 -rw-rw-r-- 1 jenkins jenkins 24816 Oct 9 14:44 CHANGELOG.md 14:50:07 -rw-rw-r-- 1 jenkins jenkins 677 Oct 9 14:44 GOVERNANCE.md 14:50:07 -rw-rw-r-- 1 jenkins jenkins 880 Oct 9 14:44 Jenkinsfile 14:50:07 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 9 14:44 LICENSE 14:50:07 -rw-rw-r-- 1 jenkins jenkins 1120 Oct 9 14:44 Makefile 14:50:07 -rw-rw-r-- 1 jenkins jenkins 619 Oct 9 14:44 OWNERS.md 14:50:07 -rw-rw-r-- 1 jenkins jenkins 4877 Oct 9 14:44 README.md 14:50:07 -rw-rw-r-- 1 jenkins jenkins 5 Oct 9 14:42 VERSION 14:50:07 drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 14:44 bin 14:50:07 -rw-r--r-- 1 jenkins jenkins 126160 Oct 9 14:48 coverage.out 14:50:07 drwxrwxr-x 5 jenkins jenkins 4096 Oct 9 14:44 example 14:50:07 -rw-rw-r-- 1 jenkins jenkins 583 Oct 9 14:44 go.mod 14:50:07 -rw-rw-r-- 1 jenkins jenkins 49618 Oct 9 14:44 go.sum 14:50:07 drwxrwxr-x 15 jenkins jenkins 4096 Oct 9 14:44 internal 14:50:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 14:44 openapi 14:50:07 drwxrwxr-x 5 jenkins jenkins 4096 Oct 9 14:44 pkg 14:50:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 14:44 snap 14:50:07 -rw-rw-r-- 1 jenkins jenkins 222 Oct 9 14:44 version.go [Pipeline] isUnix [Pipeline] sh 14:50:07 + 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=c1bd30226bc21c918a7f00257f38418bba3e1333 --label arch=arm64 --label version=0.0.0 . 14:50:08 Sending build context to Docker daemon 2.799MB 14:50:08 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 14:50:08 Step 2/24 : FROM ${BASE} AS builder 14:50:08 ---> fc2a991c8912 14:50:08 Step 3/24 : ARG MAKE=make build 14:50:08 ---> Running in 817de7731fe1 14:50:08 Removing intermediate container 817de7731fe1 14:50:08 ---> 179dd7bc6f2d 14:50:08 Step 4/24 : WORKDIR /device-sdk-go 14:50:08 ---> Running in 55fa682b38dc 14:50:09 Removing intermediate container 55fa682b38dc 14:50:09 ---> fe51c58d87cf 14:50:09 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:50:09 ---> Running in f0103db9e370 14:50:10 Removing intermediate container f0103db9e370 14:50:10 ---> 65306bca4424 14:50:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:50:10 ---> Running in aab5e75afe90 14:50:12 Removing intermediate container aab5e75afe90 14:50:12 ---> 670c5d6df207 14:50:12 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 14:50:12 ---> Running in b2c032a57418 14:50:13 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 14:50:14 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 14:50:15 OK: 218 MiB in 52 packages 14:50:16 Removing intermediate container b2c032a57418 14:50:16 ---> 99584cc712fe 14:50:16 Step 8/24 : COPY . . 14:50:18 ---> 02ec1fc09949 14:50:18 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:50:18 ---> Running in 65e8577310d5 14:50:21 Removing intermediate container 65e8577310d5 14:50:21 ---> 240dde9bfdb3 14:50:21 Step 10/24 : RUN ${MAKE} 14:50:21 ---> Running in 0f2ae64cb9cc 14:50:22 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 14:51:01 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 14:51:01 Removing intermediate container 0f2ae64cb9cc 14:51:01 ---> 8851e16f7213 14:51:01 Step 11/24 : FROM alpine:3.14 14:51:02 3.14: Pulling from library/alpine 14:51:02 552d1f2373af: Pulling fs layer 14:51:02 552d1f2373af: Verifying Checksum 14:51:02 552d1f2373af: Download complete 14:51:03 552d1f2373af: Pull complete 14:51:03 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 14:51:03 Status: Downloaded newer image for alpine:3.14 14:51:03 ---> bb3de5531c18 14:51:03 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 14:51:03 ---> Running in f1e932218041 14:51:04 Removing intermediate container f1e932218041 14:51:04 ---> 20cf5a350001 14:51:04 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:51:04 ---> Running in 8603bb2fb609 14:51:07 Removing intermediate container 8603bb2fb609 14:51:07 ---> a0ecba1da98c 14:51:07 Step 14/24 : RUN apk add --update --no-cache zeromq 14:51:07 ---> Running in c5fe894446a5 14:51:08 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:51:09 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:51:10 (1/5) Installing libgcc (10.3.1_git20210424-r2) 14:51:10 (2/5) Installing libsodium (1.0.18-r0) 14:51:10 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 14:51:10 (4/5) Installing libzmq (4.3.4-r0) 14:51:10 (5/5) Installing zeromq (4.3.4-r0) 14:51:10 Executing busybox-1.33.1-r3.trigger 14:51:10 OK: 8 MiB in 19 packages 14:51:12 Removing intermediate container c5fe894446a5 14:51:12 ---> 928702ae70dc 14:51:12 Step 15/24 : WORKDIR / 14:51:12 ---> Running in fef4678fc24f 14:51:12 Removing intermediate container fef4678fc24f 14:51:12 ---> bb02f973d421 14:51:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 14:51:13 ---> d0a331c1e6bd 14:51:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 14:51:14 ---> 590e3f2906b7 14:51:14 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 14:51:15 ---> d3951f172fc3 14:51:15 Step 19/24 : EXPOSE 59999 14:51:15 ---> Running in a3a5ce11e6cf 14:51:16 Removing intermediate container a3a5ce11e6cf 14:51:16 ---> c7b206c8aff2 14:51:16 Step 20/24 : ENTRYPOINT ["/device-simple"] 14:51:16 ---> Running in 940eeb486632 14:51:16 Removing intermediate container 940eeb486632 14:51:16 ---> 9c2f38fa7ab3 14:51:16 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:51:16 ---> Running in 054824a64b21 14:51:17 Removing intermediate container 054824a64b21 14:51:17 ---> 779f1a5f5b29 14:51:17 Step 22/24 : LABEL arch=arm64 14:51:17 ---> Running in 676a9ad342cc 14:51:18 Removing intermediate container 676a9ad342cc 14:51:18 ---> 6694668c6309 14:51:18 Step 23/24 : LABEL git_sha=c1bd30226bc21c918a7f00257f38418bba3e1333 14:51:18 ---> Running in 5ab76b2a6292 14:51:18 Removing intermediate container 5ab76b2a6292 14:51:18 ---> 44fb09547521 14:51:18 Step 24/24 : LABEL version=0.0.0 14:51:18 ---> Running in 228b1c4477b8 14:51:19 Removing intermediate container 228b1c4477b8 14:51:19 ---> 6a68d62cbbaf 14:51:19 [Warning] One or more build-args [ARCH] were not consumed 14:51:19 Successfully built 6a68d62cbbaf 14:51:19 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 14:51:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:51:20 14:51:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:51:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:51:20 arm64: Pulling from edgex-lftools-log-publisher 14:51:20 448f6bf000e3: Pulling fs layer 14:51:20 f757da607395: Pulling fs layer 14:51:20 05883995daec: Pulling fs layer 14:51:20 8603b9c90790: Pulling fs layer 14:51:20 1560dd03e051: Pulling fs layer 14:51:20 27f5ce0e4adf: Pulling fs layer 14:51:20 c2d8d7efcc4b: Pulling fs layer 14:51:20 8603b9c90790: Waiting 14:51:20 1560dd03e051: Waiting 14:51:20 27f5ce0e4adf: Waiting 14:51:20 c2d8d7efcc4b: Waiting 14:51:21 f757da607395: Verifying Checksum 14:51:21 f757da607395: Download complete 14:51:21 8603b9c90790: Download complete 14:51:21 05883995daec: Verifying Checksum 14:51:21 05883995daec: Download complete 14:51:21 1560dd03e051: Verifying Checksum 14:51:21 1560dd03e051: Download complete 14:51:21 27f5ce0e4adf: Verifying Checksum 14:51:21 27f5ce0e4adf: Download complete 14:51:21 448f6bf000e3: Verifying Checksum 14:51:21 448f6bf000e3: Download complete 14:51:24 c2d8d7efcc4b: Verifying Checksum 14:51:24 c2d8d7efcc4b: Download complete 14:51:24 448f6bf000e3: Pull complete 14:51:25 f757da607395: Pull complete 14:51:27 05883995daec: Pull complete 14:51:27 8603b9c90790: Pull complete 14:51:28 1560dd03e051: Pull complete 14:51:28 27f5ce0e4adf: Pull complete 14:51:44 c2d8d7efcc4b: Pull complete 14:51:44 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 14:51:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:51:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:51:44 prd-ubuntu18.04-docker-arm64-4c-16g-244 does not seem to be running inside a container 14:51:44 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:51:48 $ docker top bbbe563e81f407b9aa881565bcf67690d0d06a9730642e982193c21d5898809e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:51:49 ---> job-cost.sh 14:51:49 lf-activate-venv: SKIPPING 14:51:49 INFO: No Stack... 14:51:49 INFO: Retrieving Pricing Info for: v3-standard-4 14:51:50 INFO: Archiving Costs [Pipeline] sh 14:51:50 + + cat /w/workspace/device-sdk-go/3/archives/cost.csv 14:51:50 cut -d, -f6 [Pipeline] lock 14:51:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1028-3-stack-cost] 14:51:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1028-3-stack-cost] did not exist. Created. 14:51:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1028-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:51:51 /w/workspace/device-sdk-go/3@tmp/durable-4d4aac21/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-4d4aac21/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 14:51:52 + echo total: 0.10999999940395355 [Pipeline] stash 14:51:52 Warning: overwriting stash ‘stack-cost’ 14:51:52 Stashed 1 file(s) [Pipeline] } 14:51:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1028-3-stack-cost] [Pipeline] // lock [Pipeline] } 14:51:52 $ docker stop --time=1 bbbe563e81f407b9aa881565bcf67690d0d06a9730642e982193c21d5898809e 14:51:53 $ docker rm -f bbbe563e81f407b9aa881565bcf67690d0d06a9730642e982193c21d5898809e [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 14:51:54 provisioning config files... 14:51:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/config8174481647875383332tmp [Pipeline] { [Pipeline] sh 14:51:55 + set +x 14:51:55 + curl -s https://codecov.io/bash 14:51:55 + bash -s -- 14:51:55 14:51:55 _____ _ 14:51:55 / ____| | | 14:51:55 | | ___ __| | ___ ___ _____ __ 14:51:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:51:55 | |___| (_) | (_| | __/ (_| (_) \ V / 14:51:55 \_____\___/ \__,_|\___|\___\___/ \_/ 14:51:55 Bash-1.0.6 14:51:55 14:51:55 14:51:55 ==> git version 2.24.4 found 14:51:55 ==> 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 14:51:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 14:51:55 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 14:51:55 ==> Jenkins CI detected. 14:51:55 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1028 14:51:55 project root: . 14:51:55 --> token set from env 14:51:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:51:55 ==> Running gcov in . (disable via -X gcov) 14:51:55 ==> Python coveragepy not found 14:51:55 ==> Searching for coverage reports in: 14:51:55 + . 14:51:55 -> Found 1 reports 14:51:55 ==> Detecting git/mercurial file structure 14:51:55 ==> Reading reports 14:51:55 + ./coverage.out bytes=126160 14:51:55 ==> Appending adjustments 14:51:55 https://docs.codecov.io/docs/fixing-reports 14:51:55 + Found adjustments 14:51:55 ==> Gzipping contents 14:51:55 16K /tmp/codecov.Il4agb.gz 14:51:55 ==> Uploading reports 14:51:55 url: https://codecov.io 14:51:55 query: branch=PR-1028&commit=58755761361c54f2d0f3e9f2c029d14e06c64751&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1028%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1028&job=&cmd_args= 14:51:55 -> Pinging Codecov 14:51:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1028&commit=58755761361c54f2d0f3e9f2c029d14e06c64751&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1028%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1028&job=&cmd_args= 14:51:55 -> Uploading to 14:51:55 https://storage.googleapis.com/codecov/v4/raw/2021-10-09/7E55EF52A471D76F132DFD9A03CDDE97/58755761361c54f2d0f3e9f2c029d14e06c64751/31f251d0-baa6-490f-98e0-5b4f37a72408.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211009%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211009T145155Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed4bcafa2fe549fe063eccf0912ae48ec43d07f81f89f8fea5b3577f04a8ddd1 14:51:55 % Total % Received % Xferd Average Speed Time Time Time Current 14:51:55 Dload Upload Total Spent Left Speed 14:51:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16065 0 0 100 16065 0 43095 --:--:-- --:--:-- --:--:-- 43185 14:51:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/58755761361c54f2d0f3e9f2c029d14e06c64751 [Pipeline] } 14:51:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:51:57 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1028/archives ']' [Pipeline] libraryResource [Pipeline] sh 14:51:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:51:58 ---> package-listing.sh 14:51:58 ++ facter osfamily 14:51:58 ++ tr '[:upper:]' '[:lower:]' 14:51:58 + OS_FAMILY=redhat 14:51:58 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1028 14:51:58 + START_PACKAGES=/tmp/packages_start.txt 14:51:58 + END_PACKAGES=/tmp/packages_end.txt 14:51:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:51:58 + PACKAGES=/tmp/packages_start.txt 14:51:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1028 ']' 14:51:58 + PACKAGES=/tmp/packages_end.txt 14:51:58 + case "${OS_FAMILY}" in 14:51:58 + rpm -qa 14:51:58 + sort 14:51:58 + '[' -f /tmp/packages_start.txt ']' 14:51:58 + '[' -f /tmp/packages_end.txt ']' 14:51:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:51:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1028 ']' 14:51:58 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1028/archives/ 14:51:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1028/archives/ [Pipeline] echo 14:51:58 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-1028/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:51:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:51:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:51:59 14:51:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:52:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:52:00 latest: Pulling from edgex-lftools-log-publisher 14:52:00 b4d181a07f80: Pulling fs layer 14:52:00 a1111a8f2ec3: Pulling fs layer 14:52:00 ed53099fbce6: Pulling fs layer 14:52:00 dc539afda2c1: Pulling fs layer 14:52:00 77bc0d833cb6: Pulling fs layer 14:52:00 9065ff56babe: Pulling fs layer 14:52:00 d287ab97295c: Pulling fs layer 14:52:00 dc539afda2c1: Waiting 14:52:00 77bc0d833cb6: Waiting 14:52:00 9065ff56babe: Waiting 14:52:00 d287ab97295c: Waiting 14:52:00 a1111a8f2ec3: Verifying Checksum 14:52:00 a1111a8f2ec3: Download complete 14:52:00 dc539afda2c1: Verifying Checksum 14:52:00 dc539afda2c1: Download complete 14:52:00 ed53099fbce6: Verifying Checksum 14:52:00 ed53099fbce6: Download complete 14:52:00 9065ff56babe: Verifying Checksum 14:52:00 9065ff56babe: Download complete 14:52:00 77bc0d833cb6: Verifying Checksum 14:52:00 77bc0d833cb6: Download complete 14:52:00 b4d181a07f80: Verifying Checksum 14:52:00 b4d181a07f80: Download complete 14:52:00 d287ab97295c: Verifying Checksum 14:52:00 d287ab97295c: Download complete 14:52:01 b4d181a07f80: Pull complete 14:52:02 a1111a8f2ec3: Pull complete 14:52:02 ed53099fbce6: Pull complete 14:52:02 dc539afda2c1: Pull complete 14:52:02 77bc0d833cb6: Pull complete 14:52:03 9065ff56babe: Pull complete 14:52:08 d287ab97295c: Pull complete 14:52:08 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:52:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:52:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:52:08 prd-centos7-docker-4c-2g-241 does not seem to be running inside a container 14:52:08 $ 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-1028/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-1028 -v /w/workspace/gexfoundry_device-sdk-go_PR-1028:/w/workspace/gexfoundry_device-sdk-go_PR-1028:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:52:11 $ docker top 7f5bb195625ab802cb8e97900626929aa580034e3ad870a1f421096524361205 -eo pid,comm [Pipeline] { [Pipeline] sh 14:52:11 + touch /tmp/pre-build-complete [Pipeline] sh 14:52:11 + mkdir -p /var/log/sysstat [Pipeline] sh 14:52:12 + ls /var/log/sa-host 14:52:12 + sadf -c /var/log/sa-host/sa09 14:52:12 file_magic: OK 14:52:12 HZ: Using current value: 100 14:52:12 file_header: OK 14:52:12 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 14:52:12 Statistics: 14:52:12 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:52:12 File successfully converted to sysstat format version 12.0.3 14:52:12 + sadf -c /var/log/sa-host/sa30 14:52:12 file_magic: OK 14:52:12 HZ: Using current value: 100 14:52:12 file_header: OK 14:52:12 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 14:52:12 Statistics: 14:52:12 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:52:12 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:52:12 provisioning config files... 14:52:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/config844221812921280996tmp [Pipeline] { [Pipeline] echo 14:52:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:52:12 ---> create-netrc.sh [Pipeline] } 14:52:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:52:13 ---> python-tools-install.sh [Pipeline] echo 14:52:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:52:13 ---> sudo-logs.sh 14:52:13 Archiving 'sudo' log.. 14:52:13 sudo: unable to resolve host prd-centos7-docker-4c-2g-241.novalocal: Name or service not known 14:52:13 sudo: unable to resolve host prd-centos7-docker-4c-2g-241.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 14:52:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:52:13 ---> job-cost.sh 14:52:13 lf-activate-venv: SKIPPING 14:52:13 DEBUG: total: 0.10999999940395355 14:52:13 INFO: Retrieving Stack Cost... 14:52:28 INFO: Retrieving Pricing Info for: v3-standard-2 14:52:28 INFO: Archiving Costs [Pipeline] echo 14:52:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:52:28 ---> logs-deploy.sh 14:52:28 lf-activate-venv: SKIPPING 14:52:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1028/3 14:52:28 INFO: archiving workspace using pattern(s): 14:52:29 Archives upload complete. 14:52:29 INFO: archiving logs to Nexus 14:52:30 ---> uname -a: 14:52:30 Linux prd-centos7-docker-4c-2g-241.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 14:52:30 14:52:30 14:52:30 ---> lscpu: 14:52:30 Architecture: x86_64 14:52:30 CPU op-mode(s): 32-bit, 64-bit 14:52:30 Byte Order: Little Endian 14:52:30 Address sizes: 40 bits physical, 48 bits virtual 14:52:30 CPU(s): 2 14:52:30 On-line CPU(s) list: 0,1 14:52:30 Thread(s) per core: 1 14:52:30 Core(s) per socket: 1 14:52:30 Socket(s): 2 14:52:30 NUMA node(s): 1 14:52:30 Vendor ID: AuthenticAMD 14:52:30 CPU family: 23 14:52:30 Model: 49 14:52:30 Model name: AMD EPYC-Rome Processor 14:52:30 Stepping: 0 14:52:30 CPU MHz: 2799.998 14:52:30 BogoMIPS: 5599.99 14:52:30 Virtualization: AMD-V 14:52:30 Hypervisor vendor: KVM 14:52:30 Virtualization type: full 14:52:30 L1d cache: 32K 14:52:30 L1i cache: 32K 14:52:30 L2 cache: 512K 14:52:30 L3 cache: 16384K 14:52:30 NUMA node0 CPU(s): 0,1 14:52:30 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 14:52:30 14:52:30 14:52:30 ---> nproc: 14:52:30 2 14:52:30 14:52:30 14:52:30 ---> df -h: 14:52:30 Filesystem Size Used Avail Use% Mounted on 14:52:30 overlay 40G 7.7G 33G 20% / 14:52:30 tmpfs 64M 0 64M 0% /dev 14:52:30 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 14:52:30 shm 64M 0 64M 0% /dev/shm 14:52:30 /dev/vda1 40G 7.7G 33G 20% /facter-os 14:52:30 14:52:30 14:52:30 ---> sar -b -r -n DEV: 14:52:30 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/09/21 _x86_64_ (2 CPU) 14:52:30 14:52:30 14:41:13 LINUX RESTART (2 CPU) 14:52:30 14:52:30 14:42:01 tps rtps wtps bread/s bwrtn/s 14:52:30 14:43:01 3.75 0.08 3.66 2.66 115.12 14:52:30 14:44:01 0.37 0.00 0.37 0.00 5.43 14:52:30 14:45:01 0.42 0.00 0.42 0.00 3.81 14:52:30 14:46:01 0.27 0.00 0.27 0.00 4.16 14:52:30 14:47:01 0.28 0.00 0.28 0.00 2.78 14:52:30 14:48:01 0.33 0.00 0.33 0.00 5.13 14:52:30 14:49:01 0.22 0.00 0.22 0.00 3.12 14:52:30 14:50:01 0.18 0.00 0.18 0.00 1.90 14:52:30 14:51:01 0.35 0.00 0.35 0.00 5.96 14:52:30 14:52:01 2.05 0.15 1.90 14.25 84.33 14:52:30 Average: 0.82 0.02 0.80 1.69 23.18 14:52:30 14:52:30 14:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:52:30 14:43:01 5686252 0 620812 7.75 2620 1699256 1205452 13.31 566744 1522920 12 14:52:30 14:44:01 5691072 0 615984 7.69 2620 1699264 1164116 12.85 562868 1522972 8 14:52:30 14:45:01 5689792 0 617264 7.71 2620 1699264 1164356 12.86 563800 1522972 8 14:52:30 14:46:01 5689700 0 617348 7.71 2620 1699272 1164368 12.86 563156 1523860 16 14:52:30 14:47:01 5690480 0 616564 7.70 2620 1699276 1164284 12.85 562692 1523860 16 14:52:30 14:48:01 5690316 0 616724 7.70 2620 1699280 1164308 12.85 562824 1523864 16 14:52:30 14:49:01 5691296 0 615740 7.69 2620 1699284 1164116 12.85 561784 1523860 16 14:52:30 14:50:01 5682228 0 624804 7.80 2620 1699288 1164116 12.85 570820 1523860 8 14:52:30 14:51:01 5682364 0 624660 7.80 2620 1699296 1164116 12.85 572052 1522652 8 14:52:30 14:52:01 5412900 0 690328 8.62 2620 1903092 1334560 14.73 767036 1575972 203244 14:52:30 Average: 5660640 0 626023 7.82 2620 1719657 1185379 13.09 585378 1528679 20335 14:52:30 14:52:30 14:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:52:30 14:43:01 eth0 4.85 2.18 3.83 0.76 0.00 0.00 0.00 0.00 14:52:30 14:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:44:01 eth0 0.50 0.07 0.04 0.01 0.00 0.00 0.00 0.00 14:52:30 14:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:45:01 eth0 1.37 0.27 0.36 0.16 0.00 0.00 0.00 0.00 14:52:30 14:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:46:01 eth0 0.63 0.52 0.28 0.24 0.00 0.00 0.00 0.00 14:52:30 14:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:47:01 eth0 0.37 0.23 0.14 0.07 0.00 0.00 0.00 0.00 14:52:30 14:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:48:01 eth0 0.88 0.35 0.31 0.20 0.00 0.00 0.00 0.00 14:52:30 14:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:49:01 eth0 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 14:52:30 14:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:50:01 eth0 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 14:52:30 14:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:51:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 14:52:30 14:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:52:01 eth0 107.69 64.79 2593.81 9.41 0.00 0.00 0.00 0.00 14:52:30 14:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 Average: eth0 11.67 6.87 260.03 1.09 0.00 0.00 0.00 0.00 14:52:30 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:52:30 14:52:30 14:52:30 ---> sar -P ALL: 14:52:30 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/09/21 _x86_64_ (2 CPU) 14:52:30 14:52:30 14:41:13 LINUX RESTART (2 CPU) 14:52:30 14:52:30 14:42:01 CPU %user %nice %system %iowait %steal %idle 14:52:30 14:43:01 all 0.31 0.00 0.09 0.00 0.02 99.58 14:52:30 14:43:01 0 0.15 0.00 0.07 0.00 0.00 99.78 14:52:30 14:43:01 1 0.47 0.00 0.12 0.00 0.03 99.38 14:52:30 14:44:01 all 0.17 0.00 0.06 0.00 0.03 99.75 14:52:30 14:44:01 0 0.05 0.00 0.03 0.00 0.02 99.90 14:52:30 14:44:01 1 0.28 0.00 0.08 0.00 0.03 99.60 14:52:30 14:45:01 all 0.29 0.00 0.05 0.00 0.02 99.64 14:52:30 14:45:01 0 0.05 0.00 0.03 0.00 0.00 99.92 14:52:30 14:45:01 1 0.54 0.00 0.07 0.00 0.03 99.36 14:52:30 14:46:01 all 0.23 0.00 0.05 0.00 0.02 99.71 14:52:30 14:46:01 0 0.03 0.00 0.03 0.00 0.02 99.92 14:52:30 14:46:01 1 0.42 0.00 0.07 0.00 0.02 99.50 14:52:30 14:47:01 all 0.22 0.00 0.05 0.00 0.01 99.72 14:52:30 14:47:01 0 0.22 0.00 0.05 0.00 0.00 99.73 14:52:30 14:47:01 1 0.22 0.00 0.05 0.00 0.02 99.72 14:52:30 14:48:01 all 0.16 0.00 0.04 0.00 0.01 99.79 14:52:30 14:48:01 0 0.22 0.00 0.05 0.00 0.02 99.72 14:52:30 14:48:01 1 0.10 0.00 0.03 0.00 0.00 99.87 14:52:30 14:49:01 all 0.20 0.00 0.03 0.00 0.03 99.74 14:52:30 14:49:01 0 0.07 0.00 0.03 0.00 0.03 99.87 14:52:30 14:49:01 1 0.33 0.00 0.03 0.00 0.02 99.62 14:52:30 14:50:01 all 0.22 0.00 0.06 0.00 0.01 99.72 14:52:30 14:50:01 0 0.08 0.00 0.07 0.00 0.02 99.83 14:52:30 14:50:01 1 0.35 0.00 0.05 0.00 0.00 99.60 14:52:30 14:51:01 all 0.22 0.00 0.03 0.00 0.01 99.74 14:52:30 14:51:01 0 0.08 0.00 0.03 0.00 0.02 99.87 14:52:30 14:51:01 1 0.35 0.00 0.03 0.00 0.00 99.62 14:52:30 14:52:01 all 3.60 0.00 1.12 0.02 0.02 95.24 14:52:30 14:52:01 0 4.15 0.00 1.18 0.02 0.02 94.64 14:52:30 14:52:01 1 3.05 0.00 1.07 0.02 0.02 95.84 14:52:30 Average: all 0.56 0.00 0.16 0.00 0.02 99.27 14:52:30 Average: 0 0.51 0.00 0.16 0.00 0.01 99.32 14:52:30 Average: 1 0.61 0.00 0.16 0.00 0.02 99.21 14:52:30 14:52:30 14:52:30