Pull request #1166 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 4b1bca24a13eee0fbd94f91607ff04ee351fa403 rather than adba0c681059f8e8a7de23bbaa964dca22fc5215 Obtained Jenkinsfile from 4b1bca24a13eee0fbd94f91607ff04ee351fa403 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-ssh735103526050583667.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh15812087014333467594.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-1166/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-1166/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11024220399583206339.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-1166/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16206706411111212584.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh11023517299408380859.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-1166/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-1166/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11064717887221865446.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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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 ‘prd-ubuntu20.04-docker-8c-8g-0’ Running on prd-ubuntu20.04-docker-8c-8g-6 in /w/workspace/gexfoundry_device-sdk-go_PR-1166 [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-1166 # 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 4b1bca24a13eee0fbd94f91607ff04ee351fa403 into PR head commit adba0c681059f8e8a7de23bbaa964dca22fc5215 Merge succeeded, producing adba0c681059f8e8a7de23bbaa964dca22fc5215 Checking out Revision adba0c681059f8e8a7de23bbaa964dca22fc5215 (PR-1166) > 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/1166/head:refs/remotes/origin/PR-1166 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adba0c681059f8e8a7de23bbaa964dca22fc5215 # 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 4b1bca24a13eee0fbd94f91607ff04ee351fa403 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adba0c681059f8e8a7de23bbaa964dca22fc5215 # timeout=10 Commit message: "refactor: Update to use deepCopy of messageBusInfo to avoid external adds" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:24:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:24:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:24:37 ========================================================= 01:24:37 EdgeX Global Pipelines Version Info 01:24:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 42b898995528b3d1724ce288caed11c29178c8ec # timeout=10 01:24:38 ------------------- 01:24:38 stable info: 01:24:38 ------------------- 01:24:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:24:38 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 01:24:38 Message: update stable to v1.0.230 01:24:39 ------------------- 01:24:39 experimental info: 01:24:39 ------------------- 01:24:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:24:39 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 01:24:39 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1166 [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1166 [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1166 [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adba0c681059f8e8a7de23bbaa964dca22fc5215 [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adba0c6 [Pipeline] echo 01:24:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:24:39 provisioning config files... 01:24:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/config1014188610799512816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:40 ---> docker-login.sh 01:24:40 nexus3.edgexfoundry.org:10001 01:24:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:40 Configure a credential helper to remove this warning. See 01:24:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:40 01:24:40 Login Succeeded 01:24:40 nexus3.edgexfoundry.org:10002 01:24:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:40 Configure a credential helper to remove this warning. See 01:24:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:40 01:24:40 Login Succeeded 01:24:40 nexus3.edgexfoundry.org:10003 01:24:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:40 Configure a credential helper to remove this warning. See 01:24:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:40 01:24:40 Login Succeeded 01:24:40 nexus3.edgexfoundry.org:10004 01:24:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:41 Configure a credential helper to remove this warning. See 01:24:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:41 01:24:41 Login Succeeded 01:24:41 docker.io 01:24:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:41 Configure a credential helper to remove this warning. See 01:24:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:41 01:24:41 Login Succeeded 01:24:41 ---> docker-login.sh ends [Pipeline] } 01:24:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:24:41 + git rev-list -1 --merges adba0c681059f8e8a7de23bbaa964dca22fc5215~1..adba0c681059f8e8a7de23bbaa964dca22fc5215 [Pipeline] echo 01:24:41 -----------> git rev-list -1 --merges adba0c681059f8e8a7de23bbaa964dca22fc5215~1..adba0c681059f8e8a7de23bbaa964dca22fc5215 adba0c681059f8e8a7de23bbaa964dca22fc5215 [false] [Pipeline] sh 01:24:42 + git log --format=format:%s -1 adba0c681059f8e8a7de23bbaa964dca22fc5215 [Pipeline] echo 01:24:42 ========================================================= 01:24:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:24:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:24:42 + git log --format=format:%s -1 adba0c681059f8e8a7de23bbaa964dca22fc5215 [Pipeline] echo 01:24:42 [semverPrep] GIT_COMMIT: adba0c681059f8e8a7de23bbaa964dca22fc5215, Commit Message: refactor: Update to use deepCopy of messageBusInfo to avoid external adds [Pipeline] echo 01:24:42 [semverPrep] This is not a build commit. [Pipeline] sh 01:24:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:24:42 + grep -v github /etc/ssh/ssh_known_hosts 01:24:42 + [ -e /tmp/ssh_known_hosts ] 01:24:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:24:42 + + sudo tee -a /etc/ssh/ssh_known_hosts 01:24:42 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:24:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:24:43 01:24:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:24:43 latest: Pulling from edgex-devops/py-git-semver 01:24:43 1fe172e4850f: Pulling fs layer 01:24:43 caf521ccaac6: Pulling fs layer 01:24:43 3ead6fa29328: Pulling fs layer 01:24:43 5c2a1cbceb83: Pulling fs layer 01:24:43 a8d5f1318db7: Pulling fs layer 01:24:43 c427282e49a2: Pulling fs layer 01:24:43 1827001aaf11: Pulling fs layer 01:24:43 0714d37db230: Pulling fs layer 01:24:43 5c2a1cbceb83: Waiting 01:24:43 ac28cf19c067: Pulling fs layer 01:24:43 a8d5f1318db7: Waiting 01:24:43 ca983d60f3e2: Pulling fs layer 01:24:43 9f894cec8388: Pulling fs layer 01:24:43 c427282e49a2: Waiting 01:24:43 1827001aaf11: Waiting 01:24:43 0714d37db230: Waiting 01:24:43 ac28cf19c067: Waiting 01:24:43 ca983d60f3e2: Waiting 01:24:43 9f894cec8388: Waiting 01:24:43 caf521ccaac6: Verifying Checksum 01:24:43 caf521ccaac6: Download complete 01:24:43 5c2a1cbceb83: Verifying Checksum 01:24:43 5c2a1cbceb83: Download complete 01:24:43 a8d5f1318db7: Verifying Checksum 01:24:43 a8d5f1318db7: Download complete 01:24:43 3ead6fa29328: Verifying Checksum 01:24:43 3ead6fa29328: Download complete 01:24:43 c427282e49a2: Verifying Checksum 01:24:43 c427282e49a2: Download complete 01:24:43 0714d37db230: Download complete 01:24:43 ac28cf19c067: Verifying Checksum 01:24:43 ac28cf19c067: Download complete 01:24:43 ca983d60f3e2: Verifying Checksum 01:24:43 ca983d60f3e2: Download complete 01:24:43 9f894cec8388: Verifying Checksum 01:24:43 9f894cec8388: Download complete 01:24:43 1fe172e4850f: Download complete 01:24:44 1827001aaf11: Verifying Checksum 01:24:44 1827001aaf11: Download complete 01:24:45 1fe172e4850f: Pull complete 01:24:45 caf521ccaac6: Pull complete 01:24:46 3ead6fa29328: Pull complete 01:24:46 5c2a1cbceb83: Pull complete 01:24:46 a8d5f1318db7: Pull complete 01:24:46 c427282e49a2: Pull complete 01:24:48 1827001aaf11: Pull complete 01:24:48 0714d37db230: Pull complete 01:24:48 ac28cf19c067: Pull complete 01:24:48 ca983d60f3e2: Pull complete 01:24:48 9f894cec8388: Pull complete 01:24:48 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 01:24:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:24:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:48 prd-ubuntu20.04-docker-8c-8g-6 does not seem to be running inside a container 01:24:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1166 -v /w/workspace/gexfoundry_device-sdk-go_PR-1166:/w/workspace/gexfoundry_device-sdk-go_PR-1166:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1166@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 01:24:50 $ docker top fa684e1c275ed82a91df3310b7d87290b445dd141984ef560797ce510b5374e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:24:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:50 [ssh-agent] Looking for ssh-agent implementation... 01:24:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:50 $ docker exec fa684e1c275ed82a91df3310b7d87290b445dd141984ef560797ce510b5374e3 ssh-agent 01:24:50 SSH_AUTH_SOCK=/tmp/ssh-sytxHieJFoPS/agent.33 01:24:50 SSH_AGENT_PID=39 01:24:50 Running ssh-add (command line suppressed) 01:24:50 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/private_key_51470588127185637.key (/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/private_key_51470588127185637.key) 01:24:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:50 + git tag --points-at HEAD [Pipeline] } 01:24:50 $ docker exec --env ******** --env ******** fa684e1c275ed82a91df3310b7d87290b445dd141984ef560797ce510b5374e3 ssh-agent -k 01:24:51 unset SSH_AUTH_SOCK; 01:24:51 unset SSH_AGENT_PID; 01:24:51 echo Agent pid 39 killed; 01:24:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:24:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:51 [ssh-agent] Looking for ssh-agent implementation... 01:24:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:51 $ docker exec fa684e1c275ed82a91df3310b7d87290b445dd141984ef560797ce510b5374e3 ssh-agent 01:24:51 SSH_AUTH_SOCK=/tmp/ssh-3ZSLIJ53ytWP/agent.74 01:24:51 SSH_AGENT_PID=80 01:24:51 Running ssh-add (command line suppressed) 01:24:51 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/private_key_5373499862282351061.key (/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/private_key_5373499862282351061.key) 01:24:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:51 + git semver init 01:24:52 2022-05-25 01:24:52,046 [run_init] DEBUG init version:0.0.0 force:False 01:24:52 2022-05-25 01:24:52,046 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver 01:24:52 2022-05-25 01:24:52,047 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver 01:24:52 2022-05-25 01:24:52,047 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1166, universal_newlines=False, shell=None, istream=None) 01:24:53 2022-05-25 01:24:52,800 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1166/.git/info/exclude 01:24:53 2022-05-25 01:24:52,800 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver/PR-1166 with force:False 01:24:53 2022-05-25 01:24:52,801 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver/PR-1166 01:24:53 2022-05-25 01:24:52,804 [execute] INFO git cat-file --batch-check 01:24:53 2022-05-25 01:24:52,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver, universal_newlines=False, shell=None, istream=) 01:24:53 2022-05-25 01:24:52,811 [execute] INFO git cat-file --batch 01:24:53 2022-05-25 01:24:52,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver, universal_newlines=False, shell=None, istream=) 01:24:53 2022-05-25 01:24:52,816 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver/PR-1166 01:24:53 0.0.0 [Pipeline] } 01:24:53 $ docker exec --env ******** --env ******** fa684e1c275ed82a91df3310b7d87290b445dd141984ef560797ce510b5374e3 ssh-agent -k 01:24:53 unset SSH_AUTH_SOCK; 01:24:53 unset SSH_AGENT_PID; 01:24:53 echo Agent pid 80 killed; 01:24:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:24:53 + git semver [Pipeline] } 01:24:53 $ docker stop --time=1 fa684e1c275ed82a91df3310b7d87290b445dd141984ef560797ce510b5374e3 01:24:55 $ docker rm -f fa684e1c275ed82a91df3310b7d87290b445dd141984ef560797ce510b5374e3 [Pipeline] // withDockerContainer [Pipeline] sh 01:24:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:24:55 Stashed 1 file(s) [Pipeline] echo 01:24:55 [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 01:24:55 provisioning config files... 01:24:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/config6523356262392479877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:56 ---> docker-login.sh 01:24:56 nexus3.edgexfoundry.org:10001 01:24:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:56 Configure a credential helper to remove this warning. See 01:24:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:56 01:24:56 Login Succeeded 01:24:56 nexus3.edgexfoundry.org:10002 01:24:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:56 Configure a credential helper to remove this warning. See 01:24:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:56 01:24:56 Login Succeeded 01:24:56 nexus3.edgexfoundry.org:10003 01:24:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:56 Configure a credential helper to remove this warning. See 01:24:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:56 01:24:56 Login Succeeded 01:24:56 nexus3.edgexfoundry.org:10004 01:24:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:56 Configure a credential helper to remove this warning. See 01:24:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:56 01:24:56 Login Succeeded 01:24:56 docker.io 01:24:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:56 Configure a credential helper to remove this warning. See 01:24:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:56 01:24:56 Login Succeeded 01:24:56 ---> docker-login.sh ends [Pipeline] } 01:24:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:24:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:24:57 ========================================================= 01:24:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:24:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:57 + 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 . 01:24:57 Sending build context to Docker daemon 9.781MB 01:24:57 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 01:24:57 Step 2/11 : FROM ${BASE} AS builder 01:24:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:24:57 59bf1c3509f3: Pulling fs layer 01:24:57 666ba61612fd: Pulling fs layer 01:24:57 8ed8ca486205: Pulling fs layer 01:24:57 4fe6c5a15a65: Pulling fs layer 01:24:57 22a0e8bec74d: Pulling fs layer 01:24:57 ca2b28591e48: Pulling fs layer 01:24:57 a51346096db8: Pulling fs layer 01:24:57 daebc70d1ce1: Pulling fs layer 01:24:57 0e18a0eac166: Pulling fs layer 01:24:57 a51346096db8: Waiting 01:24:57 ca2b28591e48: Waiting 01:24:57 daebc70d1ce1: Waiting 01:24:57 0e18a0eac166: Waiting 01:24:57 22a0e8bec74d: Waiting 01:24:57 4fe6c5a15a65: Waiting 01:24:57 8ed8ca486205: Verifying Checksum 01:24:57 8ed8ca486205: Download complete 01:24:57 666ba61612fd: Download complete 01:24:57 22a0e8bec74d: Verifying Checksum 01:24:57 22a0e8bec74d: Download complete 01:24:57 ca2b28591e48: Verifying Checksum 01:24:57 a51346096db8: Verifying Checksum 01:24:57 a51346096db8: Download complete 01:24:57 59bf1c3509f3: Verifying Checksum 01:24:57 59bf1c3509f3: Download complete 01:24:57 daebc70d1ce1: Verifying Checksum 01:24:57 daebc70d1ce1: Download complete 01:24:57 59bf1c3509f3: Pull complete 01:24:57 666ba61612fd: Pull complete 01:24:57 8ed8ca486205: Pull complete 01:24:58 0e18a0eac166: Verifying Checksum 01:24:58 0e18a0eac166: Download complete 01:24:58 4fe6c5a15a65: Verifying Checksum 01:24:58 4fe6c5a15a65: Download complete 01:25:02 4fe6c5a15a65: Pull complete 01:25:02 22a0e8bec74d: Pull complete 01:25:02 ca2b28591e48: Pull complete 01:25:02 a51346096db8: Pull complete 01:25:02 daebc70d1ce1: Pull complete 01:25:04 0e18a0eac166: Pull complete 01:25:04 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 01:25:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:25:04 ---> f018257e8ee9 01:25:04 Step 3/11 : ARG MAKE=make build 01:25:05 ---> Running in aed9403c92c9 01:25:05 Removing intermediate container aed9403c92c9 01:25:05 ---> 694f09d63449 01:25:05 Step 4/11 : WORKDIR /device-sdk-go 01:25:05 ---> Running in 39d55c7eefc8 01:25:05 Removing intermediate container 39d55c7eefc8 01:25:05 ---> cd2a3d2b7408 01:25:05 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:25:05 ---> Running in fe11259443fb 01:25:05 Removing intermediate container fe11259443fb 01:25:05 ---> aa8019d62ba6 01:25:05 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:25:05 ---> Running in fa456e12c8df 01:25:06 Removing intermediate container fa456e12c8df 01:25:06 ---> 23d8a12f3277 01:25:06 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:25:06 ---> Running in 114d89c24ae0 01:25:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:25:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:25:07 OK: 221 MiB in 52 packages 01:25:07 Removing intermediate container 114d89c24ae0 01:25:07 ---> ac54e696311d 01:25:07 Step 8/11 : COPY go.mod vendor* ./ 01:25:08 ---> 1780e7f925e4 01:25:08 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:25:08 ---> Running in 8eee038ba7d5 01:25:10 Still waiting to schedule task 01:25:10 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4’ 01:25:22 Removing intermediate container 8eee038ba7d5 01:25:22 ---> 6cc14b23b880 01:25:22 Step 10/11 : COPY . . 01:25:22 ---> 2dccfa927430 01:25:22 Step 11/11 : RUN ${MAKE} 01:25:22 ---> Running in 9cc92f308015 01:25:22 noop 01:25:22 Removing intermediate container 9cc92f308015 01:25:22 ---> 4ff6294be422 01:25:22 Successfully built 4ff6294be422 01:25:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:23 + docker inspect -f . ci-base-image-x86_64 01:25:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:23 prd-ubuntu20.04-docker-8c-8g-6 does not seem to be running inside a container 01:25:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1166 -v /w/workspace/gexfoundry_device-sdk-go_PR-1166:/w/workspace/gexfoundry_device-sdk-go_PR-1166:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1166@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 01:25:23 $ docker top 896cfa1c0868e7db733af97c2d245e251ec554f76191ef807aa4d14f19be2baf -eo pid,comm [Pipeline] { [Pipeline] sh 01:25:24 + go version 01:25:24 go version go1.17.6 linux/amd64 [Pipeline] } 01:25:24 $ docker stop --time=1 896cfa1c0868e7db733af97c2d245e251ec554f76191ef807aa4d14f19be2baf 01:25:25 $ docker rm -f 896cfa1c0868e7db733af97c2d245e251ec554f76191ef807aa4d14f19be2baf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:25 + docker inspect -f . ci-base-image-x86_64 01:25:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:26 prd-ubuntu20.04-docker-8c-8g-6 does not seem to be running inside a container 01:25:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1166 -v /w/workspace/gexfoundry_device-sdk-go_PR-1166:/w/workspace/gexfoundry_device-sdk-go_PR-1166:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1166@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 01:25:26 $ docker top f9133282fd2f6e778c2570606dfe5dbd20ad95c50706ac3818e0c224533fecae -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:25:26 + make test 01:25:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:25:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:25:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:25:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:25:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:25:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.065s coverage: 23.3% of statements 01:25:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:25:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.091s coverage: 27.6% of statements 01:25:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.087s coverage: 78.9% of statements 01:25:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.072s coverage: 10.8% of statements 01:25:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 60.0% of statements 01:25:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:25:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:25:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.088s coverage: 34.8% of statements 01:25:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:25:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.066s coverage: 85.4% of statements 01:25:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:25:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:25:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.085s coverage: 65.1% of statements 01:25:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.832s coverage: 89.2% of statements 01:25:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:25:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements 01:25:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:25:59 GO111MODULE=on go vet ./... 01:26:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:26:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:26:02 ./bin/test-attribution-txt.sh [Pipeline] echo 01:26:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:26:02 $ docker stop --time=1 f9133282fd2f6e778c2570606dfe5dbd20ad95c50706ac3818e0c224533fecae 01:26:04 $ docker rm -f f9133282fd2f6e778c2570606dfe5dbd20ad95c50706ac3818e0c224533fecae [Pipeline] // withDockerContainer [Pipeline] sh 01:26:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:26:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:26:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:26:06 + ls -al . 01:26:06 total 300 01:26:06 drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:26 . 01:26:06 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:24 .. 01:26:06 -rw-rw-r-- 1 jenkins jenkins 140 May 25 01:24 .dockerignore 01:26:06 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:24 .git 01:26:06 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:24 .github 01:26:06 -rw-rw-r-- 1 jenkins jenkins 131 May 25 01:24 .gitignore 01:26:06 -rw-rw-r-- 1 jenkins jenkins 42 May 25 01:24 .golangci.yml 01:26:06 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:24 .semver 01:26:06 -rw-rw-r-- 1 jenkins jenkins 29536 May 25 01:24 CHANGELOG.md 01:26:06 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:24 GOVERNANCE.md 01:26:06 -rw-rw-r-- 1 jenkins jenkins 880 May 25 01:24 Jenkinsfile 01:26:06 -rw-rw-r-- 1 jenkins jenkins 11341 May 25 01:24 LICENSE 01:26:06 -rw-rw-r-- 1 jenkins jenkins 2015 May 25 01:24 Makefile 01:26:06 -rw-rw-r-- 1 jenkins jenkins 619 May 25 01:24 OWNERS.md 01:26:06 -rw-rw-r-- 1 jenkins jenkins 4881 May 25 01:24 README.md 01:26:06 -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:24 VERSION 01:26:06 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:24 bin 01:26:06 -rw-r--r-- 1 jenkins jenkins 131010 May 25 01:25 coverage.out 01:26:06 drwxrwxr-x 5 jenkins jenkins 4096 May 25 01:24 example 01:26:06 -rw-rw-r-- 1 jenkins jenkins 3159 May 25 01:24 go.mod 01:26:06 -rw-rw-r-- 1 jenkins jenkins 34529 May 25 01:24 go.sum 01:26:06 drwxrwxr-x 15 jenkins jenkins 4096 May 25 01:24 internal 01:26:06 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:24 openapi 01:26:06 drwxrwxr-x 5 jenkins jenkins 4096 May 25 01:24 pkg 01:26:06 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:24 snap 01:26:06 -rw-rw-r-- 1 jenkins jenkins 222 May 25 01:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:06 + 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=adba0c681059f8e8a7de23bbaa964dca22fc5215 --label arch=amd64 --label version=0.0.0 . 01:26:06 Sending build context to Docker daemon 9.913MB 01:26:06 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:26:06 Step 2/25 : FROM ${BASE} AS builder 01:26:06 ---> 4ff6294be422 01:26:06 Step 3/25 : ARG MAKE=make build 01:26:06 ---> Running in 8bb9e53af681 01:26:06 Removing intermediate container 8bb9e53af681 01:26:06 ---> fb15e2fd3ca3 01:26:06 Step 4/25 : WORKDIR /device-sdk-go 01:26:06 ---> Running in 500afeb558ce 01:26:06 Removing intermediate container 500afeb558ce 01:26:06 ---> 1bf8776ba7ce 01:26:06 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:26:06 ---> Running in 430d4c661f12 01:26:07 Removing intermediate container 430d4c661f12 01:26:07 ---> 8020dd1762ea 01:26:07 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:26:07 ---> Running in 6f911049c034 01:26:07 Removing intermediate container 6f911049c034 01:26:07 ---> 0969593ebcd9 01:26:07 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:26:07 ---> Running in 436764d44f8c 01:26:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:26:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:26:08 OK: 221 MiB in 52 packages 01:26:09 Removing intermediate container 436764d44f8c 01:26:09 ---> c3e290ccf73d 01:26:09 Step 8/25 : COPY go.mod vendor* ./ 01:26:09 ---> e9420c564102 01:26:09 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:26:09 ---> Running in aa9e6a4c8eb8 01:26:09 Removing intermediate container aa9e6a4c8eb8 01:26:09 ---> 9ac4491bfa8c 01:26:09 Step 10/25 : COPY . . 01:26:10 ---> f69b05cdd6ef 01:26:10 Step 11/25 : RUN ${MAKE} 01:26:10 ---> Running in 84a2a6f87d7c 01:26:10 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 01:26:28 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:26:28 Removing intermediate container 84a2a6f87d7c 01:26:28 ---> 2fb06bb4c205 01:26:28 Step 12/25 : FROM alpine:3.14 01:26:29 3.14: Pulling from library/alpine 01:26:29 8663204ce13b: Pulling fs layer 01:26:29 8663204ce13b: Verifying Checksum 01:26:29 8663204ce13b: Download complete 01:26:30 8663204ce13b: Pull complete 01:26:30 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:26:30 Status: Downloaded newer image for alpine:3.14 01:26:30 ---> e04c818066af 01:26:30 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:26:30 ---> Running in db4879e66064 01:26:30 Removing intermediate container db4879e66064 01:26:30 ---> f5a92fc8b816 01:26:30 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:26:30 ---> Running in e181d3f73633 01:26:30 Removing intermediate container e181d3f73633 01:26:30 ---> 0059e9733b50 01:26:30 Step 15/25 : RUN apk add --update --no-cache zeromq 01:26:30 ---> Running in b44bcbfd40ca 01:26:30 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:26:31 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:26:32 (1/5) Installing libgcc (10.3.1_git20210424-r2) 01:26:32 (2/5) Installing libsodium (1.0.18-r0) 01:26:32 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 01:26:32 (4/5) Installing libzmq (4.3.4-r0) 01:26:32 (5/5) Installing zeromq (4.3.4-r0) 01:26:32 Executing busybox-1.33.1-r7.trigger 01:26:32 OK: 8 MiB in 19 packages 01:26:33 Removing intermediate container b44bcbfd40ca 01:26:33 ---> 85603d06c19f 01:26:33 Step 16/25 : WORKDIR / 01:26:33 ---> Running in 0c49a661fcc1 01:26:33 Removing intermediate container 0c49a661fcc1 01:26:33 ---> 39587798ca5e 01:26:33 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:26:33 ---> 8105399bff83 01:26:33 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:26:33 ---> 01c43422f583 01:26:33 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:26:34 ---> 9ef0bc08d74a 01:26:34 Step 20/25 : EXPOSE 59999 01:26:34 ---> Running in e3e73cc168fc 01:26:34 Removing intermediate container e3e73cc168fc 01:26:34 ---> e33b0f3f93a7 01:26:34 Step 21/25 : ENTRYPOINT ["/device-simple"] 01:26:34 ---> Running in 9b1a3cde9127 01:26:34 Removing intermediate container 9b1a3cde9127 01:26:34 ---> b2675a7fd799 01:26:34 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:26:34 ---> Running in 0508745797d6 01:26:34 Removing intermediate container 0508745797d6 01:26:34 ---> eb74a59facb8 01:26:34 Step 23/25 : LABEL arch=amd64 01:26:34 ---> Running in a51ef6730822 01:26:34 Removing intermediate container a51ef6730822 01:26:34 ---> 869c9fa436d1 01:26:34 Step 24/25 : LABEL git_sha=adba0c681059f8e8a7de23bbaa964dca22fc5215 01:26:34 ---> Running in 21b87d0815ba 01:26:34 Removing intermediate container 21b87d0815ba 01:26:34 ---> 2f37946d7eab 01:26:34 Step 25/25 : LABEL version=0.0.0 01:26:34 ---> Running in 11f5f87ce588 01:26:34 Removing intermediate container 11f5f87ce588 01:26:34 ---> 69f748d24f11 01:26:34 [Warning] One or more build-args [ARCH] were not consumed 01:26:34 Successfully built 69f748d24f11 01:26:34 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 01:26:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:35 01:26:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:35 latest: Pulling from edgex-lftools-log-publisher 01:26:35 5eb5b503b376: Pulling fs layer 01:26:35 5c69ac0246d0: Pulling fs layer 01:26:35 ec43610c2a17: Pulling fs layer 01:26:35 3a2ae6a8a46f: Pulling fs layer 01:26:35 33b1e0a273af: Pulling fs layer 01:26:35 5d3b04190fa2: Pulling fs layer 01:26:35 2f39f015ded8: Pulling fs layer 01:26:35 3a2ae6a8a46f: Waiting 01:26:35 33b1e0a273af: Waiting 01:26:35 5c69ac0246d0: Verifying Checksum 01:26:35 5c69ac0246d0: Download complete 01:26:35 3a2ae6a8a46f: Verifying Checksum 01:26:35 3a2ae6a8a46f: Download complete 01:26:35 33b1e0a273af: Verifying Checksum 01:26:35 33b1e0a273af: Download complete 01:26:35 5d3b04190fa2: Download complete 01:26:35 ec43610c2a17: Verifying Checksum 01:26:35 ec43610c2a17: Download complete 01:26:36 5eb5b503b376: Download complete 01:26:36 2f39f015ded8: Verifying Checksum 01:26:36 2f39f015ded8: Download complete 01:26:37 5eb5b503b376: Pull complete 01:26:37 5c69ac0246d0: Pull complete 01:26:37 ec43610c2a17: Pull complete 01:26:37 3a2ae6a8a46f: Pull complete 01:26:37 33b1e0a273af: Pull complete 01:26:37 5d3b04190fa2: Pull complete 01:26:42 2f39f015ded8: Pull complete 01:26:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:26:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:42 prd-ubuntu20.04-docker-8c-8g-6 does not seem to be running inside a container 01:26:42 $ 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-1166 -v /w/workspace/gexfoundry_device-sdk-go_PR-1166:/w/workspace/gexfoundry_device-sdk-go_PR-1166:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1166@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 01:26:43 $ docker top b0842664d9f2fc8b95311c81f841702335c08c5c86c9c3dc4cf0c806e456b0e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:44 ---> job-cost.sh 01:26:44 lf-activate-venv: SKIPPING 01:26:44 INFO: No Stack... 01:26:45 INFO: Retrieving Pricing Info for: v3-standard-8 01:26:45 INFO: Archiving Costs [Pipeline] sh 01:26:45 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives/cost.csv 01:26:45 + cut -d, -f6 [Pipeline] lock 01:26:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1166-2-stack-cost] 01:26:45 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1166-2-stack-cost] did not exist. Created. 01:26:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1166-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:26:45 + echo total: 0.2199999988079071 [Pipeline] stash 01:26:45 Stashed 1 file(s) [Pipeline] } 01:26:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1166-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:26:46 $ docker stop --time=1 b0842664d9f2fc8b95311c81f841702335c08c5c86c9c3dc4cf0c806e456b0e4 01:26:47 $ docker rm -f b0842664d9f2fc8b95311c81f841702335c08c5c86c9c3dc4cf0c806e456b0e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:28:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9 in /w/workspace/gexfoundry_device-sdk-go_PR-1166 [Pipeline] { [Pipeline] ws 01:28:52 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 01:28:52 The recommended git tool is: git 01:28:58 using credential edgex-jenkins-ssh 01:28:58 Cloning the remote Git repository 01:28:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:28:58 > git init /w/workspace/device-sdk-go/2 # timeout=10 01:28:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:28:58 > git --version # timeout=10 01:28:58 > git --version # 'git version 2.25.1' 01:28:58 using GIT_SSH to set credentials SSH Credentials for GitHub 01:28:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:29:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:29:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:29:01 Merging remotes/origin/main commit 4b1bca24a13eee0fbd94f91607ff04ee351fa403 into PR head commit adba0c681059f8e8a7de23bbaa964dca22fc5215 01:29:01 Merge succeeded, producing adba0c681059f8e8a7de23bbaa964dca22fc5215 01:29:01 Checking out Revision adba0c681059f8e8a7de23bbaa964dca22fc5215 (PR-1166) 01:29:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:29:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:29:00 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1166/head:refs/remotes/origin/PR-1166 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:29:01 > git config core.sparsecheckout # timeout=10 01:29:01 > git checkout -f adba0c681059f8e8a7de23bbaa964dca22fc5215 # timeout=10 01:29:01 > git remote # timeout=10 01:29:01 > git config --get remote.origin.url # timeout=10 01:29:01 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:01 > git merge 4b1bca24a13eee0fbd94f91607ff04ee351fa403 # timeout=10 01:29:01 > git rev-parse HEAD^{commit} # timeout=10 01:29:01 > git config core.sparsecheckout # timeout=10 01:29:01 > git checkout -f adba0c681059f8e8a7de23bbaa964dca22fc5215 # timeout=10 01:29:05 Commit message: "refactor: Update to use deepCopy of messageBusInfo to avoid external adds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:29:06 % Total % Received % Xferd Average Speed Time Time Time Current 01:29:06 Dload Upload Total Spent Left Speed 01:29:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50012 0 --:--:-- --:--:-- --:--:-- 49808 [Pipeline] sh 01:29:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:29:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:29:07 + sudo tee /etc/docker/daemon.new 01:29:07 { 01:29:07 "registry-mirrors": [ 01:29:07 "https://nexus3.edgexfoundry.org:10001" 01:29:07 ], 01:29:07 "bip": "10.250.0.254/24", 01:29:07 "hosts": [ 01:29:07 "tcp://0.0.0.0:5555", 01:29:07 "unix:///var/run/docker.sock" 01:29:07 ], 01:29:07 "mtu": 1458, 01:29:07 "selinux-enabled": true, 01:29:07 "seccomp-profile": "/etc/docker/seccomp.json" 01:29:07 } [Pipeline] sh 01:29:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:29:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:26 provisioning config files... 01:29:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3411122286075618312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:27 ---> docker-login.sh 01:29:27 nexus3.edgexfoundry.org:10001 01:29:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:28 Configure a credential helper to remove this warning. See 01:29:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:28 01:29:28 Login Succeeded 01:29:28 nexus3.edgexfoundry.org:10002 01:29:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:28 Configure a credential helper to remove this warning. See 01:29:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:28 01:29:28 Login Succeeded 01:29:28 nexus3.edgexfoundry.org:10003 01:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:29 Configure a credential helper to remove this warning. See 01:29:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:29 01:29:29 Login Succeeded 01:29:29 nexus3.edgexfoundry.org:10004 01:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:29 Configure a credential helper to remove this warning. See 01:29:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:29 01:29:29 Login Succeeded 01:29:29 docker.io 01:29:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:30 Configure a credential helper to remove this warning. See 01:29:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:30 01:29:30 Login Succeeded 01:29:30 ---> docker-login.sh ends [Pipeline] } 01:29:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:29:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:29:31 ========================================================= 01:29:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:29:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:31 + 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 . 01:29:32 Sending build context to Docker daemon 5.275MB 01:29:32 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 01:29:32 Step 2/11 : FROM ${BASE} AS builder 01:29:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:29:32 9b3977197b4f: Pulling fs layer 01:29:32 1a89e8eeedd5: Pulling fs layer 01:29:32 94645a83ff95: Pulling fs layer 01:29:32 3f3a8bcf1eab: Pulling fs layer 01:29:32 0c92f367c5e7: Pulling fs layer 01:29:32 3096ccb668a1: Pulling fs layer 01:29:32 e8cf19c19ddd: Pulling fs layer 01:29:32 a4caa8a26152: Pulling fs layer 01:29:32 3096ccb668a1: Waiting 01:29:32 3f3a8bcf1eab: Waiting 01:29:32 0c92f367c5e7: Waiting 01:29:32 e8cf19c19ddd: Waiting 01:29:32 a4caa8a26152: Waiting 01:29:32 94645a83ff95: Verifying Checksum 01:29:32 94645a83ff95: Download complete 01:29:32 1a89e8eeedd5: Download complete 01:29:32 0c92f367c5e7: Verifying Checksum 01:29:32 0c92f367c5e7: Download complete 01:29:32 3096ccb668a1: Verifying Checksum 01:29:32 3096ccb668a1: Download complete 01:29:32 9b3977197b4f: Download complete 01:29:32 e8cf19c19ddd: Verifying Checksum 01:29:32 e8cf19c19ddd: Download complete 01:29:33 9b3977197b4f: Pull complete 01:29:34 1a89e8eeedd5: Pull complete 01:29:34 94645a83ff95: Pull complete 01:29:34 a4caa8a26152: Verifying Checksum 01:29:34 a4caa8a26152: Download complete 01:29:35 3f3a8bcf1eab: Verifying Checksum 01:29:35 3f3a8bcf1eab: Download complete 01:29:47 3f3a8bcf1eab: Pull complete 01:29:47 0c92f367c5e7: Pull complete 01:29:47 3096ccb668a1: Pull complete 01:29:48 e8cf19c19ddd: Pull complete 01:29:54 a4caa8a26152: Pull complete 01:29:54 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 01:29:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:29:54 ---> 725f1c02e7f9 01:29:54 Step 3/11 : ARG MAKE=make build 01:29:55 ---> Running in 1484dc62de7d 01:29:55 Removing intermediate container 1484dc62de7d 01:29:55 ---> 19021c9a1200 01:29:55 Step 4/11 : WORKDIR /device-sdk-go 01:29:55 ---> Running in ffc996a95cc6 01:29:56 Removing intermediate container ffc996a95cc6 01:29:56 ---> f7b8b5a641f3 01:29:56 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:29:56 ---> Running in a8c01474141f 01:29:56 Removing intermediate container a8c01474141f 01:29:56 ---> ddd9a2f6c93b 01:29:56 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:29:56 ---> Running in 5376cc9903b1 01:29:58 Removing intermediate container 5376cc9903b1 01:29:58 ---> 551919bc0f0d 01:29:58 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:29:58 ---> Running in 8ab71e693ed2 01:29:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:30:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:30:01 OK: 220 MiB in 52 packages 01:30:02 Removing intermediate container 8ab71e693ed2 01:30:02 ---> 9e9d79049436 01:30:02 Step 8/11 : COPY go.mod vendor* ./ 01:30:02 ---> 88b2480d0f73 01:30:02 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:02 ---> Running in b70d449598ca 01:30:59 Removing intermediate container b70d449598ca 01:30:59 ---> 19bc0224b446 01:30:59 Step 10/11 : COPY . . 01:30:59 ---> 465c233cf32b 01:30:59 Step 11/11 : RUN ${MAKE} 01:30:59 ---> Running in c85c647d3190 01:30:59 noop 01:30:59 Removing intermediate container c85c647d3190 01:30:59 ---> bab6a179d8b1 01:30:59 Successfully built bab6a179d8b1 01:30:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:59 + docker inspect -f . ci-base-image-arm64 01:30:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:00 prd-ubuntu20.04-docker-arm64-4c-16g-9 does not seem to be running inside a container 01:31:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:31:01 $ docker top 3cd5a22285ef9fa30c897e8d5478bd8a2d1a253b2ce85b8681fbb1da470912a0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:02 + go version 01:31:02 go version go1.17.6 linux/arm64 [Pipeline] } 01:31:02 $ docker stop --time=1 3cd5a22285ef9fa30c897e8d5478bd8a2d1a253b2ce85b8681fbb1da470912a0 01:31:04 $ docker rm -f 3cd5a22285ef9fa30c897e8d5478bd8a2d1a253b2ce85b8681fbb1da470912a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:04 + docker inspect -f . ci-base-image-arm64 01:31:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:05 prd-ubuntu20.04-docker-arm64-4c-16g-9 does not seem to be running inside a container 01:31:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:31:06 $ docker top efc934bc0f32b3e4e935764cc78a2474ca28f0183af7f905b8327e0f9b2cd639 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:31:07 + make test 01:31:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:31:39 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:33:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:33:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:33:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:33:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.339s coverage: 23.3% of statements 01:33:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:33:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.292s coverage: 27.6% of statements 01:33:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.337s coverage: 78.9% of statements 01:33:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.275s coverage: 10.8% of statements 01:33:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.522s coverage: 60.0% of statements 01:33:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:33:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:33:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.441s coverage: 34.8% of statements 01:33:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:33:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.274s coverage: 85.4% of statements 01:33:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:33:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:33:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.443s coverage: 65.1% of statements 01:33:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.244s coverage: 89.2% of statements 01:33:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:33:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.251s coverage: 4.7% of statements 01:33:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:33:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:33:56 GO111MODULE=on go vet ./... 01:35:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:35:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:35:32 ./bin/test-attribution-txt.sh [Pipeline] echo 01:35:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:35:33 $ docker stop --time=1 efc934bc0f32b3e4e935764cc78a2474ca28f0183af7f905b8327e0f9b2cd639 01:35:34 $ docker rm -f efc934bc0f32b3e4e935764cc78a2474ca28f0183af7f905b8327e0f9b2cd639 [Pipeline] // withDockerContainer [Pipeline] sh 01:35:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:35:36 Warning: overwriting stash ‘coverage-report’ 01:35:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:35:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:35:37 + ls -al . 01:35:37 total 296 01:35:37 drwxrwxr-x 10 jenkins jenkins 4096 May 25 01:35 . 01:35:37 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:28 .. 01:35:37 -rw-rw-r-- 1 jenkins jenkins 140 May 25 01:29 .dockerignore 01:35:37 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:29 .git 01:35:37 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:29 .github 01:35:37 -rw-rw-r-- 1 jenkins jenkins 131 May 25 01:29 .gitignore 01:35:37 -rw-rw-r-- 1 jenkins jenkins 42 May 25 01:29 .golangci.yml 01:35:37 -rw-rw-r-- 1 jenkins jenkins 29536 May 25 01:29 CHANGELOG.md 01:35:37 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:29 GOVERNANCE.md 01:35:37 -rw-rw-r-- 1 jenkins jenkins 880 May 25 01:29 Jenkinsfile 01:35:37 -rw-rw-r-- 1 jenkins jenkins 11341 May 25 01:29 LICENSE 01:35:37 -rw-rw-r-- 1 jenkins jenkins 2015 May 25 01:29 Makefile 01:35:37 -rw-rw-r-- 1 jenkins jenkins 619 May 25 01:29 OWNERS.md 01:35:37 -rw-rw-r-- 1 jenkins jenkins 4881 May 25 01:29 README.md 01:35:37 -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:24 VERSION 01:35:37 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:29 bin 01:35:37 -rw-r--r-- 1 jenkins jenkins 131010 May 25 01:33 coverage.out 01:35:37 drwxrwxr-x 5 jenkins jenkins 4096 May 25 01:29 example 01:35:37 -rw-rw-r-- 1 jenkins jenkins 3159 May 25 01:29 go.mod 01:35:37 -rw-rw-r-- 1 jenkins jenkins 34529 May 25 01:29 go.sum 01:35:37 drwxrwxr-x 15 jenkins jenkins 4096 May 25 01:29 internal 01:35:37 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:29 openapi 01:35:37 drwxrwxr-x 5 jenkins jenkins 4096 May 25 01:29 pkg 01:35:37 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:29 snap 01:35:37 -rw-rw-r-- 1 jenkins jenkins 222 May 25 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:37 + 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=adba0c681059f8e8a7de23bbaa964dca22fc5215 --label arch=arm64 --label version=0.0.0 . 01:35:38 Sending build context to Docker daemon 5.407MB 01:35:38 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:35:38 Step 2/25 : FROM ${BASE} AS builder 01:35:38 ---> bab6a179d8b1 01:35:38 Step 3/25 : ARG MAKE=make build 01:35:38 ---> Running in 8204ea678b65 01:35:38 Removing intermediate container 8204ea678b65 01:35:38 ---> 4fad2c609729 01:35:38 Step 4/25 : WORKDIR /device-sdk-go 01:35:39 ---> Running in 647d8089fbce 01:35:39 Removing intermediate container 647d8089fbce 01:35:39 ---> a179ae3291b8 01:35:39 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:35:39 ---> Running in 4696bfb8edd2 01:35:39 Removing intermediate container 4696bfb8edd2 01:35:39 ---> ee5a54e75b53 01:35:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:35:39 ---> Running in 50b644ce7bc1 01:35:41 Removing intermediate container 50b644ce7bc1 01:35:41 ---> 6bf04b82409e 01:35:41 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:35:41 ---> Running in 488095c12276 01:35:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:35:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:35:44 OK: 220 MiB in 52 packages 01:35:45 Removing intermediate container 488095c12276 01:35:45 ---> bddf6bec2da0 01:35:45 Step 8/25 : COPY go.mod vendor* ./ 01:35:45 ---> 1a0c3da5f872 01:35:45 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:35:45 ---> Running in c30a53d5825f 01:35:47 Removing intermediate container c30a53d5825f 01:35:47 ---> 6883f294ce8c 01:35:47 Step 10/25 : COPY . . 01:35:49 ---> f34dd8e6671b 01:35:49 Step 11/25 : RUN ${MAKE} 01:35:49 ---> Running in 0e73bd8b31ea 01:35:50 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 01:37:57 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:37:57 Removing intermediate container 0e73bd8b31ea 01:37:57 ---> 9b9e10287f44 01:37:57 Step 12/25 : FROM alpine:3.14 01:37:57 3.14: Pulling from library/alpine 01:37:57 455c02918c45: Pulling fs layer 01:37:57 455c02918c45: Verifying Checksum 01:37:57 455c02918c45: Download complete 01:37:57 455c02918c45: Pull complete 01:37:57 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:37:57 Status: Downloaded newer image for alpine:3.14 01:37:57 ---> ac73e934f311 01:37:57 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:37:57 ---> Running in 666c6157b9d4 01:37:57 Removing intermediate container 666c6157b9d4 01:37:57 ---> 32be0c638929 01:37:57 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:37:57 ---> Running in 808f41e4c87d 01:37:57 Removing intermediate container 808f41e4c87d 01:37:57 ---> 43eea475d085 01:37:57 Step 15/25 : RUN apk add --update --no-cache zeromq 01:37:57 ---> Running in 52adc1219ea2 01:37:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:37:59 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:37:59 (1/5) Installing libgcc (10.3.1_git20210424-r2) 01:37:59 (2/5) Installing libsodium (1.0.18-r0) 01:37:59 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 01:37:59 (4/5) Installing libzmq (4.3.4-r0) 01:38:00 (5/5) Installing zeromq (4.3.4-r0) 01:38:00 Executing busybox-1.33.1-r7.trigger 01:38:00 OK: 8 MiB in 19 packages 01:38:01 Removing intermediate container 52adc1219ea2 01:38:01 ---> 813eb19e5d5d 01:38:01 Step 16/25 : WORKDIR / 01:38:01 ---> Running in 916593497a9d 01:38:01 Removing intermediate container 916593497a9d 01:38:01 ---> 8939a38e53c9 01:38:01 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:38:02 ---> 772a9cfb48c0 01:38:02 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:38:03 ---> 6410ca758239 01:38:03 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:38:04 ---> 568456646b82 01:38:04 Step 20/25 : EXPOSE 59999 01:38:04 ---> Running in 528ccb2f1ac5 01:38:04 Removing intermediate container 528ccb2f1ac5 01:38:04 ---> 52cda2a8b5ed 01:38:04 Step 21/25 : ENTRYPOINT ["/device-simple"] 01:38:04 ---> Running in f4577f92fc1c 01:38:04 Removing intermediate container f4577f92fc1c 01:38:04 ---> 4be3452447d0 01:38:04 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:38:04 ---> Running in 55984bc58c0e 01:38:05 Removing intermediate container 55984bc58c0e 01:38:05 ---> 4f31fa73d82d 01:38:05 Step 23/25 : LABEL arch=arm64 01:38:05 ---> Running in b8ea26557f33 01:38:05 Removing intermediate container b8ea26557f33 01:38:05 ---> 5cf637a59f75 01:38:05 Step 24/25 : LABEL git_sha=adba0c681059f8e8a7de23bbaa964dca22fc5215 01:38:05 ---> Running in 1bce11ee0bdb 01:38:06 Removing intermediate container 1bce11ee0bdb 01:38:06 ---> abf8811becdb 01:38:06 Step 25/25 : LABEL version=0.0.0 01:38:06 ---> Running in 354c702d15ff 01:38:06 Removing intermediate container 354c702d15ff 01:38:06 ---> 3a53e44a41c3 01:38:06 [Warning] One or more build-args [ARCH] were not consumed 01:38:06 Successfully built 3a53e44a41c3 01:38:06 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 01:38:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:38:07 01:38:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:38:07 arm64: Pulling from edgex-lftools-log-publisher 01:38:07 8998bd30e6a1: Pulling fs layer 01:38:07 04944245beec: Pulling fs layer 01:38:07 699f458cf7ca: Pulling fs layer 01:38:07 765212b225bb: Pulling fs layer 01:38:07 f23df028b6ca: Pulling fs layer 01:38:07 d65c8cfc05b1: Pulling fs layer 01:38:07 2437ff75d9bd: Pulling fs layer 01:38:07 765212b225bb: Waiting 01:38:07 d65c8cfc05b1: Waiting 01:38:07 2437ff75d9bd: Waiting 01:38:07 f23df028b6ca: Waiting 01:38:07 04944245beec: Verifying Checksum 01:38:07 04944245beec: Download complete 01:38:07 765212b225bb: Verifying Checksum 01:38:07 765212b225bb: Download complete 01:38:07 f23df028b6ca: Verifying Checksum 01:38:07 f23df028b6ca: Download complete 01:38:07 d65c8cfc05b1: Verifying Checksum 01:38:07 d65c8cfc05b1: Download complete 01:38:07 699f458cf7ca: Verifying Checksum 01:38:07 699f458cf7ca: Download complete 01:38:08 8998bd30e6a1: Verifying Checksum 01:38:08 8998bd30e6a1: Download complete 01:38:10 2437ff75d9bd: Verifying Checksum 01:38:10 2437ff75d9bd: Download complete 01:38:12 8998bd30e6a1: Pull complete 01:38:13 04944245beec: Pull complete 01:38:14 699f458cf7ca: Pull complete 01:38:14 765212b225bb: Pull complete 01:38:15 f23df028b6ca: Pull complete 01:38:15 d65c8cfc05b1: Pull complete 01:38:31 2437ff75d9bd: Pull complete 01:38:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:38:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:38:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:31 prd-ubuntu20.04-docker-arm64-4c-16g-9 does not seem to be running inside a container 01:38:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:38:34 $ docker top 5a8ef2f759dc51b1ee506bbe2d5e755a1b032a7bc617875095cd35e31a0281f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:38:35 ---> job-cost.sh 01:38:35 lf-activate-venv: SKIPPING 01:38:35 INFO: No Stack... 01:38:35 INFO: Retrieving Pricing Info for: v3-standard-4 01:38:36 INFO: Archiving Costs [Pipeline] sh 01:38:37 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 01:38:37 + cut -d, -f6 [Pipeline] lock 01:38:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1166-2-stack-cost] 01:38:37 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1166-2-stack-cost] did not exist. Created. 01:38:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1166-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:38:38 /w/workspace/device-sdk-go/2@tmp/durable-8bf23931/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:38:38 + echo total: 0.10999999940395355 [Pipeline] stash 01:38:38 Warning: overwriting stash ‘stack-cost’ 01:38:38 Stashed 1 file(s) [Pipeline] } 01:38:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1166-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:38:38 $ docker stop --time=1 5a8ef2f759dc51b1ee506bbe2d5e755a1b032a7bc617875095cd35e31a0281f5 01:38:40 $ docker rm -f 5a8ef2f759dc51b1ee506bbe2d5e755a1b032a7bc617875095cd35e31a0281f5 [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 01:38:40 provisioning config files... 01:38:40 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/config6196946420764690771tmp [Pipeline] { [Pipeline] sh 01:38:41 + set +x 01:38:41 + bash -s -- 01:38:41 + curl -s https://codecov.io/bash 01:38:41 01:38:41 _____ _ 01:38:41 / ____| | | 01:38:41 | | ___ __| | ___ ___ _____ __ 01:38:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:38:41 | |___| (_) | (_| | __/ (_| (_) \ V / 01:38:41 \_____\___/ \__,_|\___|\___\___/ \_/ 01:38:41 Bash-1.0.6 01:38:41 01:38:41 01:38:41 ==> git version 2.25.1 found 01:38:41 ==> 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 01:38:41 Release-Date: 2020-01-08 01:38:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:38:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:38:41 ==> Jenkins CI detected. 01:38:41 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1166 01:38:41 project root: . 01:38:41 --> token set from env 01:38:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:38:41 ==> Running gcov in . (disable via -X gcov) 01:38:41 ==> Python coveragepy not found 01:38:41 ==> Searching for coverage reports in: 01:38:41 + . 01:38:41 -> Found 1 reports 01:38:41 ==> Detecting git/mercurial file structure 01:38:41 ==> Reading reports 01:38:41 + ./coverage.out bytes=131010 01:38:41 ==> Appending adjustments 01:38:41 https://docs.codecov.io/docs/fixing-reports 01:38:41 + Found adjustments 01:38:41 ==> Gzipping contents 01:38:41 20K /tmp/codecov.CHcdyj.gz 01:38:41 ==> Uploading reports 01:38:41 url: https://codecov.io 01:38:41 query: branch=PR-1166&commit=adba0c681059f8e8a7de23bbaa964dca22fc5215&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1166%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1166&job=&cmd_args= 01:38:41 -> Pinging Codecov 01:38:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1166&commit=adba0c681059f8e8a7de23bbaa964dca22fc5215&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1166%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1166&job=&cmd_args= 01:38:42 -> Uploading to 01:38:42 https://storage.googleapis.com/codecov/v4/raw/2022-05-25/7E55EF52A471D76F132DFD9A03CDDE97/adba0c681059f8e8a7de23bbaa964dca22fc5215/fed2b61b-24f8-48ef-839e-30e2a307917e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220525T013841Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4505997f9631c11bd38803f79942cbf9c1068f35f0639b0929002e3ab018eb98 01:38:42 % Total % Received % Xferd Average Speed Time Time Time Current 01:38:42 Dload Upload Total Spent Left Speed 01:38:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16843 0 0 100 16843 0 76908 --:--:-- --:--:-- --:--:-- 76908 01:38:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/adba0c681059f8e8a7de23bbaa964dca22fc5215 [Pipeline] } 01:38:42 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 01:38:42 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives ] 01:38:42 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives 01:38:42 total 16 01:38:42 drwxr-xr-x 3 root root 4096 May 25 01:26 . 01:38:42 drwxrwxr-x 12 jenkins jenkins 4096 May 25 01:26 .. 01:38:42 drwxr-xr-x 2 root root 4096 May 25 01:26 cost 01:38:42 -rw-r--r-- 1 root root 85 May 25 01:26 cost.csv 01:38:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives 01:38:42 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives 01:38:42 total 16 01:38:42 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:26 . 01:38:42 drwxrwxr-x 12 jenkins jenkins 4096 May 25 01:26 .. 01:38:42 drwxr-xr-x 2 jenkins jenkins 4096 May 25 01:26 cost 01:38:42 -rw-r--r-- 1 jenkins jenkins 85 May 25 01:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:38:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:38:43 ---> package-listing.sh 01:38:43 ++ facter osfamily 01:38:43 ++ tr '[:upper:]' '[:lower:]' 01:38:44 + OS_FAMILY=debian 01:38:44 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1166 01:38:44 + START_PACKAGES=/tmp/packages_start.txt 01:38:44 + END_PACKAGES=/tmp/packages_end.txt 01:38:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:38:44 + PACKAGES=/tmp/packages_start.txt 01:38:44 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1166 ']' 01:38:44 + PACKAGES=/tmp/packages_end.txt 01:38:44 + case "${OS_FAMILY}" in 01:38:44 + dpkg -l 01:38:44 + grep '^ii' 01:38:44 + '[' -f /tmp/packages_start.txt ']' 01:38:44 + '[' -f /tmp/packages_end.txt ']' 01:38:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:38:44 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1166 ']' 01:38:44 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives/ 01:38:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives/ [Pipeline] echo 01:38:44 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-1166/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:38:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:38:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:45 prd-ubuntu20.04-docker-8c-8g-6 does not seem to be running inside a container 01:38:45 $ 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-1166/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-1166 -v /w/workspace/gexfoundry_device-sdk-go_PR-1166:/w/workspace/gexfoundry_device-sdk-go_PR-1166:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1166@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 01:38:45 $ docker top fe9c2c1d19f4524fa14ae304ccc25bf0b1b12f2442e2c16efb38a14855fccd44 -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:45 + touch /tmp/pre-build-complete [Pipeline] sh 01:38:46 + mkdir -p /var/log/sysstat [Pipeline] sh 01:38:46 + ls /var/log/sa-host 01:38:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:38:46 provisioning config files... 01:38:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/config187835879768543666tmp [Pipeline] { [Pipeline] echo 01:38:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:38:46 ---> create-netrc.sh [Pipeline] } 01:38:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:38:47 ---> python-tools-install.sh [Pipeline] echo 01:38:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:38:47 ---> sudo-logs.sh 01:38:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:38:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:38:47 ---> job-cost.sh 01:38:47 lf-activate-venv: SKIPPING 01:38:47 DEBUG: total: 0.2199999988079071 01:38:47 INFO: Retrieving Stack Cost... 01:38:48 INFO: Retrieving Pricing Info for: v3-standard-8 01:38:48 INFO: Archiving Costs [Pipeline] echo 01:38:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:38:48 ---> logs-deploy.sh 01:38:48 lf-activate-venv: SKIPPING 01:38:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1166/2 01:38:48 INFO: archiving workspace using pattern(s): 01:38:49 Archives upload complete. 01:38:49 INFO: archiving logs to Nexus