Pull request #1210 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf+7128670c60762a554b6733602f52baa10dc88de3 (588d8a0363b24bf50e2a76c577ebf7a74eea7383) 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-ssh7928542421769644441.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh2322186920712005803.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1210/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5776165046160452364.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh8256121327841863986.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1210/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14255126615612854481.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-29899’ Running on prd-ubuntu20.04-docker-8c-8g-29911 in /w/workspace/gexfoundry_device-sdk-go_PR-1210 [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-1210 # 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 7128670c60762a554b6733602f52baa10dc88de3 into PR head commit 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf Merge succeeded, producing 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf Checking out Revision 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf (PR-1210) > 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/1210/head:refs/remotes/origin/PR-1210 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf # 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 7128670c60762a554b6733602f52baa10dc88de3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf # timeout=10 Commit message: "refactor: refactor device command application layer" First time build. Skipping changelog. > git rev-list --no-walk ce0eda20731e7d7611a0ce08ef1809e8e03514e3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:26:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:26:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:26:52 ========================================================= 01:26:52 EdgeX Global Pipelines Version Info 01:26:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:26:53 ------------------- 01:26:53 stable info: 01:26:53 ------------------- 01:26:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:26:53 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:26:53 Message: update stable to v1.0.239 01:26:53 ------------------- 01:26:53 experimental info: 01:26:53 ------------------- 01:26:53 Commited By: **** collab-it+edgex@linuxfoundation.org 01:26:53 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:26:53 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:26:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:26:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:26:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:26:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:26:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:26:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:26:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1210 [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1210 [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1210 [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c7ef2e [Pipeline] echo 01:26:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:54 provisioning config files... 01:26:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config8153378321115533457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:54 ---> docker-login.sh 01:26:54 nexus3.edgexfoundry.org:10001 01:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:55 Configure a credential helper to remove this warning. See 01:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:55 01:26:55 Login Succeeded 01:26:55 nexus3.edgexfoundry.org:10002 01:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:55 Configure a credential helper to remove this warning. See 01:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:55 01:26:55 Login Succeeded 01:26:55 nexus3.edgexfoundry.org:10003 01:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:55 Configure a credential helper to remove this warning. See 01:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:55 01:26:55 Login Succeeded 01:26:55 nexus3.edgexfoundry.org:10004 01:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:55 Configure a credential helper to remove this warning. See 01:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:55 01:26:55 Login Succeeded 01:26:55 docker.io 01:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:56 Configure a credential helper to remove this warning. See 01:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:56 01:26:56 Login Succeeded 01:26:56 ---> docker-login.sh ends [Pipeline] } 01:26:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:26:56 + git rev-list -1 --merges 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf~1..0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [Pipeline] echo 01:26:56 -----------> git rev-list -1 --merges 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf~1..0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [false] [Pipeline] sh 01:26:56 + git log --format=format:%s -1 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [Pipeline] echo 01:26:56 ========================================================= 01:26:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:26:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:26:57 + git log --format=format:%s -1 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [Pipeline] echo 01:26:57 [semverPrep] GIT_COMMIT: 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf, Commit Message: refactor: refactor device command application layer [Pipeline] echo 01:26:57 [semverPrep] This is not a build commit. [Pipeline] sh 01:26:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:26:57 + grep -v github /etc/ssh/ssh_known_hosts 01:26:57 + [ -e /tmp/ssh_known_hosts ] 01:26:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:26:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:26:57 + sudo tee -a /etc/ssh/ssh_known_hosts 01:26:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:26:58 01:26:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:26:58 0.1.4: Pulling from edgex-devops/py-git-semver 01:26:58 b85a868b505f: Pulling fs layer 01:26:58 e2be974225ed: Pulling fs layer 01:26:58 339a4e72a1f5: Pulling fs layer 01:26:58 988bab9f4d93: Pulling fs layer 01:26:58 1469e6f7b9e6: Pulling fs layer 01:26:58 eaf3925da568: Pulling fs layer 01:26:58 bab4dde63d76: Pulling fs layer 01:26:58 988bab9f4d93: Waiting 01:26:58 1469e6f7b9e6: Waiting 01:26:58 eaf3925da568: Waiting 01:26:58 bde34c3a00c8: Pulling fs layer 01:26:58 b352a97aabf1: Pulling fs layer 01:26:58 4872d77fe225: Pulling fs layer 01:26:58 bab4dde63d76: Waiting 01:26:58 bde34c3a00c8: Waiting 01:26:58 b352a97aabf1: Waiting 01:26:58 5851b861e8e6: Pulling fs layer 01:26:58 4872d77fe225: Waiting 01:26:58 5851b861e8e6: Waiting 01:26:58 e2be974225ed: Verifying Checksum 01:26:58 e2be974225ed: Download complete 01:26:58 988bab9f4d93: Verifying Checksum 01:26:58 988bab9f4d93: Download complete 01:26:58 1469e6f7b9e6: Verifying Checksum 01:26:58 1469e6f7b9e6: Download complete 01:26:58 eaf3925da568: Verifying Checksum 01:26:58 eaf3925da568: Download complete 01:26:58 339a4e72a1f5: Verifying Checksum 01:26:58 339a4e72a1f5: Download complete 01:26:58 bde34c3a00c8: Download complete 01:26:58 b352a97aabf1: Download complete 01:26:58 4872d77fe225: Verifying Checksum 01:26:58 4872d77fe225: Download complete 01:26:58 5851b861e8e6: Download complete 01:26:58 b85a868b505f: Verifying Checksum 01:26:58 b85a868b505f: Download complete 01:26:58 bab4dde63d76: Verifying Checksum 01:26:58 bab4dde63d76: Download complete 01:27:00 b85a868b505f: Pull complete 01:27:00 e2be974225ed: Pull complete 01:27:00 339a4e72a1f5: Pull complete 01:27:00 988bab9f4d93: Pull complete 01:27:01 1469e6f7b9e6: Pull complete 01:27:01 eaf3925da568: Pull complete 01:27:03 bab4dde63d76: Pull complete 01:27:03 bde34c3a00c8: Pull complete 01:27:03 b352a97aabf1: Pull complete 01:27:03 4872d77fe225: Pull complete 01:27:03 5851b861e8e6: Pull complete 01:27:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:27:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:27:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:03 prd-ubuntu20.04-docker-8c-8g-29911 does not seem to be running inside a container 01:27:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:27:06 $ docker top 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 -eo pid,comm 01:27:06 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:27:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:27:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:06 [ssh-agent] Looking for ssh-agent implementation... 01:27:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:06 $ docker exec 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 ssh-agent 01:27:06 SSH_AUTH_SOCK=/tmp/ssh-w9WAmt38TQKm/agent.33 01:27:06 SSH_AGENT_PID=39 01:27:06 Running ssh-add (command line suppressed) 01:27:06 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_4374484385536203650.key (/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_4374484385536203650.key) 01:27:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:07 + git tag --points-at HEAD [Pipeline] } 01:27:07 $ docker exec --env ******** --env ******** 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 ssh-agent -k 01:27:07 unset SSH_AUTH_SOCK; 01:27:07 unset SSH_AGENT_PID; 01:27:07 echo Agent pid 39 killed; 01:27:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:27:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:07 [ssh-agent] Looking for ssh-agent implementation... 01:27:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:07 $ docker exec 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 ssh-agent 01:27:07 SSH_AUTH_SOCK=/tmp/ssh-9Evf8ANFK0Vi/agent.73 01:27:07 SSH_AGENT_PID=79 01:27:07 Running ssh-add (command line suppressed) 01:27:07 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_6579981477688105293.key (/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/private_key_6579981477688105293.key) 01:27:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:07 + git semver init 01:27:08 2022-09-20 01:27:08,120 [run_init] DEBUG init version:0.0.0 force:False 01:27:08 2022-09-20 01:27:08,120 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver 01:27:08 2022-09-20 01:27:08,121 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver 01:27:08 2022-09-20 01:27:08,121 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210, universal_newlines=False, shell=None, istream=None) 01:27:09 2022-09-20 01:27:09,185 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.git/info/exclude 01:27:09 2022-09-20 01:27:09,186 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 with force:False 01:27:09 2022-09-20 01:27:09,186 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 01:27:09 2022-09-20 01:27:09,190 [execute] INFO git cat-file --batch-check 01:27:09 2022-09-20 01:27:09,190 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver, universal_newlines=False, shell=None, istream=) 01:27:09 2022-09-20 01:27:09,196 [execute] INFO git cat-file --batch 01:27:09 2022-09-20 01:27:09,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver, universal_newlines=False, shell=None, istream=) 01:27:09 2022-09-20 01:27:09,201 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1210/.semver/PR-1210 01:27:09 0.0.0 [Pipeline] } 01:27:09 $ docker exec --env ******** --env ******** 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 ssh-agent -k 01:27:09 unset SSH_AUTH_SOCK; 01:27:09 unset SSH_AGENT_PID; 01:27:09 echo Agent pid 79 killed; 01:27:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:27:10 + git semver [Pipeline] } 01:27:10 $ docker stop --time=1 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 01:27:11 $ docker rm -f 07221dedc863bbdd09692d15e957d5f7a473629cfb083cbc2c4dd1a73b4a8719 [Pipeline] // withDockerContainer [Pipeline] sh 01:27:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:27:12 Stashed 1 file(s) [Pipeline] echo 01:27:12 [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:27:12 provisioning config files... 01:27:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config3929618788806674235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:12 ---> docker-login.sh 01:27:12 nexus3.edgexfoundry.org:10001 01:27:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:12 Configure a credential helper to remove this warning. See 01:27:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:12 01:27:12 Login Succeeded 01:27:12 nexus3.edgexfoundry.org:10002 01:27:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:12 Configure a credential helper to remove this warning. See 01:27:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:12 01:27:12 Login Succeeded 01:27:12 nexus3.edgexfoundry.org:10003 01:27:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:12 Configure a credential helper to remove this warning. See 01:27:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:12 01:27:12 Login Succeeded 01:27:12 nexus3.edgexfoundry.org:10004 01:27:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:13 Configure a credential helper to remove this warning. See 01:27:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:13 01:27:13 Login Succeeded 01:27:13 docker.io 01:27:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:13 Configure a credential helper to remove this warning. See 01:27:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:13 01:27:13 Login Succeeded 01:27:13 ---> docker-login.sh ends [Pipeline] } 01:27:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:27:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:27:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:27:13 ========================================================= 01:27:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:27:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:13 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 01:27:13 Sending build context to Docker daemon 9.884MB 01:27:13 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 01:27:13 Step 2/11 : FROM ${BASE} AS builder 01:27:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:27:13 2408cc74d12b: Pulling fs layer 01:27:13 ea60b727a1ce: Pulling fs layer 01:27:13 30c4a7721957: Pulling fs layer 01:27:13 370296b7ddb6: Pulling fs layer 01:27:13 7c6cee850709: Pulling fs layer 01:27:13 39a5fcdaea64: Pulling fs layer 01:27:13 d94ebbe4e438: Pulling fs layer 01:27:13 bcfd1f05c69d: Pulling fs layer 01:27:13 59ccb84bbe0f: Pulling fs layer 01:27:13 370296b7ddb6: Waiting 01:27:13 7c6cee850709: Waiting 01:27:13 39a5fcdaea64: Waiting 01:27:13 d94ebbe4e438: Waiting 01:27:13 bcfd1f05c69d: Waiting 01:27:13 59ccb84bbe0f: Waiting 01:27:14 30c4a7721957: Download complete 01:27:14 ea60b727a1ce: Download complete 01:27:14 7c6cee850709: Verifying Checksum 01:27:14 7c6cee850709: Download complete 01:27:14 39a5fcdaea64: Verifying Checksum 01:27:14 39a5fcdaea64: Download complete 01:27:14 2408cc74d12b: Verifying Checksum 01:27:14 2408cc74d12b: Download complete 01:27:14 d94ebbe4e438: Download complete 01:27:14 2408cc74d12b: Pull complete 01:27:14 ea60b727a1ce: Pull complete 01:27:14 30c4a7721957: Pull complete 01:27:14 59ccb84bbe0f: Verifying Checksum 01:27:14 59ccb84bbe0f: Download complete 01:27:14 370296b7ddb6: Verifying Checksum 01:27:14 370296b7ddb6: Download complete 01:27:14 bcfd1f05c69d: Verifying Checksum 01:27:14 bcfd1f05c69d: Download complete 01:27:19 370296b7ddb6: Pull complete 01:27:19 7c6cee850709: Pull complete 01:27:19 39a5fcdaea64: Pull complete 01:27:19 d94ebbe4e438: Pull complete 01:27:21 bcfd1f05c69d: Pull complete 01:27:21 59ccb84bbe0f: Pull complete 01:27:21 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:27:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:27:21 ---> a4fb48ad2a94 01:27:21 Step 3/11 : ARG MAKE=make build 01:27:25 ---> Running in e4be80ba31ce 01:27:25 Removing intermediate container e4be80ba31ce 01:27:25 ---> 96f309625e84 01:27:25 Step 4/11 : WORKDIR /device-sdk-go 01:27:25 ---> Running in 6c5bce29cc5a 01:27:25 Removing intermediate container 6c5bce29cc5a 01:27:25 ---> 23144baa6503 01:27:25 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:27:25 ---> Running in d3e4fffbe50d 01:27:25 Removing intermediate container d3e4fffbe50d 01:27:25 ---> 06413d3c0128 01:27:25 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:27:25 ---> Running in 5a7579e9b002 01:27:26 Removing intermediate container 5a7579e9b002 01:27:26 ---> 705766e71573 01:27:26 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:27:26 ---> Running in f71949a39b09 01:27:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:27:27 Still waiting to schedule task 01:27:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-29909’ 01:27:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:27:27 OK: 211 MiB in 51 packages 01:27:28 Removing intermediate container f71949a39b09 01:27:28 ---> 806877e4dab2 01:27:28 Step 8/11 : COPY go.mod vendor* ./ 01:27:28 ---> 9429ab470864 01:27:28 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:28 ---> Running in 8c19b700ed60 01:28:00 Removing intermediate container 8c19b700ed60 01:28:00 ---> 9df5ae320074 01:28:00 Step 10/11 : COPY . . 01:28:00 ---> d99a9864c64e 01:28:00 Step 11/11 : RUN ${MAKE} 01:28:00 ---> Running in 9bbdf806299e 01:28:00 noop 01:28:00 Removing intermediate container 9bbdf806299e 01:28:00 ---> 3853a1ed4c11 01:28:00 Successfully built 3853a1ed4c11 01:28:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:00 + docker inspect -f . ci-base-image-x86_64 01:28:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:00 prd-ubuntu20.04-docker-8c-8g-29911 does not seem to be running inside a container 01:28:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:28:01 $ docker top e74ab9a28c7e6e2b6e872e4ff74bca5c55dfe561d856395e0734e8843496249d -eo pid,comm [Pipeline] { [Pipeline] sh 01:28:01 + go version 01:28:01 go version go1.18.3 linux/amd64 [Pipeline] } 01:28:01 $ docker stop --time=1 e74ab9a28c7e6e2b6e872e4ff74bca5c55dfe561d856395e0734e8843496249d 01:28:02 $ docker rm -f e74ab9a28c7e6e2b6e872e4ff74bca5c55dfe561d856395e0734e8843496249d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:03 + docker inspect -f . ci-base-image-x86_64 01:28:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:03 prd-ubuntu20.04-docker-8c-8g-29911 does not seem to be running inside a container 01:28:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:28:03 $ docker top 8f8251400d8f7ba600c8f114a0dc9c10dcd22dc3d7cdbf7929763f6b480a5bbc -eo pid,comm [Pipeline] { [Pipeline] sh 01:28:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1210 [Pipeline] fileExists [Pipeline] sh 01:28:04 + make test 01:28:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:28:09 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:28:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:28:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:28:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:28:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 01:28:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:28:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements 01:28:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements 01:28:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 01:28:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.090s coverage: 60.0% of statements 01:28:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:28:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:28:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 54.4% of statements 01:28:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:28:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:28:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:28:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 65.1% of statements 01:28:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 01:28:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 01:28:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.760s coverage: 89.2% of statements 01:28:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:28:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.5% of statements 01:28:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:28:37 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:28:37 GO111MODULE=on go vet ./... 01:28:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:28:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:28:39 ./bin/test-attribution-txt.sh 01:28:39 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 01:28:39 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 01:28:39 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 01:28:39 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 01:28:39 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:28:39 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:28:39 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 01:28:39 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 01:28:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:28:39 $ docker stop --time=1 8f8251400d8f7ba600c8f114a0dc9c10dcd22dc3d7cdbf7929763f6b480a5bbc 01:28:43 $ docker rm -f 8f8251400d8f7ba600c8f114a0dc9c10dcd22dc3d7cdbf7929763f6b480a5bbc [Pipeline] // withDockerContainer [Pipeline] sh 01:28:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:28:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:28:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:28:45 + ls -al . 01:28:45 total 276 01:28:45 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 01:28 . 01:28:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 01:26 .. 01:28:45 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 01:26 .dockerignore 01:28:45 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 01:28 .git 01:28:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 01:26 .github 01:28:45 -rw-rw-r-- 1 jenkins jenkins 131 Sep 20 01:26 .gitignore 01:28:45 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 01:26 .golangci.yml 01:28:45 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 01:27 .semver 01:28:45 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 20 01:26 CHANGELOG.md 01:28:45 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 01:26 GOVERNANCE.md 01:28:45 -rw-rw-r-- 1 jenkins jenkins 880 Sep 20 01:26 Jenkinsfile 01:28:45 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 01:26 LICENSE 01:28:45 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 20 01:26 Makefile 01:28:45 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 01:26 OWNERS.md 01:28:45 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 20 01:26 README.md 01:28:45 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 01:27 VERSION 01:28:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 01:26 bin 01:28:45 -rw-r--r-- 1 jenkins jenkins 101642 Sep 20 01:28 coverage.out 01:28:45 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 01:26 example 01:28:45 -rw-rw-r-- 1 jenkins jenkins 3624 Sep 20 01:26 go.mod 01:28:45 -rw-rw-r-- 1 jenkins jenkins 37972 Sep 20 01:26 go.sum 01:28:45 drwxrwxr-x 14 jenkins jenkins 4096 Sep 20 01:26 internal 01:28:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 01:26 openapi 01:28:45 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 01:26 pkg 01:28:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 01:26 snap 01:28:45 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 01:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:45 + 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=0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf --label arch=amd64 --label version=0.0.0 . 01:28:45 Sending build context to Docker daemon 9.987MB 01:28:45 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:28:45 Step 2/25 : FROM ${BASE} AS builder 01:28:45 ---> 3853a1ed4c11 01:28:45 Step 3/25 : ARG MAKE=make build 01:28:45 ---> Running in f0058a85f3bb 01:28:45 Removing intermediate container f0058a85f3bb 01:28:45 ---> a381a7aa76d8 01:28:45 Step 4/25 : WORKDIR /device-sdk-go 01:28:45 ---> Running in 6cf1ed47b978 01:28:46 Removing intermediate container 6cf1ed47b978 01:28:46 ---> 5b6256ce64a2 01:28:46 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:28:46 ---> Running in a197479b05a2 01:28:46 Removing intermediate container a197479b05a2 01:28:46 ---> c17c1454cf3f 01:28:46 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:28:46 ---> Running in 7f244518cbd4 01:28:46 Removing intermediate container 7f244518cbd4 01:28:46 ---> 2c59e3942221 01:28:46 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:28:46 ---> Running in abbf65d54363 01:28:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:28:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:28:48 OK: 211 MiB in 51 packages 01:28:48 Removing intermediate container abbf65d54363 01:28:48 ---> f0e539c8f1aa 01:28:48 Step 8/25 : COPY go.mod vendor* ./ 01:28:48 ---> cd8d6a53189c 01:28:48 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:28:48 ---> Running in 20c43cd66b20 01:28:49 Removing intermediate container 20c43cd66b20 01:28:49 ---> a9cba5cc0b22 01:28:49 Step 10/25 : COPY . . 01:28:49 ---> 00759bd1a0a6 01:28:49 Step 11/25 : RUN ${MAKE} 01:28:49 ---> Running in 215bdebc01bd 01:28:49 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:29:07 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:29:11 Removing intermediate container 215bdebc01bd 01:29:11 ---> 2d3b94a00e26 01:29:11 Step 12/25 : FROM alpine:3.16 01:29:11 3.16: Pulling from library/alpine 01:29:11 213ec9aee27d: Pulling fs layer 01:29:11 213ec9aee27d: Download complete 01:29:11 213ec9aee27d: Pull complete 01:29:11 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:29:11 Status: Downloaded newer image for alpine:3.16 01:29:11 ---> 9c6f07244728 01:29:11 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:29:12 ---> Running in 4295619e72aa 01:29:12 Removing intermediate container 4295619e72aa 01:29:12 ---> a1e9150dce1c 01:29:12 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:29:12 ---> Running in 4100327723f2 01:29:12 Removing intermediate container 4100327723f2 01:29:12 ---> 7a9706a050bb 01:29:12 Step 15/25 : RUN apk add --update --no-cache zeromq 01:29:12 ---> Running in 8b7b019f0862 01:29:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:29:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:29:14 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:29:14 (2/5) Installing libsodium (1.0.18-r0) 01:29:14 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:29:14 (4/5) Installing libzmq (4.3.4-r0) 01:29:14 (5/5) Installing zeromq (4.3.4-r0) 01:29:14 Executing busybox-1.35.0-r17.trigger 01:29:14 OK: 8 MiB in 19 packages 01:29:15 Removing intermediate container 8b7b019f0862 01:29:15 ---> 0da8a77c1b1e 01:29:15 Step 16/25 : WORKDIR / 01:29:15 ---> Running in a3f577ed5a83 01:29:15 Removing intermediate container a3f577ed5a83 01:29:15 ---> 6b928544e655 01:29:15 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:29:15 ---> 899f4f602254 01:29:15 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:29:16 ---> 37217504e506 01:29:16 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:29:16 ---> 6b975b84ae25 01:29:16 Step 20/25 : EXPOSE 59999 01:29:16 ---> Running in df879f2c2341 01:29:16 Removing intermediate container df879f2c2341 01:29:16 ---> 637b34dc79a6 01:29:16 Step 21/25 : ENTRYPOINT ["/device-simple"] 01:29:16 ---> Running in 1e10715d29e5 01:29:16 Removing intermediate container 1e10715d29e5 01:29:16 ---> c9562229c594 01:29:16 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:29:16 ---> Running in 3cdf48f07e4b 01:29:16 Removing intermediate container 3cdf48f07e4b 01:29:16 ---> 53b57d11e5d4 01:29:16 Step 23/25 : LABEL arch=amd64 01:29:16 ---> Running in c3a16e5b7591 01:29:16 Removing intermediate container c3a16e5b7591 01:29:16 ---> 28ec5084aa69 01:29:16 Step 24/25 : LABEL git_sha=0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf 01:29:16 ---> Running in d3e4338a77f1 01:29:16 Removing intermediate container d3e4338a77f1 01:29:16 ---> d4c0d924b2f3 01:29:16 Step 25/25 : LABEL version=0.0.0 01:29:16 ---> Running in d7c483693331 01:29:16 Removing intermediate container d7c483693331 01:29:16 ---> 15b56ba792b4 01:29:16 [Warning] One or more build-args [ARCH] were not consumed 01:29:16 Successfully built 15b56ba792b4 01:29:16 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:29:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:17 01:29:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:17 latest: Pulling from edgex-lftools-log-publisher 01:29:17 5eb5b503b376: Pulling fs layer 01:29:17 5c69ac0246d0: Pulling fs layer 01:29:17 ec43610c2a17: Pulling fs layer 01:29:17 3a2ae6a8a46f: Pulling fs layer 01:29:17 33b1e0a273af: Pulling fs layer 01:29:17 5d3b04190fa2: Pulling fs layer 01:29:17 2f39f015ded8: Pulling fs layer 01:29:17 33b1e0a273af: Waiting 01:29:17 5d3b04190fa2: Waiting 01:29:17 3a2ae6a8a46f: Waiting 01:29:17 2f39f015ded8: Waiting 01:29:17 5c69ac0246d0: Verifying Checksum 01:29:17 5c69ac0246d0: Download complete 01:29:17 3a2ae6a8a46f: Download complete 01:29:17 33b1e0a273af: Verifying Checksum 01:29:17 33b1e0a273af: Download complete 01:29:17 5d3b04190fa2: Download complete 01:29:17 ec43610c2a17: Verifying Checksum 01:29:17 ec43610c2a17: Download complete 01:29:17 5eb5b503b376: Verifying Checksum 01:29:17 5eb5b503b376: Download complete 01:29:18 2f39f015ded8: Verifying Checksum 01:29:18 2f39f015ded8: Download complete 01:29:19 5eb5b503b376: Pull complete 01:29:19 5c69ac0246d0: Pull complete 01:29:19 ec43610c2a17: Pull complete 01:29:19 3a2ae6a8a46f: Pull complete 01:29:20 33b1e0a273af: Pull complete 01:29:20 5d3b04190fa2: Pull complete 01:29:24 2f39f015ded8: Pull complete 01:29:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:29:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:24 prd-ubuntu20.04-docker-8c-8g-29911 does not seem to be running inside a container 01:29:24 $ 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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:29:28 $ docker top bfc1937c3aa29aaf55da22cea93bddec3c6d12aec311401fa14e46d0e9bd5369 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:28 ---> job-cost.sh 01:29:28 lf-activate-venv: SKIPPING 01:29:28 INFO: No Stack... 01:29:29 INFO: Retrieving Pricing Info for: v3-standard-8 01:29:29 INFO: Archiving Costs [Pipeline] sh 01:29:30 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/cost.csv 01:29:30 + cut -d, -f6 [Pipeline] lock 01:29:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] 01:29:30 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] did not exist. Created. 01:29:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:29:30 + echo total: 0.2199999988079071 [Pipeline] stash 01:29:30 Stashed 1 file(s) [Pipeline] } 01:29:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:29:30 $ docker stop --time=1 bfc1937c3aa29aaf55da22cea93bddec3c6d12aec311401fa14e46d0e9bd5369 01:29:31 $ docker rm -f bfc1937c3aa29aaf55da22cea93bddec3c6d12aec311401fa14e46d0e9bd5369 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:30:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29914 in /w/workspace/gexfoundry_device-sdk-go_PR-1210 [Pipeline] { [Pipeline] ws 01:30:01 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 01:30:01 The recommended git tool is: git 01:30:08 using credential edgex-jenkins-ssh 01:30:08 Cloning the remote Git repository 01:30:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:30:09 > git init /w/workspace/device-sdk-go/2 # timeout=10 01:30:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:30:09 > git --version # timeout=10 01:30:09 > git --version # 'git version 2.25.1' 01:30:09 using GIT_SSH to set credentials SSH Credentials for GitHub 01:30:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:30:11 Merging remotes/origin/main commit 7128670c60762a554b6733602f52baa10dc88de3 into PR head commit 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf 01:30:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:30:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:30:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:30:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:30:11 using GIT_SSH to set credentials SSH Credentials for GitHub 01:30:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1210/head:refs/remotes/origin/PR-1210 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:30:11 > git config core.sparsecheckout # timeout=10 01:30:11 > git checkout -f 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf # timeout=10 01:30:12 > git remote # timeout=10 01:30:12 > git config --get remote.origin.url # timeout=10 01:30:12 using GIT_SSH to set credentials SSH Credentials for GitHub 01:30:12 > git merge 7128670c60762a554b6733602f52baa10dc88de3 # timeout=10 01:30:12 Merge succeeded, producing 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf 01:30:12 Checking out Revision 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf (PR-1210) 01:30:12 > git rev-parse HEAD^{commit} # timeout=10 01:30:12 > git config core.sparsecheckout # timeout=10 01:30:12 > git checkout -f 0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf # timeout=10 01:30:16 Commit message: "refactor: refactor device command application layer" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:30:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:30:17 % Total % Received % Xferd Average Speed Time Time Time Current 01:30:17 Dload Upload Total Spent Left Speed 01:30:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 01:30:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:30:18 + sudo tee /etc/docker/daemon.new 01:30:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:30:18 { 01:30:18 "registry-mirrors": [ 01:30:18 "https://nexus3.edgexfoundry.org:10001" 01:30:18 ], 01:30:18 "bip": "10.250.0.254/24", 01:30:18 "hosts": [ 01:30:18 "tcp://0.0.0.0:5555", 01:30:18 "unix:///var/run/docker.sock" 01:30:18 ], 01:30:18 "mtu": 1458, 01:30:18 "selinux-enabled": true, 01:30:18 "seccomp-profile": "/etc/docker/seccomp.json" 01:30:18 } [Pipeline] sh 01:30:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:30:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:37 provisioning config files... 01:30:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5869892785617265496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:37 ---> docker-login.sh 01:30:37 nexus3.edgexfoundry.org:10001 01:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:38 Configure a credential helper to remove this warning. See 01:30:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:38 01:30:38 Login Succeeded 01:30:38 nexus3.edgexfoundry.org:10002 01:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:39 Configure a credential helper to remove this warning. See 01:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:39 01:30:39 Login Succeeded 01:30:39 nexus3.edgexfoundry.org:10003 01:30:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:39 Configure a credential helper to remove this warning. See 01:30:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:39 01:30:39 Login Succeeded 01:30:39 nexus3.edgexfoundry.org:10004 01:30:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:40 Configure a credential helper to remove this warning. See 01:30:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:40 01:30:40 Login Succeeded 01:30:40 docker.io 01:30:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:40 Configure a credential helper to remove this warning. See 01:30:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:40 01:30:40 Login Succeeded 01:30:40 ---> docker-login.sh ends [Pipeline] } 01:30:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:30:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:41 ========================================================= 01:30:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:30:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:41 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 01:30:42 Sending build context to Docker daemon 5.345MB 01:30:42 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 01:30:42 Step 2/11 : FROM ${BASE} AS builder 01:30:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:30:42 b3c136eddcbf: Pulling fs layer 01:30:42 c0a3192eca97: Pulling fs layer 01:30:42 a050256f5b6f: Pulling fs layer 01:30:42 656be50a0ddc: Pulling fs layer 01:30:42 2bbca73fdf42: Pulling fs layer 01:30:42 46d945488cbd: Pulling fs layer 01:30:42 8a5474983e97: Pulling fs layer 01:30:42 329c88fbcd65: Pulling fs layer 01:30:42 46d945488cbd: Waiting 01:30:42 8a5474983e97: Waiting 01:30:42 656be50a0ddc: Waiting 01:30:42 2bbca73fdf42: Waiting 01:30:42 329c88fbcd65: Waiting 01:30:42 a050256f5b6f: Verifying Checksum 01:30:42 a050256f5b6f: Download complete 01:30:42 c0a3192eca97: Download complete 01:30:42 2bbca73fdf42: Verifying Checksum 01:30:42 2bbca73fdf42: Download complete 01:30:42 46d945488cbd: Verifying Checksum 01:30:42 46d945488cbd: Download complete 01:30:42 b3c136eddcbf: Verifying Checksum 01:30:43 b3c136eddcbf: Pull complete 01:30:43 329c88fbcd65: Verifying Checksum 01:30:43 329c88fbcd65: Download complete 01:30:44 c0a3192eca97: Pull complete 01:30:44 a050256f5b6f: Pull complete 01:30:44 8a5474983e97: Verifying Checksum 01:30:44 8a5474983e97: Download complete 01:30:45 656be50a0ddc: Verifying Checksum 01:30:45 656be50a0ddc: Download complete 01:31:01 656be50a0ddc: Pull complete 01:31:01 2bbca73fdf42: Pull complete 01:31:01 46d945488cbd: Pull complete 01:31:06 8a5474983e97: Pull complete 01:31:08 329c88fbcd65: Pull complete 01:31:08 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:31:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:31:08 ---> ff4287adb874 01:31:08 Step 3/11 : ARG MAKE=make build 01:31:09 ---> Running in acbb57d59d6b 01:31:09 Removing intermediate container acbb57d59d6b 01:31:09 ---> f91864bde05c 01:31:09 Step 4/11 : WORKDIR /device-sdk-go 01:31:09 ---> Running in bf6fe8e69c2f 01:31:10 Removing intermediate container bf6fe8e69c2f 01:31:10 ---> 3d76ab91260f 01:31:10 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:31:10 ---> Running in 59c70fc7db49 01:31:11 Removing intermediate container 59c70fc7db49 01:31:11 ---> 3a283f89a4d4 01:31:11 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:31:12 ---> Running in 39e625871827 01:31:14 Removing intermediate container 39e625871827 01:31:14 ---> cb11657d4d3c 01:31:14 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:31:14 ---> Running in c8e065a220cb 01:31:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:31:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:31:16 OK: 221 MiB in 51 packages 01:31:17 Removing intermediate container c8e065a220cb 01:31:17 ---> 1fda3db61574 01:31:17 Step 8/11 : COPY go.mod vendor* ./ 01:31:18 ---> b224403db6fd 01:31:18 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:31:18 ---> Running in 18473a78183b 01:32:05 Removing intermediate container 18473a78183b 01:32:05 ---> 22474b7d6c10 01:32:05 Step 10/11 : COPY . . 01:32:06 ---> cf4456800a6f 01:32:06 Step 11/11 : RUN ${MAKE} 01:32:06 ---> Running in 2a05e46d7c65 01:32:07 noop 01:32:08 Removing intermediate container 2a05e46d7c65 01:32:08 ---> d6e160522433 01:32:08 Successfully built d6e160522433 01:32:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:08 + docker inspect -f . ci-base-image-arm64 01:32:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:08 prd-ubuntu20.04-docker-arm64-4c-16g-29914 does not seem to be running inside a container 01:32:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:32:10 $ docker top e5da13b0cf2b20366f744cb770956caf172bbb429f34d5933eaa33c96df1e5ff -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:11 + go version 01:32:11 go version go1.18.3 linux/arm64 [Pipeline] } 01:32:11 $ docker stop --time=1 e5da13b0cf2b20366f744cb770956caf172bbb429f34d5933eaa33c96df1e5ff 01:32:12 $ docker rm -f e5da13b0cf2b20366f744cb770956caf172bbb429f34d5933eaa33c96df1e5ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:13 + docker inspect -f . ci-base-image-arm64 01:32:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:13 prd-ubuntu20.04-docker-arm64-4c-16g-29914 does not seem to be running inside a container 01:32:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:32:15 $ docker top dd05596e28cd82399c20df0364f21f22a33cb6e79d3855d0c0031d8afceb9087 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:16 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 01:32:16 + make test 01:32:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:32:49 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:34:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:34:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:34:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:34:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 01:34:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:34:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.306s coverage: 27.6% of statements 01:34:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.488s coverage: 78.9% of statements 01:34:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 01:34:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.514s coverage: 60.0% of statements 01:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:34:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:34:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.615s coverage: 54.4% of statements 01:34:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:34:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:34:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:34:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.434s coverage: 65.1% of statements 01:34:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 01:34:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 01:34:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.194s coverage: 89.2% of statements 01:34:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:34:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.242s coverage: 4.5% of statements 01:34:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:34:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:34:57 GO111MODULE=on go vet ./... 01:36:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:36:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:36:34 ./bin/test-attribution-txt.sh 01:36:34 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 01:36:34 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 01:36:34 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 01:36:34 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 01:36:34 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:36:34 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:36:34 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 01:36:34 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 01:36:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:36:34 $ docker stop --time=1 dd05596e28cd82399c20df0364f21f22a33cb6e79d3855d0c0031d8afceb9087 01:36:36 $ docker rm -f dd05596e28cd82399c20df0364f21f22a33cb6e79d3855d0c0031d8afceb9087 [Pipeline] // withDockerContainer [Pipeline] sh 01:36:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:36:37 Warning: overwriting stash ‘coverage-report’ 01:36:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:36:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:36:39 + ls -al . 01:36:39 total 272 01:36:39 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 01:32 . 01:36:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 01:30 .. 01:36:39 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 01:30 .dockerignore 01:36:39 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 01:30 .git 01:36:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 01:30 .github 01:36:39 -rw-rw-r-- 1 jenkins jenkins 131 Sep 20 01:30 .gitignore 01:36:39 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 01:30 .golangci.yml 01:36:39 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 20 01:30 CHANGELOG.md 01:36:39 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 01:30 GOVERNANCE.md 01:36:39 -rw-rw-r-- 1 jenkins jenkins 880 Sep 20 01:30 Jenkinsfile 01:36:39 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 01:30 LICENSE 01:36:39 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 20 01:30 Makefile 01:36:39 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 01:30 OWNERS.md 01:36:39 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 20 01:30 README.md 01:36:39 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 01:27 VERSION 01:36:39 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 01:30 bin 01:36:39 -rw-r--r-- 1 jenkins jenkins 101642 Sep 20 01:34 coverage.out 01:36:39 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 01:30 example 01:36:39 -rw-rw-r-- 1 jenkins jenkins 3624 Sep 20 01:30 go.mod 01:36:39 -rw-rw-r-- 1 jenkins jenkins 37972 Sep 20 01:30 go.sum 01:36:39 drwxrwxr-x 14 jenkins jenkins 4096 Sep 20 01:30 internal 01:36:39 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 01:30 openapi 01:36:39 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 01:30 pkg 01:36:39 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 01:30 snap 01:36:39 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 01:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:39 + 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=0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf --label arch=arm64 --label version=0.0.0 . 01:36:40 Sending build context to Docker daemon 5.447MB 01:36:40 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:36:40 Step 2/25 : FROM ${BASE} AS builder 01:36:40 ---> d6e160522433 01:36:40 Step 3/25 : ARG MAKE=make build 01:36:40 ---> Running in 03d3d4129967 01:36:40 Removing intermediate container 03d3d4129967 01:36:40 ---> aaf0ebea4757 01:36:40 Step 4/25 : WORKDIR /device-sdk-go 01:36:40 ---> Running in 705df5efa268 01:36:41 Removing intermediate container 705df5efa268 01:36:41 ---> 5cdb38b3ec96 01:36:41 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:36:41 ---> Running in 069f46ed5c94 01:36:41 Removing intermediate container 069f46ed5c94 01:36:41 ---> c58a6ebde744 01:36:41 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:36:41 ---> Running in e19d659f79d8 01:36:43 Removing intermediate container e19d659f79d8 01:36:43 ---> fae5cf0af5a8 01:36:43 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:36:43 ---> Running in fac4b21374a0 01:36:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:36:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:36:46 OK: 221 MiB in 51 packages 01:36:47 Removing intermediate container fac4b21374a0 01:36:47 ---> 24c70378c1d4 01:36:47 Step 8/25 : COPY go.mod vendor* ./ 01:36:47 ---> ae2c20a96f6f 01:36:47 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:36:47 ---> Running in 34bc50336bec 01:36:49 Removing intermediate container 34bc50336bec 01:36:49 ---> ae3a4eac8d87 01:36:49 Step 10/25 : COPY . . 01:36:51 ---> 4b45b6152dfc 01:36:51 Step 11/25 : RUN ${MAKE} 01:36:51 ---> Running in a3e91d7c75e1 01:36:52 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:38:58 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:39:03 Removing intermediate container a3e91d7c75e1 01:39:03 ---> 1bfb6f099910 01:39:03 Step 12/25 : FROM alpine:3.16 01:39:03 3.16: Pulling from library/alpine 01:39:04 9b18e9b68314: Pulling fs layer 01:39:04 9b18e9b68314: Verifying Checksum 01:39:04 9b18e9b68314: Download complete 01:39:05 9b18e9b68314: Pull complete 01:39:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:39:05 Status: Downloaded newer image for alpine:3.16 01:39:05 ---> a6215f271958 01:39:05 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:39:05 ---> Running in 8ae1dbb05ac0 01:39:05 Removing intermediate container 8ae1dbb05ac0 01:39:05 ---> 567c0830363d 01:39:05 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:39:05 ---> Running in 723f22f3a8ad 01:39:07 Removing intermediate container 723f22f3a8ad 01:39:07 ---> 646e323cfbcb 01:39:07 Step 15/25 : RUN apk add --update --no-cache zeromq 01:39:07 ---> Running in a2100a6af12e 01:39:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:39:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:39:09 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:39:10 (2/5) Installing libsodium (1.0.18-r0) 01:39:10 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:39:10 (4/5) Installing libzmq (4.3.4-r0) 01:39:10 (5/5) Installing zeromq (4.3.4-r0) 01:39:10 Executing busybox-1.35.0-r17.trigger 01:39:10 OK: 8 MiB in 19 packages 01:39:11 Removing intermediate container a2100a6af12e 01:39:11 ---> 0e460efaf83d 01:39:11 Step 16/25 : WORKDIR / 01:39:11 ---> Running in 66ea13ab472a 01:39:11 Removing intermediate container 66ea13ab472a 01:39:11 ---> b914c8a3d19a 01:39:11 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:39:12 ---> 9dac2870542b 01:39:12 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:39:13 ---> bbdec55517aa 01:39:13 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:39:14 ---> 53c4f15ded9d 01:39:14 Step 20/25 : EXPOSE 59999 01:39:14 ---> Running in 4ddbc14d10bc 01:39:14 Removing intermediate container 4ddbc14d10bc 01:39:14 ---> 1c67df63872a 01:39:14 Step 21/25 : ENTRYPOINT ["/device-simple"] 01:39:14 ---> Running in ab4122d18639 01:39:14 Removing intermediate container ab4122d18639 01:39:14 ---> a2f6b668885f 01:39:14 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:39:15 ---> Running in 2347525ecc39 01:39:15 Removing intermediate container 2347525ecc39 01:39:15 ---> ac365cd3b144 01:39:15 Step 23/25 : LABEL arch=arm64 01:39:15 ---> Running in aa2efba2b179 01:39:15 Removing intermediate container aa2efba2b179 01:39:15 ---> 5c5b8f41ef32 01:39:15 Step 24/25 : LABEL git_sha=0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf 01:39:15 ---> Running in 423061b63cba 01:39:16 Removing intermediate container 423061b63cba 01:39:16 ---> 1ad07bbbe045 01:39:16 Step 25/25 : LABEL version=0.0.0 01:39:16 ---> Running in 5c998de5e5ba 01:39:16 Removing intermediate container 5c998de5e5ba 01:39:16 ---> df6de2d24efd 01:39:16 [Warning] One or more build-args [ARCH] were not consumed 01:39:16 Successfully built df6de2d24efd 01:39:16 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:39:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:39:16 01:39:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:39:17 arm64: Pulling from edgex-lftools-log-publisher 01:39:17 8998bd30e6a1: Pulling fs layer 01:39:17 04944245beec: Pulling fs layer 01:39:17 699f458cf7ca: Pulling fs layer 01:39:17 765212b225bb: Pulling fs layer 01:39:17 f23df028b6ca: Pulling fs layer 01:39:17 d65c8cfc05b1: Pulling fs layer 01:39:17 2437ff75d9bd: Pulling fs layer 01:39:17 f23df028b6ca: Waiting 01:39:17 d65c8cfc05b1: Waiting 01:39:17 765212b225bb: Waiting 01:39:17 2437ff75d9bd: Waiting 01:39:17 04944245beec: Verifying Checksum 01:39:17 04944245beec: Download complete 01:39:17 765212b225bb: Download complete 01:39:17 f23df028b6ca: Verifying Checksum 01:39:17 f23df028b6ca: Download complete 01:39:17 d65c8cfc05b1: Verifying Checksum 01:39:17 d65c8cfc05b1: Download complete 01:39:17 699f458cf7ca: Verifying Checksum 01:39:17 699f458cf7ca: Download complete 01:39:18 8998bd30e6a1: Verifying Checksum 01:39:18 8998bd30e6a1: Download complete 01:39:20 2437ff75d9bd: Verifying Checksum 01:39:20 2437ff75d9bd: Download complete 01:39:22 8998bd30e6a1: Pull complete 01:39:23 04944245beec: Pull complete 01:39:24 699f458cf7ca: Pull complete 01:39:24 765212b225bb: Pull complete 01:39:25 f23df028b6ca: Pull complete 01:39:26 d65c8cfc05b1: Pull complete 01:39:41 2437ff75d9bd: Pull complete 01:39:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:39:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:39:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:41 prd-ubuntu20.04-docker-arm64-4c-16g-29914 does not seem to be running inside a container 01:39:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:39:44 $ docker top 94dd455a5ace877d7227bee2ef047ad928170bee595bba356fb14b3f5b935c19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:45 ---> job-cost.sh 01:39:45 lf-activate-venv: SKIPPING 01:39:45 INFO: No Stack... 01:39:45 INFO: Retrieving Pricing Info for: v3-standard-4 01:39:46 INFO: Archiving Costs [Pipeline] sh 01:39:47 + cut -d, -f6 01:39:47 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 01:39:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] 01:39:47 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] did not exist. Created. 01:39:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:39:48 /w/workspace/device-sdk-go/2@tmp/durable-7f07d67a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:39:49 + echo total: 0.10999999940395355 [Pipeline] stash 01:39:49 Warning: overwriting stash ‘stack-cost’ 01:39:49 Stashed 1 file(s) [Pipeline] } 01:39:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1210-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:39:49 $ docker stop --time=1 94dd455a5ace877d7227bee2ef047ad928170bee595bba356fb14b3f5b935c19 01:39:50 $ docker rm -f 94dd455a5ace877d7227bee2ef047ad928170bee595bba356fb14b3f5b935c19 [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:39:51 provisioning config files... 01:39:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config8682240644998112422tmp [Pipeline] { [Pipeline] sh 01:39:51 + set +x 01:39:51 + curl -s https://codecov.io/bash 01:39:51 + bash -s -- 01:39:51 01:39:51 _____ _ 01:39:51 / ____| | | 01:39:51 | | ___ __| | ___ ___ _____ __ 01:39:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:39:51 | |___| (_) | (_| | __/ (_| (_) \ V / 01:39:51 \_____\___/ \__,_|\___|\___\___/ \_/ 01:39:51 Bash-1.0.6 01:39:51 01:39:51 01:39:51 ==> git version 2.25.1 found 01:39:51 ==> 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:39:51 Release-Date: 2020-01-08 01:39:51 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:39:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:39:51 ==> Jenkins CI detected. 01:39:51 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1210 01:39:51 project root: . 01:39:51 --> token set from env 01:39:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:39:51 ==> Running gcov in . (disable via -X gcov) 01:39:51 ==> Python coveragepy not found 01:39:51 ==> Searching for coverage reports in: 01:39:51 + . 01:39:51 -> Found 1 reports 01:39:51 ==> Detecting git/mercurial file structure 01:39:51 ==> Reading reports 01:39:51 + ./coverage.out bytes=101642 01:39:51 ==> Appending adjustments 01:39:51 https://docs.codecov.io/docs/fixing-reports 01:39:51 + Found adjustments 01:39:51 ==> Gzipping contents 01:39:51 16K /tmp/codecov.FybGld.gz 01:39:51 ==> Uploading reports 01:39:51 url: https://codecov.io 01:39:51 query: branch=PR-1210&commit=0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1210%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1210&job=&cmd_args= 01:39:51 -> Pinging Codecov 01:39:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1210&commit=0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1210%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1210&job=&cmd_args= 01:39:52 -> Uploading to 01:39:52 https://storage.googleapis.com/codecov/v4/raw/2022-09-20/7E55EF52A471D76F132DFD9A03CDDE97/0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf/07e675ef-c615-42a5-88b6-dde802fb1583.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220920T013952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e57d7f95d74771314351c12929fe083dd34fd708ad649b5112c2353227154087 01:39:52 % Total % Received % Xferd Average Speed Time Time Time Current 01:39:52 Dload Upload Total Spent Left Speed 01:39:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14441 0 0 100 14441 0 52704 --:--:-- --:--:-- --:--:-- 52704 01:39:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0c7ef2ebf64319ea0dd956fc12ae0f34990c2dcf [Pipeline] } 01:39:52 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:39:53 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives ] 01:39:53 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives 01:39:53 total 16 01:39:53 drwxr-xr-x 3 root root 4096 Sep 20 01:29 . 01:39:53 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 01:29 .. 01:39:53 drwxr-xr-x 2 root root 4096 Sep 20 01:29 cost 01:39:53 -rw-r--r-- 1 root root 86 Sep 20 01:29 cost.csv 01:39:53 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives 01:39:53 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives 01:39:53 total 16 01:39:53 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 01:29 . 01:39:53 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 01:29 .. 01:39:53 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 01:29 cost 01:39:53 -rw-r--r-- 1 jenkins jenkins 86 Sep 20 01:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:39:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:39:54 ---> package-listing.sh 01:39:54 ++ facter osfamily 01:39:54 ++ tr '[:upper:]' '[:lower:]' 01:39:54 + OS_FAMILY=debian 01:39:54 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1210 01:39:54 + START_PACKAGES=/tmp/packages_start.txt 01:39:54 + END_PACKAGES=/tmp/packages_end.txt 01:39:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:39:54 + PACKAGES=/tmp/packages_start.txt 01:39:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1210 ']' 01:39:54 + PACKAGES=/tmp/packages_end.txt 01:39:54 + case "${OS_FAMILY}" in 01:39:54 + dpkg -l 01:39:54 + grep '^ii' 01:39:54 + '[' -f /tmp/packages_start.txt ']' 01:39:54 + '[' -f /tmp/packages_end.txt ']' 01:39:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:39:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1210 ']' 01:39:54 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/ 01:39:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1210/archives/ [Pipeline] echo 01:39:54 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-1210/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:39:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:55 prd-ubuntu20.04-docker-8c-8g-29911 does not seem to be running inside a container 01:39:55 $ 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-1210/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-1210 -v /w/workspace/gexfoundry_device-sdk-go_PR-1210:/w/workspace/gexfoundry_device-sdk-go_PR-1210:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:39:56 $ docker top 93feefcaaa37a9e31363c3b14a7beb6450ff13079578b86efab2e92a152f129c -eo pid,comm [Pipeline] { [Pipeline] sh 01:39:56 + touch /tmp/pre-build-complete [Pipeline] sh 01:39:56 + mkdir -p /var/log/sysstat [Pipeline] sh 01:39:57 + ls /var/log/sa-host 01:39:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:39:57 provisioning config files... 01:39:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1210@tmp/config6698884286506592274tmp [Pipeline] { [Pipeline] echo 01:39:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:39:57 ---> create-netrc.sh [Pipeline] } 01:39:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:39:57 ---> python-tools-install.sh [Pipeline] echo 01:39:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:39:58 ---> sudo-logs.sh 01:39:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:39:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:39:58 ---> job-cost.sh 01:39:58 lf-activate-venv: SKIPPING 01:39:58 DEBUG: total: 0.2199999988079071 01:39:58 INFO: Retrieving Stack Cost... 01:39:58 INFO: Retrieving Pricing Info for: v3-standard-8 01:39:59 INFO: Archiving Costs [Pipeline] echo 01:39:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:39:59 ---> logs-deploy.sh 01:39:59 lf-activate-venv: SKIPPING 01:39:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1210/2 01:39:59 INFO: archiving workspace using pattern(s): 01:40:00 Archives upload complete. 01:40:00 INFO: archiving logs to Nexus