Pull request #1031 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 47a4e3d87308b5a077521486fb269148263217f7+01d7194063e34a881735a97128c065e4ba98888d (86d9f7e6d6a67e47f1ff1fb0e6744b3ae09a07a7) 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-ssh2865574105582840252.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8174956422157080320.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1031/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-1031/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2465786944460278664.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh2166719337564570252.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-1031/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-1031/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6470185892979379270.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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1455’ Running on prd-centos7-docker-4c-2g-1462 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [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-1031 # 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-1031@tmp/jenkins-gitclient-ssh28201678947611320.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-1031@tmp/jenkins-gitclient-ssh999825323993966713.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 01d7194063e34a881735a97128c065e4ba98888d into PR head commit 47a4e3d87308b5a077521486fb269148263217f7 Merge succeeded, producing 47a4e3d87308b5a077521486fb269148263217f7 Checking out Revision 47a4e3d87308b5a077521486fb269148263217f7 (PR-1031) > git config core.sparsecheckout # timeout=10 > git checkout -f 47a4e3d87308b5a077521486fb269148263217f7 # 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-1031@tmp/jenkins-gitclient-ssh8052452266251215674.key > git merge 01d7194063e34a881735a97128c065e4ba98888d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47a4e3d87308b5a077521486fb269148263217f7 # timeout=10 Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.0.1-dev.20" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:56:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:56:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:56:47 ========================================================= 18:56:47 EdgeX Global Pipelines Version Info 18:56:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4a3716d57355c6fc108178c300bce47890576814 # timeout=10 18:56:49 ------------------- 18:56:49 stable info: 18:56:49 ------------------- 18:56:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:56:49 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 18:56:49 Message: update stable to v1.0.210 18:56:49 ------------------- 18:56:49 experimental info: 18:56:49 ------------------- 18:56:49 Commited By: **** collab-it+edgex@linuxfoundation.org 18:56:49 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 18:56:49 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1031 [Pipeline] echo 18:56:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1031 [Pipeline] echo 18:56:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1031 [Pipeline] echo 18:56:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47a4e3d87308b5a077521486fb269148263217f7 [Pipeline] echo 18:56:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47a4e3d [Pipeline] echo 18:56:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:50 provisioning config files... 18:56:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config1518372324718604843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:50 ---> docker-login.sh 18:56:50 nexus3.edgexfoundry.org:10001 18:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:50 Configure a credential helper to remove this warning. See 18:56:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:50 18:56:50 Login Succeeded 18:56:50 nexus3.edgexfoundry.org:10002 18:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:50 Configure a credential helper to remove this warning. See 18:56:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:50 18:56:50 Login Succeeded 18:56:50 nexus3.edgexfoundry.org:10003 18:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:50 Configure a credential helper to remove this warning. See 18:56:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:50 18:56:50 Login Succeeded 18:56:50 nexus3.edgexfoundry.org:10004 18:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:50 Configure a credential helper to remove this warning. See 18:56:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:50 18:56:50 Login Succeeded 18:56:51 docker.io 18:56:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:56:51 Configure a credential helper to remove this warning. See 18:56:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:56:51 18:56:51 Login Succeeded 18:56:51 ---> docker-login.sh ends [Pipeline] } 18:56:51 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 18:56:51 + git log --format=format:%s -1 47a4e3d87308b5a077521486fb269148263217f7 [Pipeline] echo 18:56:52 GIT_COMMIT: 47a4e3d87308b5a077521486fb269148263217f7, Commit Message: Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.0.1-dev.20 [Pipeline] echo 18:56:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:56:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:56:52 18:56:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:56:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:56:52 latest: Pulling from edgex-devops/git-semver 18:56:52 a0d0a0d46f8b: Pulling fs layer 18:56:52 3e5f54012d9b: Pulling fs layer 18:56:52 4c7163046ea9: Pulling fs layer 18:56:52 0c2d73faf560: Pulling fs layer 18:56:52 0c2d73faf560: Waiting 18:56:52 3e5f54012d9b: Download complete 18:56:52 a0d0a0d46f8b: Verifying Checksum 18:56:52 a0d0a0d46f8b: Download complete 18:56:52 0c2d73faf560: Verifying Checksum 18:56:52 0c2d73faf560: Download complete 18:56:52 4c7163046ea9: Verifying Checksum 18:56:52 4c7163046ea9: Download complete 18:56:52 a0d0a0d46f8b: Pull complete 18:56:53 3e5f54012d9b: Pull complete 18:56:53 4c7163046ea9: Pull complete 18:56:53 0c2d73faf560: Pull complete 18:56:53 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:56:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:56:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:56:53 prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container 18:56:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1031 -v /w/workspace/gexfoundry_device-sdk-go_PR-1031:/w/workspace/gexfoundry_device-sdk-go_PR-1031:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:56:54 $ docker top 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:56:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:54 [ssh-agent] Looking for ssh-agent implementation... 18:56:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:54 $ docker exec 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 ssh-agent 18:56:54 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXheBEeE/agent.13 18:56:54 SSH_AGENT_PID=19 18:56:54 Running ssh-add (command line suppressed) 18:56:54 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_297848889326947732.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_297848889326947732.key) 18:56:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:54 + git tag --points-at HEAD [Pipeline] } 18:56:54 $ docker exec --env ******** --env ******** 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 ssh-agent -k 18:56:55 unset SSH_AUTH_SOCK; 18:56:55 unset SSH_AGENT_PID; 18:56:55 echo Agent pid 19 killed; 18:56:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:56:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:55 [ssh-agent] Looking for ssh-agent implementation... 18:56:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:55 $ docker exec 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 ssh-agent 18:56:55 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKaAodd/agent.53 18:56:55 SSH_AGENT_PID=60 18:56:55 Running ssh-add (command line suppressed) 18:56:55 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_706869962637982481.key (/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/private_key_706869962637982481.key) 18:56:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:55 + git semver init 18:56:55 # -> Open(): unable to determine branch for HEAD 18:56:55 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.git 18:56:55 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1031 18:56:55 # $SEMVER_REMOTE_NAME = origin 18:56:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:56:55 # $SEMVER_USER_NAME = edgex-jenkins 18:56:55 # $SEMVER_BRANCH = PR-1031 18:56:55 # $SEMVER_TEMP = /tmp/semver-528903500 18:56:55 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:56:56 # '/tmp/semver-528903500' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver' 18:56:56 # -> Force: false 18:56:56 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1031/.semver [Pipeline] } 18:56:56 $ docker exec --env ******** --env ******** 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 ssh-agent -k 18:56:56 unset SSH_AUTH_SOCK; 18:56:56 unset SSH_AGENT_PID; 18:56:56 echo Agent pid 60 killed; 18:56:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:57 + git semver [Pipeline] } 18:56:57 $ docker stop --time=1 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 18:56:58 $ docker rm -f 997bd114680eb18ac1c152fb222e90c568650f50ae28b749dfbe4282b495d9c6 [Pipeline] // withDockerContainer [Pipeline] sh 18:56:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:56:58 Stashed 1 file(s) [Pipeline] echo 18:56:58 [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 18:56:59 Running on prd-centos7-docker-4c-2g-1463 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] ws 18:56:59 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 18:56:59 Selected Git installation does not exist. Using Default 18:56:59 The recommended git tool is: NONE 18:57:01 using credential edgex-jenkins-ssh 18:57:01 Cloning the remote Git repository 18:57:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:57:01 > git init /w/workspace/device-sdk-go/6 # timeout=10 18:57:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:57:01 > git --version # timeout=10 18:57:01 > git --version # 'git version 2.24.4' 18:57:01 using GIT_SSH to set credentials SSH Credentials for GitHub 18:57:01 [INFO] Currently running in a labeled security context 18:57:01 [INFO] Currently SELinux is 'enforcing' on the host 18:57:01 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/6@tmp/jenkins-gitclient-ssh8091493970169792260.key 18:57:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:57:03 Merging remotes/origin/main commit 01d7194063e34a881735a97128c065e4ba98888d into PR head commit 47a4e3d87308b5a077521486fb269148263217f7 18:57:03 Merge succeeded, producing 47a4e3d87308b5a077521486fb269148263217f7 18:57:03 Checking out Revision 47a4e3d87308b5a077521486fb269148263217f7 (PR-1031) 18:57:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:57:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:57:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:57:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:57:02 using GIT_SSH to set credentials SSH Credentials for GitHub 18:57:02 [INFO] Currently running in a labeled security context 18:57:02 [INFO] Currently SELinux is 'enforcing' on the host 18:57:02 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/6@tmp/jenkins-gitclient-ssh5777868554015644593.key 18:57:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:57:03 > git config core.sparsecheckout # timeout=10 18:57:03 > git checkout -f 47a4e3d87308b5a077521486fb269148263217f7 # timeout=10 18:57:03 > git remote # timeout=10 18:57:03 > git config --get remote.origin.url # timeout=10 18:57:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:57:03 [INFO] Currently running in a labeled security context 18:57:03 [INFO] Currently SELinux is 'enforcing' on the host 18:57:03 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/6@tmp/jenkins-gitclient-ssh8358224635937040342.key 18:57:03 > git merge 01d7194063e34a881735a97128c065e4ba98888d # timeout=10 18:57:03 > git rev-parse HEAD^{commit} # timeout=10 18:57:03 > git config core.sparsecheckout # timeout=10 18:57:03 > git checkout -f 47a4e3d87308b5a077521486fb269148263217f7 # timeout=10 18:57:07 Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.0.1-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:57:07 provisioning config files... 18:57:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config9113199006678683645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:07 ---> docker-login.sh 18:57:07 nexus3.edgexfoundry.org:10001 18:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:07 Configure a credential helper to remove this warning. See 18:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:07 18:57:07 Login Succeeded 18:57:07 nexus3.edgexfoundry.org:10002 18:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:07 Configure a credential helper to remove this warning. See 18:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:07 18:57:07 Login Succeeded 18:57:07 nexus3.edgexfoundry.org:10003 18:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:07 Configure a credential helper to remove this warning. See 18:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:07 18:57:07 Login Succeeded 18:57:07 nexus3.edgexfoundry.org:10004 18:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:08 Configure a credential helper to remove this warning. See 18:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:08 18:57:08 Login Succeeded 18:57:08 docker.io 18:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:57:08 Configure a credential helper to remove this warning. See 18:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:57:08 18:57:08 Login Succeeded 18:57:08 ---> docker-login.sh ends [Pipeline] } 18:57:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:57:08 ========================================================= 18:57:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:57:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:57:09 + 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 . 18:57:09 Sending build context to Docker daemon 2.685MB 18:57:09 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 18:57:09 Step 2/10 : FROM ${BASE} AS builder 18:57:09 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:57:09 a0d0a0d46f8b: Pulling fs layer 18:57:09 31adcdaf11c8: Pulling fs layer 18:57:09 b8b176561691: Pulling fs layer 18:57:09 4527c011a84f: Pulling fs layer 18:57:09 5d74067f8e1e: Pulling fs layer 18:57:09 e0aca202a116: Pulling fs layer 18:57:09 3a43be97a3b4: Pulling fs layer 18:57:09 34cad66bf833: Pulling fs layer 18:57:09 b4e3c513aaa6: Pulling fs layer 18:57:09 5d74067f8e1e: Waiting 18:57:09 e0aca202a116: Waiting 18:57:09 3a43be97a3b4: Waiting 18:57:09 34cad66bf833: Waiting 18:57:09 b4e3c513aaa6: Waiting 18:57:09 4527c011a84f: Waiting 18:57:09 b8b176561691: Verifying Checksum 18:57:09 b8b176561691: Download complete 18:57:09 31adcdaf11c8: Verifying Checksum 18:57:09 31adcdaf11c8: Download complete 18:57:09 5d74067f8e1e: Verifying Checksum 18:57:09 5d74067f8e1e: Download complete 18:57:09 e0aca202a116: Verifying Checksum 18:57:09 e0aca202a116: Download complete 18:57:09 a0d0a0d46f8b: Verifying Checksum 18:57:09 a0d0a0d46f8b: Download complete 18:57:09 3a43be97a3b4: Verifying Checksum 18:57:09 3a43be97a3b4: Download complete 18:57:09 34cad66bf833: Verifying Checksum 18:57:09 34cad66bf833: Download complete 18:57:09 a0d0a0d46f8b: Pull complete 18:57:09 31adcdaf11c8: Pull complete 18:57:09 4527c011a84f: Verifying Checksum 18:57:09 4527c011a84f: Download complete 18:57:09 b8b176561691: Pull complete 18:57:09 b4e3c513aaa6: Verifying Checksum 18:57:09 b4e3c513aaa6: Download complete 18:57:14 4527c011a84f: Pull complete 18:57:14 5d74067f8e1e: Pull complete 18:57:14 e0aca202a116: Pull complete 18:57:14 3a43be97a3b4: Pull complete 18:57:14 34cad66bf833: Pull complete 18:57:14 Still waiting to schedule task 18:57:14 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1459’ 18:57:16 b4e3c513aaa6: Pull complete 18:57:16 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 18:57:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:57:16 ---> 9f6097aaca64 18:57:16 Step 3/10 : ARG MAKE=make build 18:57:17 ---> Running in 7de85a73b357 18:57:17 Removing intermediate container 7de85a73b357 18:57:17 ---> 97ded65a5971 18:57:17 Step 4/10 : WORKDIR /device-sdk-go 18:57:17 ---> Running in 6eecdd918717 18:57:17 Removing intermediate container 6eecdd918717 18:57:17 ---> b9d674b405b6 18:57:17 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:57:17 ---> Running in 81f478055fa6 18:57:18 Removing intermediate container 81f478055fa6 18:57:18 ---> 1be1fbbf4dd2 18:57:18 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:57:18 ---> Running in 9b295f937330 18:57:18 Removing intermediate container 9b295f937330 18:57:18 ---> 11d79c14f084 18:57:18 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:57:18 ---> Running in 82c061a45eea 18:57:19 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:57:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:57:20 OK: 220 MiB in 52 packages 18:57:20 Removing intermediate container 82c061a45eea 18:57:20 ---> 7f5df1863a2e 18:57:20 Step 8/10 : COPY . . 18:57:20 ---> bfbf6268dac5 18:57:20 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:57:20 ---> Running in 2a8eddca269a 18:57:52 Removing intermediate container 2a8eddca269a 18:57:52 ---> 57ec5bcc5530 18:57:52 Step 10/10 : RUN ${MAKE} 18:57:52 ---> Running in 8fb8ddf77342 18:57:52 noop 18:57:52 Removing intermediate container 8fb8ddf77342 18:57:52 ---> e2effd979ccc 18:57:52 Successfully built e2effd979ccc 18:57:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:57:53 + docker inspect -f . ci-base-image-x86_64 18:57:53 . [Pipeline] withDockerContainer 18:57:53 prd-centos7-docker-4c-2g-1463 does not seem to be running inside a container 18:57:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:57:53 $ docker top 4b25e4fe85ce7d93eb7be3f3c55208bad8085e2778bc8d3968ad987d03cd5c60 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:54 + go version 18:57:54 go version go1.16.8 linux/amd64 [Pipeline] } 18:57:54 $ docker stop --time=1 4b25e4fe85ce7d93eb7be3f3c55208bad8085e2778bc8d3968ad987d03cd5c60 18:57:55 $ docker rm -f 4b25e4fe85ce7d93eb7be3f3c55208bad8085e2778bc8d3968ad987d03cd5c60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:57:55 + docker inspect -f . ci-base-image-x86_64 18:57:55 . [Pipeline] withDockerContainer 18:57:55 prd-centos7-docker-4c-2g-1463 does not seem to be running inside a container 18:57:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:57:56 $ docker top f00753a89d3bb155dbbb9e510ff2723956909c1c5504ca8dc6125fa7af03937e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:57:56 + make test 18:57:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:58:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:58:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.062s coverage: 23.5% of statements 18:58:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:58:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 28.1% of statements 18:58:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.045s coverage: 78.9% of statements 18:58:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 9.0% of statements 18:58:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 18:58:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:58:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:58:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 28.7% of statements 18:58:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:58:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.065s coverage: 83.3% of statements 18:58:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:58:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:58:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 57.8% of statements 18:58:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.898s coverage: 88.8% of statements 18:58:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 18:58:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.042s coverage: 4.9% of statements 18:58:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:58:29 GO111MODULE=on go vet ./... 18:58:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:58:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:58:47 ./bin/test-attribution-txt.sh [Pipeline] } 18:58:47 $ docker stop --time=1 f00753a89d3bb155dbbb9e510ff2723956909c1c5504ca8dc6125fa7af03937e 18:58:49 $ docker rm -f f00753a89d3bb155dbbb9e510ff2723956909c1c5504ca8dc6125fa7af03937e [Pipeline] // withDockerContainer [Pipeline] sh 18:58:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:58:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:58:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:58:51 + ls -al . 18:58:51 total 264 18:58:51 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 14 18:58 . 18:58:51 drwxrwxr-x. 4 jenkins jenkins 28 Oct 14 18:57 .. 18:58:51 drwxrwxr-x. 2 jenkins jenkins 37 Oct 14 18:57 bin 18:58:51 -rw-rw-r--. 1 jenkins jenkins 24816 Oct 14 18:57 CHANGELOG.md 18:58:51 -rw-r--r--. 1 jenkins jenkins 126693 Oct 14 18:58 coverage.out 18:58:51 -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 18:57 .dockerignore 18:58:51 drwxrwxr-x. 5 jenkins jenkins 62 Oct 14 18:57 example 18:58:51 drwxrwxr-x. 8 jenkins jenkins 179 Oct 14 18:57 .git 18:58:51 drwxrwxr-x. 3 jenkins jenkins 125 Oct 14 18:57 .github 18:58:51 -rw-rw-r--. 1 jenkins jenkins 131 Oct 14 18:57 .gitignore 18:58:51 -rw-rw-r--. 1 jenkins jenkins 583 Oct 14 18:57 go.mod 18:58:51 -rw-rw-r--. 1 jenkins jenkins 49618 Oct 14 18:57 go.sum 18:58:51 -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 18:57 GOVERNANCE.md 18:58:51 drwxrwxr-x. 15 jenkins jenkins 224 Oct 14 18:57 internal 18:58:51 -rw-rw-r--. 1 jenkins jenkins 880 Oct 14 18:57 Jenkinsfile 18:58:51 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 18:57 LICENSE 18:58:51 -rw-rw-r--. 1 jenkins jenkins 1120 Oct 14 18:57 Makefile 18:58:51 drwxrwxr-x. 3 jenkins jenkins 16 Oct 14 18:57 openapi 18:58:51 -rw-rw-r--. 1 jenkins jenkins 619 Oct 14 18:57 OWNERS.md 18:58:51 drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 18:57 pkg 18:58:51 -rw-rw-r--. 1 jenkins jenkins 4877 Oct 14 18:57 README.md 18:58:51 drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 18:57 snap 18:58:51 -rw-rw-r--. 1 jenkins jenkins 5 Oct 14 18:56 VERSION 18:58:51 -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 18:57 version.go [Pipeline] isUnix [Pipeline] sh 18:58:51 + 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=47a4e3d87308b5a077521486fb269148263217f7 --label arch=amd64 --label version=0.0.0 . 18:58:51 Sending build context to Docker daemon 2.812MB 18:58:51 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 18:58:51 Step 2/24 : FROM ${BASE} AS builder 18:58:51 ---> e2effd979ccc 18:58:51 Step 3/24 : ARG MAKE=make build 18:58:51 ---> Running in 495b702dfceb 18:58:51 Removing intermediate container 495b702dfceb 18:58:51 ---> 45ab640612d5 18:58:51 Step 4/24 : WORKDIR /device-sdk-go 18:58:51 ---> Running in 84d1e8ac3bc7 18:58:51 Removing intermediate container 84d1e8ac3bc7 18:58:51 ---> dbf6433bb94d 18:58:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:58:51 ---> Running in ebed791d2414 18:58:51 Removing intermediate container ebed791d2414 18:58:51 ---> df644aef0443 18:58:51 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:58:51 ---> Running in 6f3210b7028f 18:58:52 Removing intermediate container 6f3210b7028f 18:58:52 ---> bf26c2f3a78f 18:58:52 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:58:52 ---> Running in 32c2ef878042 18:58:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:58:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:58:53 OK: 220 MiB in 52 packages 18:58:54 Removing intermediate container 32c2ef878042 18:58:54 ---> c4706b88a517 18:58:54 Step 8/24 : COPY . . 18:58:54 ---> d4909f441b6d 18:58:54 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:58:54 ---> Running in 57c8ad788ac9 18:58:55 Removing intermediate container 57c8ad788ac9 18:58:55 ---> 4f37aaecae98 18:58:55 Step 10/24 : RUN ${MAKE} 18:58:55 ---> Running in 004457e8027d 18:58:55 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 18:59:05 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:59:06 Removing intermediate container 004457e8027d 18:59:06 ---> 32121fbca8a8 18:59:06 Step 11/24 : FROM alpine:3.14 18:59:06 3.14: Pulling from library/alpine 18:59:06 a0d0a0d46f8b: Already exists 18:59:07 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 18:59:07 Status: Downloaded newer image for alpine:3.14 18:59:07 ---> 14119a10abf4 18:59:07 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:59:07 ---> Running in 1237eab4a4bb 18:59:07 Removing intermediate container 1237eab4a4bb 18:59:07 ---> 95415b4fb925 18:59:07 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:59:07 ---> Running in 785d762cad3e 18:59:07 Removing intermediate container 785d762cad3e 18:59:07 ---> 47987095fbb4 18:59:07 Step 14/24 : RUN apk add --update --no-cache zeromq 18:59:07 ---> Running in 3659fd6f61d4 18:59:07 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:59:08 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:59:08 (1/5) Installing libgcc (10.3.1_git20210424-r2) 18:59:09 (2/5) Installing libsodium (1.0.18-r0) 18:59:09 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 18:59:09 (4/5) Installing libzmq (4.3.4-r0) 18:59:09 (5/5) Installing zeromq (4.3.4-r0) 18:59:09 Executing busybox-1.33.1-r3.trigger 18:59:09 OK: 8 MiB in 19 packages 18:59:09 Removing intermediate container 3659fd6f61d4 18:59:09 ---> e92be9e50fa7 18:59:09 Step 15/24 : WORKDIR / 18:59:09 ---> Running in 296ff244d3a0 18:59:09 Removing intermediate container 296ff244d3a0 18:59:09 ---> cdcbc32f7a45 18:59:09 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:59:09 ---> a609bfb27e2c 18:59:09 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:59:10 ---> 34f61a83d2c5 18:59:10 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:59:10 ---> 0580c8f452d1 18:59:10 Step 19/24 : EXPOSE 59999 18:59:10 ---> Running in f138a6514ce3 18:59:10 Removing intermediate container f138a6514ce3 18:59:10 ---> 383200738031 18:59:10 Step 20/24 : ENTRYPOINT ["/device-simple"] 18:59:10 ---> Running in 15461fe65279 18:59:10 Removing intermediate container 15461fe65279 18:59:10 ---> 7637fbdba890 18:59:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:59:10 ---> Running in dc31203b565e 18:59:10 Removing intermediate container dc31203b565e 18:59:10 ---> 9cb0a62d385a 18:59:10 Step 22/24 : LABEL arch=amd64 18:59:10 ---> Running in 1303e6fc0c19 18:59:10 Removing intermediate container 1303e6fc0c19 18:59:10 ---> 06c4a454451b 18:59:10 Step 23/24 : LABEL git_sha=47a4e3d87308b5a077521486fb269148263217f7 18:59:10 ---> Running in 235eb7cd22f2 18:59:10 Removing intermediate container 235eb7cd22f2 18:59:10 ---> 0fa4ff2e8594 18:59:10 Step 24/24 : LABEL version=0.0.0 18:59:10 ---> Running in 7854970da4ea 18:59:10 Removing intermediate container 7854970da4ea 18:59:10 ---> 569882b9d06c 18:59:10 [Warning] One or more build-args [ARCH] were not consumed 18:59:10 Successfully built 569882b9d06c 18:59:10 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 18:59:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:59:11 18:59:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:59:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:59:11 latest: Pulling from edgex-lftools-log-publisher 18:59:11 b4d181a07f80: Pulling fs layer 18:59:11 a1111a8f2ec3: Pulling fs layer 18:59:11 ed53099fbce6: Pulling fs layer 18:59:11 dc539afda2c1: Pulling fs layer 18:59:11 77bc0d833cb6: Pulling fs layer 18:59:11 9065ff56babe: Pulling fs layer 18:59:11 d287ab97295c: Pulling fs layer 18:59:11 77bc0d833cb6: Waiting 18:59:11 9065ff56babe: Waiting 18:59:11 d287ab97295c: Waiting 18:59:11 dc539afda2c1: Waiting 18:59:11 a1111a8f2ec3: Verifying Checksum 18:59:11 a1111a8f2ec3: Download complete 18:59:11 dc539afda2c1: Verifying Checksum 18:59:11 dc539afda2c1: Download complete 18:59:11 ed53099fbce6: Verifying Checksum 18:59:11 ed53099fbce6: Download complete 18:59:12 9065ff56babe: Verifying Checksum 18:59:12 9065ff56babe: Download complete 18:59:12 77bc0d833cb6: Verifying Checksum 18:59:12 77bc0d833cb6: Download complete 18:59:12 b4d181a07f80: Verifying Checksum 18:59:12 b4d181a07f80: Download complete 18:59:12 d287ab97295c: Verifying Checksum 18:59:12 d287ab97295c: Download complete 18:59:13 b4d181a07f80: Pull complete 18:59:13 a1111a8f2ec3: Pull complete 18:59:14 ed53099fbce6: Pull complete 18:59:14 dc539afda2c1: Pull complete 18:59:14 77bc0d833cb6: Pull complete 18:59:14 9065ff56babe: Pull complete 18:59:20 d287ab97295c: Pull complete 18:59:20 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:59:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:59:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:59:20 prd-centos7-docker-4c-2g-1463 does not seem to be running inside a container 18:59:20 $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:59:22 $ docker top 8d1e4289f5b7a1f845b9ca73d150e2aa686ffc126a4f55b235633a47356f7f75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:59:22 ---> job-cost.sh 18:59:22 lf-activate-venv: SKIPPING 18:59:22 INFO: No Stack... 18:59:40 INFO: Retrieving Pricing Info for: v3-standard-2 18:59:40 INFO: Archiving Costs [Pipeline] sh 18:59:41 + cat /w/workspace/device-sdk-go/6/archives/cost.csv 18:59:41 + cut -d, -f6 [Pipeline] lock 18:59:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] 18:59:41 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] did not exist. Created. 18:59:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:59:41 + echo total: 0.05999999865889549 [Pipeline] stash 18:59:41 Stashed 1 file(s) [Pipeline] } 18:59:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] [Pipeline] // lock [Pipeline] } 18:59:41 $ docker stop --time=1 8d1e4289f5b7a1f845b9ca73d150e2aa686ffc126a4f55b235633a47356f7f75 18:59:42 $ docker rm -f 8d1e4289f5b7a1f845b9ca73d150e2aa686ffc126a4f55b235633a47356f7f75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:02:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1467 in /w/workspace/gexfoundry_device-sdk-go_PR-1031 [Pipeline] { [Pipeline] ws 19:02:16 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 19:02:16 Selected Git installation does not exist. Using Default 19:02:16 The recommended git tool is: NONE 19:02:23 using credential edgex-jenkins-ssh 19:02:23 Cloning the remote Git repository 19:02:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:02:23 > git init /w/workspace/device-sdk-go/6 # timeout=10 19:02:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:02:23 > git --version # timeout=10 19:02:23 > git --version # 'git version 2.17.1' 19:02:23 using GIT_SSH to set credentials SSH Credentials for GitHub 19:02:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:02:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:02:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:02:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:02:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:02:25 using GIT_SSH to set credentials SSH Credentials for GitHub 19:02:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1031/head:refs/remotes/origin/PR-1031 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:02:26 Merging remotes/origin/main commit 01d7194063e34a881735a97128c065e4ba98888d into PR head commit 47a4e3d87308b5a077521486fb269148263217f7 19:02:26 Merge succeeded, producing 47a4e3d87308b5a077521486fb269148263217f7 19:02:26 Checking out Revision 47a4e3d87308b5a077521486fb269148263217f7 (PR-1031) 19:02:26 > git config core.sparsecheckout # timeout=10 19:02:26 > git checkout -f 47a4e3d87308b5a077521486fb269148263217f7 # timeout=10 19:02:26 > git remote # timeout=10 19:02:26 > git config --get remote.origin.url # timeout=10 19:02:26 using GIT_SSH to set credentials SSH Credentials for GitHub 19:02:26 > git merge 01d7194063e34a881735a97128c065e4ba98888d # timeout=10 19:02:26 > git rev-parse HEAD^{commit} # timeout=10 19:02:26 > git config core.sparsecheckout # timeout=10 19:02:26 > git checkout -f 47a4e3d87308b5a077521486fb269148263217f7 # timeout=10 19:02:30 Commit message: "Merge branch 'main' into dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.0.1-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:02:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:02:32 % Total % Received % Xferd Average Speed Time Time Time Current 19:02:32 Dload Upload Total Spent Left Speed 19:02:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 42228 0 --:--:-- --:--:-- --:--:-- 42379 [Pipeline] sh 19:02:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:02:33 + sudo tee /etc/docker/daemon.new 19:02:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:02:33 { 19:02:33 "registry-mirrors": [ 19:02:33 "https://nexus3.edgexfoundry.org:10001" 19:02:33 ], 19:02:33 "bip": "10.250.0.254/24", 19:02:33 "hosts": [ 19:02:33 "tcp://0.0.0.0:5555", 19:02:33 "unix:///var/run/docker.sock" 19:02:33 ], 19:02:33 "mtu": 1458, 19:02:33 "selinux-enabled": true, 19:02:33 "seccomp-profile": "/etc/docker/seccomp.json" 19:02:33 } [Pipeline] sh 19:02:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:02:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:02:52 provisioning config files... 19:02:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config2304331377357857056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:52 ---> docker-login.sh 19:02:52 nexus3.edgexfoundry.org:10001 19:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:54 Configure a credential helper to remove this warning. See 19:02:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:54 19:02:54 Login Succeeded 19:02:54 nexus3.edgexfoundry.org:10002 19:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:55 Configure a credential helper to remove this warning. See 19:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:55 19:02:55 Login Succeeded 19:02:55 nexus3.edgexfoundry.org:10003 19:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:55 Configure a credential helper to remove this warning. See 19:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:55 19:02:55 Login Succeeded 19:02:55 nexus3.edgexfoundry.org:10004 19:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:56 Configure a credential helper to remove this warning. See 19:02:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:56 19:02:56 Login Succeeded 19:02:56 docker.io 19:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:57 Configure a credential helper to remove this warning. See 19:02:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:57 19:02:57 Login Succeeded 19:02:57 ---> docker-login.sh ends [Pipeline] } 19:02:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:02:57 ========================================================= 19:02:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 19:02:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:02:58 + 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 . 19:02:58 Sending build context to Docker daemon 2.684MB 19:02:58 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 19:02:58 Step 2/10 : FROM ${BASE} AS builder 19:02:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:02:59 552d1f2373af: Pulling fs layer 19:02:59 ea3f2d53f512: Pulling fs layer 19:02:59 9e70ebbbe112: Pulling fs layer 19:02:59 7a9cfe048b4a: Pulling fs layer 19:02:59 72dc09318566: Pulling fs layer 19:02:59 f4f7b4309257: Pulling fs layer 19:02:59 0ac9a79272e3: Pulling fs layer 19:02:59 b78e95d17946: Pulling fs layer 19:02:59 f4f7b4309257: Waiting 19:02:59 0ac9a79272e3: Waiting 19:02:59 b78e95d17946: Waiting 19:02:59 72dc09318566: Waiting 19:02:59 7a9cfe048b4a: Waiting 19:02:59 9e70ebbbe112: Verifying Checksum 19:02:59 9e70ebbbe112: Download complete 19:02:59 ea3f2d53f512: Verifying Checksum 19:02:59 ea3f2d53f512: Download complete 19:02:59 72dc09318566: Download complete 19:02:59 f4f7b4309257: Download complete 19:02:59 0ac9a79272e3: Download complete 19:02:59 552d1f2373af: Verifying Checksum 19:02:59 552d1f2373af: Download complete 19:03:00 552d1f2373af: Pull complete 19:03:00 ea3f2d53f512: Pull complete 19:03:01 b78e95d17946: Verifying Checksum 19:03:01 b78e95d17946: Download complete 19:03:01 9e70ebbbe112: Pull complete 19:03:01 7a9cfe048b4a: Verifying Checksum 19:03:01 7a9cfe048b4a: Download complete 19:03:11 7a9cfe048b4a: Pull complete 19:03:11 72dc09318566: Pull complete 19:03:11 f4f7b4309257: Pull complete 19:03:11 0ac9a79272e3: Pull complete 19:03:17 b78e95d17946: Pull complete 19:03:17 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 19:03:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 19:03:17 ---> 8b459fc5aaf0 19:03:17 Step 3/10 : ARG MAKE=make build 19:03:22 ---> Running in bb84bdde1870 19:03:22 Removing intermediate container bb84bdde1870 19:03:22 ---> dbe5ef47af5f 19:03:22 Step 4/10 : WORKDIR /device-sdk-go 19:03:22 ---> Running in fad1fb1b8ad6 19:03:23 Removing intermediate container fad1fb1b8ad6 19:03:23 ---> 510556f9fb97 19:03:23 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:03:23 ---> Running in 31cc4adad40b 19:03:23 Removing intermediate container 31cc4adad40b 19:03:23 ---> 1285042e1470 19:03:23 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:03:23 ---> Running in cdbc9d49d150 19:03:27 Removing intermediate container cdbc9d49d150 19:03:27 ---> dcc9265fd48d 19:03:27 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:03:27 ---> Running in 8bc180de7c7a 19:03:28 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:03:29 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:03:29 OK: 219 MiB in 52 packages 19:03:31 Removing intermediate container 8bc180de7c7a 19:03:31 ---> 62922fa015cd 19:03:31 Step 8/10 : COPY . . 19:03:32 ---> b45485c212a6 19:03:32 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:03:32 ---> Running in 9f780c41d730 19:04:54 Removing intermediate container 9f780c41d730 19:04:54 ---> 051f8dc3fcfc 19:04:54 Step 10/10 : RUN ${MAKE} 19:04:54 ---> Running in acafc10b9e6f 19:04:54 noop 19:04:56 Removing intermediate container acafc10b9e6f 19:04:56 ---> 839371f4b06c 19:04:56 Successfully built 839371f4b06c 19:04:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:04:56 + docker inspect -f . ci-base-image-arm64 19:04:56 . [Pipeline] withDockerContainer 19:04:56 prd-ubuntu18.04-docker-arm64-4c-16g-1467 does not seem to be running inside a container 19:04:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:04:58 $ docker top 4ac2792a5aee1cb1661cbaa9dce1a62fe5939c149011694e46715d6db67522f5 -eo pid,comm [Pipeline] { [Pipeline] sh 19:04:59 + go version 19:04:59 go version go1.16.8 linux/arm64 [Pipeline] } 19:04:59 $ docker stop --time=1 4ac2792a5aee1cb1661cbaa9dce1a62fe5939c149011694e46715d6db67522f5 19:05:01 $ docker rm -f 4ac2792a5aee1cb1661cbaa9dce1a62fe5939c149011694e46715d6db67522f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:05:02 + docker inspect -f . ci-base-image-arm64 19:05:02 . [Pipeline] withDockerContainer 19:05:02 prd-ubuntu18.04-docker-arm64-4c-16g-1467 does not seem to be running inside a container 19:05:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:05:04 $ docker top 6e497979f6f7407d86dd0f806562f0223e561fe07f61d1215709c9e65983dbed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:05:05 + make test 19:05:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 19:05:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 19:06:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 19:06:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 19:06:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 19:06:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.282s coverage: 23.5% of statements 19:06:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 19:06:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.255s coverage: 28.1% of statements 19:06:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.253s coverage: 78.9% of statements 19:06:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.201s coverage: 9.0% of statements 19:06:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 19:06:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 19:06:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 19:06:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.362s coverage: 28.7% of statements 19:06:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 19:06:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.297s coverage: 83.3% of statements 19:06:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 19:06:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 19:06:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.371s coverage: 57.8% of statements 19:06:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.204s coverage: 88.8% of statements 19:06:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 19:06:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.209s coverage: 4.9% of statements 19:06:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 19:06:54 GO111MODULE=on go vet ./... 19:07:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:07:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:07:51 ./bin/test-attribution-txt.sh [Pipeline] } 19:07:53 $ docker stop --time=1 6e497979f6f7407d86dd0f806562f0223e561fe07f61d1215709c9e65983dbed 19:07:56 $ docker rm -f 6e497979f6f7407d86dd0f806562f0223e561fe07f61d1215709c9e65983dbed [Pipeline] // withDockerContainer [Pipeline] sh 19:07:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:07:57 Warning: overwriting stash ‘coverage-report’ 19:07:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:07:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:07:59 + ls -al . 19:07:59 total 300 19:07:59 drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 19:07 . 19:07:59 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 19:02 .. 19:07:59 -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 19:02 .dockerignore 19:07:59 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 19:02 .git 19:07:59 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 19:02 .github 19:07:59 -rw-rw-r-- 1 jenkins jenkins 131 Oct 14 19:02 .gitignore 19:07:59 -rw-rw-r-- 1 jenkins jenkins 24816 Oct 14 19:02 CHANGELOG.md 19:07:59 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 19:02 GOVERNANCE.md 19:07:59 -rw-rw-r-- 1 jenkins jenkins 880 Oct 14 19:02 Jenkinsfile 19:07:59 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 19:02 LICENSE 19:07:59 -rw-rw-r-- 1 jenkins jenkins 1120 Oct 14 19:02 Makefile 19:07:59 -rw-rw-r-- 1 jenkins jenkins 619 Oct 14 19:02 OWNERS.md 19:07:59 -rw-rw-r-- 1 jenkins jenkins 4877 Oct 14 19:02 README.md 19:07:59 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 18:56 VERSION 19:07:59 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 19:02 bin 19:07:59 -rw-r--r-- 1 jenkins jenkins 126693 Oct 14 19:06 coverage.out 19:07:59 drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 19:02 example 19:07:59 -rw-rw-r-- 1 jenkins jenkins 583 Oct 14 19:02 go.mod 19:07:59 -rw-rw-r-- 1 jenkins jenkins 49618 Oct 14 19:02 go.sum 19:07:59 drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 19:02 internal 19:07:59 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 19:02 openapi 19:07:59 drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 19:02 pkg 19:07:59 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 19:02 snap 19:07:59 -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 19:02 version.go [Pipeline] isUnix [Pipeline] sh 19:07:59 + 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=47a4e3d87308b5a077521486fb269148263217f7 --label arch=arm64 --label version=0.0.0 . 19:08:00 Sending build context to Docker daemon 2.811MB 19:08:00 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 19:08:00 Step 2/24 : FROM ${BASE} AS builder 19:08:00 ---> 839371f4b06c 19:08:00 Step 3/24 : ARG MAKE=make build 19:08:00 ---> Running in 3a26c820f821 19:08:00 Removing intermediate container 3a26c820f821 19:08:00 ---> ff9ff8507dbf 19:08:00 Step 4/24 : WORKDIR /device-sdk-go 19:08:00 ---> Running in 1fc51ef87a04 19:08:01 Removing intermediate container 1fc51ef87a04 19:08:01 ---> 1b3e12404ba9 19:08:01 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:08:01 ---> Running in 7ee1ea3ee072 19:08:02 Removing intermediate container 7ee1ea3ee072 19:08:02 ---> 090094abc53b 19:08:02 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:08:02 ---> Running in 1e21b8451898 19:08:05 Removing intermediate container 1e21b8451898 19:08:05 ---> f25cae84ba6d 19:08:05 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:08:05 ---> Running in d4db9f1d1ce0 19:08:06 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:08:07 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:08:08 OK: 219 MiB in 52 packages 19:08:09 Removing intermediate container d4db9f1d1ce0 19:08:09 ---> b2e62eb6e60e 19:08:09 Step 8/24 : COPY . . 19:08:10 ---> f709b34e8137 19:08:10 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:08:10 ---> Running in 5650890195f6 19:08:13 Removing intermediate container 5650890195f6 19:08:13 ---> 99fb42efdcaa 19:08:13 Step 10/24 : RUN ${MAKE} 19:08:13 ---> Running in 07bfe481f61e 19:08:15 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 19:08:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 19:08:54 Removing intermediate container 07bfe481f61e 19:08:54 ---> 87d2d00fbf89 19:08:54 Step 11/24 : FROM alpine:3.14 19:08:55 3.14: Pulling from library/alpine 19:08:55 552d1f2373af: Already exists 19:08:56 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 19:08:56 Status: Downloaded newer image for alpine:3.14 19:08:56 ---> bb3de5531c18 19:08:56 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:08:56 ---> Running in 9e0112f99551 19:08:56 Removing intermediate container 9e0112f99551 19:08:56 ---> 3dd3ddd6347c 19:08:56 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:08:56 ---> Running in 237e08ffdf0f 19:08:59 Removing intermediate container 237e08ffdf0f 19:08:59 ---> a3c896225894 19:08:59 Step 14/24 : RUN apk add --update --no-cache zeromq 19:08:59 ---> Running in 53a3c4412816 19:09:00 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:09:01 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:09:02 (1/5) Installing libgcc (10.3.1_git20210424-r2) 19:09:02 (2/5) Installing libsodium (1.0.18-r0) 19:09:02 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 19:09:02 (4/5) Installing libzmq (4.3.4-r0) 19:09:02 (5/5) Installing zeromq (4.3.4-r0) 19:09:02 Executing busybox-1.33.1-r3.trigger 19:09:02 OK: 8 MiB in 19 packages 19:09:04 Removing intermediate container 53a3c4412816 19:09:04 ---> 1162c1f7fd2a 19:09:04 Step 15/24 : WORKDIR / 19:09:04 ---> Running in c6d129bd6073 19:09:04 Removing intermediate container c6d129bd6073 19:09:04 ---> ab4f271c6079 19:09:04 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:09:06 ---> 31061e547ab7 19:09:06 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:09:07 ---> f133498ec8d0 19:09:07 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:09:08 ---> 5886c6d69de6 19:09:08 Step 19/24 : EXPOSE 59999 19:09:08 ---> Running in 7b17c81712cd 19:09:08 Removing intermediate container 7b17c81712cd 19:09:08 ---> 3fec69fab03f 19:09:08 Step 20/24 : ENTRYPOINT ["/device-simple"] 19:09:08 ---> Running in c310bf944ce6 19:09:09 Removing intermediate container c310bf944ce6 19:09:09 ---> 3ed072372f47 19:09:09 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:09:09 ---> Running in cc2a058f1824 19:09:10 Removing intermediate container cc2a058f1824 19:09:10 ---> 8d89ed9799ac 19:09:10 Step 22/24 : LABEL arch=arm64 19:09:10 ---> Running in 1a0d70c023da 19:09:10 Removing intermediate container 1a0d70c023da 19:09:10 ---> 009f01d6b084 19:09:10 Step 23/24 : LABEL git_sha=47a4e3d87308b5a077521486fb269148263217f7 19:09:11 ---> Running in 29cea33bba32 19:09:11 Removing intermediate container 29cea33bba32 19:09:11 ---> 3a01bc8f1567 19:09:11 Step 24/24 : LABEL version=0.0.0 19:09:11 ---> Running in 1cd9459d8842 19:09:12 Removing intermediate container 1cd9459d8842 19:09:12 ---> 628f84473518 19:09:12 [Warning] One or more build-args [ARCH] were not consumed 19:09:12 Successfully built 628f84473518 19:09:12 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 19:09:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:09:13 19:09:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:09:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:09:13 arm64: Pulling from edgex-lftools-log-publisher 19:09:13 448f6bf000e3: Pulling fs layer 19:09:13 f757da607395: Pulling fs layer 19:09:13 05883995daec: Pulling fs layer 19:09:13 8603b9c90790: Pulling fs layer 19:09:13 1560dd03e051: Pulling fs layer 19:09:13 27f5ce0e4adf: Pulling fs layer 19:09:13 c2d8d7efcc4b: Pulling fs layer 19:09:13 1560dd03e051: Waiting 19:09:13 27f5ce0e4adf: Waiting 19:09:13 c2d8d7efcc4b: Waiting 19:09:13 8603b9c90790: Waiting 19:09:14 f757da607395: Verifying Checksum 19:09:14 f757da607395: Download complete 19:09:14 8603b9c90790: Verifying Checksum 19:09:14 8603b9c90790: Download complete 19:09:14 1560dd03e051: Verifying Checksum 19:09:14 1560dd03e051: Download complete 19:09:14 05883995daec: Verifying Checksum 19:09:14 05883995daec: Download complete 19:09:14 27f5ce0e4adf: Verifying Checksum 19:09:14 448f6bf000e3: Download complete 19:09:17 c2d8d7efcc4b: Verifying Checksum 19:09:17 c2d8d7efcc4b: Download complete 19:09:18 448f6bf000e3: Pull complete 19:09:19 f757da607395: Pull complete 19:09:20 05883995daec: Pull complete 19:09:21 8603b9c90790: Pull complete 19:09:22 1560dd03e051: Pull complete 19:09:22 27f5ce0e4adf: Pull complete 19:09:37 c2d8d7efcc4b: Pull complete 19:09:37 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 19:09:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:09:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:09:37 prd-ubuntu18.04-docker-arm64-4c-16g-1467 does not seem to be running inside a container 19:09:37 $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:09:42 $ docker top c6a30ae631a121ec1d7443c97aa53956fc64dfb057515a1af1daa767d408e190 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:09:42 ---> job-cost.sh 19:09:42 lf-activate-venv: SKIPPING 19:09:42 INFO: No Stack... 19:09:43 INFO: Retrieving Pricing Info for: v3-standard-4 19:09:43 INFO: Archiving Costs [Pipeline] sh 19:09:44 + cat /w/workspace/device-sdk-go/6/archives/cost.csv 19:09:44 + cut -d, -f6 [Pipeline] lock 19:09:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] 19:09:44 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] did not exist. Created. 19:09:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:09:45 /w/workspace/device-sdk-go/6@tmp/durable-cad0b521/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-cad0b521/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 19:09:46 + echo total: 0.10999999940395355 [Pipeline] stash 19:09:46 Warning: overwriting stash ‘stack-cost’ 19:09:46 Stashed 1 file(s) [Pipeline] } 19:09:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1031-6-stack-cost] [Pipeline] // lock [Pipeline] } 19:09:46 $ docker stop --time=1 c6a30ae631a121ec1d7443c97aa53956fc64dfb057515a1af1daa767d408e190 19:09:47 $ docker rm -f c6a30ae631a121ec1d7443c97aa53956fc64dfb057515a1af1daa767d408e190 [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 19:09:48 provisioning config files... 19:09:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config4701572482478795813tmp [Pipeline] { [Pipeline] sh 19:09:48 + set +x 19:09:48 + curl -s https://codecov.io/bash 19:09:48 + bash -s -- 19:09:48 19:09:48 _____ _ 19:09:48 / ____| | | 19:09:48 | | ___ __| | ___ ___ _____ __ 19:09:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:09:48 | |___| (_) | (_| | __/ (_| (_) \ V / 19:09:48 \_____\___/ \__,_|\___|\___\___/ \_/ 19:09:48 Bash-1.0.6 19:09:48 19:09:48 19:09:48 ==> git version 2.24.4 found 19:09:48 ==> 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 19:09:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 19:09:48 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 19:09:49 ==> Jenkins CI detected. 19:09:49 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1031 19:09:49 project root: . 19:09:49 --> token set from env 19:09:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:09:49 ==> Running gcov in . (disable via -X gcov) 19:09:49 ==> Python coveragepy not found 19:09:49 ==> Searching for coverage reports in: 19:09:49 + . 19:09:49 -> Found 1 reports 19:09:49 ==> Detecting git/mercurial file structure 19:09:49 ==> Reading reports 19:09:49 + ./coverage.out bytes=126693 19:09:49 ==> Appending adjustments 19:09:49 https://docs.codecov.io/docs/fixing-reports 19:09:49 + Found adjustments 19:09:49 ==> Gzipping contents 19:09:49 16K /tmp/codecov.64NRs4.gz 19:09:49 ==> Uploading reports 19:09:49 url: https://codecov.io 19:09:49 query: branch=PR-1031&commit=47a4e3d87308b5a077521486fb269148263217f7&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= 19:09:49 -> Pinging Codecov 19:09:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1031&commit=47a4e3d87308b5a077521486fb269148263217f7&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1031%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1031&job=&cmd_args= 19:09:49 -> Uploading to 19:09:49 https://storage.googleapis.com/codecov/v4/raw/2021-10-14/7E55EF52A471D76F132DFD9A03CDDE97/47a4e3d87308b5a077521486fb269148263217f7/fd1ba9da-6fd8-4422-9076-c679b79f3a5a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T190949Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eabd8604f62d81f986ceca074aa318bec3656a38ad0dadaf5203bfc813d7ddd0 19:09:49 % Total % Received % Xferd Average Speed Time Time Time Current 19:09:49 Dload Upload Total Spent Left Speed 19:09:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16119 0 0 100 16119 0 57849 --:--:-- --:--:-- --:--:-- 57982 19:09:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/47a4e3d87308b5a077521486fb269148263217f7 [Pipeline] } 19:09:49 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 19:09:51 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives ']' [Pipeline] libraryResource [Pipeline] sh 19:09:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:09:52 ---> package-listing.sh 19:09:52 ++ facter osfamily 19:09:52 ++ tr '[:upper:]' '[:lower:]' 19:09:52 + OS_FAMILY=redhat 19:09:52 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1031 19:09:52 + START_PACKAGES=/tmp/packages_start.txt 19:09:52 + END_PACKAGES=/tmp/packages_end.txt 19:09:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:09:52 + PACKAGES=/tmp/packages_start.txt 19:09:52 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' 19:09:52 + PACKAGES=/tmp/packages_end.txt 19:09:52 + case "${OS_FAMILY}" in 19:09:52 + rpm -qa 19:09:52 + sort 19:09:53 + '[' -f /tmp/packages_start.txt ']' 19:09:53 + '[' -f /tmp/packages_end.txt ']' 19:09:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:09:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1031 ']' 19:09:53 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives/ 19:09:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1031/archives/ [Pipeline] echo 19:09:53 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-1031/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:09:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:09:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:53 19:09:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:09:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:54 latest: Pulling from edgex-lftools-log-publisher 19:09:54 b4d181a07f80: Pulling fs layer 19:09:54 a1111a8f2ec3: Pulling fs layer 19:09:54 ed53099fbce6: Pulling fs layer 19:09:54 dc539afda2c1: Pulling fs layer 19:09:54 77bc0d833cb6: Pulling fs layer 19:09:54 9065ff56babe: Pulling fs layer 19:09:54 d287ab97295c: Pulling fs layer 19:09:54 dc539afda2c1: Waiting 19:09:54 77bc0d833cb6: Waiting 19:09:54 9065ff56babe: Waiting 19:09:54 d287ab97295c: Waiting 19:09:54 a1111a8f2ec3: Verifying Checksum 19:09:54 a1111a8f2ec3: Download complete 19:09:54 dc539afda2c1: Verifying Checksum 19:09:54 dc539afda2c1: Download complete 19:09:54 ed53099fbce6: Verifying Checksum 19:09:54 ed53099fbce6: Download complete 19:09:54 9065ff56babe: Verifying Checksum 19:09:54 9065ff56babe: Download complete 19:09:54 77bc0d833cb6: Verifying Checksum 19:09:54 77bc0d833cb6: Download complete 19:09:54 b4d181a07f80: Verifying Checksum 19:09:54 b4d181a07f80: Download complete 19:09:55 d287ab97295c: Verifying Checksum 19:09:55 d287ab97295c: Download complete 19:09:56 b4d181a07f80: Pull complete 19:09:56 a1111a8f2ec3: Pull complete 19:09:56 ed53099fbce6: Pull complete 19:09:56 dc539afda2c1: Pull complete 19:09:57 77bc0d833cb6: Pull complete 19:09:57 9065ff56babe: Pull complete 19:10:02 d287ab97295c: Pull complete 19:10:02 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 19:10:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:10:02 prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container 19:10:02 $ 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-1031/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-1031 -v /w/workspace/gexfoundry_device-sdk-go_PR-1031:/w/workspace/gexfoundry_device-sdk-go_PR-1031:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:10:04 $ docker top dd215bb5206a88e73dff9a0b5e0b120aeb0bc4bcbba32f29ad41a6f2277fb2be -eo pid,comm [Pipeline] { [Pipeline] sh 19:10:05 + touch /tmp/pre-build-complete [Pipeline] sh 19:10:05 + mkdir -p /var/log/sysstat [Pipeline] sh 19:10:05 + ls /var/log/sa-host 19:10:05 + sadf -c /var/log/sa-host/sa14 19:10:05 file_magic: OK 19:10:05 HZ: Using current value: 100 19:10:05 file_header: OK 19:10:05 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 19:10:05 Statistics: 19:10:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:10:05 File successfully converted to sysstat format version 12.0.3 19:10:05 + sadf -c /var/log/sa-host/sa30 19:10:05 file_magic: OK 19:10:05 HZ: Using current value: 100 19:10:05 file_header: OK 19:10:05 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 19:10:05 Statistics: 19:10:05 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:10:05 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:10:05 provisioning config files... 19:10:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1031@tmp/config3510365267569137304tmp [Pipeline] { [Pipeline] echo 19:10:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:10:06 ---> create-netrc.sh [Pipeline] } 19:10:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:10:06 ---> python-tools-install.sh [Pipeline] echo 19:10:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:10:06 ---> sudo-logs.sh 19:10:06 Archiving 'sudo' log.. 19:10:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-1462.novalocal: Name or service not known 19:10:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-1462.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 19:10:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:10:07 ---> job-cost.sh 19:10:07 lf-activate-venv: SKIPPING 19:10:07 DEBUG: total: 0.10999999940395355 19:10:07 INFO: Retrieving Stack Cost... 19:10:08 INFO: Retrieving Pricing Info for: v3-standard-2 19:10:09 INFO: Archiving Costs [Pipeline] echo 19:10:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:10:09 ---> logs-deploy.sh 19:10:09 lf-activate-venv: SKIPPING 19:10:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1031/6 19:10:09 INFO: archiving workspace using pattern(s): 19:10:10 Archives upload complete. 19:10:10 INFO: archiving logs to Nexus 19:10:10 ---> uname -a: 19:10:10 Linux prd-centos7-docker-4c-2g-1462.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 19:10:10 19:10:10 19:10:10 ---> lscpu: 19:10:10 Architecture: x86_64 19:10:10 CPU op-mode(s): 32-bit, 64-bit 19:10:10 Byte Order: Little Endian 19:10:10 Address sizes: 40 bits physical, 48 bits virtual 19:10:10 CPU(s): 2 19:10:10 On-line CPU(s) list: 0,1 19:10:10 Thread(s) per core: 1 19:10:10 Core(s) per socket: 1 19:10:10 Socket(s): 2 19:10:10 NUMA node(s): 1 19:10:10 Vendor ID: AuthenticAMD 19:10:10 CPU family: 23 19:10:10 Model: 49 19:10:10 Model name: AMD EPYC-Rome Processor 19:10:10 Stepping: 0 19:10:10 CPU MHz: 2799.998 19:10:10 BogoMIPS: 5599.99 19:10:10 Virtualization: AMD-V 19:10:10 Hypervisor vendor: KVM 19:10:10 Virtualization type: full 19:10:10 L1d cache: 32K 19:10:10 L1i cache: 32K 19:10:10 L2 cache: 512K 19:10:10 L3 cache: 16384K 19:10:10 NUMA node0 CPU(s): 0,1 19:10:10 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 19:10:10 19:10:10 19:10:10 ---> nproc: 19:10:10 2 19:10:10 19:10:10 19:10:10 ---> df -h: 19:10:10 Filesystem Size Used Avail Use% Mounted on 19:10:10 overlay 40G 7.7G 33G 20% / 19:10:10 tmpfs 64M 0 64M 0% /dev 19:10:10 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 19:10:10 shm 64M 0 64M 0% /dev/shm 19:10:10 /dev/vda1 40G 7.7G 33G 20% /facter-os 19:10:10 19:10:10 19:10:10 ---> sar -b -r -n DEV: 19:10:10 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/14/21 _x86_64_ (2 CPU) 19:10:10 19:10:10 18:56:14 LINUX RESTART (2 CPU) 19:10:10 19:10:10 18:57:01 tps rtps wtps bread/s bwrtn/s 19:10:10 18:58:01 3.61 0.07 3.55 2.13 109.46 19:10:10 18:59:01 0.38 0.00 0.38 0.00 6.65 19:10:10 19:00:01 0.37 0.00 0.37 0.00 4.10 19:10:10 19:01:01 0.23 0.02 0.22 0.13 3.13 19:10:10 19:02:01 0.45 0.08 0.37 1.60 5.63 19:10:10 19:03:01 0.70 0.00 0.70 0.00 8.41 19:10:10 19:04:02 0.43 0.00 0.43 0.00 6.68 19:10:10 19:05:01 0.15 0.00 0.15 0.00 1.91 19:10:10 19:06:01 0.22 0.00 0.22 0.00 2.20 19:10:10 19:07:01 0.18 0.00 0.18 0.00 2.15 19:10:10 19:08:01 0.25 0.00 0.25 0.00 3.05 19:10:10 19:09:01 0.25 0.00 0.25 0.00 3.20 19:10:10 19:10:01 8.64 0.15 8.49 14.26 477.88 19:10:10 Average: 1.22 0.02 1.20 1.40 48.87 19:10:10 19:10:10 18:57:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:10:10 18:58:01 5692460 0 614544 7.67 2620 1699316 1418468 15.66 562448 1522416 20 19:10:10 18:59:01 5691496 0 615500 7.69 2620 1699324 1418468 15.66 562692 1523244 16 19:10:10 19:00:01 5693800 0 613196 7.66 2620 1699324 1418468 15.66 560064 1523244 8 19:10:10 19:01:01 5693228 0 613760 7.66 2620 1699332 1420808 15.69 559600 1524116 8 19:10:10 19:02:01 5692628 0 614228 7.67 2620 1699464 1419060 15.67 560672 1524184 8 19:10:10 19:03:01 5691356 0 615500 7.69 2620 1699464 1419264 15.67 561760 1524180 16 19:10:10 19:04:02 5691184 0 615668 7.69 2620 1699468 1419084 15.67 561868 1524180 20 19:10:10 19:05:01 5692204 0 614640 7.67 2620 1699476 1418976 15.67 561148 1524180 12 19:10:10 19:06:01 5691172 0 615672 7.69 2620 1699476 1419204 15.67 562392 1524180 8 19:10:10 19:07:01 5679180 0 627656 7.84 2620 1699484 1419156 15.67 573884 1524180 8 19:10:10 19:08:01 5679116 0 627720 7.84 2620 1699484 1419024 15.67 573692 1524180 12 19:10:10 19:09:01 5679672 0 627156 7.83 2620 1699492 1418976 15.67 575048 1522448 16 19:10:10 19:10:01 4945928 0 787108 9.83 2620 2273284 1783124 19.69 899008 1846408 572696 19:10:10 Average: 5631802 0 630950 7.88 2620 1743568 1447083 15.98 590329 1548549 44065 19:10:10 19:10:10 18:57:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:10:10 18:58:01 eth0 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 19:10:10 18:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 18:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 18:59:01 eth0 0.27 0.07 0.03 0.01 0.00 0.00 0.00 0.00 19:10:10 18:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 18:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:00:01 eth0 0.33 0.02 0.03 0.00 0.00 0.00 0.00 0.00 19:10:10 19:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:01:01 eth0 1.45 0.10 0.12 0.01 0.00 0.00 0.00 0.00 19:10:10 19:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:02:01 eth0 0.68 0.20 0.12 0.04 0.00 0.00 0.00 0.00 19:10:10 19:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:03:01 eth0 0.82 0.33 0.35 0.17 0.00 0.00 0.00 0.00 19:10:10 19:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:04:02 eth0 1.48 0.33 0.37 0.26 0.00 0.00 0.00 0.00 19:10:10 19:04:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:04:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:05:01 eth0 0.39 0.08 0.03 0.01 0.00 0.00 0.00 0.00 19:10:10 19:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:06:01 eth0 0.82 0.45 0.30 0.18 0.00 0.00 0.00 0.00 19:10:10 19:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:07:01 eth0 0.33 0.20 0.09 0.10 0.00 0.00 0.00 0.00 19:10:10 19:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:08:01 eth0 0.28 0.18 0.07 0.01 0.00 0.00 0.00 0.00 19:10:10 19:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:09:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 19:10:10 19:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:10:01 eth0 114.11 65.01 2597.75 10.62 0.00 0.00 0.00 0.00 19:10:10 19:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 Average: eth0 9.34 5.17 200.22 0.88 0.00 0.00 0.00 0.00 19:10:10 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:10:10 19:10:10 19:10:10 ---> sar -P ALL: 19:10:10 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/14/21 _x86_64_ (2 CPU) 19:10:10 19:10:10 18:56:14 LINUX RESTART (2 CPU) 19:10:10 19:10:10 18:57:01 CPU %user %nice %system %iowait %steal %idle 19:10:10 18:58:01 all 0.22 0.00 0.09 0.00 0.04 99.65 19:10:10 18:58:01 0 0.10 0.00 0.12 0.00 0.05 99.73 19:10:10 18:58:01 1 0.33 0.00 0.07 0.00 0.03 99.57 19:10:10 18:59:01 all 0.17 0.00 0.04 0.00 0.03 99.77 19:10:10 18:59:01 0 0.07 0.00 0.05 0.00 0.03 99.85 19:10:10 18:59:01 1 0.27 0.00 0.03 0.00 0.02 99.68 19:10:10 19:00:01 all 0.18 0.00 0.04 0.00 0.03 99.75 19:10:10 19:00:01 0 0.12 0.00 0.05 0.00 0.03 99.80 19:10:10 19:00:01 1 0.25 0.00 0.03 0.00 0.02 99.70 19:10:10 19:01:01 all 0.19 0.00 0.05 0.00 0.03 99.73 19:10:10 19:01:01 0 0.10 0.00 0.07 0.00 0.03 99.80 19:10:10 19:01:01 1 0.28 0.00 0.03 0.00 0.02 99.67 19:10:10 19:02:01 all 0.18 0.00 0.07 0.00 0.03 99.73 19:10:10 19:02:01 0 0.03 0.00 0.07 0.00 0.03 99.87 19:10:10 19:02:01 1 0.32 0.00 0.07 0.00 0.02 99.60 19:10:10 19:03:01 all 0.17 0.00 0.05 0.00 0.02 99.77 19:10:10 19:03:01 0 0.22 0.00 0.07 0.00 0.02 99.70 19:10:10 19:03:01 1 0.12 0.00 0.03 0.00 0.02 99.83 19:10:10 19:04:02 all 0.13 0.00 0.04 0.00 0.03 99.80 19:10:10 19:04:02 0 0.07 0.00 0.05 0.00 0.03 99.85 19:10:10 19:04:02 1 0.20 0.00 0.03 0.00 0.02 99.75 19:10:10 19:05:01 all 0.16 0.00 0.04 0.00 0.03 99.76 19:10:10 19:05:01 0 0.03 0.00 0.05 0.00 0.03 99.88 19:10:10 19:05:01 1 0.29 0.00 0.03 0.00 0.03 99.64 19:10:10 19:06:01 all 0.15 0.00 0.03 0.00 0.03 99.79 19:10:10 19:06:01 0 0.07 0.00 0.03 0.00 0.03 99.87 19:10:10 19:06:01 1 0.23 0.00 0.03 0.00 0.02 99.72 19:10:10 19:07:01 all 0.18 0.00 0.08 0.00 0.01 99.73 19:10:10 19:07:01 0 0.08 0.00 0.12 0.00 0.02 99.78 19:10:10 19:07:01 1 0.28 0.00 0.03 0.00 0.00 99.68 19:10:10 19:08:01 all 0.13 0.00 0.03 0.00 0.03 99.81 19:10:10 19:08:01 0 0.05 0.00 0.05 0.00 0.03 99.87 19:10:10 19:08:01 1 0.22 0.00 0.02 0.00 0.02 99.75 19:10:10 19:10:10 19:08:01 CPU %user %nice %system %iowait %steal %idle 19:10:10 19:09:01 all 0.23 0.00 0.04 0.00 0.02 99.72 19:10:10 19:09:01 0 0.05 0.00 0.05 0.00 0.03 99.87 19:10:10 19:09:01 1 0.40 0.00 0.03 0.00 0.00 99.57 19:10:10 19:10:01 all 8.16 0.00 2.63 0.03 0.03 89.16 19:10:10 19:10:01 0 8.24 0.00 2.95 0.02 0.03 88.76 19:10:10 19:10:01 1 8.08 0.00 2.31 0.03 0.02 89.56 19:10:10 Average: all 0.78 0.00 0.25 0.00 0.02 98.95 19:10:10 Average: 0 0.70 0.00 0.28 0.00 0.03 98.98 19:10:10 Average: 1 0.86 0.00 0.21 0.00 0.02 98.91 19:10:10 19:10:10 19:10:10