Pull request #1388 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-sdk-go Loading trusted files from base branch levski at a6639bc907c868da99f3246e240586b858116a4d rather than 004d75f85e58af59dc84fb56a49efa5c62926634 Obtained Jenkinsfile from a6639bc907c868da99f3246e240586b858116a4d 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-ssh2972339479858924629.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9638451349016682674.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1388/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1388/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8328989943325142303.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17272228493782459088.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1388/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1388/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13261507755282223491.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.18, 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2287 in /w/workspace/gexfoundry_device-sdk-go_PR-1388 [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-1388 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1388/head:refs/remotes/origin/PR-1388 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 Merging remotes/origin/levski commit a6639bc907c868da99f3246e240586b858116a4d into PR head commit 004d75f85e58af59dc84fb56a49efa5c62926634 Merge succeeded, producing 004d75f85e58af59dc84fb56a49efa5c62926634 Checking out Revision 004d75f85e58af59dc84fb56a49efa5c62926634 (PR-1388) > git config core.sparsecheckout # timeout=10 > git checkout -f 004d75f85e58af59dc84fb56a49efa5c62926634 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a6639bc907c868da99f3246e240586b858116a4d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 004d75f85e58af59dc84fb56a49efa5c62926634 # timeout=10 Commit message: "docs: added a new tag" > git rev-list --no-walk 419ed82a8a47d6ffe3c15fcf955b5f0e6cdb8311 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:22:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:22:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:22:25 ========================================================= 21:22:25 EdgeX Global Pipelines Version Info 21:22:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:22:26 ------------------- 21:22:26 stable info: 21:22:26 ------------------- 21:22:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:22:26 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:22:26 Message: update stable to v1.0.245 21:22:27 ------------------- 21:22:27 experimental info: 21:22:27 ------------------- 21:22:27 Commited By: **** collab-it+edgex@linuxfoundation.org 21:22:27 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 21:22:27 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1388 [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1388 [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1388 [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 004d75f85e58af59dc84fb56a49efa5c62926634 [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 004d75f [Pipeline] echo 21:22:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:22:27 provisioning config files... 21:22:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/config6191567781166460619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:28 ---> docker-login.sh 21:22:28 nexus3.edgexfoundry.org:10001 21:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:28 Configure a credential helper to remove this warning. See 21:22:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:28 21:22:28 Login Succeeded 21:22:28 nexus3.edgexfoundry.org:10002 21:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:28 Configure a credential helper to remove this warning. See 21:22:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:28 21:22:28 Login Succeeded 21:22:28 nexus3.edgexfoundry.org:10003 21:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:28 Configure a credential helper to remove this warning. See 21:22:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:28 21:22:28 Login Succeeded 21:22:28 nexus3.edgexfoundry.org:10004 21:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:28 Configure a credential helper to remove this warning. See 21:22:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:28 21:22:28 Login Succeeded 21:22:28 docker.io 21:22:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:29 Configure a credential helper to remove this warning. See 21:22:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:29 21:22:29 Login Succeeded 21:22:29 ---> docker-login.sh ends [Pipeline] } 21:22:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:22:29 + git rev-list -1 --merges 004d75f85e58af59dc84fb56a49efa5c62926634~1..004d75f85e58af59dc84fb56a49efa5c62926634 [Pipeline] echo 21:22:29 -----------> git rev-list -1 --merges 004d75f85e58af59dc84fb56a49efa5c62926634~1..004d75f85e58af59dc84fb56a49efa5c62926634 004d75f85e58af59dc84fb56a49efa5c62926634 [false] [Pipeline] sh 21:22:29 + git log --format=format:%s -1 004d75f85e58af59dc84fb56a49efa5c62926634 [Pipeline] echo 21:22:29 ========================================================= 21:22:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:22:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:22:30 + git log --format=format:%s -1 004d75f85e58af59dc84fb56a49efa5c62926634 [Pipeline] echo 21:22:30 [semverPrep] GIT_COMMIT: 004d75f85e58af59dc84fb56a49efa5c62926634, Commit Message: docs: added a new tag [Pipeline] echo 21:22:30 [semverPrep] This is not a build commit. [Pipeline] sh 21:22:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:22:30 + grep -v github /etc/ssh/ssh_known_hosts 21:22:30 + [ -e /tmp/ssh_known_hosts ] 21:22:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:22:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:22:30 + sudo tee -a /etc/ssh/ssh_known_hosts 21:22:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:22:30 21:22:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:22:31 0.1.4: Pulling from edgex-devops/py-git-semver 21:22:31 b85a868b505f: Pulling fs layer 21:22:31 e2be974225ed: Pulling fs layer 21:22:31 339a4e72a1f5: Pulling fs layer 21:22:31 988bab9f4d93: Pulling fs layer 21:22:31 1469e6f7b9e6: Pulling fs layer 21:22:31 eaf3925da568: Pulling fs layer 21:22:31 bab4dde63d76: Pulling fs layer 21:22:31 bde34c3a00c8: Pulling fs layer 21:22:31 b352a97aabf1: Pulling fs layer 21:22:31 4872d77fe225: Pulling fs layer 21:22:31 5851b861e8e6: Pulling fs layer 21:22:31 4872d77fe225: Waiting 21:22:31 eaf3925da568: Waiting 21:22:31 5851b861e8e6: Waiting 21:22:31 bab4dde63d76: Waiting 21:22:31 bde34c3a00c8: Waiting 21:22:31 988bab9f4d93: Waiting 21:22:31 1469e6f7b9e6: Waiting 21:22:31 b352a97aabf1: Waiting 21:22:31 e2be974225ed: Verifying Checksum 21:22:31 e2be974225ed: Download complete 21:22:31 988bab9f4d93: Download complete 21:22:31 1469e6f7b9e6: Verifying Checksum 21:22:31 1469e6f7b9e6: Download complete 21:22:31 eaf3925da568: Verifying Checksum 21:22:31 eaf3925da568: Download complete 21:22:31 339a4e72a1f5: Verifying Checksum 21:22:31 339a4e72a1f5: Download complete 21:22:31 bde34c3a00c8: Verifying Checksum 21:22:31 bde34c3a00c8: Download complete 21:22:31 b352a97aabf1: Verifying Checksum 21:22:31 b352a97aabf1: Download complete 21:22:31 4872d77fe225: Verifying Checksum 21:22:31 4872d77fe225: Download complete 21:22:31 5851b861e8e6: Verifying Checksum 21:22:31 5851b861e8e6: Download complete 21:22:31 b85a868b505f: Verifying Checksum 21:22:31 b85a868b505f: Download complete 21:22:31 bab4dde63d76: Verifying Checksum 21:22:31 bab4dde63d76: Download complete 21:22:32 b85a868b505f: Pull complete 21:22:32 e2be974225ed: Pull complete 21:22:33 339a4e72a1f5: Pull complete 21:22:33 988bab9f4d93: Pull complete 21:22:33 1469e6f7b9e6: Pull complete 21:22:33 eaf3925da568: Pull complete 21:22:35 bab4dde63d76: Pull complete 21:22:35 bde34c3a00c8: Pull complete 21:22:35 b352a97aabf1: Pull complete 21:22:35 4872d77fe225: Pull complete 21:22:35 5851b861e8e6: Pull complete 21:22:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:22:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:22:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:35 prd-ubuntu20.04-docker-8c-8g-2287 does not seem to be running inside a container 21:22:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:22:37 $ docker top d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f -eo pid,comm 21:22:37 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). 21:22:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:22:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:22:37 [ssh-agent] Looking for ssh-agent implementation... 21:22:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:22:37 $ docker exec d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f ssh-agent 21:22:37 SSH_AUTH_SOCK=/tmp/ssh-6Wk7zLToTEW3/agent.32 21:22:37 SSH_AGENT_PID=38 21:22:37 Running ssh-add (command line suppressed) 21:22:37 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/private_key_8723992972344732483.key (/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/private_key_8723992972344732483.key) 21:22:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:22:38 + git tag --points-at HEAD [Pipeline] } 21:22:38 $ docker exec --env ******** --env ******** d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f ssh-agent -k 21:22:38 unset SSH_AUTH_SOCK; 21:22:38 unset SSH_AGENT_PID; 21:22:38 echo Agent pid 38 killed; 21:22:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:22:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:22:38 [ssh-agent] Looking for ssh-agent implementation... 21:22:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:22:38 $ docker exec d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f ssh-agent 21:22:38 SSH_AUTH_SOCK=/tmp/ssh-sYKh50kYlWvg/agent.70 21:22:38 SSH_AGENT_PID=76 21:22:38 Running ssh-add (command line suppressed) 21:22:38 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/private_key_3861316639446989360.key (/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/private_key_3861316639446989360.key) 21:22:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:22:38 + git semver init 21:22:39 2023-03-15 21:22:38,933 [run_init] DEBUG init version:0.0.0 force:False 21:22:39 2023-03-15 21:22:38,933 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver 21:22:39 2023-03-15 21:22:38,934 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver 21:22:39 2023-03-15 21:22:38,934 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1388, universal_newlines=False, shell=None, istream=None) 21:22:39 2023-03-15 21:22:39,824 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388/.git/info/exclude 21:22:39 2023-03-15 21:22:39,825 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver/PR-1388 with force:False 21:22:39 2023-03-15 21:22:39,825 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver/PR-1388 21:22:39 2023-03-15 21:22:39,828 [execute] INFO git cat-file --batch-check 21:22:39 2023-03-15 21:22:39,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver, universal_newlines=False, shell=None, istream=) 21:22:39 2023-03-15 21:22:39,833 [execute] INFO git cat-file --batch 21:22:39 2023-03-15 21:22:39,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver, universal_newlines=False, shell=None, istream=) 21:22:39 2023-03-15 21:22:39,838 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1388/.semver/PR-1388 21:22:39 0.0.0 [Pipeline] } 21:22:39 $ docker exec --env ******** --env ******** d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f ssh-agent -k 21:22:40 unset SSH_AUTH_SOCK; 21:22:40 unset SSH_AGENT_PID; 21:22:40 echo Agent pid 76 killed; 21:22:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:22:40 + git semver [Pipeline] } 21:22:40 $ docker stop --time=1 d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f 21:22:41 $ docker rm -f --volumes d6a8da335fbdcc3e56b1da7df178fa7fdb15a7ac9664f10a44db8e610ec7aa3f [Pipeline] // withDockerContainer [Pipeline] sh 21:22:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:22:42 Stashed 1 file(s) [Pipeline] echo 21:22:42 [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 21:22:42 provisioning config files... 21:22:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/config16423777069484333484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:42 ---> docker-login.sh 21:22:42 nexus3.edgexfoundry.org:10001 21:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:42 Configure a credential helper to remove this warning. See 21:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:42 21:22:42 Login Succeeded 21:22:42 nexus3.edgexfoundry.org:10002 21:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:42 Configure a credential helper to remove this warning. See 21:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:42 21:22:42 Login Succeeded 21:22:42 nexus3.edgexfoundry.org:10003 21:22:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:43 Configure a credential helper to remove this warning. See 21:22:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:43 21:22:43 Login Succeeded 21:22:43 nexus3.edgexfoundry.org:10004 21:22:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:43 Configure a credential helper to remove this warning. See 21:22:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:43 21:22:43 Login Succeeded 21:22:43 docker.io 21:22:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:43 Configure a credential helper to remove this warning. See 21:22:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:43 21:22:43 Login Succeeded 21:22:43 ---> docker-login.sh ends [Pipeline] } 21:22:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:22:43 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:22:43 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:22:43 ========================================================= 21:22:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:22:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:43 + 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 . 21:22:43 Sending build context to Docker daemon 10.85MB 21:22:43 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:22:43 Step 2/10 : FROM ${BASE} AS builder 21:22:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:22:43 213ec9aee27d: Pulling fs layer 21:22:43 4583459ba037: Pulling fs layer 21:22:43 93c1e223e6f2: Pulling fs layer 21:22:43 53926ce57604: Pulling fs layer 21:22:43 21b2b0c7a3f4: Pulling fs layer 21:22:43 22ff95d597cd: Pulling fs layer 21:22:43 12d6caf4c0d1: Pulling fs layer 21:22:43 96b7cbca73a9: Pulling fs layer 21:22:43 a7acece74701: Pulling fs layer 21:22:43 21b2b0c7a3f4: Waiting 21:22:43 22ff95d597cd: Waiting 21:22:43 96b7cbca73a9: Waiting 21:22:43 a7acece74701: Waiting 21:22:43 53926ce57604: Waiting 21:22:43 12d6caf4c0d1: Waiting 21:22:43 93c1e223e6f2: Verifying Checksum 21:22:43 93c1e223e6f2: Download complete 21:22:43 4583459ba037: Download complete 21:22:44 21b2b0c7a3f4: Verifying Checksum 21:22:44 21b2b0c7a3f4: Download complete 21:22:44 22ff95d597cd: Download complete 21:22:44 213ec9aee27d: Verifying Checksum 21:22:44 213ec9aee27d: Download complete 21:22:44 12d6caf4c0d1: Verifying Checksum 21:22:44 12d6caf4c0d1: Download complete 21:22:44 213ec9aee27d: Pull complete 21:22:44 4583459ba037: Pull complete 21:22:44 93c1e223e6f2: Pull complete 21:22:44 a7acece74701: Verifying Checksum 21:22:44 53926ce57604: Verifying Checksum 21:22:44 53926ce57604: Download complete 21:22:44 96b7cbca73a9: Verifying Checksum 21:22:44 96b7cbca73a9: Download complete 21:22:49 53926ce57604: Pull complete 21:22:49 21b2b0c7a3f4: Pull complete 21:22:49 22ff95d597cd: Pull complete 21:22:49 12d6caf4c0d1: Pull complete 21:22:50 96b7cbca73a9: Pull complete 21:22:51 a7acece74701: Pull complete 21:22:51 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:22:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:22:51 ---> db6d94c90886 21:22:51 Step 3/10 : ARG MAKE=make build 21:22:53 ---> Running in e1ed557b1a7d 21:22:53 Removing intermediate container e1ed557b1a7d 21:22:53 ---> b35a7141fa01 21:22:53 Step 4/10 : WORKDIR /device-sdk-go 21:22:53 ---> Running in f5cc82fbbd49 21:22:53 Removing intermediate container f5cc82fbbd49 21:22:53 ---> 0af747e42482 21:22:53 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:22:53 ---> Running in 5e6433d060d9 21:22:53 Removing intermediate container 5e6433d060d9 21:22:53 ---> 257f3d024993 21:22:53 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:22:53 ---> Running in 4045b6f9f92c 21:22:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:22:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:22:54 OK: 211 MiB in 51 packages 21:22:54 Removing intermediate container 4045b6f9f92c 21:22:54 ---> 3ff3052a084c 21:22:54 Step 7/10 : COPY go.mod vendor* ./ 21:22:55 ---> e842663190bb 21:22:55 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:55 ---> Running in 06f0e065286a 21:22:57 Still waiting to schedule task 21:22:57 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:23:13 Removing intermediate container 06f0e065286a 21:23:13 ---> 26b801996560 21:23:13 Step 9/10 : COPY . . 21:23:13 ---> 6326bf16faa3 21:23:13 Step 10/10 : RUN ${MAKE} 21:23:13 ---> Running in a97a5f8d6b9e 21:23:13 noop 21:23:13 Removing intermediate container a97a5f8d6b9e 21:23:13 ---> a807ec4b3c75 21:23:13 Successfully built a807ec4b3c75 21:23:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:13 + docker inspect -f . ci-base-image-x86_64 21:23:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:13 prd-ubuntu20.04-docker-8c-8g-2287 does not seem to be running inside a container 21:23:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:23:13 $ docker top e5fbcbff5c68ff3618ce0028f2f243ec1df1844167725972b6872684a713ded7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:14 + go version 21:23:14 go version go1.18.7 linux/amd64 [Pipeline] } 21:23:14 $ docker stop --time=1 e5fbcbff5c68ff3618ce0028f2f243ec1df1844167725972b6872684a713ded7 21:23:15 $ docker rm -f --volumes e5fbcbff5c68ff3618ce0028f2f243ec1df1844167725972b6872684a713ded7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:15 + docker inspect -f . ci-base-image-x86_64 21:23:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:15 prd-ubuntu20.04-docker-8c-8g-2287 does not seem to be running inside a container 21:23:15 $ 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-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:23:16 $ docker top 3e6520450cb904925747bc6f2b62cd11b488574338894f122d2d08c650bb6f17 -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:16 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1388 [Pipeline] fileExists [Pipeline] sh 21:23:16 + make test 21:23:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:23:23 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:23:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 27.6% of statements 21:23:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 21:23:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.095s coverage: 73.1% of statements 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:23:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:23:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.102s coverage: 65.1% of statements 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:23:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.720s coverage: 89.2% of statements 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:23:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.077s coverage: 4.7% of statements 21:23:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:23:53 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." 21:23:53 GO111MODULE=on go vet ./... 21:23:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:23:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:23:55 ./bin/test-attribution-txt.sh 21:23:55 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 21:23:55 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:23:55 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:23:55 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:23:55 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:23:55 $ docker stop --time=1 3e6520450cb904925747bc6f2b62cd11b488574338894f122d2d08c650bb6f17 21:23:58 $ docker rm -f --volumes 3e6520450cb904925747bc6f2b62cd11b488574338894f122d2d08c650bb6f17 [Pipeline] // withDockerContainer [Pipeline] sh 21:23:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:23:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:23:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:23:59 + ls -al . 21:23:59 total 280 21:23:59 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 21:23 . 21:23:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:22 .. 21:23:59 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 21:22 .dockerignore 21:23:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 21:23 .git 21:23:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:22 .github 21:23:59 -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 21:22 .gitignore 21:23:59 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 21:22 .golangci.yml 21:23:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 21:22 .semver 21:23:59 -rw-rw-r-- 1 jenkins jenkins 31944 Mar 15 21:22 CHANGELOG.md 21:23:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 21:22 GOVERNANCE.md 21:23:59 -rw-rw-r-- 1 jenkins jenkins 903 Mar 15 21:22 Jenkinsfile 21:23:59 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 21:22 LICENSE 21:23:59 -rw-rw-r-- 1 jenkins jenkins 2003 Mar 15 21:22 Makefile 21:23:59 -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 21:22 OWNERS.md 21:23:59 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 15 21:22 README.md 21:23:59 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 21:22 VERSION 21:23:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:22 bin 21:23:59 -rw-r--r-- 1 jenkins jenkins 101840 Mar 15 21:23 coverage.out 21:23:59 drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 21:22 example 21:23:59 -rw-rw-r-- 1 jenkins jenkins 3347 Mar 15 21:22 go.mod 21:23:59 -rw-rw-r-- 1 jenkins jenkins 44423 Mar 15 21:22 go.sum 21:23:59 drwxrwxr-x 14 jenkins jenkins 4096 Mar 15 21:22 internal 21:23:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 21:22 openapi 21:23:59 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 21:22 pkg 21:23:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:22 snap 21:23:59 -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 21:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:59 + 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=004d75f85e58af59dc84fb56a49efa5c62926634 --label arch=amd64 --label version=0.0.0 . 21:23:59 Sending build context to Docker daemon 10.95MB 21:23:59 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 21:23:59 Step 2/23 : FROM ${BASE} AS builder 21:23:59 ---> a807ec4b3c75 21:23:59 Step 3/23 : ARG MAKE=make build 21:24:00 ---> Running in e9a8386e69a8 21:24:00 Removing intermediate container e9a8386e69a8 21:24:00 ---> df627c5cf375 21:24:00 Step 4/23 : WORKDIR /device-sdk-go 21:24:00 ---> Running in 4e78caeebb74 21:24:00 Removing intermediate container 4e78caeebb74 21:24:00 ---> b1540b11a37b 21:24:00 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:24:00 ---> Running in 3ff894e3f665 21:24:00 Removing intermediate container 3ff894e3f665 21:24:00 ---> 73e8ddf44581 21:24:00 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:24:00 ---> Running in 49dcc4a4a865 21:24:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:24:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:24:01 OK: 211 MiB in 51 packages 21:24:01 Removing intermediate container 49dcc4a4a865 21:24:01 ---> 609bd2c6569a 21:24:01 Step 7/23 : COPY go.mod vendor* ./ 21:24:01 ---> 0f61ecdd4436 21:24:01 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:24:01 ---> Running in 10ead314d8fd 21:24:01 Removing intermediate container 10ead314d8fd 21:24:01 ---> f35b59529ecf 21:24:01 Step 9/23 : COPY . . 21:24:02 ---> c4bc680143ec 21:24:02 Step 10/23 : RUN ${MAKE} 21:24:02 ---> Running in 1f220e7b0013 21:24:02 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 21:24:20 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:24:23 Removing intermediate container 1f220e7b0013 21:24:23 ---> 1e6ec72c688b 21:24:23 Step 11/23 : FROM alpine:3.16 21:24:23 3.16: Pulling from library/alpine 21:24:24 ef5531b6e74e: Pulling fs layer 21:24:24 ef5531b6e74e: Verifying Checksum 21:24:24 ef5531b6e74e: Download complete 21:24:24 ef5531b6e74e: Pull complete 21:24:24 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 21:24:24 Status: Downloaded newer image for alpine:3.16 21:24:24 ---> dfd21b5a31f5 21:24:24 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:24:24 ---> Running in 9cdabf010f95 21:24:24 Removing intermediate container 9cdabf010f95 21:24:24 ---> 94c0e3f7ef85 21:24:24 Step 13/23 : RUN apk add --update --no-cache zeromq 21:24:24 ---> Running in 964fa63712a6 21:24:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:24:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:24:25 (1/5) Installing libgcc (11.2.1_git20220219-r2) 21:24:25 (2/5) Installing libsodium (1.0.18-r0) 21:24:25 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 21:24:25 (4/5) Installing libzmq (4.3.4-r0) 21:24:25 (5/5) Installing zeromq (4.3.4-r0) 21:24:25 Executing busybox-1.35.0-r17.trigger 21:24:25 OK: 8 MiB in 19 packages 21:24:25 Removing intermediate container 964fa63712a6 21:24:25 ---> 01bc9a2e3846 21:24:25 Step 14/23 : WORKDIR / 21:24:25 ---> Running in 30091f5007e9 21:24:25 Removing intermediate container 30091f5007e9 21:24:25 ---> f3bef7debf45 21:24:25 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:24:25 ---> 1e80196a54c6 21:24:25 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:24:26 ---> 6e7d249c9445 21:24:26 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:24:26 ---> 560d7a5faea1 21:24:26 Step 18/23 : EXPOSE 59999 21:24:26 ---> Running in dd10ad5f788b 21:24:26 Removing intermediate container dd10ad5f788b 21:24:26 ---> dfa8d59ee499 21:24:26 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:24:26 ---> Running in 089fbdb00297 21:24:26 Removing intermediate container 089fbdb00297 21:24:26 ---> 39fc9e3dfab1 21:24:26 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:24:26 ---> Running in 970404b39c96 21:24:26 Removing intermediate container 970404b39c96 21:24:26 ---> f4d4ed7c1ef7 21:24:26 Step 21/23 : LABEL arch=amd64 21:24:27 ---> Running in 0146c542fd7d 21:24:27 Removing intermediate container 0146c542fd7d 21:24:27 ---> 708a98702c63 21:24:27 Step 22/23 : LABEL git_sha=004d75f85e58af59dc84fb56a49efa5c62926634 21:24:27 ---> Running in cfa5cbbaaad5 21:24:27 Removing intermediate container cfa5cbbaaad5 21:24:27 ---> 67c7aabdce5b 21:24:27 Step 23/23 : LABEL version=0.0.0 21:24:27 ---> Running in 1f70eda1ea73 21:24:27 Removing intermediate container 1f70eda1ea73 21:24:27 ---> 872db5553d19 21:24:27 [Warning] One or more build-args [ARCH] were not consumed 21:24:27 Successfully built 872db5553d19 21:24:27 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 21:24:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:27 21:24:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:28 latest: Pulling from edgex-lftools-log-publisher 21:24:28 5eb5b503b376: Pulling fs layer 21:24:28 5c69ac0246d0: Pulling fs layer 21:24:28 ec43610c2a17: Pulling fs layer 21:24:28 3a2ae6a8a46f: Pulling fs layer 21:24:28 33b1e0a273af: Pulling fs layer 21:24:28 5d3b04190fa2: Pulling fs layer 21:24:28 2f39f015ded8: Pulling fs layer 21:24:28 5d3b04190fa2: Waiting 21:24:28 2f39f015ded8: Waiting 21:24:28 3a2ae6a8a46f: Waiting 21:24:28 33b1e0a273af: Waiting 21:24:28 5c69ac0246d0: Verifying Checksum 21:24:28 5c69ac0246d0: Download complete 21:24:28 3a2ae6a8a46f: Verifying Checksum 21:24:28 3a2ae6a8a46f: Download complete 21:24:28 33b1e0a273af: Verifying Checksum 21:24:28 33b1e0a273af: Download complete 21:24:28 ec43610c2a17: Verifying Checksum 21:24:28 ec43610c2a17: Download complete 21:24:28 5d3b04190fa2: Verifying Checksum 21:24:28 5d3b04190fa2: Download complete 21:24:28 5eb5b503b376: Download complete 21:24:29 2f39f015ded8: Download complete 21:24:29 5eb5b503b376: Pull complete 21:24:29 5c69ac0246d0: Pull complete 21:24:30 ec43610c2a17: Pull complete 21:24:30 3a2ae6a8a46f: Pull complete 21:24:30 33b1e0a273af: Pull complete 21:24:30 5d3b04190fa2: Pull complete 21:24:34 2f39f015ded8: Pull complete 21:24:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:24:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:34 prd-ubuntu20.04-docker-8c-8g-2287 does not seem to be running inside a container 21:24:34 $ 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-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:24:37 $ docker top 7c7aac04c710cd5877210a333f2c6a4379ca4fd9785c2c7cb8f6e2b99dc53313 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:24:37 ---> job-cost.sh 21:24:37 lf-activate-venv: SKIPPING 21:24:37 INFO: No Stack... 21:24:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:24:38 INFO: Archiving Costs [Pipeline] sh 21:24:38 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives/cost.csv 21:24:38 + cut -d, -f6 [Pipeline] lock 21:24:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] 21:24:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] did not exist. Created. 21:24:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:24:38 + echo total: 0.2199999988079071 [Pipeline] stash 21:24:38 Stashed 1 file(s) [Pipeline] } 21:24:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:24:38 $ docker stop --time=1 7c7aac04c710cd5877210a333f2c6a4379ca4fd9785c2c7cb8f6e2b99dc53313 21:24:40 $ docker rm -f --volumes 7c7aac04c710cd5877210a333f2c6a4379ca4fd9785c2c7cb8f6e2b99dc53313 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:26:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2288 in /w/workspace/gexfoundry_device-sdk-go_PR-1388 [Pipeline] { [Pipeline] ws 21:26:13 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 21:26:13 The recommended git tool is: git 21:26:19 using credential edgex-jenkins-ssh 21:26:19 Cloning the remote Git repository 21:26:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:26:19 > git init /w/workspace/device-sdk-go/2 # timeout=10 21:26:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:26:19 > git --version # timeout=10 21:26:19 > git --version # 'git version 2.25.1' 21:26:19 using GIT_SSH to set credentials SSH Credentials for GitHub 21:26:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:26:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:26:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:26:22 Merging remotes/origin/levski commit a6639bc907c868da99f3246e240586b858116a4d into PR head commit 004d75f85e58af59dc84fb56a49efa5c62926634 21:26:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:26:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:26:22 using GIT_SSH to set credentials SSH Credentials for GitHub 21:26:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1388/head:refs/remotes/origin/PR-1388 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 21:26:23 Merge succeeded, producing 004d75f85e58af59dc84fb56a49efa5c62926634 21:26:23 Checking out Revision 004d75f85e58af59dc84fb56a49efa5c62926634 (PR-1388) 21:26:22 > git config core.sparsecheckout # timeout=10 21:26:22 > git checkout -f 004d75f85e58af59dc84fb56a49efa5c62926634 # timeout=10 21:26:23 > git remote # timeout=10 21:26:23 > git config --get remote.origin.url # timeout=10 21:26:23 using GIT_SSH to set credentials SSH Credentials for GitHub 21:26:23 > git merge a6639bc907c868da99f3246e240586b858116a4d # timeout=10 21:26:23 > git rev-parse HEAD^{commit} # timeout=10 21:26:23 > git config core.sparsecheckout # timeout=10 21:26:23 > git checkout -f 004d75f85e58af59dc84fb56a49efa5c62926634 # timeout=10 21:26:26 Commit message: "docs: added a new tag" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:26:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:26:27 % Total % Received % Xferd Average Speed Time Time Time Current 21:26:27 Dload Upload Total Spent Left Speed 21:26:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 21:26:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:26:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:26:28 + sudo tee /etc/docker/daemon.new 21:26:28 { 21:26:28 "registry-mirrors": [ 21:26:28 "https://nexus3.edgexfoundry.org:10001" 21:26:28 ], 21:26:28 "bip": "10.250.0.254/24", 21:26:28 "hosts": [ 21:26:28 "tcp://0.0.0.0:5555", 21:26:28 "unix:///var/run/docker.sock" 21:26:28 ], 21:26:28 "mtu": 1458, 21:26:28 "selinux-enabled": true, 21:26:28 "seccomp-profile": "/etc/docker/seccomp.json" 21:26:28 } [Pipeline] sh 21:26:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:26:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:26:47 provisioning config files... 21:26:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3808906829389967270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:47 ---> docker-login.sh 21:26:47 nexus3.edgexfoundry.org:10001 21:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:48 Configure a credential helper to remove this warning. See 21:26:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:48 21:26:48 Login Succeeded 21:26:48 nexus3.edgexfoundry.org:10002 21:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:49 Configure a credential helper to remove this warning. See 21:26:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:49 21:26:49 Login Succeeded 21:26:49 nexus3.edgexfoundry.org:10003 21:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:49 Configure a credential helper to remove this warning. See 21:26:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:49 21:26:49 Login Succeeded 21:26:49 nexus3.edgexfoundry.org:10004 21:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:49 Configure a credential helper to remove this warning. See 21:26:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:49 21:26:49 Login Succeeded 21:26:49 docker.io 21:26:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:50 Configure a credential helper to remove this warning. See 21:26:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:50 21:26:50 Login Succeeded 21:26:50 ---> docker-login.sh ends [Pipeline] } 21:26:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:26:50 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:26:50 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:26:50 ========================================================= 21:26:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:26:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:51 + 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 . 21:26:52 Sending build context to Docker daemon 5.854MB 21:26:52 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:26:52 Step 2/10 : FROM ${BASE} AS builder 21:26:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:26:52 9b18e9b68314: Pulling fs layer 21:26:52 35d82f9e3411: Pulling fs layer 21:26:52 e16973657156: Pulling fs layer 21:26:52 fc693d55d65f: Pulling fs layer 21:26:52 7e9fc2657dce: Pulling fs layer 21:26:52 dda99020689f: Pulling fs layer 21:26:52 db1c61fa0a46: Pulling fs layer 21:26:52 891c053d2c06: Pulling fs layer 21:26:52 fc693d55d65f: Waiting 21:26:52 7e9fc2657dce: Waiting 21:26:52 dda99020689f: Waiting 21:26:52 db1c61fa0a46: Waiting 21:26:52 891c053d2c06: Waiting 21:26:52 e16973657156: Verifying Checksum 21:26:52 e16973657156: Download complete 21:26:52 35d82f9e3411: Verifying Checksum 21:26:52 35d82f9e3411: Download complete 21:26:52 7e9fc2657dce: Verifying Checksum 21:26:52 7e9fc2657dce: Download complete 21:26:52 dda99020689f: Verifying Checksum 21:26:52 dda99020689f: Download complete 21:26:52 9b18e9b68314: Verifying Checksum 21:26:52 9b18e9b68314: Download complete 21:26:53 9b18e9b68314: Pull complete 21:26:53 891c053d2c06: Verifying Checksum 21:26:53 891c053d2c06: Download complete 21:26:53 35d82f9e3411: Pull complete 21:26:54 e16973657156: Pull complete 21:26:54 db1c61fa0a46: Verifying Checksum 21:26:54 db1c61fa0a46: Download complete 21:26:55 fc693d55d65f: Download complete 21:27:07 fc693d55d65f: Pull complete 21:27:07 7e9fc2657dce: Pull complete 21:27:07 dda99020689f: Pull complete 21:27:14 db1c61fa0a46: Pull complete 21:27:15 891c053d2c06: Pull complete 21:27:15 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:27:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:27:15 ---> f96f9c87975a 21:27:15 Step 3/10 : ARG MAKE=make build 21:27:17 ---> Running in 0999abbf311f 21:27:18 Removing intermediate container 0999abbf311f 21:27:18 ---> 2f8fbfe5736d 21:27:18 Step 4/10 : WORKDIR /device-sdk-go 21:27:18 ---> Running in afc9fc18fa11 21:27:18 Removing intermediate container afc9fc18fa11 21:27:18 ---> 71cee0372608 21:27:18 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:27:18 ---> Running in d95225209e19 21:27:18 Removing intermediate container d95225209e19 21:27:18 ---> 071b6faa8560 21:27:18 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:27:18 ---> Running in 71dcff0e4905 21:27:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:27:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:27:21 OK: 221 MiB in 51 packages 21:27:22 Removing intermediate container 71dcff0e4905 21:27:22 ---> 76e40a203832 21:27:22 Step 7/10 : COPY go.mod vendor* ./ 21:27:22 ---> ff2135279083 21:27:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:27:22 ---> Running in 6ca3d77f6384 21:28:18 Removing intermediate container 6ca3d77f6384 21:28:18 ---> f7969fc0cce4 21:28:18 Step 9/10 : COPY . . 21:28:18 ---> 4ba0858341ee 21:28:18 Step 10/10 : RUN ${MAKE} 21:28:18 ---> Running in c3f74ae52dd5 21:28:19 noop 21:28:21 Removing intermediate container c3f74ae52dd5 21:28:21 ---> 88bab12464d9 21:28:21 Successfully built 88bab12464d9 21:28:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:21 + docker inspect -f . ci-base-image-arm64 21:28:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:22 prd-ubuntu20.04-docker-arm64-4c-16g-2288 does not seem to be running inside a container 21:28:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:28:23 $ docker top e0e8feb69aa2aef5cdd9af4da94ceee844815848698b20965de2d8e58c861c08 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:24 + go version 21:28:24 go version go1.18.7 linux/arm64 [Pipeline] } 21:28:24 $ docker stop --time=1 e0e8feb69aa2aef5cdd9af4da94ceee844815848698b20965de2d8e58c861c08 21:28:25 $ docker rm -f --volumes e0e8feb69aa2aef5cdd9af4da94ceee844815848698b20965de2d8e58c861c08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:26 + docker inspect -f . ci-base-image-arm64 21:28:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:26 prd-ubuntu20.04-docker-arm64-4c-16g-2288 does not seem to be running inside a container 21:28:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:28:27 $ docker top 3fb3c2069e522400a13f1f320602b2f18ff01e5967699dfc74c97dc7e9471067 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:28 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 21:28:28 + make test 21:28:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:29:00 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:31:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:31:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:31:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:31:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 21:31:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:31:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.571s coverage: 27.6% of statements 21:31:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.527s coverage: 78.9% of statements 21:31:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 21:31:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.729s coverage: 73.1% of statements 21:31:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:31:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:31:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.595s coverage: 54.4% of statements 21:31:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:31:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 21:31:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:31:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:31:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.494s coverage: 65.1% of statements 21:31:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 21:31:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:31:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.908s coverage: 89.2% of statements 21:31:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:31:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.254s coverage: 4.7% of statements 21:31:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:31:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:31:21 GO111MODULE=on go vet ./... 21:33:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:33:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:33:13 ./bin/test-attribution-txt.sh 21:33:13 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 21:33:13 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:33:13 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:33:13 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:33:13 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:33:13 $ docker stop --time=1 3fb3c2069e522400a13f1f320602b2f18ff01e5967699dfc74c97dc7e9471067 21:33:15 $ docker rm -f --volumes 3fb3c2069e522400a13f1f320602b2f18ff01e5967699dfc74c97dc7e9471067 [Pipeline] // withDockerContainer [Pipeline] sh 21:33:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:33:16 Warning: overwriting stash ‘coverage-report’ 21:33:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:33:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:33:21 + ls -al . 21:33:21 total 276 21:33:21 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 21:28 . 21:33:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:26 .. 21:33:21 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 21:26 .dockerignore 21:33:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 21:26 .git 21:33:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:26 .github 21:33:21 -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 21:26 .gitignore 21:33:21 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 21:26 .golangci.yml 21:33:21 -rw-rw-r-- 1 jenkins jenkins 31944 Mar 15 21:26 CHANGELOG.md 21:33:21 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 21:26 GOVERNANCE.md 21:33:21 -rw-rw-r-- 1 jenkins jenkins 903 Mar 15 21:26 Jenkinsfile 21:33:21 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 21:26 LICENSE 21:33:21 -rw-rw-r-- 1 jenkins jenkins 2003 Mar 15 21:26 Makefile 21:33:21 -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 21:26 OWNERS.md 21:33:21 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 15 21:26 README.md 21:33:21 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 21:22 VERSION 21:33:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:26 bin 21:33:21 -rw-r--r-- 1 jenkins jenkins 101840 Mar 15 21:31 coverage.out 21:33:21 drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 21:26 example 21:33:21 -rw-rw-r-- 1 jenkins jenkins 3347 Mar 15 21:26 go.mod 21:33:21 -rw-rw-r-- 1 jenkins jenkins 44423 Mar 15 21:26 go.sum 21:33:21 drwxrwxr-x 14 jenkins jenkins 4096 Mar 15 21:26 internal 21:33:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 21:26 openapi 21:33:21 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 21:26 pkg 21:33:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:26 snap 21:33:21 -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 21:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:21 + 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=004d75f85e58af59dc84fb56a49efa5c62926634 --label arch=arm64 --label version=0.0.0 . 21:33:21 Sending build context to Docker daemon 5.956MB 21:33:22 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 21:33:22 Step 2/23 : FROM ${BASE} AS builder 21:33:22 ---> 88bab12464d9 21:33:22 Step 3/23 : ARG MAKE=make build 21:33:22 ---> Running in 5bc7f64e7fed 21:33:22 Removing intermediate container 5bc7f64e7fed 21:33:22 ---> 8971621068c8 21:33:22 Step 4/23 : WORKDIR /device-sdk-go 21:33:22 ---> Running in 72a9af147080 21:33:22 Removing intermediate container 72a9af147080 21:33:22 ---> 513d2db92b4d 21:33:22 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:33:22 ---> Running in b697d186c8ba 21:33:23 Removing intermediate container b697d186c8ba 21:33:23 ---> 801c8e183732 21:33:23 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:33:23 ---> Running in 0fb76a30d8ef 21:33:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:33:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:33:26 OK: 221 MiB in 51 packages 21:33:26 Removing intermediate container 0fb76a30d8ef 21:33:26 ---> 2fda1de476e8 21:33:26 Step 7/23 : COPY go.mod vendor* ./ 21:33:27 ---> 8c38c5540479 21:33:27 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:33:27 ---> Running in 6b997e241783 21:33:29 Removing intermediate container 6b997e241783 21:33:29 ---> b328efb7a235 21:33:29 Step 9/23 : COPY . . 21:33:30 ---> 067d20c1cf51 21:33:30 Step 10/23 : RUN ${MAKE} 21:33:30 ---> Running in 7055852aefe0 21:33:31 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 21:35:53 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:35:53 Removing intermediate container 7055852aefe0 21:35:53 ---> c95b4eafeda4 21:35:53 Step 11/23 : FROM alpine:3.16 21:35:53 3.16: Pulling from library/alpine 21:35:53 3760b48202b3: Pulling fs layer 21:35:53 3760b48202b3: Verifying Checksum 21:35:53 3760b48202b3: Download complete 21:35:53 3760b48202b3: Pull complete 21:35:53 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 21:35:53 Status: Downloaded newer image for alpine:3.16 21:35:53 ---> 4c81e5bf8899 21:35:53 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:35:53 ---> Running in 8a6aeebdf28c 21:35:54 Removing intermediate container 8a6aeebdf28c 21:35:54 ---> 1fa50154d99b 21:35:54 Step 13/23 : RUN apk add --update --no-cache zeromq 21:35:54 ---> Running in 8df044e263fa 21:35:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:35:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:35:56 (1/5) Installing libgcc (11.2.1_git20220219-r2) 21:35:56 (2/5) Installing libsodium (1.0.18-r0) 21:35:56 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 21:35:56 (4/5) Installing libzmq (4.3.4-r0) 21:35:56 (5/5) Installing zeromq (4.3.4-r0) 21:35:56 Executing busybox-1.35.0-r17.trigger 21:35:56 OK: 8 MiB in 19 packages 21:35:57 Removing intermediate container 8df044e263fa 21:35:57 ---> af1a6c076556 21:35:57 Step 14/23 : WORKDIR / 21:35:57 ---> Running in 5e6014bb8f21 21:35:58 Removing intermediate container 5e6014bb8f21 21:35:58 ---> 2d016a00e1a6 21:35:58 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:35:58 ---> f434559f47c8 21:35:58 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:36:00 ---> 69ef5fd1e60c 21:36:00 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:36:00 ---> c1d58bfff636 21:36:00 Step 18/23 : EXPOSE 59999 21:36:00 ---> Running in db19ead3021a 21:36:00 Removing intermediate container db19ead3021a 21:36:00 ---> 84054a38c34c 21:36:00 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:36:00 ---> Running in e7d6da7e5bba 21:36:01 Removing intermediate container e7d6da7e5bba 21:36:01 ---> 8a968d7da866 21:36:01 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:36:01 ---> Running in 3f0089da6120 21:36:01 Removing intermediate container 3f0089da6120 21:36:01 ---> c1f10702736a 21:36:01 Step 21/23 : LABEL arch=arm64 21:36:01 ---> Running in ddd93800857f 21:36:01 Removing intermediate container ddd93800857f 21:36:01 ---> adb1adf71b4a 21:36:01 Step 22/23 : LABEL git_sha=004d75f85e58af59dc84fb56a49efa5c62926634 21:36:02 ---> Running in b4954103a150 21:36:02 Removing intermediate container b4954103a150 21:36:02 ---> 8870b5328fdd 21:36:02 Step 23/23 : LABEL version=0.0.0 21:36:02 ---> Running in 270b52f8b15e 21:36:02 Removing intermediate container 270b52f8b15e 21:36:02 ---> f17c7c37bbc4 21:36:02 [Warning] One or more build-args [ARCH] were not consumed 21:36:02 Successfully built f17c7c37bbc4 21:36:02 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 21:36:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:36:03 21:36:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:36:03 arm64: Pulling from edgex-lftools-log-publisher 21:36:03 8998bd30e6a1: Pulling fs layer 21:36:03 04944245beec: Pulling fs layer 21:36:03 699f458cf7ca: Pulling fs layer 21:36:03 765212b225bb: Pulling fs layer 21:36:03 f23df028b6ca: Pulling fs layer 21:36:03 d65c8cfc05b1: Pulling fs layer 21:36:03 2437ff75d9bd: Pulling fs layer 21:36:03 765212b225bb: Waiting 21:36:03 d65c8cfc05b1: Waiting 21:36:03 2437ff75d9bd: Waiting 21:36:03 f23df028b6ca: Waiting 21:36:03 04944245beec: Verifying Checksum 21:36:03 04944245beec: Download complete 21:36:03 765212b225bb: Verifying Checksum 21:36:03 765212b225bb: Download complete 21:36:03 f23df028b6ca: Verifying Checksum 21:36:03 f23df028b6ca: Download complete 21:36:03 d65c8cfc05b1: Verifying Checksum 21:36:03 d65c8cfc05b1: Download complete 21:36:04 699f458cf7ca: Verifying Checksum 21:36:04 699f458cf7ca: Download complete 21:36:04 8998bd30e6a1: Verifying Checksum 21:36:04 8998bd30e6a1: Download complete 21:36:06 2437ff75d9bd: Verifying Checksum 21:36:06 2437ff75d9bd: Download complete 21:36:08 8998bd30e6a1: Pull complete 21:36:08 04944245beec: Pull complete 21:36:10 699f458cf7ca: Pull complete 21:36:10 765212b225bb: Pull complete 21:36:11 f23df028b6ca: Pull complete 21:36:11 d65c8cfc05b1: Pull complete 21:36:26 2437ff75d9bd: Pull complete 21:36:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:36:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:36:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:26 prd-ubuntu20.04-docker-arm64-4c-16g-2288 does not seem to be running inside a container 21:36:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:36:29 $ docker top 635917372c310ead1c6e26689eb734205aeb45cc5f1b46cfe79cd722ca2c3391 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:30 ---> job-cost.sh 21:36:30 lf-activate-venv: SKIPPING 21:36:30 INFO: No Stack... 21:36:31 INFO: Retrieving Pricing Info for: v3-standard-4 21:36:31 INFO: Archiving Costs [Pipeline] sh 21:36:32 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 21:36:32 + cut -d, -f6 [Pipeline] lock 21:36:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] 21:36:32 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] did not exist. Created. 21:36:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:36:32 /w/workspace/device-sdk-go/2@tmp/durable-a6b30fd1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:36:33 + echo total: 0.10999999940395355 [Pipeline] stash 21:36:33 Warning: overwriting stash ‘stack-cost’ 21:36:33 Stashed 1 file(s) [Pipeline] } 21:36:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1388-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:36:33 $ docker stop --time=1 635917372c310ead1c6e26689eb734205aeb45cc5f1b46cfe79cd722ca2c3391 21:36:35 $ docker rm -f --volumes 635917372c310ead1c6e26689eb734205aeb45cc5f1b46cfe79cd722ca2c3391 [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 21:36:35 provisioning config files... 21:36:35 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/config11647537195472181462tmp [Pipeline] { [Pipeline] sh 21:36:35 + set +x 21:36:35 + curl -s+ https://codecov.io/bash 21:36:35 bash -s -- 21:36:35 21:36:35 _____ _ 21:36:35 / ____| | | 21:36:35 | | ___ __| | ___ ___ _____ __ 21:36:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:36:35 | |___| (_) | (_| | __/ (_| (_) \ V / 21:36:35 \_____\___/ \__,_|\___|\___\___/ \_/ 21:36:35 Bash-1.0.6 21:36:35 21:36:35 21:36:35 ==> git version 2.25.1 found 21:36:35 ==> 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 21:36:35 Release-Date: 2020-01-08 21:36:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:36:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:36:35 ==> Jenkins CI detected. 21:36:35 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1388 21:36:35 project root: . 21:36:35 --> token set from env 21:36:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:36:35 ==> Running gcov in . (disable via -X gcov) 21:36:35 ==> Python coveragepy not found 21:36:35 ==> Searching for coverage reports in: 21:36:35 + . 21:36:35 -> Found 1 reports 21:36:35 ==> Detecting git/mercurial file structure 21:36:35 ==> Reading reports 21:36:35 + ./coverage.out bytes=101840 21:36:35 ==> Appending adjustments 21:36:35 https://docs.codecov.io/docs/fixing-reports 21:36:36 + Found adjustments 21:36:36 ==> Gzipping contents 21:36:36 16K /tmp/codecov.uNFBqN.gz 21:36:36 ==> Uploading reports 21:36:36 url: https://codecov.io 21:36:36 query: branch=PR-1388&commit=004d75f85e58af59dc84fb56a49efa5c62926634&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1388%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1388&job=&cmd_args= 21:36:36 -> Pinging Codecov 21:36:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1388&commit=004d75f85e58af59dc84fb56a49efa5c62926634&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1388%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1388&job=&cmd_args= 21:36:36 -> Uploading to 21:36:36 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7E55EF52A471D76F132DFD9A03CDDE97/004d75f85e58af59dc84fb56a49efa5c62926634/b25e6fe6-ec1b-4e6a-8a6c-4b83f8139d42.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T213636Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e160d2eb990a9847802aeb1f6263a68738a17ba29ea6f7a9ebaf75a3e9228c72 21:36:36 % Total % Received % Xferd Average Speed Time Time Time Current 21:36:36 Dload Upload Total Spent Left Speed 21:36:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14695 0 0 100 14695 0 63891 --:--:-- --:--:-- --:--:-- 64170 21:36:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/004d75f85e58af59dc84fb56a49efa5c62926634 [Pipeline] } 21:36:36 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 21:36:37 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives ] 21:36:37 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives 21:36:37 total 16 21:36:37 drwxr-xr-x 3 root root 4096 Mar 15 21:24 . 21:36:37 drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 21:24 .. 21:36:37 drwxr-xr-x 2 root root 4096 Mar 15 21:24 cost 21:36:37 -rw-r--r-- 1 root root 86 Mar 15 21:24 cost.csv 21:36:37 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives 21:36:37 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives 21:36:37 total 16 21:36:37 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 21:24 . 21:36:37 drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 21:24 .. 21:36:37 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 21:24 cost 21:36:37 -rw-r--r-- 1 jenkins jenkins 86 Mar 15 21:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:36:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:36:38 ---> package-listing.sh 21:36:38 ++ facter osfamily 21:36:38 ++ tr '[:upper:]' '[:lower:]' 21:36:38 + OS_FAMILY=debian 21:36:38 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1388 21:36:38 + START_PACKAGES=/tmp/packages_start.txt 21:36:38 + END_PACKAGES=/tmp/packages_end.txt 21:36:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:36:38 + PACKAGES=/tmp/packages_start.txt 21:36:38 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1388 ']' 21:36:38 + PACKAGES=/tmp/packages_end.txt 21:36:38 + case "${OS_FAMILY}" in 21:36:38 + dpkg -l 21:36:38 + grep '^ii' 21:36:38 + '[' -f /tmp/packages_start.txt ']' 21:36:38 + '[' -f /tmp/packages_end.txt ']' 21:36:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:36:38 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1388 ']' 21:36:38 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives/ 21:36:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1388/archives/ [Pipeline] echo 21:36:38 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-1388/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:36:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:36:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:39 prd-ubuntu20.04-docker-8c-8g-2287 does not seem to be running inside a container 21:36:39 $ 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-1388/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-1388 -v /w/workspace/gexfoundry_device-sdk-go_PR-1388:/w/workspace/gexfoundry_device-sdk-go_PR-1388:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:36:39 $ docker top b9b38103e89487e8dbd8523e78d55fe3e5d438103538c1b49e63fc4b97318ea7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:36:40 + touch /tmp/pre-build-complete [Pipeline] sh 21:36:40 + mkdir -p /var/log/sysstat [Pipeline] sh 21:36:40 + ls /var/log/sa-host 21:36:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:40 provisioning config files... 21:36:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1388@tmp/config17633372718389514840tmp [Pipeline] { [Pipeline] echo 21:36:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:36:41 ---> create-netrc.sh [Pipeline] } 21:36:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:36:41 ---> python-tools-install.sh [Pipeline] echo 21:36:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:36:41 ---> sudo-logs.sh 21:36:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:36:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:36:42 ---> job-cost.sh 21:36:42 lf-activate-venv: SKIPPING 21:36:42 DEBUG: total: 0.2199999988079071 21:36:42 INFO: Retrieving Stack Cost... 21:36:42 INFO: Retrieving Pricing Info for: v3-standard-8 21:36:43 INFO: Archiving Costs [Pipeline] echo 21:36:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:36:43 ---> logs-deploy.sh 21:36:43 lf-activate-venv: SKIPPING 21:36:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1388/2 21:36:43 INFO: archiving workspace using pattern(s): 21:36:44 Archives upload complete. 21:36:44 INFO: archiving logs to Nexus