Pull request #1158 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9d23f13a7e87006a066c4d707af41039bad3d424+cc37b9e2c9629ca07e46878051115594cd22d281 (f6fc8cc71057988e85e73ce82fd881daefb4e37d) 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-ssh14171013991726410962.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-ssh11863666405996103814.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1158/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1158/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14485061069313520997.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1158/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12701692202269558250.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11477245426189098394.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1158/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1158/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11673520328540548193.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-44781 in /w/workspace/gexfoundry_device-sdk-go_PR-1158 [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-1158 # 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 cc37b9e2c9629ca07e46878051115594cd22d281 into PR head commit 9d23f13a7e87006a066c4d707af41039bad3d424 Merge succeeded, producing 9d23f13a7e87006a066c4d707af41039bad3d424 Checking out Revision 9d23f13a7e87006a066c4d707af41039bad3d424 (PR-1158) > 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/1158/head:refs/remotes/origin/PR-1158 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d23f13a7e87006a066c4d707af41039bad3d424 # 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 cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d23f13a7e87006a066c4d707af41039bad3d424 # timeout=10 Commit message: "build: Update to latest released 2.2.0 Go Mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:35:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:35:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:35:32 ========================================================= 22:35:32 EdgeX Global Pipelines Version Info 22:35:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:35:33 ------------------- 22:35:33 stable info: 22:35:33 ------------------- 22:35:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:35:33 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 22:35:33 Message: update stable to v1.0.227 22:35:34 ------------------- 22:35:34 experimental info: 22:35:34 ------------------- 22:35:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:35:34 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 22:35:34 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:35:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1158 [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1158 [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1158 [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9d23f13a7e87006a066c4d707af41039bad3d424 [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9d23f13 [Pipeline] echo 22:35:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:35:36 provisioning config files... 22:35:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/config8557803291124652178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:35:36 ---> docker-login.sh 22:35:36 nexus3.edgexfoundry.org:10001 22:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:36 Configure a credential helper to remove this warning. See 22:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:36 22:35:36 Login Succeeded 22:35:36 nexus3.edgexfoundry.org:10002 22:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:36 Configure a credential helper to remove this warning. See 22:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:36 22:35:36 Login Succeeded 22:35:36 nexus3.edgexfoundry.org:10003 22:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:37 Configure a credential helper to remove this warning. See 22:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:37 22:35:37 Login Succeeded 22:35:37 nexus3.edgexfoundry.org:10004 22:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:37 Configure a credential helper to remove this warning. See 22:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:37 22:35:37 Login Succeeded 22:35:37 docker.io 22:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:37 Configure a credential helper to remove this warning. See 22:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:37 22:35:37 Login Succeeded 22:35:37 ---> docker-login.sh ends [Pipeline] } 22:35:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:35:38 + git rev-list -1 --merges 9d23f13a7e87006a066c4d707af41039bad3d424~1..9d23f13a7e87006a066c4d707af41039bad3d424 [Pipeline] echo 22:35:38 -----------> git rev-list -1 --merges 9d23f13a7e87006a066c4d707af41039bad3d424~1..9d23f13a7e87006a066c4d707af41039bad3d424 9d23f13a7e87006a066c4d707af41039bad3d424 [false] [Pipeline] sh 22:35:38 + git log --format=format:%s -1 9d23f13a7e87006a066c4d707af41039bad3d424 [Pipeline] echo 22:35:38 ========================================================= 22:35:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:35:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:35:39 + git log --format=format:%s -1 9d23f13a7e87006a066c4d707af41039bad3d424 [Pipeline] echo 22:35:39 [semverPrep] GIT_COMMIT: 9d23f13a7e87006a066c4d707af41039bad3d424, Commit Message: build: Update to latest released 2.2.0 Go Mods [Pipeline] echo 22:35:39 [semverPrep] This is not a build commit. [Pipeline] sh 22:35:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:35:39 + grep -v github /etc/ssh/ssh_known_hosts 22:35:39 + [ -e /tmp/ssh_known_hosts ] 22:35:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:35:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:35:39 + sudo tee -a /etc/ssh/ssh_known_hosts 22:35:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:35:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:35:40 22:35:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:35:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:35:40 latest: Pulling from edgex-devops/py-git-semver 22:35:40 1fe172e4850f: Pulling fs layer 22:35:40 caf521ccaac6: Pulling fs layer 22:35:40 3ead6fa29328: Pulling fs layer 22:35:40 5c2a1cbceb83: Pulling fs layer 22:35:40 a8d5f1318db7: Pulling fs layer 22:35:40 c427282e49a2: Pulling fs layer 22:35:40 1827001aaf11: Pulling fs layer 22:35:40 0714d37db230: Pulling fs layer 22:35:40 ac28cf19c067: Pulling fs layer 22:35:40 ca983d60f3e2: Pulling fs layer 22:35:40 9f894cec8388: Pulling fs layer 22:35:40 ca983d60f3e2: Waiting 22:35:40 0714d37db230: Waiting 22:35:40 9f894cec8388: Waiting 22:35:40 5c2a1cbceb83: Waiting 22:35:40 c427282e49a2: Waiting 22:35:40 ac28cf19c067: Waiting 22:35:40 1827001aaf11: Waiting 22:35:40 a8d5f1318db7: Waiting 22:35:40 caf521ccaac6: Verifying Checksum 22:35:40 caf521ccaac6: Download complete 22:35:40 5c2a1cbceb83: Verifying Checksum 22:35:40 5c2a1cbceb83: Download complete 22:35:40 a8d5f1318db7: Download complete 22:35:40 c427282e49a2: Verifying Checksum 22:35:40 c427282e49a2: Download complete 22:35:40 3ead6fa29328: Verifying Checksum 22:35:40 3ead6fa29328: Download complete 22:35:40 0714d37db230: Verifying Checksum 22:35:40 0714d37db230: Download complete 22:35:40 ac28cf19c067: Download complete 22:35:40 ca983d60f3e2: Download complete 22:35:40 9f894cec8388: Download complete 22:35:40 1fe172e4850f: Download complete 22:35:41 1827001aaf11: Verifying Checksum 22:35:41 1827001aaf11: Download complete 22:35:42 1fe172e4850f: Pull complete 22:35:42 caf521ccaac6: Pull complete 22:35:43 3ead6fa29328: Pull complete 22:35:43 5c2a1cbceb83: Pull complete 22:35:43 a8d5f1318db7: Pull complete 22:35:43 c427282e49a2: Pull complete 22:35:45 1827001aaf11: Pull complete 22:35:45 0714d37db230: Pull complete 22:35:45 ac28cf19c067: Pull complete 22:35:46 ca983d60f3e2: Pull complete 22:35:46 9f894cec8388: Pull complete 22:35:46 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:35:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:35:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 22:35:46 prd-ubuntu20.04-docker-8c-8g-44781 does not seem to be running inside a container 22:35:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1158 -v /w/workspace/gexfoundry_device-sdk-go_PR-1158:/w/workspace/gexfoundry_device-sdk-go_PR-1158:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:35:47 $ docker top 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 -eo pid,comm 22:35:47 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). 22:35:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:35:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:35:48 [ssh-agent] Looking for ssh-agent implementation... 22:35:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:35:48 $ docker exec 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 ssh-agent 22:35:48 SSH_AUTH_SOCK=/tmp/ssh-Ywc4q45bFMK2/agent.34 22:35:48 SSH_AGENT_PID=40 22:35:48 Running ssh-add (command line suppressed) 22:35:48 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/private_key_2900804633244009699.key (/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/private_key_2900804633244009699.key) 22:35:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:35:48 + git tag --points-at HEAD [Pipeline] } 22:35:48 $ docker exec --env ******** --env ******** 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 ssh-agent -k 22:35:49 unset SSH_AUTH_SOCK; 22:35:49 unset SSH_AGENT_PID; 22:35:49 echo Agent pid 40 killed; 22:35:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:35:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:35:49 [ssh-agent] Looking for ssh-agent implementation... 22:35:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:35:49 $ docker exec 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 ssh-agent 22:35:49 SSH_AUTH_SOCK=/tmp/ssh-SOGQmtipimcT/agent.74 22:35:49 SSH_AGENT_PID=80 22:35:49 Running ssh-add (command line suppressed) 22:35:49 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/private_key_4191740435237510602.key (/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/private_key_4191740435237510602.key) 22:35:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:35:49 + git semver init 22:35:50 2022-05-09 22:35:50,057 [run_init] DEBUG init version:0.0.0 force:False 22:35:50 2022-05-09 22:35:50,058 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver 22:35:50 2022-05-09 22:35:50,058 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver 22:35:50 2022-05-09 22:35:50,059 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1158, universal_newlines=False, shell=None, istream=None) 22:35:51 2022-05-09 22:35:51,006 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1158/.git/info/exclude 22:35:51 2022-05-09 22:35:51,006 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver/PR-1158 with force:False 22:35:51 2022-05-09 22:35:51,006 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver/PR-1158 22:35:51 2022-05-09 22:35:51,011 [execute] INFO git cat-file --batch-check 22:35:51 2022-05-09 22:35:51,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver, universal_newlines=False, shell=None, istream=) 22:35:51 2022-05-09 22:35:51,018 [execute] INFO git cat-file --batch 22:35:51 2022-05-09 22:35:51,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver, universal_newlines=False, shell=None, istream=) 22:35:51 2022-05-09 22:35:51,023 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1158/.semver/PR-1158 22:35:51 0.0.0 [Pipeline] } 22:35:51 $ docker exec --env ******** --env ******** 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 ssh-agent -k 22:35:51 unset SSH_AUTH_SOCK; 22:35:51 unset SSH_AGENT_PID; 22:35:51 echo Agent pid 80 killed; 22:35:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:35:51 + git semver [Pipeline] } 22:35:51 $ docker stop --time=1 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 22:35:53 $ docker rm -f 37766b27ea2f88f2559ba7d5127e942aa2972e4b889d0c5d219bf855d35fd126 [Pipeline] // withDockerContainer [Pipeline] sh 22:35:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:35:54 Stashed 1 file(s) [Pipeline] echo 22:35:54 [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 22:35:54 provisioning config files... 22:35:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/config5928313642146443459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:35:54 ---> docker-login.sh 22:35:54 nexus3.edgexfoundry.org:10001 22:35:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:54 Configure a credential helper to remove this warning. See 22:35:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:54 22:35:54 Login Succeeded 22:35:54 nexus3.edgexfoundry.org:10002 22:35:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:55 Configure a credential helper to remove this warning. See 22:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:55 22:35:55 Login Succeeded 22:35:55 nexus3.edgexfoundry.org:10003 22:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:55 Configure a credential helper to remove this warning. See 22:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:55 22:35:55 Login Succeeded 22:35:55 nexus3.edgexfoundry.org:10004 22:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:55 Configure a credential helper to remove this warning. See 22:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:55 22:35:55 Login Succeeded 22:35:55 docker.io 22:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:55 Configure a credential helper to remove this warning. See 22:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:55 22:35:55 Login Succeeded 22:35:55 ---> docker-login.sh ends [Pipeline] } 22:35:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:35:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:35:56 ========================================================= 22:35:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:35:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:35:56 + 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 . 22:35:56 Sending build context to Docker daemon 9.728MB 22:35:56 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:35:56 Step 2/11 : FROM ${BASE} AS builder 22:35:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:35:56 59bf1c3509f3: Pulling fs layer 22:35:56 666ba61612fd: Pulling fs layer 22:35:56 8ed8ca486205: Pulling fs layer 22:35:56 4fe6c5a15a65: Pulling fs layer 22:35:56 22a0e8bec74d: Pulling fs layer 22:35:56 ca2b28591e48: Pulling fs layer 22:35:56 a51346096db8: Pulling fs layer 22:35:56 daebc70d1ce1: Pulling fs layer 22:35:56 0e18a0eac166: Pulling fs layer 22:35:56 ca2b28591e48: Waiting 22:35:56 a51346096db8: Waiting 22:35:56 daebc70d1ce1: Waiting 22:35:56 0e18a0eac166: Waiting 22:35:56 4fe6c5a15a65: Waiting 22:35:56 8ed8ca486205: Verifying Checksum 22:35:56 8ed8ca486205: Download complete 22:35:56 666ba61612fd: Verifying Checksum 22:35:56 666ba61612fd: Download complete 22:35:56 22a0e8bec74d: Verifying Checksum 22:35:56 22a0e8bec74d: Download complete 22:35:56 ca2b28591e48: Verifying Checksum 22:35:56 ca2b28591e48: Download complete 22:35:56 59bf1c3509f3: Verifying Checksum 22:35:56 59bf1c3509f3: Download complete 22:35:56 a51346096db8: Download complete 22:35:56 daebc70d1ce1: Verifying Checksum 22:35:56 daebc70d1ce1: Download complete 22:35:56 59bf1c3509f3: Pull complete 22:35:56 666ba61612fd: Pull complete 22:35:56 8ed8ca486205: Pull complete 22:35:57 0e18a0eac166: Verifying Checksum 22:35:57 4fe6c5a15a65: Download complete 22:36:01 4fe6c5a15a65: Pull complete 22:36:01 22a0e8bec74d: Pull complete 22:36:01 ca2b28591e48: Pull complete 22:36:01 a51346096db8: Pull complete 22:36:01 daebc70d1ce1: Pull complete 22:36:04 0e18a0eac166: Pull complete 22:36:04 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 22:36:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:36:04 ---> f018257e8ee9 22:36:04 Step 3/11 : ARG MAKE=make build 22:36:06 ---> Running in 475db5f0dcfb 22:36:06 Removing intermediate container 475db5f0dcfb 22:36:06 ---> 1dd85843d594 22:36:06 Step 4/11 : WORKDIR /device-sdk-go 22:36:06 ---> Running in 87f401b59841 22:36:06 Removing intermediate container 87f401b59841 22:36:06 ---> b1c15e6513f3 22:36:06 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:36:06 ---> Running in 21691d45d104 22:36:06 Removing intermediate container 21691d45d104 22:36:06 ---> d2d7a6171301 22:36:06 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:36:06 ---> Running in bf5cf58b2d8a 22:36:07 Removing intermediate container bf5cf58b2d8a 22:36:07 ---> 00cac60ef096 22:36:07 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:36:07 ---> Running in a1cfd48b2017 22:36:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:36:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:36:09 OK: 221 MiB in 52 packages 22:36:09 Still waiting to schedule task 22:36:09 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:36:09 Removing intermediate container a1cfd48b2017 22:36:09 ---> bd1646177008 22:36:09 Step 8/11 : COPY go.mod vendor* ./ 22:36:09 ---> 035b2aa4eecb 22:36:09 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:36:09 ---> Running in 42b23988bb29 22:36:27 Removing intermediate container 42b23988bb29 22:36:27 ---> 0fca011e776b 22:36:27 Step 10/11 : COPY . . 22:36:27 ---> 359e5f334adc 22:36:27 Step 11/11 : RUN ${MAKE} 22:36:27 ---> Running in 573d6096615b 22:36:27 noop 22:36:27 Removing intermediate container 573d6096615b 22:36:27 ---> 8c2d6e79465e 22:36:27 Successfully built 8c2d6e79465e 22:36:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:36:28 + docker inspect -f . ci-base-image-x86_64 22:36:28 . [Pipeline] withDockerContainer 22:36:28 prd-ubuntu20.04-docker-8c-8g-44781 does not seem to be running inside a container 22:36:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1158 -v /w/workspace/gexfoundry_device-sdk-go_PR-1158:/w/workspace/gexfoundry_device-sdk-go_PR-1158:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:36:28 $ docker top 0be50400f4ff9f67281380fc0faa6bbfa449f5b208e0e9cd12681ae592cb60e5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:36:29 + go version 22:36:29 go version go1.17.6 linux/amd64 [Pipeline] } 22:36:29 $ docker stop --time=1 0be50400f4ff9f67281380fc0faa6bbfa449f5b208e0e9cd12681ae592cb60e5 22:36:30 $ docker rm -f 0be50400f4ff9f67281380fc0faa6bbfa449f5b208e0e9cd12681ae592cb60e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:36:31 + docker inspect -f . ci-base-image-x86_64 22:36:31 . [Pipeline] withDockerContainer 22:36:31 prd-ubuntu20.04-docker-8c-8g-44781 does not seem to be running inside a container 22:36:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1158 -v /w/workspace/gexfoundry_device-sdk-go_PR-1158:/w/workspace/gexfoundry_device-sdk-go_PR-1158:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:36:31 $ docker top 05c521f725a5f599ccd087e93a3a94ee1eea665d3e1cfd8c020d99a1296e7bc7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:36:32 + make test 22:36:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:36:37 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:36:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:36:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:36:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:36:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.075s coverage: 23.3% of statements 22:36:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:36:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements 22:36:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.089s coverage: 78.9% of statements 22:36:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.065s coverage: 10.8% of statements 22:36:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.096s coverage: 60.0% of statements 22:36:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:36:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:36:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.082s coverage: 34.8% of statements 22:36:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:36:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.070s coverage: 86.1% of statements 22:36:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:36:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:36:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.092s coverage: 65.1% of statements 22:36:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.774s coverage: 89.2% of statements 22:36:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:36:50 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 22:36:50 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:37:05 GO111MODULE=on go vet ./... 22:37:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:37:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:37:09 ./bin/test-attribution-txt.sh [Pipeline] echo 22:37:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:37:09 $ docker stop --time=1 05c521f725a5f599ccd087e93a3a94ee1eea665d3e1cfd8c020d99a1296e7bc7 22:37:12 $ docker rm -f 05c521f725a5f599ccd087e93a3a94ee1eea665d3e1cfd8c020d99a1296e7bc7 [Pipeline] // withDockerContainer [Pipeline] sh 22:37:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:37:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:37:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:37:13 + ls -al . 22:37:13 total 296 22:37:13 drwxrwxr-x 11 jenkins jenkins 4096 May 9 22:37 . 22:37:13 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:35 .. 22:37:13 -rw-rw-r-- 1 jenkins jenkins 140 May 9 22:35 .dockerignore 22:37:13 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:35 .git 22:37:13 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:35 .github 22:37:13 -rw-rw-r-- 1 jenkins jenkins 131 May 9 22:35 .gitignore 22:37:13 -rw-rw-r-- 1 jenkins jenkins 42 May 9 22:35 .golangci.yml 22:37:13 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:35 .semver 22:37:13 -rw-rw-r-- 1 jenkins jenkins 26321 May 9 22:35 CHANGELOG.md 22:37:13 -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:35 GOVERNANCE.md 22:37:13 -rw-rw-r-- 1 jenkins jenkins 880 May 9 22:35 Jenkinsfile 22:37:13 -rw-rw-r-- 1 jenkins jenkins 11341 May 9 22:35 LICENSE 22:37:13 -rw-rw-r-- 1 jenkins jenkins 2015 May 9 22:35 Makefile 22:37:13 -rw-rw-r-- 1 jenkins jenkins 619 May 9 22:35 OWNERS.md 22:37:13 -rw-rw-r-- 1 jenkins jenkins 4881 May 9 22:35 README.md 22:37:13 -rw-rw-r-- 1 jenkins jenkins 5 May 9 22:35 VERSION 22:37:13 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:35 bin 22:37:13 -rw-r--r-- 1 jenkins jenkins 130819 May 9 22:36 coverage.out 22:37:13 drwxrwxr-x 5 jenkins jenkins 4096 May 9 22:35 example 22:37:13 -rw-rw-r-- 1 jenkins jenkins 3159 May 9 22:35 go.mod 22:37:13 -rw-rw-r-- 1 jenkins jenkins 34529 May 9 22:35 go.sum 22:37:13 drwxrwxr-x 15 jenkins jenkins 4096 May 9 22:35 internal 22:37:13 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:35 openapi 22:37:13 drwxrwxr-x 5 jenkins jenkins 4096 May 9 22:35 pkg 22:37:13 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:35 snap 22:37:13 -rw-rw-r-- 1 jenkins jenkins 222 May 9 22:35 version.go [Pipeline] isUnix [Pipeline] sh 22:37:14 + 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=9d23f13a7e87006a066c4d707af41039bad3d424 --label arch=amd64 --label version=0.0.0 . 22:37:14 Sending build context to Docker daemon 9.86MB 22:37:14 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:37:14 Step 2/25 : FROM ${BASE} AS builder 22:37:14 ---> 8c2d6e79465e 22:37:14 Step 3/25 : ARG MAKE=make build 22:37:14 ---> Running in 91b683a08076 22:37:14 Removing intermediate container 91b683a08076 22:37:14 ---> 85089fa1ef30 22:37:14 Step 4/25 : WORKDIR /device-sdk-go 22:37:14 ---> Running in 4017f619660b 22:37:14 Removing intermediate container 4017f619660b 22:37:14 ---> b82ced9bd649 22:37:14 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:37:14 ---> Running in 4cb619a2f603 22:37:14 Removing intermediate container 4cb619a2f603 22:37:14 ---> 8638fa39c1f9 22:37:14 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:37:14 ---> Running in ba4924263b59 22:37:15 Removing intermediate container ba4924263b59 22:37:15 ---> 5dbb9622dd60 22:37:15 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:37:15 ---> Running in c27ce8c5542e 22:37:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:37:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:37:16 OK: 221 MiB in 52 packages 22:37:17 Removing intermediate container c27ce8c5542e 22:37:17 ---> f2c6ccd2d26d 22:37:17 Step 8/25 : COPY go.mod vendor* ./ 22:37:17 ---> da838fe5fabc 22:37:17 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:37:17 ---> Running in e64a47e4da13 22:37:17 Removing intermediate container e64a47e4da13 22:37:17 ---> aaef1d25a77e 22:37:17 Step 10/25 : COPY . . 22:37:18 ---> 2fad5ec309c2 22:37:18 Step 11/25 : RUN ${MAKE} 22:37:18 ---> Running in 098321d966aa 22:37:18 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 22:37:36 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:37:37 Removing intermediate container 098321d966aa 22:37:37 ---> 9c0d14d8c500 22:37:37 Step 12/25 : FROM alpine:3.14 22:37:38 3.14: Pulling from library/alpine 22:37:38 8663204ce13b: Pulling fs layer 22:37:38 8663204ce13b: Verifying Checksum 22:37:38 8663204ce13b: Download complete 22:37:38 8663204ce13b: Pull complete 22:37:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:37:38 Status: Downloaded newer image for alpine:3.14 22:37:38 ---> e04c818066af 22:37:38 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:37:38 ---> Running in f1f0da793275 22:37:38 Removing intermediate container f1f0da793275 22:37:38 ---> 6f6e4ec3afde 22:37:38 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:37:38 ---> Running in 3e10b2d02cc4 22:37:39 Removing intermediate container 3e10b2d02cc4 22:37:39 ---> 6ef5ad72bd1e 22:37:39 Step 15/25 : RUN apk add --update --no-cache zeromq 22:37:39 ---> Running in 92608bd27c04 22:37:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:37:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:37:41 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:37:41 (2/5) Installing libsodium (1.0.18-r0) 22:37:41 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:37:41 (4/5) Installing libzmq (4.3.4-r0) 22:37:41 (5/5) Installing zeromq (4.3.4-r0) 22:37:41 Executing busybox-1.33.1-r7.trigger 22:37:41 OK: 8 MiB in 19 packages 22:37:41 Removing intermediate container 92608bd27c04 22:37:41 ---> 2547a78945cc 22:37:41 Step 16/25 : WORKDIR / 22:37:42 ---> Running in 22652d86b30a 22:37:42 Removing intermediate container 22652d86b30a 22:37:42 ---> 47b9d37c3e91 22:37:42 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:37:42 ---> fbf2f7eb0951 22:37:42 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:37:43 ---> 9bc4f2da5fc8 22:37:43 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:37:43 ---> bd2a805b9cb1 22:37:43 Step 20/25 : EXPOSE 59999 22:37:43 ---> Running in 3e5513d8cd8a 22:37:43 Removing intermediate container 3e5513d8cd8a 22:37:43 ---> a901f902e17d 22:37:43 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:37:43 ---> Running in 9d3002317a35 22:37:43 Removing intermediate container 9d3002317a35 22:37:43 ---> 212150bc0fad 22:37:43 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:37:43 ---> Running in 8df78fc4fffb 22:37:43 Removing intermediate container 8df78fc4fffb 22:37:43 ---> 35dba194c799 22:37:43 Step 23/25 : LABEL arch=amd64 22:37:43 ---> Running in 092e2ce6bd13 22:37:43 Removing intermediate container 092e2ce6bd13 22:37:43 ---> c8112268f2b2 22:37:43 Step 24/25 : LABEL git_sha=9d23f13a7e87006a066c4d707af41039bad3d424 22:37:43 ---> Running in 9adfcca666da 22:37:43 Removing intermediate container 9adfcca666da 22:37:43 ---> f94c5307c2e6 22:37:43 Step 25/25 : LABEL version=0.0.0 22:37:43 ---> Running in 0d099614480f 22:37:43 Removing intermediate container 0d099614480f 22:37:43 ---> 85bbf532d636 22:37:43 [Warning] One or more build-args [ARCH] were not consumed 22:37:43 Successfully built 85bbf532d636 22:37:43 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:37:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:37:44 22:37:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:37:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:37:44 latest: Pulling from edgex-lftools-log-publisher 22:37:44 5eb5b503b376: Pulling fs layer 22:37:44 5c69ac0246d0: Pulling fs layer 22:37:44 ec43610c2a17: Pulling fs layer 22:37:44 3a2ae6a8a46f: Pulling fs layer 22:37:44 33b1e0a273af: Pulling fs layer 22:37:44 5d3b04190fa2: Pulling fs layer 22:37:44 2f39f015ded8: Pulling fs layer 22:37:44 33b1e0a273af: Waiting 22:37:44 3a2ae6a8a46f: Waiting 22:37:44 5c69ac0246d0: Verifying Checksum 22:37:44 5c69ac0246d0: Download complete 22:37:44 3a2ae6a8a46f: Download complete 22:37:44 33b1e0a273af: Verifying Checksum 22:37:44 33b1e0a273af: Download complete 22:37:44 5d3b04190fa2: Download complete 22:37:44 ec43610c2a17: Verifying Checksum 22:37:44 ec43610c2a17: Download complete 22:37:45 5eb5b503b376: Download complete 22:37:45 2f39f015ded8: Verifying Checksum 22:37:45 2f39f015ded8: Download complete 22:37:46 5eb5b503b376: Pull complete 22:37:46 5c69ac0246d0: Pull complete 22:37:46 ec43610c2a17: Pull complete 22:37:47 3a2ae6a8a46f: Pull complete 22:37:47 33b1e0a273af: Pull complete 22:37:47 5d3b04190fa2: Pull complete 22:37:51 2f39f015ded8: Pull complete 22:37:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:37:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:37:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:37:51 prd-ubuntu20.04-docker-8c-8g-44781 does not seem to be running inside a container 22:37:51 $ 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-1158 -v /w/workspace/gexfoundry_device-sdk-go_PR-1158:/w/workspace/gexfoundry_device-sdk-go_PR-1158:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:37:53 $ docker top 3cbf605c850c0da188d3c4d679e452a9c8aa09a7f7e3b85cd235cec3e7864b8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:54 ---> job-cost.sh 22:37:54 lf-activate-venv: SKIPPING 22:37:54 INFO: No Stack... 22:37:54 INFO: Retrieving Pricing Info for: v3-standard-8 22:37:55 INFO: Archiving Costs [Pipeline] sh 22:37:55 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives/cost.csv 22:37:55 + cut -d, -f6 [Pipeline] lock 22:37:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] 22:37:55 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] did not exist. Created. 22:37:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:37:55 + echo total: 0.2199999988079071 [Pipeline] stash 22:37:55 Stashed 1 file(s) [Pipeline] } 22:37:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:37:56 $ docker stop --time=1 3cbf605c850c0da188d3c4d679e452a9c8aa09a7f7e3b85cd235cec3e7864b8c 22:37:57 $ docker rm -f 3cbf605c850c0da188d3c4d679e452a9c8aa09a7f7e3b85cd235cec3e7864b8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:39:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-44782 in /w/workspace/gexfoundry_device-sdk-go_PR-1158 [Pipeline] { [Pipeline] ws 22:39:55 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 22:39:55 The recommended git tool is: git 22:40:02 using credential edgex-jenkins-ssh 22:40:02 Cloning the remote Git repository 22:40:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:40:02 > git init /w/workspace/device-sdk-go/1 # timeout=10 22:40:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:40:02 > git --version # timeout=10 22:40:02 > git --version # 'git version 2.25.1' 22:40:02 using GIT_SSH to set credentials SSH Credentials for GitHub 22:40:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:40:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:40:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:40:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:40:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:40:04 using GIT_SSH to set credentials SSH Credentials for GitHub 22:40:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1158/head:refs/remotes/origin/PR-1158 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:40:05 Merging remotes/origin/main commit cc37b9e2c9629ca07e46878051115594cd22d281 into PR head commit 9d23f13a7e87006a066c4d707af41039bad3d424 22:40:05 Merge succeeded, producing 9d23f13a7e87006a066c4d707af41039bad3d424 22:40:05 Checking out Revision 9d23f13a7e87006a066c4d707af41039bad3d424 (PR-1158) 22:40:05 > git config core.sparsecheckout # timeout=10 22:40:05 > git checkout -f 9d23f13a7e87006a066c4d707af41039bad3d424 # timeout=10 22:40:05 > git remote # timeout=10 22:40:05 > git config --get remote.origin.url # timeout=10 22:40:05 using GIT_SSH to set credentials SSH Credentials for GitHub 22:40:05 > git merge cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 22:40:05 > git rev-parse HEAD^{commit} # timeout=10 22:40:05 > git config core.sparsecheckout # timeout=10 22:40:05 > git checkout -f 9d23f13a7e87006a066c4d707af41039bad3d424 # timeout=10 22:40:09 Commit message: "build: Update to latest released 2.2.0 Go Mods" 22:40:09 > git --version # timeout=10 22:40:09 > git --version # 'git version 2.25.1' 22:40:09 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:40:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:40:10 % Total % Received % Xferd Average Speed Time Time Time Current 22:40:10 Dload Upload Total Spent Left Speed 22:40:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 96284 0 --:--:-- --:--:-- --:--:-- 97073 [Pipeline] sh 22:40:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:40:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:40:11 + sudo tee /etc/docker/daemon.new 22:40:11 { 22:40:11 "registry-mirrors": [ 22:40:11 "https://nexus3.edgexfoundry.org:10001" 22:40:11 ], 22:40:11 "bip": "10.250.0.254/24", 22:40:11 "hosts": [ 22:40:11 "tcp://0.0.0.0:5555", 22:40:11 "unix:///var/run/docker.sock" 22:40:11 ], 22:40:11 "mtu": 1458, 22:40:11 "selinux-enabled": true, 22:40:11 "seccomp-profile": "/etc/docker/seccomp.json" 22:40:11 } [Pipeline] sh 22:40:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:40:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:30 provisioning config files... 22:40:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3451104386157617964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:31 ---> docker-login.sh 22:40:31 nexus3.edgexfoundry.org:10001 22:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:32 Configure a credential helper to remove this warning. See 22:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:32 22:40:32 Login Succeeded 22:40:32 nexus3.edgexfoundry.org:10002 22:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:32 Configure a credential helper to remove this warning. See 22:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:32 22:40:32 Login Succeeded 22:40:32 nexus3.edgexfoundry.org:10003 22:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:33 Configure a credential helper to remove this warning. See 22:40:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:33 22:40:33 Login Succeeded 22:40:33 nexus3.edgexfoundry.org:10004 22:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:33 Configure a credential helper to remove this warning. See 22:40:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:33 22:40:33 Login Succeeded 22:40:33 docker.io 22:40:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:34 Configure a credential helper to remove this warning. See 22:40:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:34 22:40:34 Login Succeeded 22:40:34 ---> docker-login.sh ends [Pipeline] } 22:40:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:40:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:40:35 ========================================================= 22:40:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:40:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:40:35 + 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 . 22:40:36 Sending build context to Docker daemon 5.251MB 22:40:36 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 22:40:36 Step 2/11 : FROM ${BASE} AS builder 22:40:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:40:36 9b3977197b4f: Pulling fs layer 22:40:36 1a89e8eeedd5: Pulling fs layer 22:40:36 94645a83ff95: Pulling fs layer 22:40:36 3f3a8bcf1eab: Pulling fs layer 22:40:36 0c92f367c5e7: Pulling fs layer 22:40:36 3096ccb668a1: Pulling fs layer 22:40:36 e8cf19c19ddd: Pulling fs layer 22:40:36 a4caa8a26152: Pulling fs layer 22:40:36 3f3a8bcf1eab: Waiting 22:40:36 3096ccb668a1: Waiting 22:40:36 e8cf19c19ddd: Waiting 22:40:36 a4caa8a26152: Waiting 22:40:36 0c92f367c5e7: Waiting 22:40:36 94645a83ff95: Download complete 22:40:36 1a89e8eeedd5: Verifying Checksum 22:40:36 1a89e8eeedd5: Download complete 22:40:36 0c92f367c5e7: Verifying Checksum 22:40:36 0c92f367c5e7: Download complete 22:40:36 3096ccb668a1: Verifying Checksum 22:40:36 9b3977197b4f: Verifying Checksum 22:40:36 9b3977197b4f: Download complete 22:40:36 3096ccb668a1: Download complete 22:40:36 e8cf19c19ddd: Verifying Checksum 22:40:36 e8cf19c19ddd: Download complete 22:40:37 9b3977197b4f: Pull complete 22:40:37 1a89e8eeedd5: Pull complete 22:40:38 94645a83ff95: Pull complete 22:40:38 a4caa8a26152: Verifying Checksum 22:40:38 a4caa8a26152: Download complete 22:40:39 3f3a8bcf1eab: Verifying Checksum 22:40:39 3f3a8bcf1eab: Download complete 22:40:51 3f3a8bcf1eab: Pull complete 22:40:51 0c92f367c5e7: Pull complete 22:40:51 3096ccb668a1: Pull complete 22:40:51 e8cf19c19ddd: Pull complete 22:40:58 a4caa8a26152: Pull complete 22:40:58 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 22:40:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:40:58 ---> 725f1c02e7f9 22:40:58 Step 3/11 : ARG MAKE=make build 22:40:58 ---> Running in 4986f09a2c5f 22:40:59 Removing intermediate container 4986f09a2c5f 22:40:59 ---> 3a3b06369d71 22:40:59 Step 4/11 : WORKDIR /device-sdk-go 22:40:59 ---> Running in be05eddac6b3 22:40:59 Removing intermediate container be05eddac6b3 22:40:59 ---> 2080704bcf2c 22:40:59 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:40:59 ---> Running in 462c86b9a24b 22:41:00 Removing intermediate container 462c86b9a24b 22:41:00 ---> fe8306ded2f3 22:41:00 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:41:00 ---> Running in 016d18b7ff75 22:41:02 Removing intermediate container 016d18b7ff75 22:41:02 ---> 8b11b662d139 22:41:02 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:41:02 ---> Running in 630d191cf35e 22:41:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:41:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:41:05 OK: 220 MiB in 52 packages 22:41:06 Removing intermediate container 630d191cf35e 22:41:06 ---> a5f7e21a8cc8 22:41:06 Step 8/11 : COPY go.mod vendor* ./ 22:41:07 ---> f17ff2c10534 22:41:07 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:07 ---> Running in 9f30159b0cc9 22:41:54 Removing intermediate container 9f30159b0cc9 22:41:54 ---> 20af58ad926c 22:41:54 Step 10/11 : COPY . . 22:41:54 ---> 759c889fb420 22:41:54 Step 11/11 : RUN ${MAKE} 22:41:54 ---> Running in b3c1ce6d9806 22:41:54 noop 22:41:54 Removing intermediate container b3c1ce6d9806 22:41:54 ---> c1e9e1c15644 22:41:54 Successfully built c1e9e1c15644 22:41:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:41:55 + docker inspect -f . ci-base-image-arm64 22:41:55 . [Pipeline] withDockerContainer 22:41:55 prd-ubuntu20.04-docker-arm64-4c-16g-44782 does not seem to be running inside a container 22:41:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:41:56 $ docker top 5e3415692af0b4819149a3f486a48c81a97f84be8bba7ceb4de0f452991bd91a -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:57 + go version 22:41:57 go version go1.17.6 linux/arm64 [Pipeline] } 22:41:57 $ docker stop --time=1 5e3415692af0b4819149a3f486a48c81a97f84be8bba7ceb4de0f452991bd91a 22:41:59 $ docker rm -f 5e3415692af0b4819149a3f486a48c81a97f84be8bba7ceb4de0f452991bd91a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:42:00 + docker inspect -f . ci-base-image-arm64 22:42:00 . [Pipeline] withDockerContainer 22:42:00 prd-ubuntu20.04-docker-arm64-4c-16g-44782 does not seem to be running inside a container 22:42:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:42:01 $ docker top 37b579397f041e28d23d0c553c64e4bbbae35e133e126c804f29f93f5610269d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:42:02 + make test 22:42:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:42:35 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:44:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.413s coverage: 23.3% of statements 22:44:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:44:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.240s coverage: 27.6% of statements 22:44:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.339s coverage: 78.9% of statements 22:44:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.292s coverage: 10.8% of statements 22:44:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.568s coverage: 60.0% of statements 22:44:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:44:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:44:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.474s coverage: 34.8% of statements 22:44:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:44:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.267s coverage: 86.1% of statements 22:44:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:44:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:44:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.498s coverage: 65.1% of statements 22:44:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.250s coverage: 89.2% of statements 22:44:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 22:44:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.240s coverage: 4.7% of statements 22:44:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:44:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:44:41 GO111MODULE=on go vet ./... 22:46:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:46:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:46:19 ./bin/test-attribution-txt.sh [Pipeline] echo 22:46:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:46:19 $ docker stop --time=1 37b579397f041e28d23d0c553c64e4bbbae35e133e126c804f29f93f5610269d 22:46:20 $ docker rm -f 37b579397f041e28d23d0c553c64e4bbbae35e133e126c804f29f93f5610269d [Pipeline] // withDockerContainer [Pipeline] sh 22:46:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:46:22 Warning: overwriting stash ‘coverage-report’ 22:46:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:46:24 + ls -al . 22:46:24 total 292 22:46:24 drwxrwxr-x 10 jenkins jenkins 4096 May 9 22:46 . 22:46:24 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:40 .. 22:46:24 -rw-rw-r-- 1 jenkins jenkins 140 May 9 22:40 .dockerignore 22:46:24 drwxrwxr-x 8 jenkins jenkins 4096 May 9 22:40 .git 22:46:24 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:40 .github 22:46:24 -rw-rw-r-- 1 jenkins jenkins 131 May 9 22:40 .gitignore 22:46:24 -rw-rw-r-- 1 jenkins jenkins 42 May 9 22:40 .golangci.yml 22:46:24 -rw-rw-r-- 1 jenkins jenkins 26321 May 9 22:40 CHANGELOG.md 22:46:24 -rw-rw-r-- 1 jenkins jenkins 677 May 9 22:40 GOVERNANCE.md 22:46:24 -rw-rw-r-- 1 jenkins jenkins 880 May 9 22:40 Jenkinsfile 22:46:24 -rw-rw-r-- 1 jenkins jenkins 11341 May 9 22:40 LICENSE 22:46:24 -rw-rw-r-- 1 jenkins jenkins 2015 May 9 22:40 Makefile 22:46:24 -rw-rw-r-- 1 jenkins jenkins 619 May 9 22:40 OWNERS.md 22:46:24 -rw-rw-r-- 1 jenkins jenkins 4881 May 9 22:40 README.md 22:46:24 -rw-rw-r-- 1 jenkins jenkins 5 May 9 22:35 VERSION 22:46:24 drwxrwxr-x 2 jenkins jenkins 4096 May 9 22:40 bin 22:46:24 -rw-r--r-- 1 jenkins jenkins 130819 May 9 22:44 coverage.out 22:46:24 drwxrwxr-x 5 jenkins jenkins 4096 May 9 22:40 example 22:46:24 -rw-rw-r-- 1 jenkins jenkins 3159 May 9 22:40 go.mod 22:46:24 -rw-rw-r-- 1 jenkins jenkins 34529 May 9 22:40 go.sum 22:46:24 drwxrwxr-x 15 jenkins jenkins 4096 May 9 22:40 internal 22:46:24 drwxrwxr-x 3 jenkins jenkins 4096 May 9 22:40 openapi 22:46:24 drwxrwxr-x 5 jenkins jenkins 4096 May 9 22:40 pkg 22:46:24 drwxrwxr-x 4 jenkins jenkins 4096 May 9 22:40 snap 22:46:24 -rw-rw-r-- 1 jenkins jenkins 222 May 9 22:40 version.go [Pipeline] isUnix [Pipeline] sh 22:46:24 + 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=9d23f13a7e87006a066c4d707af41039bad3d424 --label arch=arm64 --label version=0.0.0 . 22:46:24 Sending build context to Docker daemon 5.383MB 22:46:24 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:46:24 Step 2/25 : FROM ${BASE} AS builder 22:46:24 ---> c1e9e1c15644 22:46:24 Step 3/25 : ARG MAKE=make build 22:46:24 ---> Running in 4a234b5ea457 22:46:25 Removing intermediate container 4a234b5ea457 22:46:25 ---> b03decd0e69b 22:46:25 Step 4/25 : WORKDIR /device-sdk-go 22:46:25 ---> Running in 1055d4af23fc 22:46:25 Removing intermediate container 1055d4af23fc 22:46:25 ---> 538d949a9d02 22:46:25 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:46:25 ---> Running in 97e6aaf5c382 22:46:26 Removing intermediate container 97e6aaf5c382 22:46:26 ---> accd89aa7baa 22:46:26 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:46:26 ---> Running in 60a75d1f7e89 22:46:28 Removing intermediate container 60a75d1f7e89 22:46:28 ---> 5f990fe46692 22:46:28 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:46:28 ---> Running in 8dfce4f0c3a5 22:46:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:46:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:46:30 OK: 220 MiB in 52 packages 22:46:31 Removing intermediate container 8dfce4f0c3a5 22:46:31 ---> dcbf4891c365 22:46:31 Step 8/25 : COPY go.mod vendor* ./ 22:46:31 ---> ff74389742fa 22:46:31 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:46:32 ---> Running in 6fe47d6f3a13 22:46:34 Removing intermediate container 6fe47d6f3a13 22:46:34 ---> 34b27c126f32 22:46:34 Step 10/25 : COPY . . 22:46:35 ---> 30f4fd9b777e 22:46:35 Step 11/25 : RUN ${MAKE} 22:46:35 ---> Running in 3bea1bbfa9e2 22:46:36 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 22:48:43 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:48:43 Removing intermediate container 3bea1bbfa9e2 22:48:43 ---> d1712d1a4412 22:48:43 Step 12/25 : FROM alpine:3.14 22:48:43 3.14: Pulling from library/alpine 22:48:43 455c02918c45: Pulling fs layer 22:48:43 455c02918c45: Verifying Checksum 22:48:43 455c02918c45: Download complete 22:48:43 455c02918c45: Pull complete 22:48:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:48:43 Status: Downloaded newer image for alpine:3.14 22:48:43 ---> ac73e934f311 22:48:43 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:48:43 ---> Running in a2a55473ed8a 22:48:43 Removing intermediate container a2a55473ed8a 22:48:43 ---> b04421d342cb 22:48:43 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:48:43 ---> Running in 1523b47f2f03 22:48:45 Removing intermediate container 1523b47f2f03 22:48:45 ---> 11b4251b5e75 22:48:45 Step 15/25 : RUN apk add --update --no-cache zeromq 22:48:45 ---> Running in 42470dad250d 22:48:46 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:48:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:48:48 (1/5) Installing libgcc (10.3.1_git20210424-r2) 22:48:48 (2/5) Installing libsodium (1.0.18-r0) 22:48:48 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 22:48:48 (4/5) Installing libzmq (4.3.4-r0) 22:48:48 (5/5) Installing zeromq (4.3.4-r0) 22:48:48 Executing busybox-1.33.1-r7.trigger 22:48:48 OK: 8 MiB in 19 packages 22:48:49 Removing intermediate container 42470dad250d 22:48:49 ---> 462c3cd9cde1 22:48:49 Step 16/25 : WORKDIR / 22:48:49 ---> Running in c4b24fbf3b79 22:48:49 Removing intermediate container c4b24fbf3b79 22:48:49 ---> 2e656c67e3dc 22:48:49 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:48:50 ---> 2cd92d025f9f 22:48:50 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:48:52 ---> b9dcf2bc9bb1 22:48:52 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:48:52 ---> 7ab444cf0e23 22:48:52 Step 20/25 : EXPOSE 59999 22:48:52 ---> Running in 6b34d9e2812e 22:48:53 Removing intermediate container 6b34d9e2812e 22:48:53 ---> a36ec1eb1098 22:48:53 Step 21/25 : ENTRYPOINT ["/device-simple"] 22:48:53 ---> Running in c8c6cde8c2ff 22:48:53 Removing intermediate container c8c6cde8c2ff 22:48:53 ---> 59f80fc48555 22:48:53 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:48:53 ---> Running in fa1c424f78a2 22:48:53 Removing intermediate container fa1c424f78a2 22:48:53 ---> 0c6caae0475b 22:48:53 Step 23/25 : LABEL arch=arm64 22:48:53 ---> Running in 356e6f2316e0 22:48:54 Removing intermediate container 356e6f2316e0 22:48:54 ---> c95c1f32f089 22:48:54 Step 24/25 : LABEL git_sha=9d23f13a7e87006a066c4d707af41039bad3d424 22:48:54 ---> Running in f31b5a0fad20 22:48:54 Removing intermediate container f31b5a0fad20 22:48:54 ---> d84ef4d0926b 22:48:54 Step 25/25 : LABEL version=0.0.0 22:48:54 ---> Running in 1e1400ccf590 22:48:55 Removing intermediate container 1e1400ccf590 22:48:55 ---> 7336ba8c6a5e 22:48:55 [Warning] One or more build-args [ARCH] were not consumed 22:48:55 Successfully built 7336ba8c6a5e 22:48:55 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:48:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:48:55 22:48:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:48:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:48:56 arm64: Pulling from edgex-lftools-log-publisher 22:48:56 8998bd30e6a1: Pulling fs layer 22:48:56 04944245beec: Pulling fs layer 22:48:56 699f458cf7ca: Pulling fs layer 22:48:56 765212b225bb: Pulling fs layer 22:48:56 f23df028b6ca: Pulling fs layer 22:48:56 d65c8cfc05b1: Pulling fs layer 22:48:56 2437ff75d9bd: Pulling fs layer 22:48:56 765212b225bb: Waiting 22:48:56 2437ff75d9bd: Waiting 22:48:56 d65c8cfc05b1: Waiting 22:48:56 f23df028b6ca: Waiting 22:48:56 04944245beec: Verifying Checksum 22:48:56 04944245beec: Download complete 22:48:56 765212b225bb: Verifying Checksum 22:48:56 765212b225bb: Download complete 22:48:56 f23df028b6ca: Verifying Checksum 22:48:56 f23df028b6ca: Download complete 22:48:56 d65c8cfc05b1: Verifying Checksum 22:48:56 d65c8cfc05b1: Download complete 22:48:56 699f458cf7ca: Verifying Checksum 22:48:56 699f458cf7ca: Download complete 22:48:56 8998bd30e6a1: Download complete 22:48:59 2437ff75d9bd: Verifying Checksum 22:48:59 2437ff75d9bd: Download complete 22:49:01 8998bd30e6a1: Pull complete 22:49:01 04944245beec: Pull complete 22:49:03 699f458cf7ca: Pull complete 22:49:03 765212b225bb: Pull complete 22:49:04 f23df028b6ca: Pull complete 22:49:04 d65c8cfc05b1: Pull complete 22:49:19 2437ff75d9bd: Pull complete 22:49:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:49:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:49:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:49:20 prd-ubuntu20.04-docker-arm64-4c-16g-44782 does not seem to be running inside a container 22:49:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:49:23 $ docker top d75aeec89f67a52a782f1c098a32347fced8c42970dec4defad4693012178d67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:49:24 ---> job-cost.sh 22:49:24 lf-activate-venv: SKIPPING 22:49:24 INFO: No Stack... 22:49:24 INFO: Retrieving Pricing Info for: v3-standard-4 22:49:25 INFO: Archiving Costs [Pipeline] sh 22:49:26 + cut -d, -f6 22:49:26 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 22:49:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] 22:49:26 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] did not exist. Created. 22:49:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:49:27 /w/workspace/device-sdk-go/1@tmp/durable-0e692bc5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:49:27 + echo total: 0.10999999940395355 [Pipeline] stash 22:49:27 Warning: overwriting stash ‘stack-cost’ 22:49:28 Stashed 1 file(s) [Pipeline] } 22:49:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1158-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:49:28 $ docker stop --time=1 d75aeec89f67a52a782f1c098a32347fced8c42970dec4defad4693012178d67 22:49:29 $ docker rm -f d75aeec89f67a52a782f1c098a32347fced8c42970dec4defad4693012178d67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:49:30 provisioning config files... 22:49:30 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/config5950000185104172661tmp [Pipeline] { [Pipeline] sh 22:49:31 + set +x 22:49:31 + curl -s https://codecov.io/bash 22:49:31 + bash -s -- 22:49:31 22:49:31 _____ _ 22:49:31 / ____| | | 22:49:31 | | ___ __| | ___ ___ _____ __ 22:49:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:49:31 | |___| (_) | (_| | __/ (_| (_) \ V / 22:49:31 \_____\___/ \__,_|\___|\___\___/ \_/ 22:49:31 Bash-1.0.6 22:49:31 22:49:31 22:49:31 ==> git version 2.25.1 found 22:49:31 ==> 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 22:49:31 Release-Date: 2020-01-08 22:49:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:49:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:49:31 ==> Jenkins CI detected. 22:49:31 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1158 22:49:31 project root: . 22:49:31 --> token set from env 22:49:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:49:31 ==> Running gcov in . (disable via -X gcov) 22:49:31 ==> Python coveragepy not found 22:49:31 ==> Searching for coverage reports in: 22:49:31 + . 22:49:31 -> Found 1 reports 22:49:31 ==> Detecting git/mercurial file structure 22:49:31 ==> Reading reports 22:49:31 + ./coverage.out bytes=130819 22:49:31 ==> Appending adjustments 22:49:31 https://docs.codecov.io/docs/fixing-reports 22:49:31 + Found adjustments 22:49:31 ==> Gzipping contents 22:49:31 20K /tmp/codecov.EBJUiU.gz 22:49:31 ==> Uploading reports 22:49:31 url: https://codecov.io 22:49:31 query: branch=PR-1158&commit=9d23f13a7e87006a066c4d707af41039bad3d424&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1158%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1158&job=&cmd_args= 22:49:31 -> Pinging Codecov 22:49:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1158&commit=9d23f13a7e87006a066c4d707af41039bad3d424&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1158%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1158&job=&cmd_args= 22:49:31 -> Uploading to 22:49:31 https://storage.googleapis.com/codecov/v4/raw/2022-05-09/7E55EF52A471D76F132DFD9A03CDDE97/9d23f13a7e87006a066c4d707af41039bad3d424/0f8495db-ea56-48a5-a5d7-8aef6e5bfcef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T224931Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=58ef0ce7a72e5e8d81ec91e644d4eee66b4487fa39a39cc6f3ee79963fae4b88 22:49:31 % Total % Received % Xferd Average Speed Time Time Time Current 22:49:31 Dload Upload Total Spent Left Speed 22:49:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16820 0 0 100 16820 0 68653 --:--:-- --:--:-- --:--:-- 68934 22:49:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9d23f13a7e87006a066c4d707af41039bad3d424 [Pipeline] } 22:49:31 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 22:49:33 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives ] 22:49:33 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives 22:49:33 total 16 22:49:33 drwxr-xr-x 3 root root 4096 May 9 22:37 . 22:49:33 drwxrwxr-x 12 jenkins jenkins 4096 May 9 22:37 .. 22:49:33 drwxr-xr-x 2 root root 4096 May 9 22:37 cost 22:49:33 -rw-r--r-- 1 root root 85 May 9 22:37 cost.csv 22:49:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives 22:49:33 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives 22:49:33 total 16 22:49:33 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:37 . 22:49:33 drwxrwxr-x 12 jenkins jenkins 4096 May 9 22:37 .. 22:49:33 drwxr-xr-x 2 jenkins jenkins 4096 May 9 22:37 cost 22:49:33 -rw-r--r-- 1 jenkins jenkins 85 May 9 22:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:49:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:49:34 ---> package-listing.sh 22:49:34 ++ facter osfamily 22:49:34 ++ tr '[:upper:]' '[:lower:]' 22:49:35 + OS_FAMILY=debian 22:49:35 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1158 22:49:35 + START_PACKAGES=/tmp/packages_start.txt 22:49:35 + END_PACKAGES=/tmp/packages_end.txt 22:49:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:49:35 + PACKAGES=/tmp/packages_start.txt 22:49:35 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1158 ']' 22:49:35 + PACKAGES=/tmp/packages_end.txt 22:49:35 + case "${OS_FAMILY}" in 22:49:35 + dpkg -l 22:49:35 + grep '^ii' 22:49:35 + '[' -f /tmp/packages_start.txt ']' 22:49:35 + '[' -f /tmp/packages_end.txt ']' 22:49:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:49:35 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1158 ']' 22:49:35 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives/ 22:49:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1158/archives/ [Pipeline] echo 22:49:35 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-1158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:49:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:49:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:49:35 . [Pipeline] withDockerContainer 22:49:36 prd-ubuntu20.04-docker-8c-8g-44781 does not seem to be running inside a container 22:49:36 $ 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-1158/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-1158 -v /w/workspace/gexfoundry_device-sdk-go_PR-1158:/w/workspace/gexfoundry_device-sdk-go_PR-1158:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:49:36 $ docker top 7ff0a0c88bd63d64f2f7cc1a13ac4fe6bc67e761630b37d5cb425deb4a8b6268 -eo pid,comm [Pipeline] { [Pipeline] sh 22:49:36 + touch /tmp/pre-build-complete [Pipeline] sh 22:49:37 + mkdir -p /var/log/sysstat [Pipeline] sh 22:49:37 + ls /var/log/sa-host 22:49:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:49:37 provisioning config files... 22:49:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1158@tmp/config2428943662046928204tmp [Pipeline] { [Pipeline] echo 22:49:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:49:37 ---> create-netrc.sh [Pipeline] } 22:49:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:49:38 ---> python-tools-install.sh [Pipeline] echo 22:49:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:49:38 ---> sudo-logs.sh 22:49:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:49:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:49:39 ---> job-cost.sh 22:49:39 lf-activate-venv: SKIPPING 22:49:39 DEBUG: total: 0.2199999988079071 22:49:39 INFO: Retrieving Stack Cost... 22:49:39 INFO: Retrieving Pricing Info for: v3-standard-8 22:49:40 INFO: Archiving Costs [Pipeline] echo 22:49:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:49:40 ---> logs-deploy.sh 22:49:40 lf-activate-venv: SKIPPING 22:49:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1158/1 22:49:40 INFO: archiving workspace using pattern(s): 22:49:41 Archives upload complete. 22:49:41 INFO: archiving logs to Nexus