Pull request #1159 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at b41f42986e30026cf34f8a06bff8ad408dee209a rather than 1932b760e9d522737c398020759f258cc4964592 Obtained Jenkinsfile from b41f42986e30026cf34f8a06bff8ad408dee209a 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-ssh11412213270531710818.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh17883919121605949439.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-1159/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-1159/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11563710112360652662.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh17256910412606377504.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-1159/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-1159/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12041835674285180208.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-44839’ is offline Running on prd-ubuntu20.04-docker-8c-8g-44842 in /w/workspace/gexfoundry_device-sdk-go_PR-1159 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1159 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b41f42986e30026cf34f8a06bff8ad408dee209a into PR head commit 1932b760e9d522737c398020759f258cc4964592 Merge succeeded, producing 1932b760e9d522737c398020759f258cc4964592 Checking out Revision 1932b760e9d522737c398020759f258cc4964592 (PR-1159) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1159/head:refs/remotes/origin/PR-1159 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1932b760e9d522737c398020759f258cc4964592 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b41f42986e30026cf34f8a06bff8ad408dee209a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1932b760e9d522737c398020759f258cc4964592 # timeout=10 Commit message: "fix: Remove core-data client when using the MessageBus" First time build. Skipping changelog. > git rev-list --no-walk a20acd08c798f4e8368922a5499a9dc7b2236198 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:16:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:16:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:16:05 ========================================================= 06:16:05 EdgeX Global Pipelines Version Info 06:16:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:16:05 ------------------- 06:16:05 stable info: 06:16:05 ------------------- 06:16:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:16:05 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 06:16:05 Message: update stable to v1.0.227 06:16:06 ------------------- 06:16:06 experimental info: 06:16:06 ------------------- 06:16:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:16:06 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 06:16:06 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:16:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:16:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:16:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:16:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:16:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:16:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:16:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:16:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:16:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1159 [Pipeline] echo 06:16:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1159 [Pipeline] echo 06:16:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1159 [Pipeline] echo 06:16:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1932b760e9d522737c398020759f258cc4964592 [Pipeline] echo 06:16:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1932b76 [Pipeline] echo 06:16:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:07 provisioning config files... 06:16:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/config1329063595659821449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:07 ---> docker-login.sh 06:16:07 nexus3.edgexfoundry.org:10001 06:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:07 Configure a credential helper to remove this warning. See 06:16:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:07 06:16:07 Login Succeeded 06:16:07 nexus3.edgexfoundry.org:10002 06:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:08 Configure a credential helper to remove this warning. See 06:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:08 06:16:08 Login Succeeded 06:16:08 nexus3.edgexfoundry.org:10003 06:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:08 Configure a credential helper to remove this warning. See 06:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:08 06:16:08 Login Succeeded 06:16:08 nexus3.edgexfoundry.org:10004 06:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:08 Configure a credential helper to remove this warning. See 06:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:08 06:16:08 Login Succeeded 06:16:08 docker.io 06:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:08 Configure a credential helper to remove this warning. See 06:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:08 06:16:08 Login Succeeded 06:16:08 ---> docker-login.sh ends [Pipeline] } 06:16:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:16:09 + git rev-list -1 --merges 1932b760e9d522737c398020759f258cc4964592~1..1932b760e9d522737c398020759f258cc4964592 [Pipeline] echo 06:16:09 -----------> git rev-list -1 --merges 1932b760e9d522737c398020759f258cc4964592~1..1932b760e9d522737c398020759f258cc4964592 1932b760e9d522737c398020759f258cc4964592 [false] [Pipeline] sh 06:16:09 + git log --format=format:%s -1 1932b760e9d522737c398020759f258cc4964592 [Pipeline] echo 06:16:09 ========================================================= 06:16:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:16:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:10 + git log --format=format:%s -1 1932b760e9d522737c398020759f258cc4964592 [Pipeline] echo 06:16:10 [semverPrep] GIT_COMMIT: 1932b760e9d522737c398020759f258cc4964592, Commit Message: fix: Remove core-data client when using the MessageBus [Pipeline] echo 06:16:10 [semverPrep] This is not a build commit. [Pipeline] sh 06:16:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:16:10 + grep -v github /etc/ssh/ssh_known_hosts 06:16:10 + [ -e /tmp/ssh_known_hosts ] 06:16:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:16:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:16:10 + sudo tee -a /etc/ssh/ssh_known_hosts 06:16:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:16:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:16:10 06:16:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:16:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:16:11 latest: Pulling from edgex-devops/py-git-semver 06:16:11 1fe172e4850f: Pulling fs layer 06:16:11 caf521ccaac6: Pulling fs layer 06:16:11 3ead6fa29328: Pulling fs layer 06:16:11 5c2a1cbceb83: Pulling fs layer 06:16:11 a8d5f1318db7: Pulling fs layer 06:16:11 c427282e49a2: Pulling fs layer 06:16:11 1827001aaf11: Pulling fs layer 06:16:11 0714d37db230: Pulling fs layer 06:16:11 ac28cf19c067: Pulling fs layer 06:16:11 ca983d60f3e2: Pulling fs layer 06:16:11 9f894cec8388: Pulling fs layer 06:16:11 1827001aaf11: Waiting 06:16:11 0714d37db230: Waiting 06:16:11 ac28cf19c067: Waiting 06:16:11 ca983d60f3e2: Waiting 06:16:11 9f894cec8388: Waiting 06:16:11 5c2a1cbceb83: Waiting 06:16:11 a8d5f1318db7: Waiting 06:16:11 c427282e49a2: Waiting 06:16:11 caf521ccaac6: Download complete 06:16:11 5c2a1cbceb83: Verifying Checksum 06:16:11 5c2a1cbceb83: Download complete 06:16:11 a8d5f1318db7: Verifying Checksum 06:16:11 a8d5f1318db7: Download complete 06:16:11 c427282e49a2: Download complete 06:16:11 3ead6fa29328: Verifying Checksum 06:16:11 3ead6fa29328: Download complete 06:16:11 0714d37db230: Verifying Checksum 06:16:11 0714d37db230: Download complete 06:16:11 ac28cf19c067: Verifying Checksum 06:16:11 ac28cf19c067: Download complete 06:16:11 ca983d60f3e2: Download complete 06:16:11 9f894cec8388: Download complete 06:16:11 1fe172e4850f: Verifying Checksum 06:16:11 1fe172e4850f: Download complete 06:16:11 1827001aaf11: Verifying Checksum 06:16:11 1827001aaf11: Download complete 06:16:13 1fe172e4850f: Pull complete 06:16:13 caf521ccaac6: Pull complete 06:16:13 3ead6fa29328: Pull complete 06:16:13 5c2a1cbceb83: Pull complete 06:16:13 a8d5f1318db7: Pull complete 06:16:13 c427282e49a2: Pull complete 06:16:16 1827001aaf11: Pull complete 06:16:16 0714d37db230: Pull complete 06:16:16 ac28cf19c067: Pull complete 06:16:16 ca983d60f3e2: Pull complete 06:16:16 9f894cec8388: Pull complete 06:16:16 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:16:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:16:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 06:16:16 prd-ubuntu20.04-docker-8c-8g-44842 does not seem to be running inside a container 06:16:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1159 -v /w/workspace/gexfoundry_device-sdk-go_PR-1159:/w/workspace/gexfoundry_device-sdk-go_PR-1159:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1159@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-devops/py-git-semver:latest cat 06:16:18 $ docker top 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b -eo pid,comm 06:16:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:16:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:18 [ssh-agent] Looking for ssh-agent implementation... 06:16:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:18 $ docker exec 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b ssh-agent 06:16:18 SSH_AUTH_SOCK=/tmp/ssh-hnWjiJoUOdA1/agent.33 06:16:18 SSH_AGENT_PID=40 06:16:18 Running ssh-add (command line suppressed) 06:16:18 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/private_key_3979061945707935898.key (/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/private_key_3979061945707935898.key) 06:16:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:19 + git tag --points-at HEAD [Pipeline] } 06:16:19 $ docker exec --env ******** --env ******** 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b ssh-agent -k 06:16:19 unset SSH_AUTH_SOCK; 06:16:19 unset SSH_AGENT_PID; 06:16:19 echo Agent pid 40 killed; 06:16:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:16:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:19 [ssh-agent] Looking for ssh-agent implementation... 06:16:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:19 $ docker exec 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b ssh-agent 06:16:19 SSH_AUTH_SOCK=/tmp/ssh-kzhmwGWGPYbk/agent.74 06:16:19 SSH_AGENT_PID=81 06:16:19 Running ssh-add (command line suppressed) 06:16:19 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/private_key_4836108733085150916.key (/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/private_key_4836108733085150916.key) 06:16:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:20 + git semver init 06:16:20 2022-05-10 06:16:20,242 [run_init] DEBUG init version:0.0.0 force:False 06:16:20 2022-05-10 06:16:20,243 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver 06:16:20 2022-05-10 06:16:20,244 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver 06:16:20 2022-05-10 06:16:20,244 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1159, universal_newlines=False, shell=None, istream=None) 06:16:21 2022-05-10 06:16:21,135 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1159/.git/info/exclude 06:16:21 2022-05-10 06:16:21,136 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver/PR-1159 with force:False 06:16:21 2022-05-10 06:16:21,136 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver/PR-1159 06:16:21 2022-05-10 06:16:21,141 [execute] INFO git cat-file --batch-check 06:16:21 2022-05-10 06:16:21,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver, universal_newlines=False, shell=None, istream=) 06:16:21 2022-05-10 06:16:21,146 [execute] INFO git cat-file --batch 06:16:21 2022-05-10 06:16:21,146 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver, universal_newlines=False, shell=None, istream=) 06:16:21 2022-05-10 06:16:21,151 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1159/.semver/PR-1159 06:16:21 0.0.0 [Pipeline] } 06:16:21 $ docker exec --env ******** --env ******** 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b ssh-agent -k 06:16:21 unset SSH_AUTH_SOCK; 06:16:21 unset SSH_AGENT_PID; 06:16:21 echo Agent pid 81 killed; 06:16:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:21 + git semver [Pipeline] } 06:16:22 $ docker stop --time=1 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b 06:16:23 $ docker rm -f 75f195347803e47d10da76e19c62d2276adcc810b3b336dcdeab70b577ca993b [Pipeline] // withDockerContainer [Pipeline] sh 06:16:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:16:24 Stashed 1 file(s) [Pipeline] echo 06:16: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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:24 provisioning config files... 06:16:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/config1723298991237337643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:24 ---> docker-login.sh 06:16:24 nexus3.edgexfoundry.org:10001 06:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:24 Configure a credential helper to remove this warning. See 06:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:24 06:16:24 Login Succeeded 06:16:24 nexus3.edgexfoundry.org:10002 06:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:24 Configure a credential helper to remove this warning. See 06:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:24 06:16:24 Login Succeeded 06:16:24 nexus3.edgexfoundry.org:10003 06:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:24 Configure a credential helper to remove this warning. See 06:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:24 06:16:24 Login Succeeded 06:16:24 nexus3.edgexfoundry.org:10004 06:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:25 Configure a credential helper to remove this warning. See 06:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:25 06:16:25 Login Succeeded 06:16:25 docker.io 06:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:25 Configure a credential helper to remove this warning. See 06:16:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:25 06:16:25 Login Succeeded 06:16:25 ---> docker-login.sh ends [Pipeline] } 06:16:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:16:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:25 ========================================================= 06:16:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:16:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:16: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.17-alpine --build-arg MAKE=echo noop --target=builder . 06:16:25 Sending build context to Docker daemon 9.709MB 06:16:25 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 06:16:25 Step 2/11 : FROM ${BASE} AS builder 06:16:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:16:25 59bf1c3509f3: Pulling fs layer 06:16:25 666ba61612fd: Pulling fs layer 06:16:25 8ed8ca486205: Pulling fs layer 06:16:25 4fe6c5a15a65: Pulling fs layer 06:16:25 22a0e8bec74d: Pulling fs layer 06:16:25 ca2b28591e48: Pulling fs layer 06:16:25 a51346096db8: Pulling fs layer 06:16:25 daebc70d1ce1: Pulling fs layer 06:16:25 0e18a0eac166: Pulling fs layer 06:16:25 daebc70d1ce1: Waiting 06:16:25 ca2b28591e48: Waiting 06:16:25 a51346096db8: Waiting 06:16:25 22a0e8bec74d: Waiting 06:16:25 8ed8ca486205: Verifying Checksum 06:16:25 8ed8ca486205: Download complete 06:16:25 666ba61612fd: Download complete 06:16:25 22a0e8bec74d: Verifying Checksum 06:16:25 22a0e8bec74d: Download complete 06:16:25 59bf1c3509f3: Verifying Checksum 06:16:25 59bf1c3509f3: Download complete 06:16:25 ca2b28591e48: Verifying Checksum 06:16:25 ca2b28591e48: Download complete 06:16:25 a51346096db8: Download complete 06:16:25 daebc70d1ce1: Verifying Checksum 06:16:25 daebc70d1ce1: Download complete 06:16:25 59bf1c3509f3: Pull complete 06:16:26 666ba61612fd: Pull complete 06:16:26 8ed8ca486205: Pull complete 06:16:26 0e18a0eac166: Verifying Checksum 06:16:26 0e18a0eac166: Download complete 06:16:26 4fe6c5a15a65: Download complete 06:16:30 4fe6c5a15a65: Pull complete 06:16:30 22a0e8bec74d: Pull complete 06:16:30 ca2b28591e48: Pull complete 06:16:31 a51346096db8: Pull complete 06:16:31 daebc70d1ce1: Pull complete 06:16:33 0e18a0eac166: Pull complete 06:16:33 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:16:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:16:33 ---> f018257e8ee9 06:16:33 Step 3/11 : ARG MAKE=make build 06:16:35 ---> Running in 17a6ee8ef97a 06:16:35 Removing intermediate container 17a6ee8ef97a 06:16:35 ---> 4e7c539a5f1a 06:16:35 Step 4/11 : WORKDIR /device-sdk-go 06:16:35 ---> Running in 6bfea0227c3c 06:16:35 Removing intermediate container 6bfea0227c3c 06:16:35 ---> 0e5e4fedf8c9 06:16:35 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:16:35 ---> Running in 695641a6861f 06:16:35 Removing intermediate container 695641a6861f 06:16:35 ---> 42d4a8fe15b4 06:16:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:35 ---> Running in 0f64e5489253 06:16:36 Removing intermediate container 0f64e5489253 06:16:36 ---> c5d520fc05ad 06:16:36 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:16:36 ---> Running in 150749389bc8 06:16:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:16:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:16:37 OK: 221 MiB in 52 packages 06:16:38 Removing intermediate container 150749389bc8 06:16:38 ---> 815ddd091826 06:16:38 Step 8/11 : COPY go.mod vendor* ./ 06:16:38 ---> b5d2aa91e9da 06:16:38 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:38 ---> Running in 185f01e11623 06:16:39 Still waiting to schedule task 06:16:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-44841’ is offline 06:16:53 Removing intermediate container 185f01e11623 06:16:53 ---> 2457c0ff593c 06:16:53 Step 10/11 : COPY . . 06:16:54 ---> 0f04b02c690b 06:16:54 Step 11/11 : RUN ${MAKE} 06:16:54 ---> Running in cf5f1eb20cba 06:16:54 noop 06:16:54 Removing intermediate container cf5f1eb20cba 06:16:54 ---> c3beb96fe8ec 06:16:54 Successfully built c3beb96fe8ec 06:16:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:16:55 + docker inspect -f . ci-base-image-x86_64 06:16:55 . [Pipeline] withDockerContainer 06:16:55 prd-ubuntu20.04-docker-8c-8g-44842 does not seem to be running inside a container 06:16:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1159 -v /w/workspace/gexfoundry_device-sdk-go_PR-1159:/w/workspace/gexfoundry_device-sdk-go_PR-1159:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1159@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 ******** -e ******** ci-base-image-x86_64 cat 06:16:55 $ docker top cc769b99bbaf68b4307c7e204842ea92aa6468622554eba4b0f0c5d470ea76d2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:55 + go version 06:16:55 go version go1.17.6 linux/amd64 [Pipeline] } 06:16:55 $ docker stop --time=1 cc769b99bbaf68b4307c7e204842ea92aa6468622554eba4b0f0c5d470ea76d2 06:16:57 $ docker rm -f cc769b99bbaf68b4307c7e204842ea92aa6468622554eba4b0f0c5d470ea76d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:16:57 + docker inspect -f . ci-base-image-x86_64 06:16:57 . [Pipeline] withDockerContainer 06:16:57 prd-ubuntu20.04-docker-8c-8g-44842 does not seem to be running inside a container 06:16:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1159 -v /w/workspace/gexfoundry_device-sdk-go_PR-1159:/w/workspace/gexfoundry_device-sdk-go_PR-1159:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1159@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 ******** -e ******** ci-base-image-x86_64 cat 06:16:58 $ docker top 2819e9dd1853bb4900052203486ad5a2a43e3f5e1c87cc61c61377f56fca8ea7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:16:58 + make test 06:16:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:17:03 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:17:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:17:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:17:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:17:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.082s coverage: 23.3% of statements 06:17:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:17:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 27.6% of statements 06:17:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements 06:17:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 10.8% of statements 06:17:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.108s coverage: 60.0% of statements 06:17:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:17:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:17:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 34.8% of statements 06:17:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:17:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.074s coverage: 86.1% of statements 06:17:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:17:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:17:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.099s coverage: 65.1% of statements 06:17:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.857s coverage: 89.2% of statements 06:17:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:17:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 06:17:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:17:32 GO111MODULE=on go vet ./... 06:17:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:17:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:17:37 ./bin/test-attribution-txt.sh [Pipeline] echo 06:17:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:17:37 $ docker stop --time=1 2819e9dd1853bb4900052203486ad5a2a43e3f5e1c87cc61c61377f56fca8ea7 06:17:39 $ docker rm -f 2819e9dd1853bb4900052203486ad5a2a43e3f5e1c87cc61c61377f56fca8ea7 [Pipeline] // withDockerContainer [Pipeline] sh 06:17:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:17:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:17:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:17:41 + ls -al . 06:17:41 total 296 06:17:41 drwxrwxr-x 11 jenkins jenkins 4096 May 10 06:17 . 06:17:41 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:15 .. 06:17:41 -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:16 .dockerignore 06:17:41 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:16 .git 06:17:41 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:16 .github 06:17:41 -rw-rw-r-- 1 jenkins jenkins 131 May 10 06:16 .gitignore 06:17:41 -rw-rw-r-- 1 jenkins jenkins 42 May 10 06:16 .golangci.yml 06:17:41 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:16 .semver 06:17:41 -rw-rw-r-- 1 jenkins jenkins 26321 May 10 06:16 CHANGELOG.md 06:17:41 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:16 GOVERNANCE.md 06:17:41 -rw-rw-r-- 1 jenkins jenkins 880 May 10 06:16 Jenkinsfile 06:17:41 -rw-rw-r-- 1 jenkins jenkins 11341 May 10 06:16 LICENSE 06:17:41 -rw-rw-r-- 1 jenkins jenkins 2015 May 10 06:16 Makefile 06:17:41 -rw-rw-r-- 1 jenkins jenkins 619 May 10 06:16 OWNERS.md 06:17:41 -rw-rw-r-- 1 jenkins jenkins 4881 May 10 06:16 README.md 06:17:41 -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:16 VERSION 06:17:41 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:16 bin 06:17:41 -rw-r--r-- 1 jenkins jenkins 130739 May 10 06:17 coverage.out 06:17:41 drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:16 example 06:17:41 -rw-rw-r-- 1 jenkins jenkins 3159 May 10 06:16 go.mod 06:17:41 -rw-rw-r-- 1 jenkins jenkins 34529 May 10 06:16 go.sum 06:17:41 drwxrwxr-x 15 jenkins jenkins 4096 May 10 06:16 internal 06:17:41 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:16 openapi 06:17:41 drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:16 pkg 06:17:41 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:16 snap 06:17:41 -rw-rw-r-- 1 jenkins jenkins 222 May 10 06:16 version.go [Pipeline] isUnix [Pipeline] sh 06:17:41 + 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=1932b760e9d522737c398020759f258cc4964592 --label arch=amd64 --label version=0.0.0 . 06:17:41 Sending build context to Docker daemon 9.84MB 06:17:41 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 06:17:41 Step 2/25 : FROM ${BASE} AS builder 06:17:41 ---> c3beb96fe8ec 06:17:41 Step 3/25 : ARG MAKE=make build 06:17:41 ---> Running in 2dc13c081d92 06:17:41 Removing intermediate container 2dc13c081d92 06:17:41 ---> 5744ce7fd93a 06:17:41 Step 4/25 : WORKDIR /device-sdk-go 06:17:41 ---> Running in 02ecd1cd8ef3 06:17:42 Removing intermediate container 02ecd1cd8ef3 06:17:42 ---> fefe237b8b6c 06:17:42 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:17:42 ---> Running in 8ef6079f578a 06:17:42 Removing intermediate container 8ef6079f578a 06:17:42 ---> 5648ab70cffb 06:17:42 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:17:42 ---> Running in 52feda8d6732 06:17:43 Removing intermediate container 52feda8d6732 06:17:43 ---> 9cf567e434ca 06:17:43 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:17:43 ---> Running in 1b3deec9f615 06:17:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:17:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:17:44 OK: 221 MiB in 52 packages 06:17:44 Removing intermediate container 1b3deec9f615 06:17:44 ---> bc986c73c0c3 06:17:44 Step 8/25 : COPY go.mod vendor* ./ 06:17:45 ---> e34e7d494ef9 06:17:45 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:45 ---> Running in d2bc6d04698d 06:17:45 Removing intermediate container d2bc6d04698d 06:17:45 ---> 18d695ae2aff 06:17:45 Step 10/25 : COPY . . 06:17:46 ---> 22f0a19484e6 06:17:46 Step 11/25 : RUN ${MAKE} 06:17:46 ---> Running in 94d2e2f55e9c 06:17:46 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:18:04 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:18:06 Removing intermediate container 94d2e2f55e9c 06:18:06 ---> fd9a094a0cbb 06:18:06 Step 12/25 : FROM alpine:3.14 06:18:06 3.14: Pulling from library/alpine 06:18:07 8663204ce13b: Pulling fs layer 06:18:07 8663204ce13b: Verifying Checksum 06:18:07 8663204ce13b: Download complete 06:18:07 8663204ce13b: Pull complete 06:18:07 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:18:07 Status: Downloaded newer image for alpine:3.14 06:18:07 ---> e04c818066af 06:18:07 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:18:07 ---> Running in b564ed0f0fcd 06:18:07 Removing intermediate container b564ed0f0fcd 06:18:07 ---> b0679139ef12 06:18:07 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:18:07 ---> Running in 2f438607738e 06:18:08 Removing intermediate container 2f438607738e 06:18:08 ---> 3b9a5d716c12 06:18:08 Step 15/25 : RUN apk add --update --no-cache zeromq 06:18:08 ---> Running in 868e7027f170 06:18:08 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:18:09 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:18:09 (1/5) Installing libgcc (10.3.1_git20210424-r2) 06:18:09 (2/5) Installing libsodium (1.0.18-r0) 06:18:09 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 06:18:09 (4/5) Installing libzmq (4.3.4-r0) 06:18:10 (5/5) Installing zeromq (4.3.4-r0) 06:18:10 Executing busybox-1.33.1-r7.trigger 06:18:10 OK: 8 MiB in 19 packages 06:18:10 Removing intermediate container 868e7027f170 06:18:10 ---> 76ef591ae181 06:18:10 Step 16/25 : WORKDIR / 06:18:10 ---> Running in 0bdc707931e5 06:18:10 Removing intermediate container 0bdc707931e5 06:18:10 ---> aea99233f09a 06:18:10 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:18:10 ---> 8c2b8a2f507c 06:18:10 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:18:11 ---> f28225a4bb8d 06:18:11 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:18:11 ---> d5d8732e2891 06:18:11 Step 20/25 : EXPOSE 59999 06:18:11 ---> Running in ec1cd19e5c92 06:18:11 Removing intermediate container ec1cd19e5c92 06:18:11 ---> 0f74a3b9e4d3 06:18:11 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:18:12 ---> Running in 24d4e29bc19d 06:18:12 Removing intermediate container 24d4e29bc19d 06:18:12 ---> e5ad5eb53306 06:18:12 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:18:12 ---> Running in 0faffba0a502 06:18:12 Removing intermediate container 0faffba0a502 06:18:12 ---> f0c8d9d5bc8c 06:18:12 Step 23/25 : LABEL arch=amd64 06:18:12 ---> Running in 175698e43b33 06:18:12 Removing intermediate container 175698e43b33 06:18:12 ---> 61bcd7ab2da3 06:18:12 Step 24/25 : LABEL git_sha=1932b760e9d522737c398020759f258cc4964592 06:18:13 ---> Running in f9b50d7ce270 06:18:13 Removing intermediate container f9b50d7ce270 06:18:13 ---> f531fbb04fba 06:18:13 Step 25/25 : LABEL version=0.0.0 06:18:13 ---> Running in 4f5b76a4383b 06:18:14 Removing intermediate container 4f5b76a4383b 06:18:14 ---> 9b4c7dccfc61 06:18:14 [Warning] One or more build-args [ARCH] were not consumed 06:18:14 Successfully built 9b4c7dccfc61 06:18:14 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 06:18:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:14 06:18:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:18:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:14 latest: Pulling from edgex-lftools-log-publisher 06:18:14 5eb5b503b376: Pulling fs layer 06:18:14 5c69ac0246d0: Pulling fs layer 06:18:14 ec43610c2a17: Pulling fs layer 06:18:14 3a2ae6a8a46f: Pulling fs layer 06:18:14 33b1e0a273af: Pulling fs layer 06:18:14 5d3b04190fa2: Pulling fs layer 06:18:14 2f39f015ded8: Pulling fs layer 06:18:14 3a2ae6a8a46f: Waiting 06:18:14 33b1e0a273af: Waiting 06:18:14 2f39f015ded8: Waiting 06:18:14 5c69ac0246d0: Download complete 06:18:14 3a2ae6a8a46f: Verifying Checksum 06:18:14 3a2ae6a8a46f: Download complete 06:18:14 33b1e0a273af: Verifying Checksum 06:18:14 33b1e0a273af: Download complete 06:18:14 ec43610c2a17: Verifying Checksum 06:18:14 ec43610c2a17: Download complete 06:18:14 5d3b04190fa2: Verifying Checksum 06:18:14 5d3b04190fa2: Download complete 06:18:15 5eb5b503b376: Verifying Checksum 06:18:15 5eb5b503b376: Download complete 06:18:15 2f39f015ded8: Download complete 06:18:16 5eb5b503b376: Pull complete 06:18:16 5c69ac0246d0: Pull complete 06:18:17 ec43610c2a17: Pull complete 06:18:17 3a2ae6a8a46f: Pull complete 06:18:17 33b1e0a273af: Pull complete 06:18:17 5d3b04190fa2: Pull complete 06:18:22 2f39f015ded8: Pull complete 06:18:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:18:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:18:22 prd-ubuntu20.04-docker-8c-8g-44842 does not seem to be running inside a container 06:18:22 $ 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/gexfoundry_device-sdk-go_PR-1159 -v /w/workspace/gexfoundry_device-sdk-go_PR-1159:/w/workspace/gexfoundry_device-sdk-go_PR-1159:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1159@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:18:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-44843 in /w/workspace/gexfoundry_device-sdk-go_PR-1159 06:18:25 $ docker top 3c17bd4633c815bc14daca24b1d0af8c38d4b76a924a7cd7052c66878e418979 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 06:18:26 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:18:26 The recommended git tool is: git 06:18:26 ---> job-cost.sh 06:18:26 lf-activate-venv: SKIPPING 06:18:26 INFO: No Stack... 06:18:26 INFO: Retrieving Pricing Info for: v3-standard-8 06:18:27 INFO: Archiving Costs [Pipeline] sh 06:18:27 + cut -d, -f6 06:18:27 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives/cost.csv [Pipeline] lock 06:18:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] 06:18:27 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] did not exist. Created. 06:18:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:18:27 + echo total: 0.2199999988079071 [Pipeline] stash 06:18:27 Stashed 1 file(s) [Pipeline] } 06:18:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:18:27 $ docker stop --time=1 3c17bd4633c815bc14daca24b1d0af8c38d4b76a924a7cd7052c66878e418979 06:18:29 $ docker rm -f 3c17bd4633c815bc14daca24b1d0af8c38d4b76a924a7cd7052c66878e418979 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:18:30 using credential edgex-jenkins-ssh 06:18:30 Cloning the remote Git repository 06:18:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:18:30 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:18:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:18:30 > git --version # timeout=10 06:18:30 > git --version # 'git version 2.25.1' 06:18:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:18:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:18:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:18:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:18:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:18:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:32 Merging remotes/origin/main commit b41f42986e30026cf34f8a06bff8ad408dee209a into PR head commit 1932b760e9d522737c398020759f258cc4964592 06:18:33 Merge succeeded, producing 1932b760e9d522737c398020759f258cc4964592 06:18:33 Checking out Revision 1932b760e9d522737c398020759f258cc4964592 (PR-1159) 06:18:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1159/head:refs/remotes/origin/PR-1159 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:18:32 > git config core.sparsecheckout # timeout=10 06:18:32 > git checkout -f 1932b760e9d522737c398020759f258cc4964592 # timeout=10 06:18:33 > git remote # timeout=10 06:18:33 > git config --get remote.origin.url # timeout=10 06:18:33 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:33 > git merge b41f42986e30026cf34f8a06bff8ad408dee209a # timeout=10 06:18:33 > git rev-parse HEAD^{commit} # timeout=10 06:18:33 > git config core.sparsecheckout # timeout=10 06:18:33 > git checkout -f 1932b760e9d522737c398020759f258cc4964592 # timeout=10 06:18:37 Commit message: "fix: Remove core-data client when using the MessageBus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:18:38 % Total % Received % Xferd Average Speed Time Time Time Current 06:18:38 Dload Upload Total Spent Left Speed 06:18:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 96284 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh 06:18:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:18:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:18:39 + sudo tee /etc/docker/daemon.new 06:18:39 { 06:18:39 "registry-mirrors": [ 06:18:39 "https://nexus3.edgexfoundry.org:10001" 06:18:39 ], 06:18:39 "bip": "10.250.0.254/24", 06:18:39 "hosts": [ 06:18:39 "tcp://0.0.0.0:5555", 06:18:39 "unix:///var/run/docker.sock" 06:18:39 ], 06:18:39 "mtu": 1458, 06:18:39 "selinux-enabled": true, 06:18:39 "seccomp-profile": "/etc/docker/seccomp.json" 06:18:39 } [Pipeline] sh 06:18:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:18:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:18:58 provisioning config files... 06:18:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5917046767751229839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:58 ---> docker-login.sh 06:18:58 nexus3.edgexfoundry.org:10001 06:18:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:59 Configure a credential helper to remove this warning. See 06:18:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:59 06:18:59 Login Succeeded 06:18:59 nexus3.edgexfoundry.org:10002 06:18:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:59 Configure a credential helper to remove this warning. See 06:18:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:59 06:18:59 Login Succeeded 06:18:59 nexus3.edgexfoundry.org:10003 06:19:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:00 Configure a credential helper to remove this warning. See 06:19:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:00 06:19:00 Login Succeeded 06:19:00 nexus3.edgexfoundry.org:10004 06:19:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:00 Configure a credential helper to remove this warning. See 06:19:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:00 06:19:00 Login Succeeded 06:19:00 docker.io 06:19:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:01 Configure a credential helper to remove this warning. See 06:19:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:01 06:19:01 Login Succeeded 06:19:01 ---> docker-login.sh ends [Pipeline] } 06:19:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:19:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:19:01 ========================================================= 06:19:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:19:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:19:02 + 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.17-alpine --build-arg MAKE=echo noop --target=builder . 06:19:02 Sending build context to Docker daemon 5.233MB 06:19:02 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 06:19:02 Step 2/11 : FROM ${BASE} AS builder 06:19:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:19:02 9b3977197b4f: Pulling fs layer 06:19:02 1a89e8eeedd5: Pulling fs layer 06:19:02 94645a83ff95: Pulling fs layer 06:19:02 3f3a8bcf1eab: Pulling fs layer 06:19:02 0c92f367c5e7: Pulling fs layer 06:19:02 3096ccb668a1: Pulling fs layer 06:19:02 e8cf19c19ddd: Pulling fs layer 06:19:02 a4caa8a26152: Pulling fs layer 06:19:02 3096ccb668a1: Waiting 06:19:02 e8cf19c19ddd: Waiting 06:19:02 a4caa8a26152: Waiting 06:19:02 3f3a8bcf1eab: Waiting 06:19:02 0c92f367c5e7: Waiting 06:19:02 94645a83ff95: Verifying Checksum 06:19:02 1a89e8eeedd5: Download complete 06:19:02 0c92f367c5e7: Verifying Checksum 06:19:02 0c92f367c5e7: Download complete 06:19:02 3096ccb668a1: Verifying Checksum 06:19:02 3096ccb668a1: Download complete 06:19:03 9b3977197b4f: Verifying Checksum 06:19:03 9b3977197b4f: Download complete 06:19:03 e8cf19c19ddd: Verifying Checksum 06:19:03 e8cf19c19ddd: Download complete 06:19:03 9b3977197b4f: Pull complete 06:19:04 1a89e8eeedd5: Pull complete 06:19:04 94645a83ff95: Pull complete 06:19:04 a4caa8a26152: Verifying Checksum 06:19:04 a4caa8a26152: Download complete 06:19:05 3f3a8bcf1eab: Verifying Checksum 06:19:05 3f3a8bcf1eab: Download complete 06:19:17 3f3a8bcf1eab: Pull complete 06:19:17 0c92f367c5e7: Pull complete 06:19:17 3096ccb668a1: Pull complete 06:19:17 e8cf19c19ddd: Pull complete 06:19:24 a4caa8a26152: Pull complete 06:19:24 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:19:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:19:24 ---> 725f1c02e7f9 06:19:24 Step 3/11 : ARG MAKE=make build 06:19:25 ---> Running in 73a0a886fe5c 06:19:25 Removing intermediate container 73a0a886fe5c 06:19:25 ---> 16bd52d0acce 06:19:25 Step 4/11 : WORKDIR /device-sdk-go 06:19:25 ---> Running in 8abda9c2063c 06:19:25 Removing intermediate container 8abda9c2063c 06:19:25 ---> 34f5374ce44f 06:19:25 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:19:25 ---> Running in c00e8aeb65c0 06:19:26 Removing intermediate container c00e8aeb65c0 06:19:26 ---> abcce79ea3d4 06:19:26 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:19:26 ---> Running in d9a0400aa137 06:19:28 Removing intermediate container d9a0400aa137 06:19:28 ---> 789e4492481b 06:19:28 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:19:28 ---> Running in b8b5f135a075 06:19:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:19:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:19:31 OK: 220 MiB in 52 packages 06:19:32 Removing intermediate container b8b5f135a075 06:19:32 ---> 4b829263b8e2 06:19:32 Step 8/11 : COPY go.mod vendor* ./ 06:19:32 ---> 08ef2fcaaa3c 06:19:32 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:19:33 ---> Running in 77295fe0bd61 06:20:20 Removing intermediate container 77295fe0bd61 06:20:20 ---> fc73d6a3910f 06:20:20 Step 10/11 : COPY . . 06:20:20 ---> b6d795d2a9cb 06:20:20 Step 11/11 : RUN ${MAKE} 06:20:20 ---> Running in 0aab87363386 06:20:20 noop 06:20:20 Removing intermediate container 0aab87363386 06:20:20 ---> 5f31840347ca 06:20:20 Successfully built 5f31840347ca 06:20:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:20:20 + docker inspect -f . ci-base-image-arm64 06:20:20 . [Pipeline] withDockerContainer 06:20:21 prd-ubuntu20.04-docker-arm64-4c-16g-44843 does not seem to be running inside a container 06:20:21 $ 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-arm64 cat 06:20:22 $ docker top d98322e8b610833265f0999baa9fe53ec547e6859a187d512e0a7672f9c73c95 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:23 + go version 06:20:23 go version go1.17.6 linux/arm64 [Pipeline] } 06:20:23 $ docker stop --time=1 d98322e8b610833265f0999baa9fe53ec547e6859a187d512e0a7672f9c73c95 06:20:25 $ docker rm -f d98322e8b610833265f0999baa9fe53ec547e6859a187d512e0a7672f9c73c95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:20:25 + docker inspect -f . ci-base-image-arm64 06:20:25 . [Pipeline] withDockerContainer 06:20:26 prd-ubuntu20.04-docker-arm64-4c-16g-44843 does not seem to be running inside a container 06:20:26 $ 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-arm64 cat 06:20:27 $ docker top 0620a020371225d70351010b3237731be4026d08261d656f2b4a2b1b9aea031d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:20:28 + make test 06:20:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:20:55 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:22:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:22:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:22:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:22:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.421s coverage: 23.3% of statements 06:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:22:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.256s coverage: 27.6% of statements 06:22:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.318s coverage: 78.9% of statements 06:22:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.262s coverage: 10.8% of statements 06:22:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.508s coverage: 60.0% of statements 06:22:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:22:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:22:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.441s coverage: 34.8% of statements 06:22:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:22:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.281s coverage: 86.1% of statements 06:22:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:22:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:22:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.401s coverage: 65.1% of statements 06:22:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.142s coverage: 89.2% of statements 06:22:52 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:22:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.237s coverage: 4.7% of statements 06:22:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:22:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:22:55 GO111MODULE=on go vet ./... 06:24:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:24:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:24:17 ./bin/test-attribution-txt.sh [Pipeline] echo 06:24:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:24:17 $ docker stop --time=1 0620a020371225d70351010b3237731be4026d08261d656f2b4a2b1b9aea031d 06:24:19 $ docker rm -f 0620a020371225d70351010b3237731be4026d08261d656f2b4a2b1b9aea031d [Pipeline] // withDockerContainer [Pipeline] sh 06:24:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:24:20 Warning: overwriting stash ‘coverage-report’ 06:24:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:24:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:24:22 + ls -al . 06:24:22 total 292 06:24:22 drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:24 . 06:24:22 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:18 .. 06:24:22 -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:18 .dockerignore 06:24:22 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:18 .git 06:24:22 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:18 .github 06:24:22 -rw-rw-r-- 1 jenkins jenkins 131 May 10 06:18 .gitignore 06:24:22 -rw-rw-r-- 1 jenkins jenkins 42 May 10 06:18 .golangci.yml 06:24:22 -rw-rw-r-- 1 jenkins jenkins 26321 May 10 06:18 CHANGELOG.md 06:24:22 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:18 GOVERNANCE.md 06:24:22 -rw-rw-r-- 1 jenkins jenkins 880 May 10 06:18 Jenkinsfile 06:24:22 -rw-rw-r-- 1 jenkins jenkins 11341 May 10 06:18 LICENSE 06:24:22 -rw-rw-r-- 1 jenkins jenkins 2015 May 10 06:18 Makefile 06:24:22 -rw-rw-r-- 1 jenkins jenkins 619 May 10 06:18 OWNERS.md 06:24:22 -rw-rw-r-- 1 jenkins jenkins 4881 May 10 06:18 README.md 06:24:22 -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:16 VERSION 06:24:22 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:18 bin 06:24:22 -rw-r--r-- 1 jenkins jenkins 130739 May 10 06:22 coverage.out 06:24:22 drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:18 example 06:24:22 -rw-rw-r-- 1 jenkins jenkins 3159 May 10 06:18 go.mod 06:24:22 -rw-rw-r-- 1 jenkins jenkins 34529 May 10 06:18 go.sum 06:24:22 drwxrwxr-x 15 jenkins jenkins 4096 May 10 06:18 internal 06:24:22 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:18 openapi 06:24:22 drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:18 pkg 06:24:22 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:18 snap 06:24:22 -rw-rw-r-- 1 jenkins jenkins 222 May 10 06:18 version.go [Pipeline] isUnix [Pipeline] sh 06:24:22 + 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=1932b760e9d522737c398020759f258cc4964592 --label arch=arm64 --label version=0.0.0 . 06:24:23 Sending build context to Docker daemon 5.364MB 06:24:23 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 06:24:23 Step 2/25 : FROM ${BASE} AS builder 06:24:23 ---> 5f31840347ca 06:24:23 Step 3/25 : ARG MAKE=make build 06:24:23 ---> Running in 40aace350fe1 06:24:23 Removing intermediate container 40aace350fe1 06:24:23 ---> 5dcb2fc81d40 06:24:23 Step 4/25 : WORKDIR /device-sdk-go 06:24:23 ---> Running in 89c199beab94 06:24:23 Removing intermediate container 89c199beab94 06:24:23 ---> e29074d7bcfe 06:24:23 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:24:23 ---> Running in 53377e8a9c47 06:24:24 Removing intermediate container 53377e8a9c47 06:24:24 ---> 017d9f3138a6 06:24:24 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:24:24 ---> Running in 9ac6c8ba0004 06:24:25 Removing intermediate container 9ac6c8ba0004 06:24:25 ---> 822881b89405 06:24:25 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:24:25 ---> Running in 8b447edbf565 06:24:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:24:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:24:28 OK: 220 MiB in 52 packages 06:24:29 Removing intermediate container 8b447edbf565 06:24:29 ---> 6006bab62c65 06:24:29 Step 8/25 : COPY go.mod vendor* ./ 06:24:29 ---> fbcb475963a7 06:24:29 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:24:29 ---> Running in 30ea14fc639d 06:24:31 Removing intermediate container 30ea14fc639d 06:24:31 ---> 2a3516d3bbc3 06:24:31 Step 10/25 : COPY . . 06:24:32 ---> b2e393d54fea 06:24:32 Step 11/25 : RUN ${MAKE} 06:24:32 ---> Running in 8a404505c739 06:24:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:26:25 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:26:27 Removing intermediate container 8a404505c739 06:26:27 ---> 72c983b0144c 06:26:27 Step 12/25 : FROM alpine:3.14 06:26:27 3.14: Pulling from library/alpine 06:26:28 455c02918c45: Pulling fs layer 06:26:28 455c02918c45: Verifying Checksum 06:26:28 455c02918c45: Download complete 06:26:28 455c02918c45: Pull complete 06:26:28 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:26:28 Status: Downloaded newer image for alpine:3.14 06:26:28 ---> ac73e934f311 06:26:28 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:26:29 ---> Running in c4bdfacd6c16 06:26:29 Removing intermediate container c4bdfacd6c16 06:26:29 ---> 60a300bbbff4 06:26:29 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:26:29 ---> Running in 884b6217de69 06:26:30 Removing intermediate container 884b6217de69 06:26:30 ---> d6fea8475267 06:26:30 Step 15/25 : RUN apk add --update --no-cache zeromq 06:26:30 ---> Running in 80d2cbd1f3f4 06:26:31 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:26:32 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:26:33 (1/5) Installing libgcc (10.3.1_git20210424-r2) 06:26:33 (2/5) Installing libsodium (1.0.18-r0) 06:26:33 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 06:26:33 (4/5) Installing libzmq (4.3.4-r0) 06:26:33 (5/5) Installing zeromq (4.3.4-r0) 06:26:33 Executing busybox-1.33.1-r7.trigger 06:26:33 OK: 8 MiB in 19 packages 06:26:34 Removing intermediate container 80d2cbd1f3f4 06:26:34 ---> a6a99adad6f5 06:26:34 Step 16/25 : WORKDIR / 06:26:34 ---> Running in 4549f22a55c2 06:26:35 Removing intermediate container 4549f22a55c2 06:26:35 ---> 80826bddc71f 06:26:35 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:26:35 ---> 4271a5fe2f25 06:26:35 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:26:36 ---> 38ee5d14b1ba 06:26:36 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:26:37 ---> ba84da06558f 06:26:37 Step 20/25 : EXPOSE 59999 06:26:37 ---> Running in 61c66bab7e7e 06:26:37 Removing intermediate container 61c66bab7e7e 06:26:37 ---> a4279699bd71 06:26:37 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:26:37 ---> Running in 62fff7fa9bfa 06:26:38 Removing intermediate container 62fff7fa9bfa 06:26:38 ---> 67b6b433f52e 06:26:38 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:26:38 ---> Running in 51b0fd48ebe8 06:26:38 Removing intermediate container 51b0fd48ebe8 06:26:38 ---> 7c966af944e8 06:26:38 Step 23/25 : LABEL arch=arm64 06:26:38 ---> Running in 205257b21f72 06:26:38 Removing intermediate container 205257b21f72 06:26:38 ---> e48e833905bb 06:26:38 Step 24/25 : LABEL git_sha=1932b760e9d522737c398020759f258cc4964592 06:26:38 ---> Running in 590cf2b8094e 06:26:39 Removing intermediate container 590cf2b8094e 06:26:39 ---> ac8b7a4c6b21 06:26:39 Step 25/25 : LABEL version=0.0.0 06:26:39 ---> Running in 301785fc58a1 06:26:39 Removing intermediate container 301785fc58a1 06:26:39 ---> 758875ce8700 06:26:39 [Warning] One or more build-args [ARCH] were not consumed 06:26:39 Successfully built 758875ce8700 06:26:39 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 06:26:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:26:40 06:26:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:26:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:26:40 arm64: Pulling from edgex-lftools-log-publisher 06:26:40 8998bd30e6a1: Pulling fs layer 06:26:40 04944245beec: Pulling fs layer 06:26:40 699f458cf7ca: Pulling fs layer 06:26:40 765212b225bb: Pulling fs layer 06:26:40 f23df028b6ca: Pulling fs layer 06:26:40 d65c8cfc05b1: Pulling fs layer 06:26:40 2437ff75d9bd: Pulling fs layer 06:26:40 765212b225bb: Waiting 06:26:40 d65c8cfc05b1: Waiting 06:26:40 2437ff75d9bd: Waiting 06:26:40 f23df028b6ca: Waiting 06:26:40 04944245beec: Verifying Checksum 06:26:40 04944245beec: Download complete 06:26:40 765212b225bb: Verifying Checksum 06:26:40 765212b225bb: Download complete 06:26:40 f23df028b6ca: Verifying Checksum 06:26:40 f23df028b6ca: Download complete 06:26:40 d65c8cfc05b1: Verifying Checksum 06:26:40 d65c8cfc05b1: Download complete 06:26:41 699f458cf7ca: Verifying Checksum 06:26:41 699f458cf7ca: Download complete 06:26:41 8998bd30e6a1: Download complete 06:26:43 2437ff75d9bd: Verifying Checksum 06:26:43 2437ff75d9bd: Download complete 06:26:45 8998bd30e6a1: Pull complete 06:26:46 04944245beec: Pull complete 06:26:47 699f458cf7ca: Pull complete 06:26:47 765212b225bb: Pull complete 06:26:48 f23df028b6ca: Pull complete 06:26:48 d65c8cfc05b1: Pull complete 06:27:03 2437ff75d9bd: Pull complete 06:27:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:27:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:27:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:27:04 prd-ubuntu20.04-docker-arm64-4c-16g-44843 does not seem to be running inside a container 06:27:04 $ 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:arm64 cat 06:27:06 $ docker top 15a1427ccf396836356ee6ec7495d9bd6872ffd73fa8af431b0ec2e6493a068b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:07 ---> job-cost.sh 06:27:07 lf-activate-venv: SKIPPING 06:27:07 INFO: No Stack... 06:27:07 INFO: Retrieving Pricing Info for: v3-standard-4 06:27:08 INFO: Archiving Costs [Pipeline] sh 06:27:09 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 06:27:09 + cut -d, -f6 [Pipeline] lock 06:27:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] 06:27:09 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] did not exist. Created. 06:27:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:27:10 /w/workspace/device-sdk-go/2@tmp/durable-9f96b12a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:27:10 + echo total: 0.10999999940395355 [Pipeline] stash 06:27:10 Warning: overwriting stash ‘stack-cost’ 06:27:11 Stashed 1 file(s) [Pipeline] } 06:27:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1159-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:27:11 $ docker stop --time=1 15a1427ccf396836356ee6ec7495d9bd6872ffd73fa8af431b0ec2e6493a068b 06:27:12 $ docker rm -f 15a1427ccf396836356ee6ec7495d9bd6872ffd73fa8af431b0ec2e6493a068b [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 06:27:12 provisioning config files... 06:27:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/config7035880536654531749tmp [Pipeline] { [Pipeline] sh 06:27:13 + set +x 06:27:13 + curl+ -s https://codecov.io/bash 06:27:13 bash -s -- 06:27:13 06:27:13 _____ _ 06:27:13 / ____| | | 06:27:13 | | ___ __| | ___ ___ _____ __ 06:27:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:27:13 | |___| (_) | (_| | __/ (_| (_) \ V / 06:27:13 \_____\___/ \__,_|\___|\___\___/ \_/ 06:27:13 Bash-1.0.6 06:27:13 06:27:13 06:27:13 ==> git version 2.25.1 found 06:27:13 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:27:13 Release-Date: 2020-01-08 06:27:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:27:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:27:13 ==> Jenkins CI detected. 06:27:13 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1159 06:27:13 project root: . 06:27:13 --> token set from env 06:27:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:27:13 ==> Running gcov in . (disable via -X gcov) 06:27:13 ==> Python coveragepy not found 06:27:13 ==> Searching for coverage reports in: 06:27:13 + . 06:27:13 -> Found 1 reports 06:27:13 ==> Detecting git/mercurial file structure 06:27:13 ==> Reading reports 06:27:13 + ./coverage.out bytes=130739 06:27:13 ==> Appending adjustments 06:27:13 https://docs.codecov.io/docs/fixing-reports 06:27:13 + Found adjustments 06:27:13 ==> Gzipping contents 06:27:13 20K /tmp/codecov.886cGZ.gz 06:27:13 ==> Uploading reports 06:27:13 url: https://codecov.io 06:27:13 query: branch=PR-1159&commit=1932b760e9d522737c398020759f258cc4964592&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1159%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1159&job=&cmd_args= 06:27:13 -> Pinging Codecov 06:27:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1159&commit=1932b760e9d522737c398020759f258cc4964592&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1159%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1159&job=&cmd_args= 06:27:14 -> Uploading to 06:27:14 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/7E55EF52A471D76F132DFD9A03CDDE97/1932b760e9d522737c398020759f258cc4964592/1215481e-ab2f-4663-a2d0-43c9c71413bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T062713Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c4eeb23bb6715f0572869fe78d4fa61df5cd51e485b5e2922aea90910a372a1a 06:27:14 % Total % Received % Xferd Average Speed Time Time Time Current 06:27:14 Dload Upload Total Spent Left Speed 06:27:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16816 0 0 100 16816 0 76090 --:--:-- --:--:-- --:--:-- 75747 100 16816 0 0 100 16816 0 60489 --:--:-- --:--:-- --:--:-- 60272 06:27:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1932b760e9d522737c398020759f258cc4964592 [Pipeline] } 06:27:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:27:15 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives ] 06:27:15 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives 06:27:15 total 16 06:27:15 drwxr-xr-x 3 root root 4096 May 10 06:18 . 06:27:15 drwxrwxr-x 12 jenkins jenkins 4096 May 10 06:18 .. 06:27:15 drwxr-xr-x 2 root root 4096 May 10 06:18 cost 06:27:15 -rw-r--r-- 1 root root 85 May 10 06:18 cost.csv 06:27:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives 06:27:15 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives 06:27:15 total 16 06:27:15 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:18 . 06:27:15 drwxrwxr-x 12 jenkins jenkins 4096 May 10 06:18 .. 06:27:15 drwxr-xr-x 2 jenkins jenkins 4096 May 10 06:18 cost 06:27:15 -rw-r--r-- 1 jenkins jenkins 85 May 10 06:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:27:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:27:16 ---> package-listing.sh 06:27:16 ++ tr '[:upper:]' '[:lower:]' 06:27:16 ++ facter osfamily 06:27:16 + OS_FAMILY=debian 06:27:16 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1159 06:27:16 + START_PACKAGES=/tmp/packages_start.txt 06:27:16 + END_PACKAGES=/tmp/packages_end.txt 06:27:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:27:16 + PACKAGES=/tmp/packages_start.txt 06:27:16 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1159 ']' 06:27:16 + PACKAGES=/tmp/packages_end.txt 06:27:16 + case "${OS_FAMILY}" in 06:27:16 + dpkg -l 06:27:16 + grep '^ii' 06:27:16 + '[' -f /tmp/packages_start.txt ']' 06:27:16 + '[' -f /tmp/packages_end.txt ']' 06:27:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:27:16 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1159 ']' 06:27:16 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives/ 06:27:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1159/archives/ [Pipeline] echo 06:27:16 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1159/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:27:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:27:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:27:17 . [Pipeline] withDockerContainer 06:27:17 prd-ubuntu20.04-docker-8c-8g-44842 does not seem to be running inside a container 06:27:17 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1159/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-1159 -v /w/workspace/gexfoundry_device-sdk-go_PR-1159:/w/workspace/gexfoundry_device-sdk-go_PR-1159:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1159@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 06:27:17 $ docker top 022c0c1f89b1b66bb04ba4f8d3c19a9334338e50893dc1ffaaad760b075aad82 -eo pid,comm [Pipeline] { [Pipeline] sh 06:27:18 + touch /tmp/pre-build-complete [Pipeline] sh 06:27:18 + mkdir -p /var/log/sysstat [Pipeline] sh 06:27:18 + ls /var/log/sa-host 06:27:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:27:18 provisioning config files... 06:27:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1159@tmp/config2746960238099963830tmp [Pipeline] { [Pipeline] echo 06:27:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:27:19 ---> create-netrc.sh [Pipeline] } 06:27:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:27:19 ---> python-tools-install.sh [Pipeline] echo 06:27:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:27:19 ---> sudo-logs.sh 06:27:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:27:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:27:20 ---> job-cost.sh 06:27:20 lf-activate-venv: SKIPPING 06:27:20 DEBUG: total: 0.2199999988079071 06:27:20 INFO: Retrieving Stack Cost... 06:27:20 INFO: Retrieving Pricing Info for: v3-standard-8 06:27:21 INFO: Archiving Costs [Pipeline] echo 06:27:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:27:21 ---> logs-deploy.sh 06:27:21 lf-activate-venv: SKIPPING 06:27:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1159/2 06:27:21 INFO: archiving workspace using pattern(s): 06:27:22 Archives upload complete. 06:27:22 INFO: archiving logs to Nexus 06:27:23 ---> uname -a: 06:27:23 Linux prd-ubuntu20-04-docker-8c-8g-44842 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 06:27:23 06:27:23 06:27:23 ---> lscpu: 06:27:23 Architecture: x86_64 06:27:23 CPU op-mode(s): 32-bit, 64-bit 06:27:23 Byte Order: Little Endian 06:27:23 Address sizes: 40 bits physical, 48 bits virtual 06:27:23 CPU(s): 8 06:27:23 On-line CPU(s) list: 0-7 06:27:23 Thread(s) per core: 1 06:27:23 Core(s) per socket: 1 06:27:23 Socket(s): 8 06:27:23 NUMA node(s): 1 06:27:23 Vendor ID: AuthenticAMD 06:27:23 CPU family: 23 06:27:23 Model: 49 06:27:23 Model name: AMD EPYC-Rome Processor 06:27:23 Stepping: 0 06:27:23 CPU MHz: 2799.998 06:27:23 BogoMIPS: 5599.99 06:27:23 Virtualization: AMD-V 06:27:23 Hypervisor vendor: KVM 06:27:23 Virtualization type: full 06:27:23 L1d cache: 256 KiB 06:27:23 L1i cache: 256 KiB 06:27:23 L2 cache: 4 MiB 06:27:23 L3 cache: 128 MiB 06:27:23 NUMA node0 CPU(s): 0-7 06:27:23 Vulnerability Itlb multihit: Not affected 06:27:23 Vulnerability L1tf: Not affected 06:27:23 Vulnerability Mds: Not affected 06:27:23 Vulnerability Meltdown: Not affected 06:27:23 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:27:23 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:27:23 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 06:27:23 Vulnerability Srbds: Not affected 06:27:23 Vulnerability Tsx async abort: Not affected 06:27:23 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 rep_good nopl cpuid extd_apicid tsc_known_freq 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 ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 06:27:23 06:27:23 06:27:23 ---> nproc: 06:27:23 8 06:27:23 06:27:23 06:27:23 ---> df -h: 06:27:23 Filesystem Size Used Avail Use% Mounted on 06:27:23 overlay 155G 11G 145G 7% / 06:27:23 tmpfs 64M 0 64M 0% /dev 06:27:23 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:27:23 shm 64M 0 64M 0% /dev/shm 06:27:23 /dev/vda1 155G 11G 145G 7% /facter-os 06:27:23 06:27:23 06:27:23 ---> sar -b -r -n DEV: 06:27:23 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-44842) 05/10/22 _x86_64_ (8 CPU) 06:27:23 06:27:23 06:15:25 LINUX RESTART (8 CPU) 06:27:23 06:27:23 06:16:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:27:23 06:17:01 309.56 13.00 296.56 0.00 2090.09 120095.71 0.00 06:27:23 06:18:01 82.95 0.12 82.84 0.00 5.47 14268.29 0.00 06:27:23 06:19:01 129.33 0.02 129.31 0.00 3.60 33056.37 0.00 06:27:23 06:20:01 1.60 0.00 1.60 0.00 0.00 18.26 0.00 06:27:23 06:21:01 1.15 0.03 1.12 0.00 0.40 14.00 0.00 06:27:23 06:22:01 0.98 0.00 0.98 0.00 0.00 12.53 0.00 06:27:23 06:23:01 1.08 0.00 1.08 0.00 0.00 12.80 0.00 06:27:23 06:24:01 1.33 0.00 1.33 0.00 0.00 15.60 0.00 06:27:23 06:25:01 1.03 0.03 1.00 0.00 0.27 11.06 0.00 06:27:23 06:26:01 4.96 2.21 2.76 0.00 36.13 87.40 0.00 06:27:23 06:27:01 1.10 0.00 1.10 0.00 0.00 12.53 0.00 06:27:23 Average: 48.23 1.38 46.85 0.00 191.24 15072.23 0.00 06:27:23 06:27:23 06:16:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:27:23 06:17:01 28542652 31746296 544528 1.66 158220 3261768 1984500 5.85 1189120 2705468 14180 06:27:23 06:18:01 28019640 31636552 651508 1.98 163828 3640972 2253300 6.64 1525108 2864616 374036 06:27:23 06:19:01 27818668 31776448 512256 1.56 174480 3934996 1778488 5.24 1282916 3269248 168 06:27:23 06:20:01 27819644 31777396 511216 1.55 174496 3934996 1778488 5.24 1281900 3269248 180 06:27:23 06:21:01 27829264 31787092 501800 1.53 174520 3935012 1778488 5.24 1271760 3269496 16 06:27:23 06:22:01 27829412 31787244 501532 1.53 174528 3935016 1778488 5.24 1271912 3269500 224 06:27:23 06:23:01 27837784 31795620 493172 1.50 174552 3935016 1778488 5.24 1263460 3269500 16 06:27:23 06:24:01 27837192 31795148 493548 1.50 174576 3935148 1778488 5.24 1263240 3269620 52 06:27:23 06:25:01 27836820 31794848 493844 1.50 174596 3935144 1778488 5.24 1263940 3269620 8 06:27:23 06:26:01 27834600 31795536 492444 1.50 174664 3937448 1778488 5.24 1264040 3271924 92 06:27:23 06:27:01 27834512 31795480 492420 1.50 174672 3937468 1778488 5.24 1263704 3271928 20 06:27:23 Average: 27912744 31771605 517115 1.57 172103 3847544 1840381 5.42 1285555 3181833 35363 06:27:23 06:27:23 06:16:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:27:23 06:17:01 docker0 108.15 136.50 8.89 1100.24 0.00 0.00 0.00 0.00 06:27:23 06:17:01 ens3 456.23 317.13 6264.61 114.68 0.00 0.00 0.00 0.00 06:27:23 06:17:01 vethbd930b7 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 06:27:23 06:17:01 lo 6.03 6.03 0.59 0.59 0.00 0.00 0.00 0.00 06:27:23 06:18:01 docker0 9.32 11.05 0.54 38.20 0.00 0.00 0.00 0.00 06:27:23 06:18:01 ens3 48.88 29.20 72.75 12.74 0.00 0.00 0.00 0.00 06:27:23 06:18:01 veth6c8dd0f 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 06:27:23 06:18:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 06:27:23 06:19:01 docker0 8.27 10.30 0.48 51.30 0.00 0.00 0.00 0.00 06:27:23 06:19:01 ens3 160.79 114.48 2630.73 69.04 0.00 0.00 0.00 0.00 06:27:23 06:19:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 06:27:23 06:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 06:20:01 ens3 0.73 0.73 0.05 0.06 0.00 0.00 0.00 0.00 06:27:23 06:20:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:27:23 06:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 06:21:01 ens3 0.18 0.12 0.08 0.07 0.00 0.00 0.00 0.00 06:27:23 06:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 06:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 06:22:01 ens3 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 06:27:23 06:22:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:27:23 06:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 06:23:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 06:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 06:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 06:24:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 06:27:23 06:24:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:27:23 06:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 06:25:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 06:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 06:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 06:26:01 ens3 0.23 0.18 0.08 0.07 0.00 0.00 0.00 0.00 06:27:23 06:26:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:27:23 06:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 06:27:01 ens3 0.83 0.25 1.94 0.02 0.00 0.00 0.00 0.00 06:27:23 06:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:27:23 Average: docker0 11.28 14.16 0.89 106.61 0.00 0.00 0.00 0.00 06:27:23 Average: ens3 60.12 41.60 806.92 17.73 0.00 0.00 0.00 0.00 06:27:23 Average: lo 0.80 0.80 0.08 0.08 0.00 0.00 0.00 0.00 06:27:23 06:27:23 06:27:23 ---> sar -P ALL: 06:27:23 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-44842) 05/10/22 _x86_64_ (8 CPU) 06:27:23 06:27:23 06:15:25 LINUX RESTART (8 CPU) 06:27:23 06:27:23 06:16:02 CPU %user %nice %system %iowait %steal %idle 06:27:23 06:17:01 all 12.01 0.00 5.16 2.46 0.09 80.28 06:27:23 06:17:01 0 10.62 0.00 4.40 0.74 0.09 84.15 06:27:23 06:17:01 1 12.06 0.00 5.11 3.56 0.07 79.21 06:27:23 06:17:01 2 12.47 0.00 4.67 1.60 0.10 81.15 06:27:23 06:17:01 3 11.73 0.00 5.52 3.55 0.10 79.09 06:27:23 06:17:01 4 13.39 0.00 5.00 0.60 0.10 80.91 06:27:23 06:17:01 5 11.05 0.00 5.64 5.59 0.07 77.64 06:27:23 06:17:01 6 12.36 0.00 6.26 2.84 0.10 78.44 06:27:23 06:17:01 7 12.37 0.00 4.66 1.19 0.10 81.67 06:27:23 06:18:01 all 49.58 0.00 7.19 0.56 0.15 42.51 06:27:23 06:18:01 0 49.55 0.00 7.58 0.12 0.15 42.61 06:27:23 06:18:01 1 50.73 0.00 7.84 0.10 0.15 41.18 06:27:23 06:18:01 2 48.41 0.00 7.16 2.22 0.15 42.06 06:27:23 06:18:01 3 51.41 0.00 6.81 0.84 0.17 40.77 06:27:23 06:18:01 4 47.48 0.00 6.84 0.07 0.15 45.47 06:27:23 06:18:01 5 49.57 0.00 7.57 0.84 0.15 41.86 06:27:23 06:18:01 6 49.70 0.00 6.65 0.32 0.15 43.18 06:27:23 06:18:01 7 49.82 0.00 7.04 0.00 0.15 42.98 06:27:23 06:19:01 all 4.65 0.00 2.07 1.67 0.05 91.56 06:27:23 06:19:01 0 6.06 0.00 1.96 0.28 0.05 91.64 06:27:23 06:19:01 1 4.53 0.00 1.84 3.01 0.05 90.57 06:27:23 06:19:01 2 4.33 0.00 2.27 4.20 0.07 89.13 06:27:23 06:19:01 3 4.65 0.00 1.95 0.65 0.05 92.70 06:27:23 06:19:01 4 2.64 0.00 2.44 4.61 0.05 90.26 06:27:23 06:19:01 5 4.55 0.00 2.05 0.18 0.03 93.18 06:27:23 06:19:01 6 4.66 0.00 1.76 0.27 0.05 93.26 06:27:23 06:19:01 7 5.75 0.00 2.30 0.15 0.07 91.73 06:27:23 06:20:01 all 0.15 0.00 0.01 0.01 0.00 99.84 06:27:23 06:20:01 0 0.00 0.00 0.02 0.00 0.00 99.98 06:27:23 06:20:01 1 0.02 0.00 0.00 0.02 0.00 99.97 06:27:23 06:20:01 2 0.02 0.00 0.00 0.02 0.00 99.97 06:27:23 06:20:01 3 0.02 0.00 0.02 0.00 0.00 99.97 06:27:23 06:20:01 4 1.03 0.00 0.00 0.02 0.00 98.96 06:27:23 06:20:01 5 0.00 0.00 0.00 0.00 0.00 100.00 06:27:23 06:20:01 6 0.02 0.00 0.00 0.00 0.00 99.98 06:27:23 06:20:01 7 0.08 0.00 0.02 0.00 0.00 99.90 06:27:23 06:21:01 all 0.12 0.00 0.03 0.02 0.01 99.82 06:27:23 06:21:01 0 0.02 0.00 0.02 0.00 0.00 99.97 06:27:23 06:21:01 1 0.02 0.00 0.05 0.02 0.00 99.92 06:27:23 06:21:01 2 0.00 0.00 0.02 0.00 0.00 99.98 06:27:23 06:21:01 3 0.05 0.00 0.05 0.00 0.00 99.90 06:27:23 06:21:01 4 0.70 0.00 0.00 0.10 0.02 99.18 06:27:23 06:21:01 5 0.05 0.00 0.02 0.00 0.00 99.93 06:27:23 06:21:01 6 0.03 0.00 0.07 0.02 0.02 99.87 06:27:23 06:21:01 7 0.08 0.00 0.03 0.03 0.02 99.83 06:27:23 06:22:01 all 0.00 0.00 0.01 0.00 0.00 99.99 06:27:23 06:22:01 0 0.00 0.00 0.02 0.00 0.00 99.98 06:27:23 06:22:01 1 0.00 0.00 0.00 0.00 0.00 100.00 06:27:23 06:22:01 2 0.00 0.00 0.02 0.02 0.00 99.97 06:27:23 06:22:01 3 0.00 0.00 0.02 0.00 0.00 99.98 06:27:23 06:22:01 4 0.00 0.00 0.00 0.00 0.00 100.00 06:27:23 06:22:01 5 0.00 0.00 0.00 0.00 0.00 100.00 06:27:23 06:22:01 6 0.00 0.00 0.00 0.00 0.00 100.00 06:27:23 06:22:01 7 0.02 0.00 0.02 0.00 0.00 99.97 06:27:23 06:23:01 all 0.10 0.00 0.02 0.00 0.00 99.87 06:27:23 06:23:01 0 0.00 0.00 0.02 0.00 0.00 99.98 06:27:23 06:23:01 1 0.03 0.00 0.03 0.02 0.02 99.90 06:27:23 06:23:01 2 0.03 0.00 0.00 0.00 0.00 99.97 06:27:23 06:23:01 3 0.05 0.00 0.00 0.00 0.00 99.95 06:27:23 06:23:01 4 0.55 0.00 0.02 0.02 0.00 99.42 06:27:23 06:23:01 5 0.03 0.00 0.03 0.00 0.00 99.93 06:27:23 06:23:01 6 0.03 0.00 0.02 0.00 0.00 99.95 06:27:23 06:23:01 7 0.07 0.00 0.03 0.00 0.02 99.88 06:27:23 06:24:01 all 0.01 0.00 0.01 0.01 0.00 99.97 06:27:23 06:24:01 0 0.00 0.00 0.02 0.00 0.02 99.97 06:27:23 06:24:01 1 0.00 0.00 0.00 0.03 0.00 99.97 06:27:23 06:24:01 2 0.02 0.00 0.00 0.00 0.00 99.98 06:27:23 06:24:01 3 0.02 0.00 0.02 0.00 0.00 99.97 06:27:23 06:24:01 4 0.00 0.00 0.00 0.02 0.00 99.98 06:27:23 06:24:01 5 0.00 0.00 0.00 0.00 0.00 100.00 06:27:23 06:24:01 6 0.03 0.00 0.00 0.00 0.00 99.97 06:27:23 06:24:01 7 0.03 0.00 0.03 0.00 0.00 99.93 06:27:23 06:25:01 all 0.03 0.00 0.01 0.00 0.00 99.95 06:27:23 06:25:01 0 0.02 0.00 0.00 0.00 0.00 99.98 06:27:23 06:25:01 1 0.03 0.00 0.02 0.02 0.00 99.93 06:27:23 06:25:01 2 0.05 0.00 0.02 0.00 0.00 99.93 06:27:23 06:25:01 3 0.02 0.00 0.00 0.00 0.00 99.98 06:27:23 06:25:01 4 0.05 0.00 0.03 0.00 0.00 99.92 06:27:23 06:25:01 5 0.02 0.00 0.02 0.00 0.00 99.97 06:27:23 06:25:01 6 0.03 0.00 0.02 0.00 0.00 99.95 06:27:23 06:25:01 7 0.03 0.00 0.02 0.00 0.00 99.95 06:27:23 06:26:01 all 0.02 0.00 0.03 0.03 0.01 99.91 06:27:23 06:26:01 0 0.00 0.00 0.00 0.00 0.00 100.00 06:27:23 06:26:01 1 0.02 0.00 0.02 0.00 0.00 99.97 06:27:23 06:26:01 2 0.00 0.00 0.03 0.00 0.02 99.95 06:27:23 06:26:01 3 0.00 0.00 0.02 0.07 0.00 99.92 06:27:23 06:26:01 4 0.00 0.00 0.03 0.13 0.02 99.82 06:27:23 06:26:01 5 0.12 0.00 0.03 0.00 0.00 99.85 06:27:23 06:26:01 6 0.02 0.00 0.03 0.00 0.00 99.95 06:27:23 06:26:01 7 0.05 0.00 0.05 0.02 0.02 99.87 06:27:23 06:27:01 all 0.02 0.00 0.01 0.00 0.01 99.96 06:27:23 06:27:01 0 0.02 0.00 0.00 0.00 0.00 99.98 06:27:23 06:27:01 1 0.02 0.00 0.00 0.00 0.00 99.98 06:27:23 06:27:01 2 0.02 0.00 0.00 0.00 0.00 99.98 06:27:23 06:27:01 3 0.03 0.00 0.00 0.00 0.02 99.95 06:27:23 06:27:01 4 0.03 0.00 0.00 0.03 0.02 99.92 06:27:23 06:27:01 5 0.02 0.00 0.00 0.00 0.00 99.98 06:27:23 06:27:01 6 0.02 0.00 0.00 0.00 0.00 99.98 06:27:23 06:27:01 7 0.03 0.00 0.07 0.00 0.02 99.88 06:27:23 06:27:23 Average: CPU %user %nice %system %iowait %steal %idle 06:27:23 Average: all 6.00 0.00 1.30 0.43 0.03 92.24 06:27:23 Average: 0 5.97 0.00 1.26 0.10 0.03 92.64 06:27:23 Average: 1 6.06 0.00 1.34 0.61 0.03 91.97 06:27:23 Average: 2 5.86 0.00 1.27 0.73 0.03 92.11 06:27:23 Average: 3 6.11 0.00 1.29 0.46 0.03 92.11 06:27:23 Average: 4 5.93 0.00 1.29 0.51 0.03 92.25 06:27:23 Average: 5 5.89 0.00 1.38 0.59 0.02 92.11 06:27:23 Average: 6 6.01 0.00 1.32 0.31 0.03 92.33 06:27:23 Average: 7 6.14 0.00 1.28 0.12 0.04 92.42 06:27:23 06:27:23 06:27:23