Pull request #1049 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 2fe0b8f4787d5616329c621c4cd44b038ac925e1+03dd633c157cc78c3153413baf97d57252ad0ef0 (d9fe39ef55ee2f879a330b6d97d72b346580ac76) 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-ssh4661777894327469027.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-ssh4357896467024903258.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-1049/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-1049/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5724918832888261898.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-ssh1626417382013515443.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-1049/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-1049/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2143525360905248225.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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13309 in /w/workspace/gexfoundry_device-sdk-go_PR-1049 [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-1049 # 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-1049@tmp/jenkins-gitclient-ssh2765765281415256260.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-1049@tmp/jenkins-gitclient-ssh4958928191032042146.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1049/head:refs/remotes/origin/PR-1049 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 03dd633c157cc78c3153413baf97d57252ad0ef0 into PR head commit 2fe0b8f4787d5616329c621c4cd44b038ac925e1 Merge succeeded, producing 2fe0b8f4787d5616329c621c4cd44b038ac925e1 Checking out Revision 2fe0b8f4787d5616329c621c4cd44b038ac925e1 (PR-1049) > git config core.sparsecheckout # timeout=10 > git checkout -f 2fe0b8f4787d5616329c621c4cd44b038ac925e1 # 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-1049@tmp/jenkins-gitclient-ssh6122072594075070649.key > git merge 03dd633c157cc78c3153413baf97d57252ad0ef0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2fe0b8f4787d5616329c621c4cd44b038ac925e1 # timeout=10 Commit message: "build: Update to latest go-mods, fix unit test" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:32:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:32:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:32:13 ========================================================= 22:32:13 EdgeX Global Pipelines Version Info 22:32:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6f11bc3e51b679fdcae76e7cc35bdad78ac3a983 # timeout=10 22:32:14 ------------------- 22:32:14 stable info: 22:32:14 ------------------- 22:32:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:32:14 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 22:32:14 Message: update stable to v1.0.210 22:32:14 ------------------- 22:32:14 experimental info: 22:32:14 ------------------- 22:32:14 Commited By: **** collab-it+edgex@linuxfoundation.org 22:32:14 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 22:32:14 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1049 [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1049 [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1049 [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2fe0b8f4787d5616329c621c4cd44b038ac925e1 [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2fe0b8f [Pipeline] echo 22:32:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:32:15 provisioning config files... 22:32:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/config6589606595586591831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:32:15 ---> docker-login.sh 22:32:15 nexus3.edgexfoundry.org:10001 22:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:15 Configure a credential helper to remove this warning. See 22:32:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:15 22:32:15 Login Succeeded 22:32:15 nexus3.edgexfoundry.org:10002 22:32:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:15 Configure a credential helper to remove this warning. See 22:32:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:15 22:32:15 Login Succeeded 22:32:15 nexus3.edgexfoundry.org:10003 22:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:16 Configure a credential helper to remove this warning. See 22:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:16 22:32:16 Login Succeeded 22:32:16 nexus3.edgexfoundry.org:10004 22:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:16 Configure a credential helper to remove this warning. See 22:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:16 22:32:16 Login Succeeded 22:32:16 docker.io 22:32:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:16 Configure a credential helper to remove this warning. See 22:32:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:16 22:32:16 Login Succeeded 22:32:16 ---> docker-login.sh ends [Pipeline] } 22:32:16 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 22:32:17 + git log --format=format:%s -1 2fe0b8f4787d5616329c621c4cd44b038ac925e1 [Pipeline] echo 22:32:17 GIT_COMMIT: 2fe0b8f4787d5616329c621c4cd44b038ac925e1, Commit Message: build: Update to latest go-mods, fix unit test [Pipeline] echo 22:32:17 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:32:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:32:17 22:32:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:32:17 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:32:17 latest: Pulling from edgex-devops/git-semver 22:32:17 a0d0a0d46f8b: Pulling fs layer 22:32:17 3e5f54012d9b: Pulling fs layer 22:32:17 4c7163046ea9: Pulling fs layer 22:32:17 0c2d73faf560: Pulling fs layer 22:32:17 0c2d73faf560: Waiting 22:32:17 3e5f54012d9b: Verifying Checksum 22:32:17 3e5f54012d9b: Download complete 22:32:18 a0d0a0d46f8b: Verifying Checksum 22:32:18 a0d0a0d46f8b: Download complete 22:32:18 0c2d73faf560: Verifying Checksum 22:32:18 0c2d73faf560: Download complete 22:32:18 4c7163046ea9: Verifying Checksum 22:32:18 4c7163046ea9: Download complete 22:32:18 a0d0a0d46f8b: Pull complete 22:32:18 3e5f54012d9b: Pull complete 22:32:18 4c7163046ea9: Pull complete 22:32:18 0c2d73faf560: Pull complete 22:32:18 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:32:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:32:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:32:19 prd-centos7-docker-4c-2g-13309 does not seem to be running inside a container 22:32:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1049 -v /w/workspace/gexfoundry_device-sdk-go_PR-1049:/w/workspace/gexfoundry_device-sdk-go_PR-1049:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:32:19 $ docker top d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:32:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:32:19 [ssh-agent] Looking for ssh-agent implementation... 22:32:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:32:20 $ docker exec d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 ssh-agent 22:32:20 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBBfPME/agent.15 22:32:20 SSH_AGENT_PID=22 22:32:20 Running ssh-add (command line suppressed) 22:32:20 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/private_key_7138373418017768051.key (/w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/private_key_7138373418017768051.key) 22:32:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:32:20 + git tag --points-at HEAD [Pipeline] } 22:32:20 $ docker exec --env ******** --env ******** d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 ssh-agent -k 22:32:20 unset SSH_AUTH_SOCK; 22:32:20 unset SSH_AGENT_PID; 22:32:20 echo Agent pid 22 killed; 22:32:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:32:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:32:20 [ssh-agent] Looking for ssh-agent implementation... 22:32:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:32:20 $ docker exec d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 ssh-agent 22:32:20 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhAfEal/agent.56 22:32:20 SSH_AGENT_PID=63 22:32:20 Running ssh-add (command line suppressed) 22:32:21 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/private_key_8482023284121821723.key (/w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/private_key_8482023284121821723.key) 22:32:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:32:21 + git semver init 22:32:21 # -> Open(): unable to determine branch for HEAD 22:32:21 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1049/.git 22:32:21 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1049 22:32:21 # $SEMVER_REMOTE_NAME = origin 22:32:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:32:21 # $SEMVER_USER_NAME = edgex-jenkins 22:32:21 # $SEMVER_BRANCH = PR-1049 22:32:21 # $SEMVER_TEMP = /tmp/semver-354400533 22:32:21 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:32:22 # '/tmp/semver-354400533' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1049/.semver' 22:32:22 # -> Force: false 22:32:22 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1049/.semver [Pipeline] } 22:32:22 $ docker exec --env ******** --env ******** d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 ssh-agent -k 22:32:22 unset SSH_AUTH_SOCK; 22:32:22 unset SSH_AGENT_PID; 22:32:22 echo Agent pid 63 killed; 22:32:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:32:22 + git semver [Pipeline] } 22:32:22 $ docker stop --time=1 d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 22:32:24 $ docker rm -f d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 [Pipeline] // withDockerContainer [Pipeline] sh 22:32:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:32:24 Stashed 1 file(s) [Pipeline] echo 22:32:24 [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 22:32:39 Still waiting to schedule task 22:32:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:32:39 Still waiting to schedule task 22:32:39 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 22:34:16 Running on prd-centos7-docker-4c-2g-13312 in /w/workspace/gexfoundry_device-sdk-go_PR-1049 [Pipeline] { [Pipeline] ws 22:34:16 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 22:34:16 Selected Git installation does not exist. Using Default 22:34:16 The recommended git tool is: NONE 22:34:18 using credential edgex-jenkins-ssh 22:34:18 Cloning the remote Git repository 22:34:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:34:18 > git init /w/workspace/device-sdk-go/2 # timeout=10 22:34:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:34:18 > git --version # timeout=10 22:34:18 > git --version # 'git version 2.24.4' 22:34:18 using GIT_SSH to set credentials SSH Credentials for GitHub 22:34:18 [INFO] Currently running in a labeled security context 22:34:18 [INFO] Currently SELinux is 'enforcing' on the host 22:34:18 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1307157993611098434.key 22:34:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:34:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:34:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:34:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:34:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:34:19 using GIT_SSH to set credentials SSH Credentials for GitHub 22:34:19 [INFO] Currently running in a labeled security context 22:34:19 [INFO] Currently SELinux is 'enforcing' on the host 22:34:19 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3734432081253200480.key 22:34:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1049/head:refs/remotes/origin/PR-1049 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:34:19 Merging remotes/origin/main commit 03dd633c157cc78c3153413baf97d57252ad0ef0 into PR head commit 2fe0b8f4787d5616329c621c4cd44b038ac925e1 22:34:20 Merge succeeded, producing 2fe0b8f4787d5616329c621c4cd44b038ac925e1 22:34:20 Checking out Revision 2fe0b8f4787d5616329c621c4cd44b038ac925e1 (PR-1049) 22:34:20 > git config core.sparsecheckout # timeout=10 22:34:20 > git checkout -f 2fe0b8f4787d5616329c621c4cd44b038ac925e1 # timeout=10 22:34:20 > git remote # timeout=10 22:34:20 > git config --get remote.origin.url # timeout=10 22:34:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:34:20 [INFO] Currently running in a labeled security context 22:34:20 [INFO] Currently SELinux is 'enforcing' on the host 22:34:20 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3417473879566644372.key 22:34:20 > git merge 03dd633c157cc78c3153413baf97d57252ad0ef0 # timeout=10 22:34:20 > git rev-parse HEAD^{commit} # timeout=10 22:34:20 > git config core.sparsecheckout # timeout=10 22:34:20 > git checkout -f 2fe0b8f4787d5616329c621c4cd44b038ac925e1 # timeout=10 22:34:23 Commit message: "build: Update to latest go-mods, fix unit test" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:34:24 provisioning config files... 22:34:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7458985585186684508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:34:24 ---> docker-login.sh 22:34:24 nexus3.edgexfoundry.org:10001 22:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:24 Configure a credential helper to remove this warning. See 22:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:24 22:34:24 Login Succeeded 22:34:24 nexus3.edgexfoundry.org:10002 22:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:24 Configure a credential helper to remove this warning. See 22:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:24 22:34:24 Login Succeeded 22:34:24 nexus3.edgexfoundry.org:10003 22:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:24 Configure a credential helper to remove this warning. See 22:34:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:24 22:34:24 Login Succeeded 22:34:24 nexus3.edgexfoundry.org:10004 22:34:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:25 Configure a credential helper to remove this warning. See 22:34:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:25 22:34:25 Login Succeeded 22:34:25 docker.io 22:34:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:25 Configure a credential helper to remove this warning. See 22:34:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:25 22:34:25 Login Succeeded 22:34:25 ---> docker-login.sh ends [Pipeline] } 22:34:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:34:25 ========================================================= 22:34:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:34:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:34:25 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 22:34:25 Sending build context to Docker daemon 2.763MB 22:34:25 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 22:34:25 Step 2/10 : FROM ${BASE} AS builder 22:34:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:34:25 a0d0a0d46f8b: Pulling fs layer 22:34:25 31adcdaf11c8: Pulling fs layer 22:34:25 b8b176561691: Pulling fs layer 22:34:25 4527c011a84f: Pulling fs layer 22:34:25 5d74067f8e1e: Pulling fs layer 22:34:25 e0aca202a116: Pulling fs layer 22:34:25 3a43be97a3b4: Pulling fs layer 22:34:25 34cad66bf833: Pulling fs layer 22:34:25 b4e3c513aaa6: Pulling fs layer 22:34:25 4527c011a84f: Waiting 22:34:25 5d74067f8e1e: Waiting 22:34:25 e0aca202a116: Waiting 22:34:25 3a43be97a3b4: Waiting 22:34:25 34cad66bf833: Waiting 22:34:25 b4e3c513aaa6: Waiting 22:34:25 b8b176561691: Verifying Checksum 22:34:25 b8b176561691: Download complete 22:34:25 31adcdaf11c8: Verifying Checksum 22:34:25 31adcdaf11c8: Download complete 22:34:25 5d74067f8e1e: Verifying Checksum 22:34:25 5d74067f8e1e: Download complete 22:34:25 e0aca202a116: Verifying Checksum 22:34:25 e0aca202a116: Download complete 22:34:25 3a43be97a3b4: Verifying Checksum 22:34:25 3a43be97a3b4: Download complete 22:34:25 a0d0a0d46f8b: Verifying Checksum 22:34:25 a0d0a0d46f8b: Download complete 22:34:26 34cad66bf833: Verifying Checksum 22:34:26 34cad66bf833: Download complete 22:34:26 a0d0a0d46f8b: Pull complete 22:34:26 4527c011a84f: Verifying Checksum 22:34:26 4527c011a84f: Download complete 22:34:26 b4e3c513aaa6: Verifying Checksum 22:34:26 b4e3c513aaa6: Download complete 22:34:26 31adcdaf11c8: Pull complete 22:34:26 b8b176561691: Pull complete 22:34:30 4527c011a84f: Pull complete 22:34:30 5d74067f8e1e: Pull complete 22:34:30 e0aca202a116: Pull complete 22:34:30 3a43be97a3b4: Pull complete 22:34:30 34cad66bf833: Pull complete 22:34:33 b4e3c513aaa6: Pull complete 22:34:33 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 22:34:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:34:33 ---> 9f6097aaca64 22:34:33 Step 3/10 : ARG MAKE=make build 22:34:34 ---> Running in 109335754a92 22:34:34 Removing intermediate container 109335754a92 22:34:34 ---> 51ec2530e3e5 22:34:34 Step 4/10 : WORKDIR /device-sdk-go 22:34:34 ---> Running in 5ee405f3d016 22:34:35 Removing intermediate container 5ee405f3d016 22:34:35 ---> e41ab45f6ba8 22:34:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:34:35 ---> Running in bfe0ac74ea1e 22:34:35 Removing intermediate container bfe0ac74ea1e 22:34:35 ---> 33a2a7f8d085 22:34:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:34:35 ---> Running in d98cf4113c21 22:34:35 Removing intermediate container d98cf4113c21 22:34:35 ---> 169a4ff5fa14 22:34:35 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:34:35 ---> Running in 64bbdbf762d2 22:34:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:34:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:34:37 OK: 220 MiB in 52 packages 22:34:37 Removing intermediate container 64bbdbf762d2 22:34:37 ---> 4c4e0269c7c4 22:34:37 Step 8/10 : COPY . . 22:34:37 ---> 2a6b3889dc4b 22:34:37 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:34:37 ---> Running in f9636b1a738e 22:35:09 Removing intermediate container f9636b1a738e 22:35:09 ---> 672b3da84494 22:35:09 Step 10/10 : RUN ${MAKE} 22:35:09 ---> Running in 8e7f1d467e1b 22:35:09 noop 22:35:09 Removing intermediate container 8e7f1d467e1b 22:35:09 ---> f024e0012f87 22:35:09 Successfully built f024e0012f87 22:35:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:35:09 + docker inspect -f . ci-base-image-x86_64 22:35:09 . [Pipeline] withDockerContainer 22:35:09 prd-centos7-docker-4c-2g-13312 does not seem to be running inside a container 22:35:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:35:10 $ docker top 69e0646022d6afe3d09d19ae36bcfe606292293511cb57414fa09f1d2536289f -eo pid,comm [Pipeline] { [Pipeline] sh 22:35:10 + go version 22:35:10 go version go1.16.8 linux/amd64 [Pipeline] } 22:35:10 $ docker stop --time=1 69e0646022d6afe3d09d19ae36bcfe606292293511cb57414fa09f1d2536289f 22:35:11 $ docker rm -f 69e0646022d6afe3d09d19ae36bcfe606292293511cb57414fa09f1d2536289f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:35:12 + docker inspect -f . ci-base-image-x86_64 22:35:12 . [Pipeline] withDockerContainer 22:35:12 prd-centos7-docker-4c-2g-13312 does not seem to be running inside a container 22:35:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:35:12 $ docker top 49618544c3c9dba887b084b94f6c6e0f97216ff3c489002dd2a41aecb05d94f7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:35:13 + make test 22:35:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:35:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13311 in /w/workspace/gexfoundry_device-sdk-go_PR-1049 [Pipeline] { [Pipeline] ws 22:35:18 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 22:35:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:35:18 Selected Git installation does not exist. Using Default 22:35:18 The recommended git tool is: NONE 22:35:23 using credential edgex-jenkins-ssh 22:35:23 Cloning the remote Git repository 22:35:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:35:24 > git init /w/workspace/device-sdk-go/2 # timeout=10 22:35:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:35:24 > git --version # timeout=10 22:35:24 > git --version # 'git version 2.17.1' 22:35:24 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:35:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:35:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:35:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:35:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:35:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1049/head:refs/remotes/origin/PR-1049 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:35:26 Merging remotes/origin/main commit 03dd633c157cc78c3153413baf97d57252ad0ef0 into PR head commit 2fe0b8f4787d5616329c621c4cd44b038ac925e1 22:35:26 Merge succeeded, producing 2fe0b8f4787d5616329c621c4cd44b038ac925e1 22:35:26 Checking out Revision 2fe0b8f4787d5616329c621c4cd44b038ac925e1 (PR-1049) 22:35:26 > git config core.sparsecheckout # timeout=10 22:35:26 > git checkout -f 2fe0b8f4787d5616329c621c4cd44b038ac925e1 # timeout=10 22:35:26 > git remote # timeout=10 22:35:26 > git config --get remote.origin.url # timeout=10 22:35:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:26 > git merge 03dd633c157cc78c3153413baf97d57252ad0ef0 # timeout=10 22:35:26 > git rev-parse HEAD^{commit} # timeout=10 22:35:26 > git config core.sparsecheckout # timeout=10 22:35:26 > git checkout -f 2fe0b8f4787d5616329c621c4cd44b038ac925e1 # timeout=10 22:35:30 Commit message: "build: Update to latest go-mods, fix unit test" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:35:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:35:31 % Total % Received % Xferd Average Speed Time Time Time Current 22:35:31 Dload Upload Total Spent Left Speed 22:35:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 78304 0 --:--:-- --:--:-- --:--:-- 78304 [Pipeline] sh 22:35:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:35:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:35:32 + sudo tee /etc/docker/daemon.new 22:35:32 { 22:35:32 "registry-mirrors": [ 22:35:32 "https://nexus3.edgexfoundry.org:10001" 22:35:32 ], 22:35:32 "bip": "10.250.0.254/24", 22:35:32 "hosts": [ 22:35:32 "tcp://0.0.0.0:5555", 22:35:32 "unix:///var/run/docker.sock" 22:35:32 ], 22:35:32 "mtu": 1458, 22:35:32 "selinux-enabled": true, 22:35:32 "seccomp-profile": "/etc/docker/seccomp.json" 22:35:32 } [Pipeline] sh 22:35:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:35:33 + sudo service docker restart 22:35:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:35:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:35:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:35:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 23.8% of statements 22:35:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:35:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 28.1% of statements 22:35:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements 22:35:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.044s coverage: 9.0% of statements 22:35:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:35:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:35:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:35:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 28.7% of statements 22:35:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:35:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.049s coverage: 83.3% of statements 22:35:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:35:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:35:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 57.8% of statements 22:35:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.798s coverage: 88.8% of statements 22:35:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:35:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 4.9% of statements 22:35:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:35:46 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:35:51 provisioning config files... 22:35:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config859239162536171627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:35:51 ---> docker-login.sh 22:35:51 nexus3.edgexfoundry.org:10001 22:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:53 Configure a credential helper to remove this warning. See 22:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:53 22:35:53 Login Succeeded 22:35:53 nexus3.edgexfoundry.org:10002 22:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:53 Configure a credential helper to remove this warning. See 22:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:53 22:35:53 Login Succeeded 22:35:53 nexus3.edgexfoundry.org:10003 22:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:54 Configure a credential helper to remove this warning. See 22:35:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:54 22:35:54 Login Succeeded 22:35:54 nexus3.edgexfoundry.org:10004 22:35:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:54 Configure a credential helper to remove this warning. See 22:35:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:54 22:35:54 Login Succeeded 22:35:54 docker.io 22:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:55 Configure a credential helper to remove this warning. See 22:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:55 22:35:55 Login Succeeded 22:35:55 ---> docker-login.sh ends [Pipeline] } 22:35:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:35:56 ========================================================= 22:35:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:35:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:35:56 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 22:35:57 Sending build context to Docker daemon 2.771MB 22:35:57 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 22:35:57 Step 2/10 : FROM ${BASE} AS builder 22:35:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:35:57 552d1f2373af: Pulling fs layer 22:35:57 ea3f2d53f512: Pulling fs layer 22:35:57 9e70ebbbe112: Pulling fs layer 22:35:57 7a9cfe048b4a: Pulling fs layer 22:35:57 72dc09318566: Pulling fs layer 22:35:57 f4f7b4309257: Pulling fs layer 22:35:57 0ac9a79272e3: Pulling fs layer 22:35:57 b78e95d17946: Pulling fs layer 22:35:57 f4f7b4309257: Waiting 22:35:57 0ac9a79272e3: Waiting 22:35:57 b78e95d17946: Waiting 22:35:57 7a9cfe048b4a: Waiting 22:35:57 72dc09318566: Waiting 22:35:57 9e70ebbbe112: Verifying Checksum 22:35:57 9e70ebbbe112: Download complete 22:35:57 ea3f2d53f512: Download complete 22:35:57 72dc09318566: Verifying Checksum 22:35:57 72dc09318566: Download complete 22:35:57 f4f7b4309257: Verifying Checksum 22:35:57 f4f7b4309257: Download complete 22:35:57 552d1f2373af: Download complete 22:35:57 0ac9a79272e3: Verifying Checksum 22:35:57 0ac9a79272e3: Download complete 22:35:58 552d1f2373af: Pull complete 22:35:58 ea3f2d53f512: Pull complete 22:35:59 9e70ebbbe112: Pull complete 22:35:59 b78e95d17946: Verifying Checksum 22:35:59 b78e95d17946: Download complete 22:35:59 7a9cfe048b4a: Verifying Checksum 22:35:59 7a9cfe048b4a: Download complete 22:36:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:36:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:36:04 ./bin/test-attribution-txt.sh [Pipeline] } 22:36:05 $ docker stop --time=1 49618544c3c9dba887b084b94f6c6e0f97216ff3c489002dd2a41aecb05d94f7 22:36:06 $ docker rm -f 49618544c3c9dba887b084b94f6c6e0f97216ff3c489002dd2a41aecb05d94f7 [Pipeline] // withDockerContainer [Pipeline] sh 22:36:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:36:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:36:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:36:08 + ls -al . 22:36:08 total 264 22:36:08 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 28 22:36 . 22:36:08 drwxrwxr-x. 4 jenkins jenkins 28 Oct 28 22:34 .. 22:36:08 drwxrwxr-x. 2 jenkins jenkins 37 Oct 28 22:34 bin 22:36:08 -rw-rw-r--. 1 jenkins jenkins 24816 Oct 28 22:34 CHANGELOG.md 22:36:08 -rw-r--r--. 1 jenkins jenkins 126785 Oct 28 22:35 coverage.out 22:36:08 -rw-rw-r--. 1 jenkins jenkins 140 Oct 28 22:34 .dockerignore 22:36:08 drwxrwxr-x. 5 jenkins jenkins 62 Oct 28 22:34 example 22:36:08 drwxrwxr-x. 8 jenkins jenkins 179 Oct 28 22:34 .git 22:36:08 drwxrwxr-x. 3 jenkins jenkins 125 Oct 28 22:34 .github 22:36:08 -rw-rw-r--. 1 jenkins jenkins 131 Oct 28 22:34 .gitignore 22:36:08 -rw-rw-r--. 1 jenkins jenkins 602 Oct 28 22:34 go.mod 22:36:08 -rw-rw-r--. 1 jenkins jenkins 50012 Oct 28 22:34 go.sum 22:36:08 -rw-rw-r--. 1 jenkins jenkins 677 Oct 28 22:34 GOVERNANCE.md 22:36:08 drwxrwxr-x. 15 jenkins jenkins 224 Oct 28 22:34 internal 22:36:08 -rw-rw-r--. 1 jenkins jenkins 880 Oct 28 22:34 Jenkinsfile 22:36:08 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 28 22:34 LICENSE 22:36:08 -rw-rw-r--. 1 jenkins jenkins 1120 Oct 28 22:34 Makefile 22:36:08 drwxrwxr-x. 3 jenkins jenkins 16 Oct 28 22:34 openapi 22:36:08 -rw-rw-r--. 1 jenkins jenkins 619 Oct 28 22:34 OWNERS.md 22:36:08 drwxrwxr-x. 5 jenkins jenkins 50 Oct 28 22:34 pkg 22:36:08 -rw-rw-r--. 1 jenkins jenkins 4877 Oct 28 22:34 README.md 22:36:08 drwxrwxr-x. 4 jenkins jenkins 54 Oct 28 22:34 snap 22:36:08 -rw-rw-r--. 1 jenkins jenkins 5 Oct 28 22:32 VERSION 22:36:08 -rw-rw-r--. 1 jenkins jenkins 222 Oct 28 22:34 version.go [Pipeline] isUnix [Pipeline] sh 22:36:09 + 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=2fe0b8f4787d5616329c621c4cd44b038ac925e1 --label arch=amd64 --label version=0.0.0 . 22:36:09 Sending build context to Docker daemon 2.891MB 22:36:09 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 22:36:09 Step 2/24 : FROM ${BASE} AS builder 22:36:09 ---> f024e0012f87 22:36:09 Step 3/24 : ARG MAKE=make build 22:36:09 ---> Running in e0831182db5c 22:36:09 Removing intermediate container e0831182db5c 22:36:09 ---> 3c94996528b2 22:36:09 Step 4/24 : WORKDIR /device-sdk-go 22:36:09 ---> Running in bdf7a44bdfa2 22:36:09 Removing intermediate container bdf7a44bdfa2 22:36:09 ---> 063f65b87704 22:36:09 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:36:09 ---> Running in 1c9341cfce8f 22:36:09 Removing intermediate container 1c9341cfce8f 22:36:09 ---> d9ebbe800489 22:36:09 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:36:09 ---> Running in 23986d3b285b 22:36:10 7a9cfe048b4a: Pull complete 22:36:10 Removing intermediate container 23986d3b285b 22:36:10 ---> f6204f907265 22:36:10 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:36:10 ---> Running in d26fc95107f8 22:36:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:36:10 72dc09318566: Pull complete 22:36:10 f4f7b4309257: Pull complete 22:36:10 0ac9a79272e3: Pull complete 22:36:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:36:11 OK: 220 MiB in 52 packages 22:36:11 Removing intermediate container d26fc95107f8 22:36:11 ---> 8dbcec597f2e 22:36:11 Step 8/24 : COPY . . 22:36:12 ---> 46f8f467deb0 22:36:12 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:36:12 ---> Running in ec171cf0dea2 22:36:12 Removing intermediate container ec171cf0dea2 22:36:12 ---> 884ab78d2bd6 22:36:12 Step 10/24 : RUN ${MAKE} 22:36:12 ---> Running in ca5134b95e6b 22:36:12 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 22:36:17 b78e95d17946: Pull complete 22:36:17 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 22:36:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:36:17 ---> 8b459fc5aaf0 22:36:17 Step 3/10 : ARG MAKE=make build 22:36:19 ---> Running in 1c9b68f3006c 22:36:19 Removing intermediate container 1c9b68f3006c 22:36:19 ---> 3e6e27e7bc39 22:36:19 Step 4/10 : WORKDIR /device-sdk-go 22:36:19 ---> Running in 7c81429c6731 22:36:20 Removing intermediate container 7c81429c6731 22:36:20 ---> 9b0b481fdd4f 22:36:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:36:20 ---> Running in 8309c088259f 22:36:20 Removing intermediate container 8309c088259f 22:36:20 ---> 9658c328f66b 22:36:20 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:36:20 ---> Running in 2e33798c3c8b 22:36:22 Removing intermediate container 2e33798c3c8b 22:36:22 ---> b0576f0a9eb5 22:36:22 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:36:23 ---> Running in 6c6628048d7a 22:36:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:36:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:36:25 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:36:25 Removing intermediate container ca5134b95e6b 22:36:25 ---> 1e0518a144fe 22:36:25 Step 11/24 : FROM alpine:3.14 22:36:25 3.14: Pulling from library/alpine 22:36:25 a0d0a0d46f8b: Already exists 22:36:25 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 22:36:25 Status: Downloaded newer image for alpine:3.14 22:36:25 ---> 14119a10abf4 22:36:25 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:36:25 ---> Running in bcb4996163af 22:36:25 Removing intermediate container bcb4996163af 22:36:25 ---> f606a0362783 22:36:25 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:36:25 ---> Running in e68e138142b1 22:36:26 OK: 219 MiB in 52 packages 22:36:26 Removing intermediate container e68e138142b1 22:36:26 ---> 746b557c2438 22:36:26 Step 14/24 : RUN apk add --update --no-cache zeromq 22:36:26 ---> Running in 9c382ad45d4a 22:36:26 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:36:27 Removing intermediate container 6c6628048d7a 22:36:27 ---> 9c6e8cbaa4b6 22:36:27 Step 8/10 : COPY . . 22:36:27 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:36:27 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:36:27 (2/5) Installing libsodium (1.0.18-r0) 22:36:27 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:36:27 (4/5) Installing libzmq (4.3.4-r0) 22:36:27 (5/5) Installing zeromq (4.3.4-r0) 22:36:28 Executing busybox-1.33.1-r3.trigger 22:36:28 OK: 8 MiB in 19 packages 22:36:28 Removing intermediate container 9c382ad45d4a 22:36:28 ---> 9cf6ae062748 22:36:28 Step 15/24 : WORKDIR / 22:36:28 ---> Running in b4670c3b59df 22:36:28 Removing intermediate container b4670c3b59df 22:36:28 ---> 17cd67a8c61d 22:36:28 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:36:28 ---> 57dc0b15c3e5 22:36:28 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:36:28 ---> Running in 2024dc846873 22:36:28 ---> 0e47e2ed46e2 22:36:28 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:36:28 ---> 36e11ce69870 22:36:28 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:36:28 ---> b491767695c8 22:36:28 Step 19/24 : EXPOSE 59999 22:36:29 ---> Running in 2ec1b890c2a5 22:36:29 Removing intermediate container 2ec1b890c2a5 22:36:29 ---> ad92a44531ef 22:36:29 Step 20/24 : ENTRYPOINT ["/device-simple"] 22:36:29 ---> Running in fbe98f3d40a6 22:36:29 Removing intermediate container fbe98f3d40a6 22:36:29 ---> c4826a0ef510 22:36:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:36:29 ---> Running in 0eb6e7503db4 22:36:29 Removing intermediate container 0eb6e7503db4 22:36:29 ---> f4b44e01bf10 22:36:29 Step 22/24 : LABEL arch=amd64 22:36:29 ---> Running in 3a3852a5c503 22:36:29 Removing intermediate container 3a3852a5c503 22:36:29 ---> a624970df6fd 22:36:29 Step 23/24 : LABEL git_sha=2fe0b8f4787d5616329c621c4cd44b038ac925e1 22:36:29 ---> Running in 87ca84347241 22:36:29 Removing intermediate container 87ca84347241 22:36:29 ---> b0b272d1048d 22:36:29 Step 24/24 : LABEL version=0.0.0 22:36:29 ---> Running in 0cefb1fffb79 22:36:29 Removing intermediate container 0cefb1fffb79 22:36:29 ---> e2a1825f00b5 22:36:29 [Warning] One or more build-args [ARCH] were not consumed 22:36:29 Successfully built e2a1825f00b5 22:36:29 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 22:36:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:36:30 22:36:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:36:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:36:30 latest: Pulling from edgex-lftools-log-publisher 22:36:30 b4d181a07f80: Pulling fs layer 22:36:30 a1111a8f2ec3: Pulling fs layer 22:36:30 ed53099fbce6: Pulling fs layer 22:36:30 dc539afda2c1: Pulling fs layer 22:36:30 77bc0d833cb6: Pulling fs layer 22:36:30 9065ff56babe: Pulling fs layer 22:36:30 d287ab97295c: Pulling fs layer 22:36:30 77bc0d833cb6: Waiting 22:36:30 9065ff56babe: Waiting 22:36:30 d287ab97295c: Waiting 22:36:30 dc539afda2c1: Waiting 22:36:30 a1111a8f2ec3: Verifying Checksum 22:36:30 a1111a8f2ec3: Download complete 22:36:30 dc539afda2c1: Verifying Checksum 22:36:30 dc539afda2c1: Download complete 22:36:30 ed53099fbce6: Verifying Checksum 22:36:30 ed53099fbce6: Download complete 22:36:30 77bc0d833cb6: Verifying Checksum 22:36:30 77bc0d833cb6: Download complete 22:36:30 9065ff56babe: Verifying Checksum 22:36:30 9065ff56babe: Download complete 22:36:30 b4d181a07f80: Verifying Checksum 22:36:30 b4d181a07f80: Download complete 22:36:31 d287ab97295c: Verifying Checksum 22:36:31 d287ab97295c: Download complete 22:36:32 b4d181a07f80: Pull complete 22:36:32 a1111a8f2ec3: Pull complete 22:36:32 ed53099fbce6: Pull complete 22:36:32 dc539afda2c1: Pull complete 22:36:33 77bc0d833cb6: Pull complete 22:36:33 9065ff56babe: Pull complete 22:36:38 d287ab97295c: Pull complete 22:36:38 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:36:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:36:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:36:38 prd-centos7-docker-4c-2g-13312 does not seem to be running inside a container 22:36:38 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:36:41 $ docker top a4b60a6cb1c9f5c856f8ea45fad8b3eab9db65b53b6edba0f3cc2bc7a31c9a67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:36:41 ---> job-cost.sh 22:36:41 lf-activate-venv: SKIPPING 22:36:41 INFO: No Stack... 22:36:42 INFO: Retrieving Pricing Info for: v3-standard-2 22:36:42 INFO: Archiving Costs [Pipeline] sh 22:36:42 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 22:36:42 + cut -d, -f6 [Pipeline] lock 22:36:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] 22:36:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] did not exist. Created. 22:36:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:36:42 + echo total: 0.05999999865889549 [Pipeline] stash 22:36:42 Stashed 1 file(s) [Pipeline] } 22:36:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:36:42 $ docker stop --time=1 a4b60a6cb1c9f5c856f8ea45fad8b3eab9db65b53b6edba0f3cc2bc7a31c9a67 22:36:44 $ docker rm -f a4b60a6cb1c9f5c856f8ea45fad8b3eab9db65b53b6edba0f3cc2bc7a31c9a67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:37:50 Removing intermediate container 2024dc846873 22:37:50 ---> 1cd3ad8636e2 22:37:50 Step 10/10 : RUN ${MAKE} 22:37:50 ---> Running in b93907519cff 22:37:50 noop 22:37:50 Removing intermediate container b93907519cff 22:37:50 ---> 601d46b28f6e 22:37:50 Successfully built 601d46b28f6e 22:37:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:37:50 + docker inspect -f . ci-base-image-arm64 22:37:50 . [Pipeline] withDockerContainer 22:37:50 prd-ubuntu18.04-docker-arm64-4c-16g-13311 does not seem to be running inside a container 22:37:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:37:52 $ docker top 7a71b3b63145b95c11b0821f2a087c9f97ff50dba6e5574d73bd4c28385da3b4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:37:53 + go version 22:37:53 go version go1.16.8 linux/arm64 [Pipeline] } 22:37:53 $ docker stop --time=1 7a71b3b63145b95c11b0821f2a087c9f97ff50dba6e5574d73bd4c28385da3b4 22:37:55 $ docker rm -f 7a71b3b63145b95c11b0821f2a087c9f97ff50dba6e5574d73bd4c28385da3b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:37:55 + docker inspect -f . ci-base-image-arm64 22:37:55 . [Pipeline] withDockerContainer 22:37:56 prd-ubuntu18.04-docker-arm64-4c-16g-13311 does not seem to be running inside a container 22:37:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:37:57 $ docker top 81cf37796806dac6e7b4ba9e9e921e00fe1949c861ebecc9ac3cb75208e19835 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:37:58 + make test 22:37:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:38:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:39:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:39:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:39:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:39:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.432s coverage: 23.8% of statements 22:39:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:39:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.201s coverage: 28.1% of statements 22:39:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.217s coverage: 78.9% of statements 22:39:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.299s coverage: 9.0% of statements 22:39:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:39:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:39:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:39:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.308s coverage: 28.7% of statements 22:39:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:39:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.235s coverage: 83.3% of statements 22:39:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:39:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:39:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.402s coverage: 57.8% of statements 22:39:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.131s coverage: 88.8% of statements 22:39:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:39:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.190s coverage: 4.9% of statements 22:39:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:39:40 GO111MODULE=on go vet ./... 22:40:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:40:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:40:36 ./bin/test-attribution-txt.sh [Pipeline] } 22:40:37 $ docker stop --time=1 81cf37796806dac6e7b4ba9e9e921e00fe1949c861ebecc9ac3cb75208e19835 22:40:39 $ docker rm -f 81cf37796806dac6e7b4ba9e9e921e00fe1949c861ebecc9ac3cb75208e19835 [Pipeline] // withDockerContainer [Pipeline] sh 22:40:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:40:40 Warning: overwriting stash ‘coverage-report’ 22:40:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:40:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:40:41 + ls -al . 22:40:41 total 300 22:40:41 drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 22:40 . 22:40:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 22:35 .. 22:40:41 -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 22:35 .dockerignore 22:40:41 drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 22:35 .git 22:40:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 22:35 .github 22:40:41 -rw-rw-r-- 1 jenkins jenkins 131 Oct 28 22:35 .gitignore 22:40:41 -rw-rw-r-- 1 jenkins jenkins 24816 Oct 28 22:35 CHANGELOG.md 22:40:41 -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 22:35 GOVERNANCE.md 22:40:41 -rw-rw-r-- 1 jenkins jenkins 880 Oct 28 22:35 Jenkinsfile 22:40:41 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 28 22:35 LICENSE 22:40:41 -rw-rw-r-- 1 jenkins jenkins 1120 Oct 28 22:35 Makefile 22:40:41 -rw-rw-r-- 1 jenkins jenkins 619 Oct 28 22:35 OWNERS.md 22:40:41 -rw-rw-r-- 1 jenkins jenkins 4877 Oct 28 22:35 README.md 22:40:41 -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 22:32 VERSION 22:40:41 drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 22:35 bin 22:40:41 -rw-r--r-- 1 jenkins jenkins 126785 Oct 28 22:39 coverage.out 22:40:41 drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 22:35 example 22:40:41 -rw-rw-r-- 1 jenkins jenkins 602 Oct 28 22:35 go.mod 22:40:41 -rw-rw-r-- 1 jenkins jenkins 50012 Oct 28 22:35 go.sum 22:40:41 drwxrwxr-x 15 jenkins jenkins 4096 Oct 28 22:35 internal 22:40:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 22:35 openapi 22:40:41 drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 22:35 pkg 22:40:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 22:35 snap 22:40:41 -rw-rw-r-- 1 jenkins jenkins 222 Oct 28 22:35 version.go [Pipeline] isUnix [Pipeline] sh 22:40:41 + 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=2fe0b8f4787d5616329c621c4cd44b038ac925e1 --label arch=arm64 --label version=0.0.0 . 22:40:42 Sending build context to Docker daemon 2.899MB 22:40:42 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 22:40:42 Step 2/24 : FROM ${BASE} AS builder 22:40:42 ---> 601d46b28f6e 22:40:42 Step 3/24 : ARG MAKE=make build 22:40:42 ---> Running in 6333caa07303 22:40:42 Removing intermediate container 6333caa07303 22:40:42 ---> b88f88b70d46 22:40:42 Step 4/24 : WORKDIR /device-sdk-go 22:40:42 ---> Running in 7971e0c3d7bf 22:40:43 Removing intermediate container 7971e0c3d7bf 22:40:43 ---> ad985362e650 22:40:43 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:40:43 ---> Running in e6d17172b9b7 22:40:44 Removing intermediate container e6d17172b9b7 22:40:44 ---> b2293a507c90 22:40:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:40:44 ---> Running in 277b9b8cad66 22:40:46 Removing intermediate container 277b9b8cad66 22:40:46 ---> 9493210cf115 22:40:46 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:40:46 ---> Running in c1cd4193473b 22:40:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:40:48 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:40:49 OK: 219 MiB in 52 packages 22:40:50 Removing intermediate container c1cd4193473b 22:40:50 ---> efbe1f7547b2 22:40:50 Step 8/24 : COPY . . 22:40:51 ---> abc8189673c5 22:40:51 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:40:51 ---> Running in d86e61f6b9ce 22:40:54 Removing intermediate container d86e61f6b9ce 22:40:54 ---> 45cf1d46937d 22:40:54 Step 10/24 : RUN ${MAKE} 22:40:54 ---> Running in a1d98c7cfb61 22:40: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 22:41:27 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:41:29 Removing intermediate container a1d98c7cfb61 22:41:29 ---> 1526e2847d5c 22:41:29 Step 11/24 : FROM alpine:3.14 22:41:30 3.14: Pulling from library/alpine 22:41:30 552d1f2373af: Already exists 22:41:31 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 22:41:31 Status: Downloaded newer image for alpine:3.14 22:41:31 ---> bb3de5531c18 22:41:31 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:41:31 ---> Running in fb8a86f61618 22:41:31 Removing intermediate container fb8a86f61618 22:41:31 ---> 5479bb53fe5e 22:41:31 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:41:31 ---> Running in c150b31a4145 22:41:33 Removing intermediate container c150b31a4145 22:41:33 ---> 242685f2a2fe 22:41:33 Step 14/24 : RUN apk add --update --no-cache zeromq 22:41:33 ---> Running in ce7f7ef9f2c2 22:41:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:41:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:41:36 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:41:36 (2/5) Installing libsodium (1.0.18-r0) 22:41:36 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:41:37 (4/5) Installing libzmq (4.3.4-r0) 22:41:37 (5/5) Installing zeromq (4.3.4-r0) 22:41:37 Executing busybox-1.33.1-r3.trigger 22:41:37 OK: 8 MiB in 19 packages 22:41:38 Removing intermediate container ce7f7ef9f2c2 22:41:38 ---> 8dff999c3774 22:41:38 Step 15/24 : WORKDIR / 22:41:38 ---> Running in e9bf09ca3b32 22:41:39 Removing intermediate container e9bf09ca3b32 22:41:39 ---> a4c1a41a1fd0 22:41:39 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:41:39 ---> b14d8e2139d7 22:41:39 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:41:41 ---> 44ef835618f2 22:41:41 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:41:41 ---> be7b856ffa91 22:41:41 Step 19/24 : EXPOSE 59999 22:41:41 ---> Running in 56f53b943312 22:41:42 Removing intermediate container 56f53b943312 22:41:42 ---> 2fb2cdb747a2 22:41:42 Step 20/24 : ENTRYPOINT ["/device-simple"] 22:41:42 ---> Running in 16bc0815da32 22:41:42 Removing intermediate container 16bc0815da32 22:41:42 ---> d23892a86c05 22:41:42 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:41:42 ---> Running in 8126566640fb 22:41:43 Removing intermediate container 8126566640fb 22:41:43 ---> 8ed90ac539c6 22:41:43 Step 22/24 : LABEL arch=arm64 22:41:43 ---> Running in c32216cef34b 22:41:43 Removing intermediate container c32216cef34b 22:41:43 ---> b3948865ad0a 22:41:43 Step 23/24 : LABEL git_sha=2fe0b8f4787d5616329c621c4cd44b038ac925e1 22:41:43 ---> Running in c70e0d947864 22:41:44 Removing intermediate container c70e0d947864 22:41:44 ---> 3969649fd5a2 22:41:44 Step 24/24 : LABEL version=0.0.0 22:41:44 ---> Running in bf0e0d523eef 22:41:45 Removing intermediate container bf0e0d523eef 22:41:45 ---> 15003b9b062b 22:41:45 [Warning] One or more build-args [ARCH] were not consumed 22:41:45 Successfully built 15003b9b062b 22:41:45 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 22:41:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:41:45 22:41:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:41:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:41:46 arm64: Pulling from edgex-lftools-log-publisher 22:41:46 448f6bf000e3: Pulling fs layer 22:41:46 f757da607395: Pulling fs layer 22:41:46 05883995daec: Pulling fs layer 22:41:46 8603b9c90790: Pulling fs layer 22:41:46 1560dd03e051: Pulling fs layer 22:41:46 27f5ce0e4adf: Pulling fs layer 22:41:46 c2d8d7efcc4b: Pulling fs layer 22:41:46 27f5ce0e4adf: Waiting 22:41:46 8603b9c90790: Waiting 22:41:46 1560dd03e051: Waiting 22:41:46 c2d8d7efcc4b: Waiting 22:41:46 f757da607395: Verifying Checksum 22:41:46 f757da607395: Download complete 22:41:46 8603b9c90790: Verifying Checksum 22:41:46 8603b9c90790: Download complete 22:41:46 1560dd03e051: Verifying Checksum 22:41:46 1560dd03e051: Download complete 22:41:46 27f5ce0e4adf: Verifying Checksum 22:41:46 27f5ce0e4adf: Download complete 22:41:46 05883995daec: Verifying Checksum 22:41:46 05883995daec: Download complete 22:41:47 448f6bf000e3: Verifying Checksum 22:41:47 448f6bf000e3: Download complete 22:41:49 c2d8d7efcc4b: Verifying Checksum 22:41:49 c2d8d7efcc4b: Download complete 22:41:50 448f6bf000e3: Pull complete 22:41:51 f757da607395: Pull complete 22:41:52 05883995daec: Pull complete 22:41:53 8603b9c90790: Pull complete 22:41:54 1560dd03e051: Pull complete 22:41:54 27f5ce0e4adf: Pull complete 22:42:09 c2d8d7efcc4b: Pull complete 22:42:09 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 22:42:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:42:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:42:09 prd-ubuntu18.04-docker-arm64-4c-16g-13311 does not seem to be running inside a container 22:42:09 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:42:12 $ docker top 713e828accc578823c99aa424882c4eeedd92672bd1a14fb1fa6f75b93074cc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:13 ---> job-cost.sh 22:42:13 lf-activate-venv: SKIPPING 22:42:13 INFO: No Stack... 22:42:13 INFO: Retrieving Pricing Info for: v3-standard-4 22:42:14 INFO: Archiving Costs [Pipeline] sh 22:42:15 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 22:42:15 + cut -d, -f6 [Pipeline] lock 22:42:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] 22:42:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] did not exist. Created. 22:42:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:42:15 /w/workspace/device-sdk-go/2@tmp/durable-40772455/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-40772455/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:42:16 + echo total: 0.10999999940395355 [Pipeline] stash 22:42:16 Warning: overwriting stash ‘stack-cost’ 22:42:16 Stashed 1 file(s) [Pipeline] } 22:42:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:42:16 $ docker stop --time=1 713e828accc578823c99aa424882c4eeedd92672bd1a14fb1fa6f75b93074cc5 22:42:18 $ docker rm -f 713e828accc578823c99aa424882c4eeedd92672bd1a14fb1fa6f75b93074cc5 [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 22:42:19 provisioning config files... 22:42:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/config2829628989163485837tmp [Pipeline] { [Pipeline] sh 22:42:19 + set +x 22:42:19 + bash -s -- 22:42:19 + curl -s https://codecov.io/bash 22:42:19 22:42:19 _____ _ 22:42:19 / ____| | | 22:42:19 | | ___ __| | ___ ___ _____ __ 22:42:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:42:19 | |___| (_) | (_| | __/ (_| (_) \ V / 22:42:19 \_____\___/ \__,_|\___|\___\___/ \_/ 22:42:19 Bash-1.0.6 22:42:19 22:42:19 22:42:19 ==> git version 2.24.4 found 22:42:19 ==> 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 22:42:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:42:19 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:42:19 ==> Jenkins CI detected. 22:42:19 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1049 22:42:19 project root: . 22:42:19 --> token set from env 22:42:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:42:19 ==> Running gcov in . (disable via -X gcov) 22:42:19 ==> Python coveragepy not found 22:42:19 ==> Searching for coverage reports in: 22:42:19 + . 22:42:19 -> Found 1 reports 22:42:19 ==> Detecting git/mercurial file structure 22:42:19 ==> Reading reports 22:42:19 + ./coverage.out bytes=126785 22:42:19 ==> Appending adjustments 22:42:19 https://docs.codecov.io/docs/fixing-reports 22:42:19 + Found adjustments 22:42:19 ==> Gzipping contents 22:42:19 16K /tmp/codecov.njhCW6.gz 22:42:19 ==> Uploading reports 22:42:19 url: https://codecov.io 22:42:19 query: branch=PR-1049&commit=2fe0b8f4787d5616329c621c4cd44b038ac925e1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1049%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1049&job=&cmd_args= 22:42:19 -> Pinging Codecov 22:42:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1049&commit=2fe0b8f4787d5616329c621c4cd44b038ac925e1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1049%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1049&job=&cmd_args= 22:42:20 -> Uploading to 22:42:20 https://storage.googleapis.com/codecov/v4/raw/2021-10-28/7E55EF52A471D76F132DFD9A03CDDE97/2fe0b8f4787d5616329c621c4cd44b038ac925e1/1765691c-4527-43de-9fe2-e1b2f490433c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211028%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211028T224220Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7e239dcb52d1fe3bf0765c4968c550fc21869ba94e2b4ab27a827c624a285a1 22:42:20 % Total % Received % Xferd Average Speed Time Time Time Current 22:42:20 Dload Upload Total Spent Left Speed 22:42:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16202 0 0 100 16202 0 49145 --:--:-- --:--:-- --:--:-- 49096 100 16202 0 0 100 16202 0 49121 --:--:-- --:--:-- --:--:-- 49096 22:42:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2fe0b8f4787d5616329c621c4cd44b038ac925e1 [Pipeline] } 22:42:20 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 22:42:21 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1049/archives ']' [Pipeline] libraryResource [Pipeline] sh 22:42:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:42:22 ---> package-listing.sh 22:42:22 ++ tr '[:upper:]' '[:lower:]' 22:42:22 ++ facter osfamily 22:42:23 + OS_FAMILY=redhat 22:42:23 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1049 22:42:23 + START_PACKAGES=/tmp/packages_start.txt 22:42:23 + END_PACKAGES=/tmp/packages_end.txt 22:42:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:42:23 + PACKAGES=/tmp/packages_start.txt 22:42:23 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1049 ']' 22:42:23 + PACKAGES=/tmp/packages_end.txt 22:42:23 + case "${OS_FAMILY}" in 22:42:23 + rpm -qa 22:42:23 + sort 22:42:23 + '[' -f /tmp/packages_start.txt ']' 22:42:23 + '[' -f /tmp/packages_end.txt ']' 22:42:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:42:23 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1049 ']' 22:42:23 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1049/archives/ 22:42:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1049/archives/ [Pipeline] echo 22:42:23 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-1049/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:42:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:42:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:24 22:42:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:42:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:24 latest: Pulling from edgex-lftools-log-publisher 22:42:24 b4d181a07f80: Pulling fs layer 22:42:24 a1111a8f2ec3: Pulling fs layer 22:42:24 ed53099fbce6: Pulling fs layer 22:42:24 dc539afda2c1: Pulling fs layer 22:42:24 77bc0d833cb6: Pulling fs layer 22:42:24 9065ff56babe: Pulling fs layer 22:42:24 d287ab97295c: Pulling fs layer 22:42:24 dc539afda2c1: Waiting 22:42:24 77bc0d833cb6: Waiting 22:42:24 9065ff56babe: Waiting 22:42:24 d287ab97295c: Waiting 22:42:24 a1111a8f2ec3: Verifying Checksum 22:42:24 a1111a8f2ec3: Download complete 22:42:24 dc539afda2c1: Verifying Checksum 22:42:24 dc539afda2c1: Download complete 22:42:24 ed53099fbce6: Verifying Checksum 22:42:24 ed53099fbce6: Download complete 22:42:24 9065ff56babe: Verifying Checksum 22:42:24 9065ff56babe: Download complete 22:42:25 77bc0d833cb6: Verifying Checksum 22:42:25 77bc0d833cb6: Download complete 22:42:25 b4d181a07f80: Verifying Checksum 22:42:25 b4d181a07f80: Download complete 22:42:25 d287ab97295c: Verifying Checksum 22:42:25 d287ab97295c: Download complete 22:42:26 b4d181a07f80: Pull complete 22:42:26 a1111a8f2ec3: Pull complete 22:42:27 ed53099fbce6: Pull complete 22:42:27 dc539afda2c1: Pull complete 22:42:27 77bc0d833cb6: Pull complete 22:42:27 9065ff56babe: Pull complete 22:42:33 d287ab97295c: Pull complete 22:42:33 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:42:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:42:33 prd-centos7-docker-4c-2g-13309 does not seem to be running inside a container 22:42:33 $ 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-1049/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-1049 -v /w/workspace/gexfoundry_device-sdk-go_PR-1049:/w/workspace/gexfoundry_device-sdk-go_PR-1049:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:42:37 $ docker top ae4f74974eb31c6c32bc066ec921a5471ed0001aa04f051bb15926f8515ecc5d -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:37 + touch /tmp/pre-build-complete [Pipeline] sh 22:42:38 + mkdir -p /var/log/sysstat [Pipeline] sh 22:42:38 + ls /var/log/sa-host 22:42:38 + sadf -c /var/log/sa-host/sa28 22:42:38 file_magic: OK 22:42:38 HZ: Using current value: 100 22:42:38 file_header: OK 22:42:38 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 22:42:38 Statistics: 22:42:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:42:38 File successfully converted to sysstat format version 12.0.3 22:42:38 + sadf -c /var/log/sa-host/sa30 22:42:38 file_magic: OK 22:42:38 HZ: Using current value: 100 22:42:38 file_header: OK 22:42:38 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 22:42:38 Statistics: 22:42:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:42:38 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:38 provisioning config files... 22:42:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/config2830250291425779832tmp [Pipeline] { [Pipeline] echo 22:42:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:42:39 ---> create-netrc.sh [Pipeline] } 22:42:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:42:39 ---> python-tools-install.sh [Pipeline] echo 22:42:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:42:39 ---> sudo-logs.sh 22:42:39 Archiving 'sudo' log.. 22:42:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-13309.novalocal: Name or service not known 22:42:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-13309.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 22:42:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:42:40 ---> job-cost.sh 22:42:40 lf-activate-venv: SKIPPING 22:42:40 DEBUG: total: 0.10999999940395355 22:42:40 INFO: Retrieving Stack Cost... 22:42:42 INFO: Retrieving Pricing Info for: v3-standard-2 22:42:42 INFO: Archiving Costs [Pipeline] echo 22:42:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:42:43 ---> logs-deploy.sh 22:42:43 lf-activate-venv: SKIPPING 22:42:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1049/2 22:42:43 INFO: archiving workspace using pattern(s): 22:42:43 Archives upload complete. 22:42:43 INFO: archiving logs to Nexus 22:42:44 ---> uname -a: 22:42:44 Linux prd-centos7-docker-4c-2g-13309.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 22:42:44 22:42:44 22:42:44 ---> lscpu: 22:42:44 Architecture: x86_64 22:42:44 CPU op-mode(s): 32-bit, 64-bit 22:42:44 Byte Order: Little Endian 22:42:44 Address sizes: 40 bits physical, 48 bits virtual 22:42:44 CPU(s): 2 22:42:44 On-line CPU(s) list: 0,1 22:42:44 Thread(s) per core: 1 22:42:44 Core(s) per socket: 1 22:42:44 Socket(s): 2 22:42:44 NUMA node(s): 1 22:42:44 Vendor ID: AuthenticAMD 22:42:44 CPU family: 23 22:42:44 Model: 49 22:42:44 Model name: AMD EPYC-Rome Processor 22:42:44 Stepping: 0 22:42:44 CPU MHz: 2799.998 22:42:44 BogoMIPS: 5599.99 22:42:44 Virtualization: AMD-V 22:42:44 Hypervisor vendor: KVM 22:42:44 Virtualization type: full 22:42:44 L1d cache: 32K 22:42:44 L1i cache: 32K 22:42:44 L2 cache: 512K 22:42:44 L3 cache: 16384K 22:42:44 NUMA node0 CPU(s): 0,1 22:42:44 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 22:42:44 22:42:44 22:42:44 ---> nproc: 22:42:44 2 22:42:44 22:42:44 22:42:44 ---> df -h: 22:42:44 Filesystem Size Used Avail Use% Mounted on 22:42:44 overlay 40G 7.7G 33G 20% / 22:42:44 tmpfs 64M 0 64M 0% /dev 22:42:44 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 22:42:44 shm 64M 0 64M 0% /dev/shm 22:42:44 /dev/vda1 40G 7.7G 33G 20% /facter-os 22:42:44 22:42:44 22:42:44 ---> sar -b -r -n DEV: 22:42:44 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/28/21 _x86_64_ (2 CPU) 22:42:44 22:42:44 22:31:37 LINUX RESTART (2 CPU) 22:42:44 22:42:44 22:32:01 tps rtps wtps bread/s bwrtn/s 22:42:44 22:33:01 90.61 7.01 83.61 2864.71 3841.33 22:42:44 22:34:01 1.77 0.00 1.77 0.00 35.62 22:42:44 22:35:01 0.20 0.00 0.20 0.00 2.43 22:42:44 22:36:01 0.33 0.00 0.33 0.00 5.45 22:42:44 22:37:01 0.15 0.00 0.15 0.00 1.75 22:42:44 22:38:01 0.32 0.00 0.32 0.00 4.50 22:42:44 22:39:01 0.32 0.00 0.32 0.00 4.76 22:42:44 22:40:01 0.18 0.00 0.18 0.00 2.03 22:42:44 22:41:01 0.28 0.00 0.28 0.00 3.21 22:42:44 22:42:01 0.20 0.00 0.20 0.00 2.83 22:42:44 Average: 9.44 0.70 8.74 286.65 390.63 22:42:44 22:42:44 22:32:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:42:44 22:33:01 5685028 0 621784 7.76 2620 1699508 1270556 14.03 565976 1522368 16 22:42:44 22:34:01 5683260 0 623544 7.79 2620 1699516 1270532 14.03 567116 1523052 16 22:42:44 22:35:01 5699088 0 607716 7.59 2620 1699516 1163032 12.84 553752 1523052 16 22:42:44 22:36:01 5695872 0 610924 7.63 2620 1699524 1162936 12.84 556440 1523900 16 22:42:44 22:37:01 5699392 0 607400 7.58 2620 1699528 1162756 12.84 552988 1523900 8 22:42:44 22:38:01 5699064 0 607724 7.59 2620 1699532 1162852 12.84 553552 1523908 8 22:42:44 22:39:01 5699608 0 607176 7.58 2620 1699536 1162816 12.84 553304 1523908 20 22:42:44 22:40:01 5697764 0 609016 7.60 2620 1699540 1162756 12.84 554260 1523908 12 22:42:44 22:41:01 5687616 0 619160 7.73 2620 1699544 1163020 12.84 564264 1523908 20 22:42:44 22:42:01 5686988 0 619784 7.74 2620 1699548 1163140 12.84 566272 1522332 8 22:42:44 Average: 5693368 0 613423 7.66 2620 1699529 1184440 13.08 558792 1523424 14 22:42:44 22:42:44 22:32:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:42:44 22:33:01 eth0 448.32 250.50 1000.33 73.41 0.00 0.00 0.00 0.00 22:42:44 22:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:33:01 docker0 8.71 4.94 1.63 29.37 0.00 0.00 0.00 0.00 22:42:44 22:34:01 eth0 7.18 2.31 6.44 0.20 0.00 0.00 0.00 0.00 22:42:44 22:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:35:01 eth0 1.32 0.47 0.58 0.39 0.00 0.00 0.00 0.00 22:42:44 22:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:36:01 eth0 0.53 0.43 0.27 0.21 0.00 0.00 0.00 0.00 22:42:44 22:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:37:01 eth0 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 22:42:44 22:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:38:01 eth0 0.22 0.22 0.08 0.07 0.00 0.00 0.00 0.00 22:42:44 22:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:39:01 eth0 0.17 0.12 0.07 0.01 0.00 0.00 0.00 0.00 22:42:44 22:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:40:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 22:42:44 22:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:41:01 eth0 1.28 0.28 0.35 0.20 0.00 0.00 0.00 0.00 22:42:44 22:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:42:01 eth0 1.48 0.43 0.61 0.38 0.00 0.00 0.00 0.00 22:42:44 22:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 22:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 Average: eth0 46.10 25.51 100.94 7.49 0.00 0.00 0.00 0.00 22:42:44 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:42:44 Average: docker0 0.87 0.49 0.16 2.94 0.00 0.00 0.00 0.00 22:42:44 22:42:44 22:42:44 ---> sar -P ALL: 22:42:44 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/28/21 _x86_64_ (2 CPU) 22:42:44 22:42:44 22:31:37 LINUX RESTART (2 CPU) 22:42:44 22:42:44 22:32:01 CPU %user %nice %system %iowait %steal %idle 22:42:44 22:33:01 all 12.04 0.00 3.16 2.35 0.06 82.38 22:42:44 22:33:01 0 11.84 0.00 3.74 3.30 0.05 81.08 22:42:44 22:33:01 1 12.25 0.00 2.58 1.40 0.07 83.69 22:42:44 22:34:01 all 0.23 0.00 0.09 0.00 0.02 99.67 22:42:44 22:34:01 0 0.10 0.00 0.07 0.00 0.02 99.82 22:42:44 22:34:01 1 0.35 0.00 0.12 0.00 0.02 99.52 22:42:44 22:35:01 all 0.17 0.00 0.09 0.00 0.02 99.72 22:42:44 22:35:01 0 0.10 0.00 0.05 0.00 0.02 99.83 22:42:44 22:35:01 1 0.23 0.00 0.13 0.00 0.02 99.61 22:42:44 22:36:01 all 0.25 0.00 0.05 0.00 0.03 99.67 22:42:44 22:36:01 0 0.40 0.00 0.05 0.00 0.03 99.52 22:42:44 22:36:01 1 0.10 0.00 0.05 0.00 0.03 99.82 22:42:44 22:37:01 all 0.20 0.00 0.06 0.00 0.03 99.72 22:42:44 22:37:01 0 0.32 0.00 0.05 0.00 0.02 99.62 22:42:44 22:37:01 1 0.08 0.00 0.07 0.00 0.03 99.82 22:42:44 22:38:01 all 0.18 0.00 0.06 0.00 0.02 99.74 22:42:44 22:38:01 0 0.28 0.00 0.05 0.00 0.02 99.65 22:42:44 22:38:01 1 0.08 0.00 0.07 0.00 0.02 99.83 22:42:44 22:39:01 all 0.23 0.00 0.04 0.00 0.01 99.72 22:42:44 22:39:01 0 0.35 0.00 0.02 0.00 0.00 99.63 22:42:44 22:39:01 1 0.10 0.00 0.07 0.00 0.02 99.82 22:42:44 22:40:01 all 0.13 0.00 0.08 0.00 0.03 99.77 22:42:44 22:40:01 0 0.18 0.00 0.08 0.00 0.02 99.72 22:42:44 22:40:01 1 0.08 0.00 0.07 0.00 0.03 99.82 22:42:44 22:41:01 all 0.13 0.00 0.07 0.00 0.01 99.79 22:42:44 22:41:01 0 0.13 0.00 0.07 0.00 0.00 99.80 22:42:44 22:41:01 1 0.13 0.00 0.07 0.00 0.02 99.78 22:42:44 22:42:01 all 0.26 0.00 0.07 0.00 0.02 99.66 22:42:44 22:42:01 0 0.45 0.00 0.07 0.00 0.02 99.47 22:42:44 22:42:01 1 0.07 0.00 0.07 0.00 0.02 99.85 22:42:44 Average: all 1.36 0.00 0.37 0.23 0.02 98.02 22:42:44 Average: 0 1.39 0.00 0.42 0.32 0.02 97.85 22:42:44 Average: 1 1.32 0.00 0.32 0.14 0.03 98.19 22:42:44 22:42:44 22:42:44