Pull request #1231 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a2bfef7a77ff891edaffe0f69894abb3f2a2e13e+71d557e94127766e3dd7859e57e7c834f188cfad (37f24767f8dae2d4708672c5df1d5083c4f9b928) 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-ssh7241674108482451648.key Verifying host key using known hosts file > 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-ssh3407848934502802527.key Verifying host key using known hosts file > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1231/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1231/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1868624378064941684.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1231/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10069672131226503344.key Verifying host key using known hosts file > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh18245731368194395787.key Verifying host key using known hosts file > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1231/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1231/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5581258654700511729.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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-7711’ Running on prd-ubuntu20.04-docker-8c-8g-7713 in /w/workspace/gexfoundry_device-sdk-go_PR-1231 [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-1231 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1231/head:refs/remotes/origin/PR-1231 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 71d557e94127766e3dd7859e57e7c834f188cfad into PR head commit a2bfef7a77ff891edaffe0f69894abb3f2a2e13e Merge succeeded, producing a2bfef7a77ff891edaffe0f69894abb3f2a2e13e Checking out Revision a2bfef7a77ff891edaffe0f69894abb3f2a2e13e (PR-1231) > git config core.sparsecheckout # timeout=10 > git checkout -f a2bfef7a77ff891edaffe0f69894abb3f2a2e13e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 71d557e94127766e3dd7859e57e7c834f188cfad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2bfef7a77ff891edaffe0f69894abb3f2a2e13e # timeout=10 Commit message: "fix: update example request/response topic scheme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:28:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:28:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:28:54 ========================================================= 03:28:54 EdgeX Global Pipelines Version Info 03:28:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:28:56 ------------------- 03:28:56 stable info: 03:28:56 ------------------- 03:28:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:28:56 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:28:56 Message: update stable to v1.0.239 03:28:56 ------------------- 03:28:56 experimental info: 03:28:56 ------------------- 03:28:56 Commited By: **** collab-it+edgex@linuxfoundation.org 03:28:56 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:28:56 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:28:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:28:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:28:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:28:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1231 [Pipeline] echo 03:28:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1231 [Pipeline] echo 03:28:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1231 [Pipeline] echo 03:28:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [Pipeline] echo 03:28:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2bfef7 [Pipeline] echo 03:28:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:28:58 provisioning config files... 03:28:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/config16121309944569071588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:28:58 ---> docker-login.sh 03:28:58 nexus3.edgexfoundry.org:10001 03:28:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:59 Configure a credential helper to remove this warning. See 03:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:59 03:28:59 Login Succeeded 03:28:59 nexus3.edgexfoundry.org:10002 03:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:59 Configure a credential helper to remove this warning. See 03:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:59 03:28:59 Login Succeeded 03:28:59 nexus3.edgexfoundry.org:10003 03:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:59 Configure a credential helper to remove this warning. See 03:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:59 03:28:59 Login Succeeded 03:28:59 nexus3.edgexfoundry.org:10004 03:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:59 Configure a credential helper to remove this warning. See 03:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:59 03:28:59 Login Succeeded 03:28:59 docker.io 03:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:59 Configure a credential helper to remove this warning. See 03:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:59 03:28:59 Login Succeeded 03:28:59 ---> docker-login.sh ends [Pipeline] } 03:28:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:29:00 + git rev-list -1 --merges a2bfef7a77ff891edaffe0f69894abb3f2a2e13e~1..a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [Pipeline] echo 03:29:00 -----------> git rev-list -1 --merges a2bfef7a77ff891edaffe0f69894abb3f2a2e13e~1..a2bfef7a77ff891edaffe0f69894abb3f2a2e13e a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [false] [Pipeline] sh 03:29:00 + git log --format=format:%s -1 a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [Pipeline] echo 03:29:00 ========================================================= 03:29:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:29:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:29:01 + git log --format=format:%s -1 a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [Pipeline] echo 03:29:01 [semverPrep] GIT_COMMIT: a2bfef7a77ff891edaffe0f69894abb3f2a2e13e, Commit Message: fix: update example request/response topic scheme [Pipeline] echo 03:29:01 [semverPrep] This is not a build commit. [Pipeline] sh 03:29:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:29:01 + grep -v github /etc/ssh/ssh_known_hosts 03:29:01 + [ -e /tmp/ssh_known_hosts ] 03:29:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:29:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:29:01 + sudo tee -a /etc/ssh/ssh_known_hosts 03:29:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:29:02 03:29:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:29:02 0.1.4: Pulling from edgex-devops/py-git-semver 03:29:02 b85a868b505f: Pulling fs layer 03:29:02 e2be974225ed: Pulling fs layer 03:29:02 339a4e72a1f5: Pulling fs layer 03:29:02 988bab9f4d93: Pulling fs layer 03:29:02 1469e6f7b9e6: Pulling fs layer 03:29:02 eaf3925da568: Pulling fs layer 03:29:02 bab4dde63d76: Pulling fs layer 03:29:02 bde34c3a00c8: Pulling fs layer 03:29:02 b352a97aabf1: Pulling fs layer 03:29:02 4872d77fe225: Pulling fs layer 03:29:02 5851b861e8e6: Pulling fs layer 03:29:02 eaf3925da568: Waiting 03:29:02 b352a97aabf1: Waiting 03:29:02 4872d77fe225: Waiting 03:29:02 bab4dde63d76: Waiting 03:29:02 bde34c3a00c8: Waiting 03:29:02 5851b861e8e6: Waiting 03:29:02 e2be974225ed: Download complete 03:29:02 988bab9f4d93: Verifying Checksum 03:29:02 988bab9f4d93: Download complete 03:29:02 1469e6f7b9e6: Verifying Checksum 03:29:02 1469e6f7b9e6: Download complete 03:29:02 eaf3925da568: Download complete 03:29:02 339a4e72a1f5: Verifying Checksum 03:29:02 339a4e72a1f5: Download complete 03:29:02 bde34c3a00c8: Verifying Checksum 03:29:02 bde34c3a00c8: Download complete 03:29:02 b352a97aabf1: Verifying Checksum 03:29:02 b352a97aabf1: Download complete 03:29:02 4872d77fe225: Verifying Checksum 03:29:02 4872d77fe225: Download complete 03:29:02 5851b861e8e6: Verifying Checksum 03:29:02 b85a868b505f: Download complete 03:29:03 bab4dde63d76: Verifying Checksum 03:29:03 bab4dde63d76: Download complete 03:29:04 b85a868b505f: Pull complete 03:29:04 e2be974225ed: Pull complete 03:29:04 339a4e72a1f5: Pull complete 03:29:04 988bab9f4d93: Pull complete 03:29:04 1469e6f7b9e6: Pull complete 03:29:04 eaf3925da568: Pull complete 03:29:06 bab4dde63d76: Pull complete 03:29:06 bde34c3a00c8: Pull complete 03:29:06 b352a97aabf1: Pull complete 03:29:06 4872d77fe225: Pull complete 03:29:06 5851b861e8e6: Pull complete 03:29:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:29:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:29:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:06 prd-ubuntu20.04-docker-8c-8g-7713 does not seem to be running inside a container 03:29:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1231 -v /w/workspace/gexfoundry_device-sdk-go_PR-1231:/w/workspace/gexfoundry_device-sdk-go_PR-1231:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:29:09 $ docker top 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e -eo pid,comm 03:29:09 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). 03:29:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:29:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:29:09 [ssh-agent] Looking for ssh-agent implementation... 03:29:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:29:09 $ docker exec 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e ssh-agent 03:29:10 SSH_AUTH_SOCK=/tmp/ssh-USpZoimkYM8q/agent.32 03:29:10 SSH_AGENT_PID=38 03:29:10 Running ssh-add (command line suppressed) 03:29:10 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/private_key_13447382265308633152.key (/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/private_key_13447382265308633152.key) 03:29:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:29:10 + git tag --points-at HEAD [Pipeline] } 03:29:10 $ docker exec --env ******** --env ******** 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e ssh-agent -k 03:29:10 unset SSH_AUTH_SOCK; 03:29:10 unset SSH_AGENT_PID; 03:29:10 echo Agent pid 38 killed; 03:29:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:29:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:29:10 [ssh-agent] Looking for ssh-agent implementation... 03:29:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:29:10 $ docker exec 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e ssh-agent 03:29:10 SSH_AUTH_SOCK=/tmp/ssh-O95XqhIwXI5s/agent.70 03:29:10 SSH_AGENT_PID=76 03:29:10 Running ssh-add (command line suppressed) 03:29:11 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/private_key_625580694801871544.key (/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/private_key_625580694801871544.key) 03:29:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:29:11 + git semver init 03:29:11 2022-10-12 03:29:11,532 [run_init] DEBUG init version:0.0.0 force:False 03:29:11 2022-10-12 03:29:11,532 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver 03:29:11 2022-10-12 03:29:11,533 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver 03:29:11 2022-10-12 03:29:11,533 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1231, universal_newlines=False, shell=None, istream=None) 03:29:12 2022-10-12 03:29:12,536 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1231/.git/info/exclude 03:29:12 2022-10-12 03:29:12,537 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver/PR-1231 with force:False 03:29:12 2022-10-12 03:29:12,537 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver/PR-1231 03:29:12 2022-10-12 03:29:12,541 [execute] INFO git cat-file --batch-check 03:29:12 2022-10-12 03:29:12,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver, universal_newlines=False, shell=None, istream=) 03:29:12 2022-10-12 03:29:12,546 [execute] INFO git cat-file --batch 03:29:12 2022-10-12 03:29:12,547 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver, universal_newlines=False, shell=None, istream=) 03:29:12 2022-10-12 03:29:12,551 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1231/.semver/PR-1231 03:29:12 0.0.0 [Pipeline] } 03:29:12 $ docker exec --env ******** --env ******** 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e ssh-agent -k 03:29:12 unset SSH_AUTH_SOCK; 03:29:12 unset SSH_AGENT_PID; 03:29:12 echo Agent pid 76 killed; 03:29:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:29:13 + git semver [Pipeline] } 03:29:13 $ docker stop --time=1 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e 03:29:14 $ docker rm -f 6a20f9598b3a4364fe5eb9065d66fb40b868963a7240bf6470cf27478a0b4a5e [Pipeline] // withDockerContainer [Pipeline] sh 03:29:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:29:15 Stashed 1 file(s) [Pipeline] echo 03:29:15 [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 03:29:15 provisioning config files... 03:29:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/config12744715165873151170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:29:16 ---> docker-login.sh 03:29:16 nexus3.edgexfoundry.org:10001 03:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:16 Configure a credential helper to remove this warning. See 03:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:16 03:29:16 Login Succeeded 03:29:16 nexus3.edgexfoundry.org:10002 03:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:16 Configure a credential helper to remove this warning. See 03:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:16 03:29:16 Login Succeeded 03:29:16 nexus3.edgexfoundry.org:10003 03:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:16 Configure a credential helper to remove this warning. See 03:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:16 03:29:16 Login Succeeded 03:29:16 nexus3.edgexfoundry.org:10004 03:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:16 Configure a credential helper to remove this warning. See 03:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:16 03:29:16 Login Succeeded 03:29:16 docker.io 03:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:29:17 Configure a credential helper to remove this warning. See 03:29:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:29:17 03:29:17 Login Succeeded 03:29:17 ---> docker-login.sh ends [Pipeline] } 03:29:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:29:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:29:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:29:17 ========================================================= 03:29:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:29:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:17 + 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 . 03:29:17 Sending build context to Docker daemon 9.991MB 03:29:17 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 03:29:17 Step 2/11 : FROM ${BASE} AS builder 03:29:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:29:17 213ec9aee27d: Pulling fs layer 03:29:17 4583459ba037: Pulling fs layer 03:29:17 93c1e223e6f2: Pulling fs layer 03:29:17 53926ce57604: Pulling fs layer 03:29:17 21b2b0c7a3f4: Pulling fs layer 03:29:17 30f14e443154: Pulling fs layer 03:29:17 801331c1e519: Pulling fs layer 03:29:17 99cc6dd402b0: Pulling fs layer 03:29:17 21b2b0c7a3f4: Waiting 03:29:17 53926ce57604: Waiting 03:29:17 30f14e443154: Waiting 03:29:17 7d9ed39f4882: Pulling fs layer 03:29:17 99cc6dd402b0: Waiting 03:29:17 7d9ed39f4882: Waiting 03:29:17 93c1e223e6f2: Download complete 03:29:17 4583459ba037: Download complete 03:29:18 21b2b0c7a3f4: Verifying Checksum 03:29:18 21b2b0c7a3f4: Download complete 03:29:18 30f14e443154: Download complete 03:29:18 213ec9aee27d: Verifying Checksum 03:29:18 213ec9aee27d: Download complete 03:29:18 801331c1e519: Verifying Checksum 03:29:18 801331c1e519: Download complete 03:29:18 213ec9aee27d: Pull complete 03:29:18 4583459ba037: Pull complete 03:29:18 93c1e223e6f2: Pull complete 03:29:18 7d9ed39f4882: Verifying Checksum 03:29:18 7d9ed39f4882: Download complete 03:29:18 99cc6dd402b0: Verifying Checksum 03:29:18 99cc6dd402b0: Download complete 03:29:18 53926ce57604: Verifying Checksum 03:29:18 53926ce57604: Download complete 03:29:23 53926ce57604: Pull complete 03:29:23 21b2b0c7a3f4: Pull complete 03:29:23 30f14e443154: Pull complete 03:29:23 801331c1e519: Pull complete 03:29:24 99cc6dd402b0: Pull complete 03:29:25 7d9ed39f4882: Pull complete 03:29:25 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 03:29:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:29:25 ---> 1dedd983c030 03:29:25 Step 3/11 : ARG MAKE=make build 03:29:29 ---> Running in d8a2fa29d991 03:29:29 Removing intermediate container d8a2fa29d991 03:29:29 ---> 89b865e6934c 03:29:29 Step 4/11 : WORKDIR /device-sdk-go 03:29:29 ---> Running in b8d2b8f22bb8 03:29:29 Removing intermediate container b8d2b8f22bb8 03:29:29 ---> 3af79da6dd21 03:29:29 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:29:29 ---> Running in 4806f43ba3e9 03:29:29 Removing intermediate container 4806f43ba3e9 03:29:29 ---> a11967962963 03:29:29 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:29:29 ---> Running in 2429f746af3e 03:29:30 Removing intermediate container 2429f746af3e 03:29:30 ---> f5721f54bc2a 03:29:30 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:29:30 ---> Running in db10fa8b921b 03:29:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:29:30 Still waiting to schedule task 03:29:30 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7712’ 03:29:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:29:31 OK: 211 MiB in 51 packages 03:29:31 Removing intermediate container db10fa8b921b 03:29:31 ---> b619c27d4eef 03:29:31 Step 8/11 : COPY go.mod vendor* ./ 03:29:32 ---> 2a098cd2cb1d 03:29:32 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:29:32 ---> Running in e0140a658e27 03:29:50 Removing intermediate container e0140a658e27 03:29:50 ---> f2dc82f2f93e 03:29:50 Step 10/11 : COPY . . 03:29:50 ---> ff9382aeaf0d 03:29:50 Step 11/11 : RUN ${MAKE} 03:29:50 ---> Running in fea3a0502d00 03:29:50 noop 03:29:51 Removing intermediate container fea3a0502d00 03:29:51 ---> 6655839402ad 03:29:51 Successfully built 6655839402ad 03:29:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:51 + docker inspect -f . ci-base-image-x86_64 03:29:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:51 prd-ubuntu20.04-docker-8c-8g-7713 does not seem to be running inside a container 03:29:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1231 -v /w/workspace/gexfoundry_device-sdk-go_PR-1231:/w/workspace/gexfoundry_device-sdk-go_PR-1231:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:29:52 $ docker top 36f72860d280a6208d35e6f3d0a0d3ee4873e7b4eb168374dcd5530686e35ee8 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:52 + go version 03:29:52 go version go1.18.7 linux/amd64 [Pipeline] } 03:29:52 $ docker stop --time=1 36f72860d280a6208d35e6f3d0a0d3ee4873e7b4eb168374dcd5530686e35ee8 03:29:53 $ docker rm -f 36f72860d280a6208d35e6f3d0a0d3ee4873e7b4eb168374dcd5530686e35ee8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:54 + docker inspect -f . ci-base-image-x86_64 03:29:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:54 prd-ubuntu20.04-docker-8c-8g-7713 does not seem to be running inside a container 03:29:54 $ 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-1231 -v /w/workspace/gexfoundry_device-sdk-go_PR-1231:/w/workspace/gexfoundry_device-sdk-go_PR-1231:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:29:55 $ docker top 06c7768257f7f7de309c005e5c6536b6c7dbe6d66475c251a91466967d2b5432 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:55 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1231 [Pipeline] fileExists [Pipeline] sh 03:29:55 + make test 03:29:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:30:02 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:30:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements 03:30:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.110s coverage: 78.9% of statements 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 03:30:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.089s coverage: 60.0% of statements 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:30:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.114s coverage: 54.4% of statements 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:30:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.108s coverage: 65.1% of statements 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 03:30:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.743s coverage: 89.2% of statements 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 03:30:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.072s coverage: 4.7% of statements 03:30:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:30:32 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." 03:30:32 GO111MODULE=on go vet ./... 03:30:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:30:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:30:35 ./bin/test-attribution-txt.sh 03:30:35 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 03:30:35 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 03:30:35 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 03:30:35 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 03:30:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:30:35 $ docker stop --time=1 06c7768257f7f7de309c005e5c6536b6c7dbe6d66475c251a91466967d2b5432 03:30:38 $ docker rm -f 06c7768257f7f7de309c005e5c6536b6c7dbe6d66475c251a91466967d2b5432 [Pipeline] // withDockerContainer [Pipeline] sh 03:30:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:30:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:30:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:30:40 + ls -al . 03:30:40 total 276 03:30:40 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 03:29 . 03:30:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:28 .. 03:30:40 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 03:28 .dockerignore 03:30:40 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 03:30 .git 03:30:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:28 .github 03:30:40 -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 03:28 .gitignore 03:30:40 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 03:28 .golangci.yml 03:30:40 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 03:29 .semver 03:30:40 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 12 03:28 CHANGELOG.md 03:30:40 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 03:28 GOVERNANCE.md 03:30:40 -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 03:28 Jenkinsfile 03:30:40 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 03:28 LICENSE 03:30:40 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 12 03:28 Makefile 03:30:40 -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 03:28 OWNERS.md 03:30:40 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 12 03:28 README.md 03:30:40 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 03:29 VERSION 03:30:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:28 bin 03:30:40 -rw-r--r-- 1 jenkins jenkins 101009 Oct 12 03:30 coverage.out 03:30:40 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 03:28 example 03:30:40 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 12 03:28 go.mod 03:30:40 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 12 03:28 go.sum 03:30:40 drwxrwxr-x 14 jenkins jenkins 4096 Oct 12 03:28 internal 03:30:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:28 openapi 03:30:40 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 03:28 pkg 03:30:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:28 snap 03:30:40 -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 03:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:40 + 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=a2bfef7a77ff891edaffe0f69894abb3f2a2e13e --label arch=amd64 --label version=0.0.0 . 03:30:40 Sending build context to Docker daemon 10.09MB 03:30:40 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 03:30:40 Step 2/25 : FROM ${BASE} AS builder 03:30:40 ---> 6655839402ad 03:30:40 Step 3/25 : ARG MAKE=make build 03:30:41 ---> Running in 678419686d4f 03:30:41 Removing intermediate container 678419686d4f 03:30:41 ---> 9260b5c7db46 03:30:41 Step 4/25 : WORKDIR /device-sdk-go 03:30:41 ---> Running in bee4f0703217 03:30:41 Removing intermediate container bee4f0703217 03:30:41 ---> 08d75219f18f 03:30:41 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:30:41 ---> Running in ed39f3d74d80 03:30:41 Removing intermediate container ed39f3d74d80 03:30:41 ---> 1b3a0c57e1d9 03:30:41 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:30:41 ---> Running in 6ed6ee18afa4 03:30:41 Removing intermediate container 6ed6ee18afa4 03:30:41 ---> d878ef5c1cd3 03:30:41 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:30:41 ---> Running in 22fa5c5da75b 03:30:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:30:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:30:43 OK: 211 MiB in 51 packages 03:30:43 Removing intermediate container 22fa5c5da75b 03:30:43 ---> f129aacbcb64 03:30:43 Step 8/25 : COPY go.mod vendor* ./ 03:30:43 ---> 61963566254b 03:30:43 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:30:43 ---> Running in 3cdb5bc1b979 03:30:44 Removing intermediate container 3cdb5bc1b979 03:30:44 ---> e58490344cb8 03:30:44 Step 10/25 : COPY . . 03:30:44 ---> fd63a5e40407 03:30:44 Step 11/25 : RUN ${MAKE} 03:30:44 ---> Running in 42bbf400e94d 03:30:45 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 03:31:03 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 03:31:04 Removing intermediate container 42bbf400e94d 03:31:04 ---> 716b0b57b37f 03:31:04 Step 12/25 : FROM alpine:3.16 03:31:04 3.16: Pulling from library/alpine 03:31:04 213ec9aee27d: Already exists 03:31:04 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:31:04 Status: Downloaded newer image for alpine:3.16 03:31:04 ---> 9c6f07244728 03:31:04 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:31:04 ---> Running in ede02d9d65a5 03:31:05 Removing intermediate container ede02d9d65a5 03:31:05 ---> 0471f000f3ab 03:31:05 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:31:05 ---> Running in a39a79301da1 03:31:05 Removing intermediate container a39a79301da1 03:31:05 ---> 6cfb7500a2ac 03:31:05 Step 15/25 : RUN apk add --update --no-cache zeromq 03:31:05 ---> Running in 058da1300999 03:31:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:31:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:31:07 (1/5) Installing libgcc (11.2.1_git20220219-r2) 03:31:07 (2/5) Installing libsodium (1.0.18-r0) 03:31:07 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 03:31:07 (4/5) Installing libzmq (4.3.4-r0) 03:31:07 (5/5) Installing zeromq (4.3.4-r0) 03:31:07 Executing busybox-1.35.0-r17.trigger 03:31:07 OK: 8 MiB in 19 packages 03:31:08 Removing intermediate container 058da1300999 03:31:08 ---> ed8a24197b8e 03:31:08 Step 16/25 : WORKDIR / 03:31:08 ---> Running in 938d64262785 03:31:08 Removing intermediate container 938d64262785 03:31:08 ---> 861df6f100b0 03:31:08 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:31:08 ---> 6ae2bb65b85a 03:31:08 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:31:08 ---> 134d5bd52534 03:31:08 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:31:08 ---> 9269405ce7f6 03:31:08 Step 20/25 : EXPOSE 59999 03:31:08 ---> Running in 82968c6b0adb 03:31:08 Removing intermediate container 82968c6b0adb 03:31:08 ---> f464b774c3a4 03:31:08 Step 21/25 : ENTRYPOINT ["/device-simple"] 03:31:08 ---> Running in e48fbda8cfc1 03:31:09 Removing intermediate container e48fbda8cfc1 03:31:09 ---> 68ee649ffd08 03:31:09 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:31:09 ---> Running in d90d3ac439d8 03:31:09 Removing intermediate container d90d3ac439d8 03:31:09 ---> ec68e398e78a 03:31:09 Step 23/25 : LABEL arch=amd64 03:31:09 ---> Running in 5b6f662d1323 03:31:09 Removing intermediate container 5b6f662d1323 03:31:09 ---> 013c0cb3d7bc 03:31:09 Step 24/25 : LABEL git_sha=a2bfef7a77ff891edaffe0f69894abb3f2a2e13e 03:31:09 ---> Running in 43282edf3b8e 03:31:09 Removing intermediate container 43282edf3b8e 03:31:09 ---> c8951e365c81 03:31:09 Step 25/25 : LABEL version=0.0.0 03:31:09 ---> Running in dacd387df5ba 03:31:09 Removing intermediate container dacd387df5ba 03:31:09 ---> 055a29698974 03:31:09 [Warning] One or more build-args [ARCH] were not consumed 03:31:09 Successfully built 055a29698974 03:31:09 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 03:31:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:31:10 03:31:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:31:10 latest: Pulling from edgex-lftools-log-publisher 03:31:10 5eb5b503b376: Pulling fs layer 03:31:10 5c69ac0246d0: Pulling fs layer 03:31:10 ec43610c2a17: Pulling fs layer 03:31:10 3a2ae6a8a46f: Pulling fs layer 03:31:10 33b1e0a273af: Pulling fs layer 03:31:10 5d3b04190fa2: Pulling fs layer 03:31:10 2f39f015ded8: Pulling fs layer 03:31:10 2f39f015ded8: Waiting 03:31:10 33b1e0a273af: Waiting 03:31:10 3a2ae6a8a46f: Waiting 03:31:10 5d3b04190fa2: Waiting 03:31:10 5c69ac0246d0: Verifying Checksum 03:31:10 5c69ac0246d0: Download complete 03:31:10 3a2ae6a8a46f: Verifying Checksum 03:31:10 3a2ae6a8a46f: Download complete 03:31:10 33b1e0a273af: Verifying Checksum 03:31:10 33b1e0a273af: Download complete 03:31:11 5d3b04190fa2: Download complete 03:31:11 ec43610c2a17: Verifying Checksum 03:31:11 ec43610c2a17: Download complete 03:31:11 5eb5b503b376: Verifying Checksum 03:31:11 5eb5b503b376: Download complete 03:31:11 2f39f015ded8: Download complete 03:31:12 5eb5b503b376: Pull complete 03:31:12 5c69ac0246d0: Pull complete 03:31:12 ec43610c2a17: Pull complete 03:31:12 3a2ae6a8a46f: Pull complete 03:31:12 33b1e0a273af: Pull complete 03:31:13 5d3b04190fa2: Pull complete 03:31:17 2f39f015ded8: Pull complete 03:31:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:31:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:31:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:31:17 prd-ubuntu20.04-docker-8c-8g-7713 does not seem to be running inside a container 03:31:17 $ 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-1231 -v /w/workspace/gexfoundry_device-sdk-go_PR-1231:/w/workspace/gexfoundry_device-sdk-go_PR-1231:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:31:20 $ docker top bdbf3aa8beb0e3dcf109a3dd4dd331b7b4b97302419c1aff3059bcbaec4fa6b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:31:20 ---> job-cost.sh 03:31:20 lf-activate-venv: SKIPPING 03:31:20 INFO: No Stack... 03:31:21 INFO: Retrieving Pricing Info for: v3-standard-8 03:31:21 INFO: Archiving Costs [Pipeline] sh 03:31:22 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives/cost.csv 03:31:22 + cut -d, -f6 [Pipeline] lock 03:31:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] 03:31:22 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] did not exist. Created. 03:31:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:31:22 + echo total: 0.2199999988079071 [Pipeline] stash 03:31:22 Stashed 1 file(s) [Pipeline] } 03:31:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:31:22 $ docker stop --time=1 bdbf3aa8beb0e3dcf109a3dd4dd331b7b4b97302419c1aff3059bcbaec4fa6b8 03:31:23 $ docker rm -f bdbf3aa8beb0e3dcf109a3dd4dd331b7b4b97302419c1aff3059bcbaec4fa6b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:32:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7714 in /w/workspace/gexfoundry_device-sdk-go_PR-1231 [Pipeline] { [Pipeline] ws 03:32:56 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:32:56 The recommended git tool is: git 03:33:02 using credential edgex-jenkins-ssh 03:33:02 Cloning the remote Git repository 03:33:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:33:02 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:33:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:33:02 > git --version # timeout=10 03:33:02 > git --version # 'git version 2.25.1' 03:33:02 using GIT_SSH to set credentials SSH Credentials for GitHub 03:33:02 Verifying host key using known hosts file 03:33:02 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 03:33:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:33:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:33:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:33:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:33:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:33:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:33:05 Verifying host key using known hosts file 03:33:05 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 03:33:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1231/head:refs/remotes/origin/PR-1231 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:33:06 Merging remotes/origin/main commit 71d557e94127766e3dd7859e57e7c834f188cfad into PR head commit a2bfef7a77ff891edaffe0f69894abb3f2a2e13e 03:33:06 Merge succeeded, producing a2bfef7a77ff891edaffe0f69894abb3f2a2e13e 03:33:06 Checking out Revision a2bfef7a77ff891edaffe0f69894abb3f2a2e13e (PR-1231) 03:33:06 > git config core.sparsecheckout # timeout=10 03:33:06 > git checkout -f a2bfef7a77ff891edaffe0f69894abb3f2a2e13e # timeout=10 03:33:06 > git remote # timeout=10 03:33:06 > git config --get remote.origin.url # timeout=10 03:33:06 using GIT_SSH to set credentials SSH Credentials for GitHub 03:33:06 Verifying host key using known hosts file 03:33:06 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 03:33:06 > git merge 71d557e94127766e3dd7859e57e7c834f188cfad # timeout=10 03:33:06 > git rev-parse HEAD^{commit} # timeout=10 03:33:06 > git config core.sparsecheckout # timeout=10 03:33:06 > git checkout -f a2bfef7a77ff891edaffe0f69894abb3f2a2e13e # timeout=10 03:33:09 Commit message: "fix: update example request/response topic scheme" 03:33:09 > git --version # timeout=10 03:33:09 > git --version # 'git version 2.25.1' 03:33:09 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:33:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:33:11 % Total % Received % Xferd Average Speed Time Time Time Current 03:33:11 Dload Upload Total Spent Left Speed 03:33:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 84577 [Pipeline] sh 03:33:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:33:12 + sudo tee /etc/docker/daemon.new 03:33:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:33:12 { 03:33:12 "registry-mirrors": [ 03:33:12 "https://nexus3.edgexfoundry.org:10001" 03:33:12 ], 03:33:12 "bip": "10.250.0.254/24", 03:33:12 "hosts": [ 03:33:12 "tcp://0.0.0.0:5555", 03:33:12 "unix:///var/run/docker.sock" 03:33:12 ], 03:33:12 "mtu": 1458, 03:33:12 "selinux-enabled": true, 03:33:12 "seccomp-profile": "/etc/docker/seccomp.json" 03:33:12 } [Pipeline] sh 03:33:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:33:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:33:31 provisioning config files... 03:33:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9606217795619064081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:31 ---> docker-login.sh 03:33:31 nexus3.edgexfoundry.org:10001 03:33:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:31 Configure a credential helper to remove this warning. See 03:33:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:31 03:33:31 Login Succeeded 03:33:31 nexus3.edgexfoundry.org:10002 03:33:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:32 Configure a credential helper to remove this warning. See 03:33:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:32 03:33:32 Login Succeeded 03:33:32 nexus3.edgexfoundry.org:10003 03:33:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:32 Configure a credential helper to remove this warning. See 03:33:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:32 03:33:32 Login Succeeded 03:33:32 nexus3.edgexfoundry.org:10004 03:33:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:33 Configure a credential helper to remove this warning. See 03:33:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:33 03:33:33 Login Succeeded 03:33:33 docker.io 03:33:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:33 Configure a credential helper to remove this warning. See 03:33:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:33 03:33:33 Login Succeeded 03:33:33 ---> docker-login.sh ends [Pipeline] } 03:33:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:33:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:33:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:33:33 ========================================================= 03:33:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:33:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:34 + 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 . 03:33:35 Sending build context to Docker daemon 5.371MB 03:33:35 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 03:33:35 Step 2/11 : FROM ${BASE} AS builder 03:33:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:33:35 9b18e9b68314: Pulling fs layer 03:33:35 d32db5db7311: Pulling fs layer 03:33:35 d0c4b47475fc: Pulling fs layer 03:33:35 5831b945b038: Pulling fs layer 03:33:35 86bbec2aaacd: Pulling fs layer 03:33:35 e10730c5d714: Pulling fs layer 03:33:35 5dd5c2283517: Pulling fs layer 03:33:35 d5ac0230b979: Pulling fs layer 03:33:35 86bbec2aaacd: Waiting 03:33:35 e10730c5d714: Waiting 03:33:35 5dd5c2283517: Waiting 03:33:35 d5ac0230b979: Waiting 03:33:35 5831b945b038: Waiting 03:33:35 d0c4b47475fc: Verifying Checksum 03:33:35 d0c4b47475fc: Download complete 03:33:35 d32db5db7311: Download complete 03:33:35 86bbec2aaacd: Download complete 03:33:35 e10730c5d714: Download complete 03:33:35 9b18e9b68314: Verifying Checksum 03:33:35 9b18e9b68314: Download complete 03:33:36 9b18e9b68314: Pull complete 03:33:36 d5ac0230b979: Verifying Checksum 03:33:36 d5ac0230b979: Download complete 03:33:36 d32db5db7311: Pull complete 03:33:37 d0c4b47475fc: Pull complete 03:33:37 5dd5c2283517: Verifying Checksum 03:33:37 5dd5c2283517: Download complete 03:33:38 5831b945b038: Verifying Checksum 03:33:38 5831b945b038: Download complete 03:33:50 5831b945b038: Pull complete 03:33:50 86bbec2aaacd: Pull complete 03:33:50 e10730c5d714: Pull complete 03:33:56 5dd5c2283517: Pull complete 03:33:57 d5ac0230b979: Pull complete 03:33:57 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 03:33:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:33:57 ---> 59b3b1a385d4 03:33:57 Step 3/11 : ARG MAKE=make build 03:33:59 ---> Running in 7b4c9dbb5cb3 03:33:59 Removing intermediate container 7b4c9dbb5cb3 03:33:59 ---> 520aafccca6a 03:33:59 Step 4/11 : WORKDIR /device-sdk-go 03:33:59 ---> Running in 3455c26e1d7a 03:34:00 Removing intermediate container 3455c26e1d7a 03:34:00 ---> 73ac0e0ae35a 03:34:00 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:34:00 ---> Running in 3bde949d13ae 03:34:00 Removing intermediate container 3bde949d13ae 03:34:00 ---> 32a10301ca8d 03:34:00 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:34:00 ---> Running in ed916b63d45e 03:34:02 Removing intermediate container ed916b63d45e 03:34:02 ---> 3777b72b2afb 03:34:02 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:34:02 ---> Running in e22aee897cbc 03:34:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:34:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:34:05 OK: 221 MiB in 51 packages 03:34:06 Removing intermediate container e22aee897cbc 03:34:06 ---> 90a0c332f766 03:34:06 Step 8/11 : COPY go.mod vendor* ./ 03:34:06 ---> 9ac3a9f45224 03:34:06 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:34:06 ---> Running in 686f743d9ed9 03:34:53 Removing intermediate container 686f743d9ed9 03:34:53 ---> cce626978540 03:34:53 Step 10/11 : COPY . . 03:34:53 ---> e5e9d3756edd 03:34:53 Step 11/11 : RUN ${MAKE} 03:34:53 ---> Running in 877910b57247 03:34:54 noop 03:34:54 Removing intermediate container 877910b57247 03:34:54 ---> e0c43befb691 03:34:54 Successfully built e0c43befb691 03:34:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:55 + docker inspect -f . ci-base-image-arm64 03:34:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:34:55 prd-ubuntu20.04-docker-arm64-4c-16g-7714 does not seem to be running inside a container 03:34:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:34:56 $ docker top 7b92e19f4fd8ad2480246e5a890fbb4e3ce0195bca1a10dcc80a53158ea7bb35 -eo pid,comm [Pipeline] { [Pipeline] sh 03:34:57 + go version 03:34:57 go version go1.18.7 linux/arm64 [Pipeline] } 03:34:57 $ docker stop --time=1 7b92e19f4fd8ad2480246e5a890fbb4e3ce0195bca1a10dcc80a53158ea7bb35 03:34:59 $ docker rm -f 7b92e19f4fd8ad2480246e5a890fbb4e3ce0195bca1a10dcc80a53158ea7bb35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:00 + docker inspect -f . ci-base-image-arm64 03:35:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:00 prd-ubuntu20.04-docker-arm64-4c-16g-7714 does not seem to be running inside a container 03:35:00 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:35:01 $ docker top e95bd38c65f4102eae61c38031be769e1d45985d644f311b8e12c194dd67e2ed -eo pid,comm [Pipeline] { [Pipeline] sh 03:35:02 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 03:35:02 + make test 03:35:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:35:41 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:37:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:37:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:37:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:37:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 03:37:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:37:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.280s coverage: 27.6% of statements 03:37:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.510s coverage: 78.9% of statements 03:37:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 03:37:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.649s coverage: 60.0% of statements 03:37:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 03:37:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:37:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.961s coverage: 54.4% of statements 03:37:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:37:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 03:37:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:37:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:37:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.785s coverage: 65.1% of statements 03:37:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 03:37:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 03:37:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.902s coverage: 89.2% of statements 03:37:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 03:38:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.249s coverage: 4.7% of statements 03:38:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:38:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:38:01 GO111MODULE=on go vet ./... 03:39:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:39:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:39:53 ./bin/test-attribution-txt.sh 03:39:53 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 03:39:53 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 03:39:53 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 03:39:53 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 03:39:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:39:53 $ docker stop --time=1 e95bd38c65f4102eae61c38031be769e1d45985d644f311b8e12c194dd67e2ed 03:39:54 $ docker rm -f e95bd38c65f4102eae61c38031be769e1d45985d644f311b8e12c194dd67e2ed [Pipeline] // withDockerContainer [Pipeline] sh 03:39:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:39:56 Warning: overwriting stash ‘coverage-report’ 03:39:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:39:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:39:57 + ls -al . 03:39:57 total 272 03:39:57 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 03:35 . 03:39:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:33 .. 03:39:57 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 03:33 .dockerignore 03:39:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 03:33 .git 03:39:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:33 .github 03:39:57 -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 03:33 .gitignore 03:39:57 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 03:33 .golangci.yml 03:39:57 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 12 03:33 CHANGELOG.md 03:39:57 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 03:33 GOVERNANCE.md 03:39:57 -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 03:33 Jenkinsfile 03:39:57 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 03:33 LICENSE 03:39:57 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 12 03:33 Makefile 03:39:57 -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 03:33 OWNERS.md 03:39:57 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 12 03:33 README.md 03:39:57 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 03:29 VERSION 03:39:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:33 bin 03:39:57 -rw-r--r-- 1 jenkins jenkins 101009 Oct 12 03:38 coverage.out 03:39:57 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 03:33 example 03:39:57 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 12 03:33 go.mod 03:39:57 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 12 03:33 go.sum 03:39:57 drwxrwxr-x 14 jenkins jenkins 4096 Oct 12 03:33 internal 03:39:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:33 openapi 03:39:57 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 03:33 pkg 03:39:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:33 snap 03:39:57 -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 03:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:58 + 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=a2bfef7a77ff891edaffe0f69894abb3f2a2e13e --label arch=arm64 --label version=0.0.0 . 03:39:58 Sending build context to Docker daemon 5.473MB 03:39:58 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 03:39:58 Step 2/25 : FROM ${BASE} AS builder 03:39:58 ---> e0c43befb691 03:39:58 Step 3/25 : ARG MAKE=make build 03:39:58 ---> Running in 9b51e4af071a 03:39:59 Removing intermediate container 9b51e4af071a 03:39:59 ---> c9ecb6674e7c 03:39:59 Step 4/25 : WORKDIR /device-sdk-go 03:39:59 ---> Running in 63dce25008e3 03:39:59 Removing intermediate container 63dce25008e3 03:39:59 ---> 1fdef36037fd 03:39:59 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:39:59 ---> Running in 252b95b65ded 03:39:59 Removing intermediate container 252b95b65ded 03:39:59 ---> 1d58832e8f39 03:39:59 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:40:00 ---> Running in c936d4a146d4 03:40:01 Removing intermediate container c936d4a146d4 03:40:01 ---> 1ce2813f27f9 03:40:01 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:40:01 ---> Running in 1b1530491682 03:40:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:40:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:40:04 OK: 221 MiB in 51 packages 03:40:05 Removing intermediate container 1b1530491682 03:40:05 ---> e05d966448ac 03:40:05 Step 8/25 : COPY go.mod vendor* ./ 03:40:06 ---> 96a8fbf6b0d8 03:40:06 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:40:06 ---> Running in bd8e0bb934df 03:40:08 Removing intermediate container bd8e0bb934df 03:40:08 ---> 6315ec171ed9 03:40:08 Step 10/25 : COPY . . 03:40:09 ---> 464b06df2ec8 03:40:09 Step 11/25 : RUN ${MAKE} 03:40:09 ---> Running in 47e112dfc873 03:40:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:42:32 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 03:42:32 Removing intermediate container 47e112dfc873 03:42:32 ---> 9bcf6e1e5e2e 03:42:32 Step 12/25 : FROM alpine:3.16 03:42:32 3.16: Pulling from library/alpine 03:42:32 9b18e9b68314: Already exists 03:42:32 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:42:32 Status: Downloaded newer image for alpine:3.16 03:42:32 ---> a6215f271958 03:42:32 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:42:32 ---> Running in 11eaf7634e46 03:42:32 Removing intermediate container 11eaf7634e46 03:42:32 ---> 7b7c7a024b5e 03:42:32 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:42:32 ---> Running in 3fde3d2fc753 03:42:32 Removing intermediate container 3fde3d2fc753 03:42:32 ---> 0608a96a19b3 03:42:32 Step 15/25 : RUN apk add --update --no-cache zeromq 03:42:32 ---> Running in fb489112b292 03:42:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:42:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:42:32 (1/5) Installing libgcc (11.2.1_git20220219-r2) 03:42:32 (2/5) Installing libsodium (1.0.18-r0) 03:42:32 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 03:42:32 (4/5) Installing libzmq (4.3.4-r0) 03:42:32 (5/5) Installing zeromq (4.3.4-r0) 03:42:32 Executing busybox-1.35.0-r17.trigger 03:42:32 OK: 8 MiB in 19 packages 03:42:33 Removing intermediate container fb489112b292 03:42:33 ---> 75ccb0886a89 03:42:33 Step 16/25 : WORKDIR / 03:42:33 ---> Running in 88910a12e4d2 03:42:33 Removing intermediate container 88910a12e4d2 03:42:33 ---> d39aeebe85c4 03:42:33 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:42:33 ---> 540de2286503 03:42:33 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:42:35 ---> 8a7c5d9b3206 03:42:35 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:42:35 ---> 0dd7bd9ce26f 03:42:35 Step 20/25 : EXPOSE 59999 03:42:35 ---> Running in 8e7f4d841f6e 03:42:36 Removing intermediate container 8e7f4d841f6e 03:42:36 ---> c17953724ae9 03:42:36 Step 21/25 : ENTRYPOINT ["/device-simple"] 03:42:36 ---> Running in 5048f2ad1edc 03:42:36 Removing intermediate container 5048f2ad1edc 03:42:36 ---> 30a06ca43c44 03:42:36 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:42:36 ---> Running in 40a20421e1e0 03:42:36 Removing intermediate container 40a20421e1e0 03:42:36 ---> bfbc19ac1cde 03:42:36 Step 23/25 : LABEL arch=arm64 03:42:36 ---> Running in 17b7705814f0 03:42:37 Removing intermediate container 17b7705814f0 03:42:37 ---> cf88a1ac01ff 03:42:37 Step 24/25 : LABEL git_sha=a2bfef7a77ff891edaffe0f69894abb3f2a2e13e 03:42:37 ---> Running in 263466439a5f 03:42:37 Removing intermediate container 263466439a5f 03:42:37 ---> 9f45865acc24 03:42:37 Step 25/25 : LABEL version=0.0.0 03:42:37 ---> Running in 4e1700c44b72 03:42:37 Removing intermediate container 4e1700c44b72 03:42:37 ---> c14ce10306eb 03:42:37 [Warning] One or more build-args [ARCH] were not consumed 03:42:37 Successfully built c14ce10306eb 03:42:37 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 03:42:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:42:38 03:42:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:42:39 arm64: Pulling from edgex-lftools-log-publisher 03:42:39 8998bd30e6a1: Pulling fs layer 03:42:39 04944245beec: Pulling fs layer 03:42:39 699f458cf7ca: Pulling fs layer 03:42:39 765212b225bb: Pulling fs layer 03:42:39 f23df028b6ca: Pulling fs layer 03:42:39 d65c8cfc05b1: Pulling fs layer 03:42:39 2437ff75d9bd: Pulling fs layer 03:42:39 d65c8cfc05b1: Waiting 03:42:39 2437ff75d9bd: Waiting 03:42:39 f23df028b6ca: Waiting 03:42:39 04944245beec: Verifying Checksum 03:42:39 04944245beec: Download complete 03:42:39 765212b225bb: Verifying Checksum 03:42:39 765212b225bb: Download complete 03:42:39 f23df028b6ca: Verifying Checksum 03:42:39 f23df028b6ca: Download complete 03:42:39 d65c8cfc05b1: Verifying Checksum 03:42:39 d65c8cfc05b1: Download complete 03:42:39 699f458cf7ca: Verifying Checksum 03:42:39 699f458cf7ca: Download complete 03:42:39 8998bd30e6a1: Verifying Checksum 03:42:39 8998bd30e6a1: Download complete 03:42:42 2437ff75d9bd: Verifying Checksum 03:42:42 2437ff75d9bd: Download complete 03:42:43 8998bd30e6a1: Pull complete 03:42:43 04944245beec: Pull complete 03:42:45 699f458cf7ca: Pull complete 03:42:45 765212b225bb: Pull complete 03:42:45 f23df028b6ca: Pull complete 03:42:46 d65c8cfc05b1: Pull complete 03:43:01 2437ff75d9bd: Pull complete 03:43:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:43:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:43:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:01 prd-ubuntu20.04-docker-arm64-4c-16g-7714 does not seem to be running inside a container 03:43:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:43:04 $ docker top dc04c0cfdde71791fc7a6c289d1eeaf62906cc0857027beff0ae39998a0bf1e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:43:04 ---> job-cost.sh 03:43:05 lf-activate-venv: SKIPPING 03:43:05 INFO: No Stack... 03:43:05 INFO: Retrieving Pricing Info for: v3-standard-4 03:43:06 INFO: Archiving Costs [Pipeline] sh 03:43:06 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 03:43:06 + cut -d, -f6 [Pipeline] lock 03:43:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] 03:43:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] did not exist. Created. 03:43:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:43:07 /w/workspace/device-sdk-go/1@tmp/durable-5c60c285/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:43:08 + echo total: 0.10999999940395355 [Pipeline] stash 03:43:08 Warning: overwriting stash ‘stack-cost’ 03:43:08 Stashed 1 file(s) [Pipeline] } 03:43:08 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1231-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:43:08 $ docker stop --time=1 dc04c0cfdde71791fc7a6c289d1eeaf62906cc0857027beff0ae39998a0bf1e5 03:43:10 $ docker rm -f dc04c0cfdde71791fc7a6c289d1eeaf62906cc0857027beff0ae39998a0bf1e5 [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 03:43:11 provisioning config files... 03:43:11 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/config4291629009520866887tmp [Pipeline] { [Pipeline] sh 03:43:11 + set +x 03:43:11 + curl -s https://codecov.io/bash 03:43:11 + bash -s -- 03:43:11 03:43:11 _____ _ 03:43:11 / ____| | | 03:43:11 | | ___ __| | ___ ___ _____ __ 03:43:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:43:11 | |___| (_) | (_| | __/ (_| (_) \ V / 03:43:11 \_____\___/ \__,_|\___|\___\___/ \_/ 03:43:11 Bash-1.0.6 03:43:11 03:43:11 03:43:11 ==> git version 2.25.1 found 03:43:11 ==> 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 03:43:11 Release-Date: 2020-01-08 03:43:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:43:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:43:11 ==> Jenkins CI detected. 03:43:11 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1231 03:43:11 project root: . 03:43:11 --> token set from env 03:43:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:43:11 ==> Running gcov in . (disable via -X gcov) 03:43:11 ==> Python coveragepy not found 03:43:11 ==> Searching for coverage reports in: 03:43:11 + . 03:43:11 -> Found 1 reports 03:43:11 ==> Detecting git/mercurial file structure 03:43:11 ==> Reading reports 03:43:11 + ./coverage.out bytes=101009 03:43:11 ==> Appending adjustments 03:43:11 https://docs.codecov.io/docs/fixing-reports 03:43:11 + Found adjustments 03:43:11 ==> Gzipping contents 03:43:11 16K /tmp/codecov.5K71MS.gz 03:43:11 ==> Uploading reports 03:43:11 url: https://codecov.io 03:43:11 query: branch=PR-1231&commit=a2bfef7a77ff891edaffe0f69894abb3f2a2e13e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1231%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1231&job=&cmd_args= 03:43:11 -> Pinging Codecov 03:43:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1231&commit=a2bfef7a77ff891edaffe0f69894abb3f2a2e13e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1231%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1231&job=&cmd_args= 03:43:12 -> Uploading to 03:43:12 https://storage.googleapis.com/codecov/v4/raw/2022-10-12/7E55EF52A471D76F132DFD9A03CDDE97/a2bfef7a77ff891edaffe0f69894abb3f2a2e13e/249551c6-0a44-45d2-80f2-b99a4cb54f82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T034312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=152854e355efee3ed848ed4ae23a8e681e9225548b742544a94d135162733770 03:43:12 % Total % Received % Xferd Average Speed Time Time Time Current 03:43:12 Dload Upload Total Spent Left Speed 03:43:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14575 0 0 100 14575 0 62553 --:--:-- --:--:-- --:--:-- 62553 03:43:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a2bfef7a77ff891edaffe0f69894abb3f2a2e13e [Pipeline] } 03:43:12 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 03:43:14 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives ] 03:43:14 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives 03:43:14 total 16 03:43:14 drwxr-xr-x 3 root root 4096 Oct 12 03:31 . 03:43:14 drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 03:31 .. 03:43:14 drwxr-xr-x 2 root root 4096 Oct 12 03:31 cost 03:43:14 -rw-r--r-- 1 root root 86 Oct 12 03:31 cost.csv 03:43:14 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives 03:43:14 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives 03:43:14 total 16 03:43:14 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 03:31 . 03:43:14 drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 03:31 .. 03:43:14 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 03:31 cost 03:43:14 -rw-r--r-- 1 jenkins jenkins 86 Oct 12 03:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:43:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:43:15 ---> package-listing.sh 03:43:15 ++ facter osfamily 03:43:15 ++ tr '[:upper:]' '[:lower:]' 03:43:15 + OS_FAMILY=debian 03:43:15 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1231 03:43:15 + START_PACKAGES=/tmp/packages_start.txt 03:43:15 + END_PACKAGES=/tmp/packages_end.txt 03:43:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:43:15 + PACKAGES=/tmp/packages_start.txt 03:43:15 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1231 ']' 03:43:15 + PACKAGES=/tmp/packages_end.txt 03:43:15 + case "${OS_FAMILY}" in 03:43:15 + dpkg -l 03:43:15 + grep '^ii' 03:43:15 + '[' -f /tmp/packages_start.txt ']' 03:43:15 + '[' -f /tmp/packages_end.txt ']' 03:43:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:43:15 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1231 ']' 03:43:15 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives/ 03:43:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1231/archives/ [Pipeline] echo 03:43:15 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-1231/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:43:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:43:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:16 prd-ubuntu20.04-docker-8c-8g-7713 does not seem to be running inside a container 03:43:16 $ 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-1231/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-1231 -v /w/workspace/gexfoundry_device-sdk-go_PR-1231:/w/workspace/gexfoundry_device-sdk-go_PR-1231:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:43:16 $ docker top 4ec2f281b7014b773a8100c75e1d1ab7fef9fd476e31a5fc004e5295467bb33e -eo pid,comm [Pipeline] { [Pipeline] sh 03:43:17 + touch /tmp/pre-build-complete [Pipeline] sh 03:43:17 + mkdir -p /var/log/sysstat [Pipeline] sh 03:43:17 + ls /var/log/sa-host 03:43:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:43:18 provisioning config files... 03:43:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1231@tmp/config582841086566442531tmp [Pipeline] { [Pipeline] echo 03:43:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:43:18 ---> create-netrc.sh [Pipeline] } 03:43:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:43:18 ---> python-tools-install.sh [Pipeline] echo 03:43:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:43:19 ---> sudo-logs.sh 03:43:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:43:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:43:19 ---> job-cost.sh 03:43:19 lf-activate-venv: SKIPPING 03:43:19 DEBUG: total: 0.2199999988079071 03:43:19 INFO: Retrieving Stack Cost... 03:43:20 INFO: Retrieving Pricing Info for: v3-standard-8 03:43:20 INFO: Archiving Costs [Pipeline] echo 03:43:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:43:20 ---> logs-deploy.sh 03:43:20 lf-activate-venv: SKIPPING 03:43:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1231/1 03:43:20 INFO: archiving workspace using pattern(s): 03:43:21 Archives upload complete. 03:43:22 INFO: archiving logs to Nexus