Pull request #1186 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cb407924c40b87a7cde79c7c59fdf367fb080f65+387354420b6c024391aeac33674ce5c69e12b92e (72a6d66385145b35db0e279006fde05a59df4ef0) 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-ssh7429116501676913217.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh5069910523835413044.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1186/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1186/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15275818658831933110.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1186/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3377923555787132101.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14558116596102854944.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1186/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1186/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8321936009625930431.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16465 in /w/workspace/gexfoundry_device-sdk-go_PR-1186 [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-1186 # 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 Merging remotes/origin/main commit 387354420b6c024391aeac33674ce5c69e12b92e into PR head commit cb407924c40b87a7cde79c7c59fdf367fb080f65 Merge succeeded, producing cb407924c40b87a7cde79c7c59fdf367fb080f65 Checking out Revision cb407924c40b87a7cde79c7c59fdf367fb080f65 (PR-1186) > 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/1186/head:refs/remotes/origin/PR-1186 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb407924c40b87a7cde79c7c59fdf367fb080f65 # 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 387354420b6c024391aeac33674ce5c69e12b92e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb407924c40b87a7cde79c7c59fdf367fb080f65 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:06:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:06:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:06:50 ========================================================= 04:06:50 EdgeX Global Pipelines Version Info 04:06:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:06:51 ------------------- 04:06:51 stable info: 04:06:51 ------------------- 04:06:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:06:51 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:06:51 Message: update stable to v1.0.234 04:06:51 ------------------- 04:06:51 experimental info: 04:06:51 ------------------- 04:06:51 Commited By: **** collab-it+edgex@linuxfoundation.org 04:06:51 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 04:06:51 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:06:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1186 [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1186 [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1186 [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb407924c40b87a7cde79c7c59fdf367fb080f65 [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb40792 [Pipeline] echo 04:06:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:53 provisioning config files... 04:06:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/config2257933750828175579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:54 ---> docker-login.sh 04:06:54 nexus3.edgexfoundry.org:10001 04:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:54 Configure a credential helper to remove this warning. See 04:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:54 04:06:54 Login Succeeded 04:06:54 nexus3.edgexfoundry.org:10002 04:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:54 Configure a credential helper to remove this warning. See 04:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:54 04:06:54 Login Succeeded 04:06:54 nexus3.edgexfoundry.org:10003 04:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:54 Configure a credential helper to remove this warning. See 04:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:54 04:06:54 Login Succeeded 04:06:54 nexus3.edgexfoundry.org:10004 04:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:54 Configure a credential helper to remove this warning. See 04:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:54 04:06:54 Login Succeeded 04:06:54 docker.io 04:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:55 Configure a credential helper to remove this warning. See 04:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:55 04:06:55 Login Succeeded 04:06:55 ---> docker-login.sh ends [Pipeline] } 04:06:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:06:56 + git rev-list -1 --merges cb407924c40b87a7cde79c7c59fdf367fb080f65~1..cb407924c40b87a7cde79c7c59fdf367fb080f65 [Pipeline] echo 04:06:56 -----------> git rev-list -1 --merges cb407924c40b87a7cde79c7c59fdf367fb080f65~1..cb407924c40b87a7cde79c7c59fdf367fb080f65 cb407924c40b87a7cde79c7c59fdf367fb080f65 [false] [Pipeline] sh 04:06:56 + git log --format=format:%s -1 cb407924c40b87a7cde79c7c59fdf367fb080f65 [Pipeline] echo 04:06:56 ========================================================= 04:06:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:06:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:56 + git log --format=format:%s -1 cb407924c40b87a7cde79c7c59fdf367fb080f65 [Pipeline] echo 04:06:56 [semverPrep] GIT_COMMIT: cb407924c40b87a7cde79c7c59fdf367fb080f65, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 [Pipeline] echo 04:06:56 [semverPrep] This is not a build commit. [Pipeline] sh 04:06:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:06:57 + grep -v github /etc/ssh/ssh_known_hosts 04:06:57 + [ -e /tmp/ssh_known_hosts ] 04:06:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:06:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:06:57 + sudo tee -a /etc/ssh/ssh_known_hosts 04:06:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:57 04:06:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:58 0.1.4: Pulling from edgex-devops/py-git-semver 04:06:58 42c077c10790: Pulling fs layer 04:06:58 f63e77b7563a: Pulling fs layer 04:06:58 bd5fdadae976: Pulling fs layer 04:06:58 205491f53016: Pulling fs layer 04:06:58 df18705c85c3: Pulling fs layer 04:06:58 bdb3f477010e: Pulling fs layer 04:06:58 c8a8fc8e1c8f: Pulling fs layer 04:06:58 2c6e9b1d212d: Pulling fs layer 04:06:58 bdb8f0575790: Pulling fs layer 04:06:58 205491f53016: Waiting 04:06:58 df18705c85c3: Waiting 04:06:58 bdb3f477010e: Waiting 04:06:58 2c6e9b1d212d: Waiting 04:06:58 c8a8fc8e1c8f: Waiting 04:06:58 386e3cb2ff24: Pulling fs layer 04:06:58 2343380bae48: Pulling fs layer 04:06:58 bdb8f0575790: Waiting 04:06:58 386e3cb2ff24: Waiting 04:06:58 2343380bae48: Waiting 04:06:58 f63e77b7563a: Verifying Checksum 04:06:58 f63e77b7563a: Download complete 04:06:58 205491f53016: Verifying Checksum 04:06:58 205491f53016: Download complete 04:06:58 bd5fdadae976: Verifying Checksum 04:06:58 bd5fdadae976: Download complete 04:06:58 df18705c85c3: Verifying Checksum 04:06:58 df18705c85c3: Download complete 04:06:58 bdb3f477010e: Verifying Checksum 04:06:58 bdb3f477010e: Download complete 04:06:58 2c6e9b1d212d: Download complete 04:06:58 bdb8f0575790: Verifying Checksum 04:06:58 bdb8f0575790: Download complete 04:06:58 386e3cb2ff24: Verifying Checksum 04:06:58 2343380bae48: Verifying Checksum 04:06:58 2343380bae48: Download complete 04:06:58 42c077c10790: Download complete 04:06:58 c8a8fc8e1c8f: Download complete 04:07:00 42c077c10790: Pull complete 04:07:00 f63e77b7563a: Pull complete 04:07:00 bd5fdadae976: Pull complete 04:07:00 205491f53016: Pull complete 04:07:01 df18705c85c3: Pull complete 04:07:01 bdb3f477010e: Pull complete 04:07:02 c8a8fc8e1c8f: Pull complete 04:07:02 2c6e9b1d212d: Pull complete 04:07:03 bdb8f0575790: Pull complete 04:07:03 386e3cb2ff24: Pull complete 04:07:03 2343380bae48: Pull complete 04:07:03 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 04:07:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:03 prd-ubuntu20.04-docker-8c-8g-16465 does not seem to be running inside a container 04:07:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1186 -v /w/workspace/gexfoundry_device-sdk-go_PR-1186:/w/workspace/gexfoundry_device-sdk-go_PR-1186:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1186@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:07:04 $ docker top d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a -eo pid,comm 04:07:04 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). 04:07:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:07:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:05 [ssh-agent] Looking for ssh-agent implementation... 04:07:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:05 $ docker exec d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a ssh-agent 04:07:05 SSH_AUTH_SOCK=/tmp/ssh-eo12VYKmalMz/agent.32 04:07:05 SSH_AGENT_PID=39 04:07:05 Running ssh-add (command line suppressed) 04:07:05 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/private_key_2302366439469768989.key (/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/private_key_2302366439469768989.key) 04:07:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:05 + git tag --points-at HEAD [Pipeline] } 04:07:05 $ docker exec --env ******** --env ******** d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a ssh-agent -k 04:07:05 unset SSH_AUTH_SOCK; 04:07:05 unset SSH_AGENT_PID; 04:07:05 echo Agent pid 39 killed; 04:07:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:07:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:06 [ssh-agent] Looking for ssh-agent implementation... 04:07:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:06 $ docker exec d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a ssh-agent 04:07:06 SSH_AUTH_SOCK=/tmp/ssh-iO42SN2jyqvp/agent.71 04:07:06 SSH_AGENT_PID=78 04:07:06 Running ssh-add (command line suppressed) 04:07:06 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/private_key_7411844078130797451.key (/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/private_key_7411844078130797451.key) 04:07:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:06 + git semver init 04:07:07 2022-06-30 04:07:07,096 [run_init] DEBUG init version:0.0.0 force:False 04:07:07 2022-06-30 04:07:07,097 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver 04:07:07 2022-06-30 04:07:07,097 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver 04:07:07 2022-06-30 04:07:07,098 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1186, universal_newlines=False, shell=None, istream=None) 04:07:08 2022-06-30 04:07:07,883 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1186/.git/info/exclude 04:07:08 2022-06-30 04:07:07,884 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver/PR-1186 with force:False 04:07:08 2022-06-30 04:07:07,884 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver/PR-1186 04:07:08 2022-06-30 04:07:07,888 [execute] INFO git cat-file --batch-check 04:07:08 2022-06-30 04:07:07,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver, universal_newlines=False, shell=None, istream=) 04:07:08 2022-06-30 04:07:07,894 [execute] INFO git cat-file --batch 04:07:08 2022-06-30 04:07:07,895 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver, universal_newlines=False, shell=None, istream=) 04:07:08 2022-06-30 04:07:07,899 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1186/.semver/PR-1186 04:07:08 0.0.0 [Pipeline] } 04:07:08 $ docker exec --env ******** --env ******** d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a ssh-agent -k 04:07:08 unset SSH_AUTH_SOCK; 04:07:08 unset SSH_AGENT_PID; 04:07:08 echo Agent pid 78 killed; 04:07:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:07:08 + git semver [Pipeline] } 04:07:08 $ docker stop --time=1 d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a 04:07:10 $ docker rm -f d12161b435ceb3c2f4be380ae20af06edba2584dbd4189e25532f57e0b168b5a [Pipeline] // withDockerContainer [Pipeline] sh 04:07:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:07:10 Stashed 1 file(s) [Pipeline] echo 04:07:11 [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 04:07:11 provisioning config files... 04:07:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/config2762179119094478628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:11 ---> docker-login.sh 04:07:11 nexus3.edgexfoundry.org:10001 04:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:11 Configure a credential helper to remove this warning. See 04:07:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:11 04:07:11 Login Succeeded 04:07:11 nexus3.edgexfoundry.org:10002 04:07:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:12 Configure a credential helper to remove this warning. See 04:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:12 04:07:12 Login Succeeded 04:07:12 nexus3.edgexfoundry.org:10003 04:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:12 Configure a credential helper to remove this warning. See 04:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:12 04:07:12 Login Succeeded 04:07:12 nexus3.edgexfoundry.org:10004 04:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:12 Configure a credential helper to remove this warning. See 04:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:12 04:07:12 Login Succeeded 04:07:12 docker.io 04:07:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:12 Configure a credential helper to remove this warning. See 04:07:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:12 04:07:12 Login Succeeded 04:07:12 ---> docker-login.sh ends [Pipeline] } 04:07:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:13 ========================================================= 04:07:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:07:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:13 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:07:13 Sending build context to Docker daemon 9.687MB 04:07:13 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:07:13 Step 2/11 : FROM ${BASE} AS builder 04:07:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:07:13 59bf1c3509f3: Pulling fs layer 04:07:13 666ba61612fd: Pulling fs layer 04:07:13 8ed8ca486205: Pulling fs layer 04:07:13 cc1cd167ecdc: Pulling fs layer 04:07:13 c516ae0d96e1: Pulling fs layer 04:07:13 cc1cd167ecdc: Waiting 04:07:13 684cea983483: Pulling fs layer 04:07:13 dd3240ac7de5: Pulling fs layer 04:07:13 b1e948a4e11c: Pulling fs layer 04:07:13 a8fd76ee1af6: Pulling fs layer 04:07:13 646ad004c059: Pulling fs layer 04:07:13 b1e948a4e11c: Waiting 04:07:13 a8fd76ee1af6: Waiting 04:07:13 646ad004c059: Waiting 04:07:13 684cea983483: Waiting 04:07:13 dd3240ac7de5: Waiting 04:07:13 8ed8ca486205: Download complete 04:07:13 666ba61612fd: Download complete 04:07:13 c516ae0d96e1: Verifying Checksum 04:07:13 c516ae0d96e1: Download complete 04:07:13 684cea983483: Verifying Checksum 04:07:13 684cea983483: Download complete 04:07:13 dd3240ac7de5: Download complete 04:07:13 59bf1c3509f3: Verifying Checksum 04:07:13 59bf1c3509f3: Download complete 04:07:13 b1e948a4e11c: Verifying Checksum 04:07:13 b1e948a4e11c: Download complete 04:07:13 59bf1c3509f3: Pull complete 04:07:14 666ba61612fd: Pull complete 04:07:14 8ed8ca486205: Pull complete 04:07:14 646ad004c059: Verifying Checksum 04:07:14 646ad004c059: Download complete 04:07:14 cc1cd167ecdc: Verifying Checksum 04:07:14 cc1cd167ecdc: Download complete 04:07:14 a8fd76ee1af6: Verifying Checksum 04:07:14 a8fd76ee1af6: Download complete 04:07:18 cc1cd167ecdc: Pull complete 04:07:18 c516ae0d96e1: Pull complete 04:07:18 684cea983483: Pull complete 04:07:18 dd3240ac7de5: Pull complete 04:07:18 b1e948a4e11c: Pull complete 04:07:20 a8fd76ee1af6: Pull complete 04:07:21 646ad004c059: Pull complete 04:07:21 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 04:07:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:07:21 ---> 8f69c11f6b0c 04:07:21 Step 3/11 : ARG MAKE=make build 04:07:23 ---> Running in d2433c80cc35 04:07:23 Removing intermediate container d2433c80cc35 04:07:23 ---> 407a4d17e832 04:07:23 Step 4/11 : WORKDIR /device-sdk-go 04:07:23 ---> Running in 5267a60f28b3 04:07:23 Removing intermediate container 5267a60f28b3 04:07:23 ---> 226fd2a03ceb 04:07:23 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:07:23 ---> Running in 395c56f35e43 04:07:23 Removing intermediate container 395c56f35e43 04:07:23 ---> 413ec791531a 04:07:23 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:23 ---> Running in 3b49bd734ec4 04:07:24 Removing intermediate container 3b49bd734ec4 04:07:24 ---> 75475de3b5e5 04:07:24 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:07:24 ---> Running in e0984d1ccc7a 04:07:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:07:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:07:25 OK: 221 MiB in 52 packages 04:07:26 Removing intermediate container e0984d1ccc7a 04:07:26 ---> 8e00fa3ed7c5 04:07:26 Step 8/11 : COPY go.mod vendor* ./ 04:07:26 ---> b4cf3a163b07 04:07:26 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:26 ---> Running in 4b46b1cc4f2a 04:07:26 Still waiting to schedule task 04:07:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:07:44 Removing intermediate container 4b46b1cc4f2a 04:07:44 ---> ec715950c4c3 04:07:44 Step 10/11 : COPY . . 04:07:44 ---> faabeff6f6b5 04:07:44 Step 11/11 : RUN ${MAKE} 04:07:44 ---> Running in bf890ce22426 04:07:44 noop 04:07:44 Removing intermediate container bf890ce22426 04:07:44 ---> fb6d0f3db0cc 04:07:44 Successfully built fb6d0f3db0cc 04:07:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:44 + docker inspect -f . ci-base-image-x86_64 04:07:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:45 prd-ubuntu20.04-docker-8c-8g-16465 does not seem to be running inside a container 04:07:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1186 -v /w/workspace/gexfoundry_device-sdk-go_PR-1186:/w/workspace/gexfoundry_device-sdk-go_PR-1186:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1186@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 ******** ci-base-image-x86_64 cat 04:07:45 $ docker top 2384bde06f30594ea53a829b0a18d82dcf28f326e70c54c175e84b9645ccf612 -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:46 + go version 04:07:46 go version go1.17.7 linux/amd64 [Pipeline] } 04:07:46 $ docker stop --time=1 2384bde06f30594ea53a829b0a18d82dcf28f326e70c54c175e84b9645ccf612 04:07:47 $ docker rm -f 2384bde06f30594ea53a829b0a18d82dcf28f326e70c54c175e84b9645ccf612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:48 + docker inspect -f . ci-base-image-x86_64 04:07:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:48 prd-ubuntu20.04-docker-8c-8g-16465 does not seem to be running inside a container 04:07:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1186 -v /w/workspace/gexfoundry_device-sdk-go_PR-1186:/w/workspace/gexfoundry_device-sdk-go_PR-1186:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1186@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 ******** ci-base-image-x86_64 cat 04:07:49 $ docker top e4a8a7f3ed8f148b87d9cf8e743d603181e1c72b3b60b8e764b2f67218ed3873 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:07:49 + make test 04:07:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:07:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:08:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:08:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:08:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:08:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.087s coverage: 23.7% of statements 04:08:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:08:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements 04:08:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.088s coverage: 78.9% of statements 04:08:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.064s coverage: 10.8% of statements 04:08:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.090s coverage: 60.0% of statements 04:08:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:08:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:08:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 34.8% of statements 04:08:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:08:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.069s coverage: 85.4% of statements 04:08:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:08:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:08:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 65.1% of statements 04:08:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.807s coverage: 89.2% of statements 04:08:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:08:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 04:08:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:08:26 GO111MODULE=on go vet ./... 04:08:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:08:29 ./bin/test-attribution-txt.sh [Pipeline] echo 04:08:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:08:30 $ docker stop --time=1 e4a8a7f3ed8f148b87d9cf8e743d603181e1c72b3b60b8e764b2f67218ed3873 04:08:32 $ docker rm -f e4a8a7f3ed8f148b87d9cf8e743d603181e1c72b3b60b8e764b2f67218ed3873 [Pipeline] // withDockerContainer [Pipeline] sh 04:08:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:08:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:08:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:08:33 + ls -al . 04:08:33 total 304 04:08:33 drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 04:08 . 04:08:33 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 04:06 .. 04:08:33 -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 04:06 .dockerignore 04:08:33 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 04:07 .git 04:08:33 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 04:06 .github 04:08:33 -rw-rw-r-- 1 jenkins jenkins 131 Jun 30 04:06 .gitignore 04:08:33 -rw-rw-r-- 1 jenkins jenkins 42 Jun 30 04:06 .golangci.yml 04:08:33 drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 04:07 .semver 04:08:33 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 30 04:06 CHANGELOG.md 04:08:33 -rw-rw-r-- 1 jenkins jenkins 677 Jun 30 04:06 GOVERNANCE.md 04:08:33 -rw-rw-r-- 1 jenkins jenkins 880 Jun 30 04:06 Jenkinsfile 04:08:33 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 30 04:06 LICENSE 04:08:33 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 30 04:06 Makefile 04:08:33 -rw-rw-r-- 1 jenkins jenkins 619 Jun 30 04:06 OWNERS.md 04:08:33 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 30 04:06 README.md 04:08:33 -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 04:07 VERSION 04:08:33 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 04:06 bin 04:08:33 -rw-r--r-- 1 jenkins jenkins 131191 Jun 30 04:08 coverage.out 04:08:33 drwxrwxr-x 5 jenkins jenkins 4096 Jun 30 04:06 example 04:08:33 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 30 04:06 go.mod 04:08:33 -rw-rw-r-- 1 jenkins jenkins 35641 Jun 30 04:06 go.sum 04:08:33 drwxrwxr-x 15 jenkins jenkins 4096 Jun 30 04:06 internal 04:08:33 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 04:06 openapi 04:08:33 drwxrwxr-x 5 jenkins jenkins 4096 Jun 30 04:06 pkg 04:08:33 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 04:06 snap 04:08:33 -rw-rw-r-- 1 jenkins jenkins 222 Jun 30 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:34 + 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=cb407924c40b87a7cde79c7c59fdf367fb080f65 --label arch=amd64 --label version=0.0.0 . 04:08:34 Sending build context to Docker daemon 9.819MB 04:08:34 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:08:34 Step 2/25 : FROM ${BASE} AS builder 04:08:34 ---> fb6d0f3db0cc 04:08:34 Step 3/25 : ARG MAKE=make build 04:08:34 ---> Running in 532e6f2638d6 04:08:34 Removing intermediate container 532e6f2638d6 04:08:34 ---> ba97fcd3564d 04:08:34 Step 4/25 : WORKDIR /device-sdk-go 04:08:34 ---> Running in e382d5b595b5 04:08:34 Removing intermediate container e382d5b595b5 04:08:34 ---> 8ec35bd1378d 04:08:34 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:08:34 ---> Running in 7c7901146fde 04:08:34 Removing intermediate container 7c7901146fde 04:08:34 ---> a340db383680 04:08:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:34 ---> Running in 50909ef930b1 04:08:35 Removing intermediate container 50909ef930b1 04:08:35 ---> deca79827fb7 04:08:35 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:35 ---> Running in 2644b6d25536 04:08:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:08:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:08:36 OK: 221 MiB in 52 packages 04:08:36 Removing intermediate container 2644b6d25536 04:08:36 ---> b7d9693776ea 04:08:36 Step 8/25 : COPY go.mod vendor* ./ 04:08:37 ---> 3640fe36456a 04:08:37 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:37 ---> Running in 9c3b411adeed 04:08:37 Removing intermediate container 9c3b411adeed 04:08:37 ---> e2781b84240e 04:08:37 Step 10/25 : COPY . . 04:08:38 ---> b8e5f6b490c7 04:08:38 Step 11/25 : RUN ${MAKE} 04:08:38 ---> Running in 6273f12cbdb5 04:08:38 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 04:08:56 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:08:59 Removing intermediate container 6273f12cbdb5 04:08:59 ---> d4f090ca7c2a 04:08:59 Step 12/25 : FROM alpine:3.14 04:08:59 3.14: Pulling from library/alpine 04:08:59 8663204ce13b: Pulling fs layer 04:09:00 8663204ce13b: Verifying Checksum 04:09:00 8663204ce13b: Download complete 04:09:00 8663204ce13b: Pull complete 04:09:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:09:00 Status: Downloaded newer image for alpine:3.14 04:09:00 ---> e04c818066af 04:09:00 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:09:00 ---> Running in 097944341b49 04:09:00 Removing intermediate container 097944341b49 04:09:00 ---> 22d81eab8a87 04:09:00 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:09:00 ---> Running in 1d28be15202d 04:09:00 Removing intermediate container 1d28be15202d 04:09:00 ---> 1f024af29636 04:09:00 Step 15/25 : RUN apk add --update --no-cache zeromq 04:09:00 ---> Running in 8a92896aaad8 04:09:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:09:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:09:02 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:09:02 (2/5) Installing libsodium (1.0.18-r0) 04:09:02 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:09:02 (4/5) Installing libzmq (4.3.4-r0) 04:09:02 (5/5) Installing zeromq (4.3.4-r0) 04:09:02 Executing busybox-1.33.1-r7.trigger 04:09:02 OK: 8 MiB in 19 packages 04:09:03 Removing intermediate container 8a92896aaad8 04:09:03 ---> ac87c6298830 04:09:03 Step 16/25 : WORKDIR / 04:09:03 ---> Running in c0be34a2c717 04:09:03 Removing intermediate container c0be34a2c717 04:09:03 ---> 545747f4395f 04:09:03 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:09:03 ---> 15a3a74713db 04:09:03 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:09:04 ---> 9afb2dacb797 04:09:04 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:09:04 ---> 23480d50d405 04:09:04 Step 20/25 : EXPOSE 59999 04:09:04 ---> Running in ef9d98c557a2 04:09:04 Removing intermediate container ef9d98c557a2 04:09:04 ---> 96e677e01829 04:09:04 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:09:04 ---> Running in 74e46e2e9f8e 04:09:04 Removing intermediate container 74e46e2e9f8e 04:09:04 ---> b2a4bc87b46f 04:09:04 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:09:04 ---> Running in e8bc737b4a0b 04:09:04 Removing intermediate container e8bc737b4a0b 04:09:04 ---> 877e35e1bdab 04:09:04 Step 23/25 : LABEL arch=amd64 04:09:04 ---> Running in c95097231847 04:09:04 Removing intermediate container c95097231847 04:09:04 ---> 6bcdb54f8d94 04:09:04 Step 24/25 : LABEL git_sha=cb407924c40b87a7cde79c7c59fdf367fb080f65 04:09:04 ---> Running in 2c0f688c7a49 04:09:05 Removing intermediate container 2c0f688c7a49 04:09:05 ---> 56dfbf6b5383 04:09:05 Step 25/25 : LABEL version=0.0.0 04:09:05 ---> Running in 17dc61bee2a2 04:09:05 Removing intermediate container 17dc61bee2a2 04:09:05 ---> ba1058bdd352 04:09:05 [Warning] One or more build-args [ARCH] were not consumed 04:09:05 Successfully built ba1058bdd352 04:09:05 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 04:09:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:05 04:09:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:06 latest: Pulling from edgex-lftools-log-publisher 04:09:06 5eb5b503b376: Pulling fs layer 04:09:06 5c69ac0246d0: Pulling fs layer 04:09:06 ec43610c2a17: Pulling fs layer 04:09:06 3a2ae6a8a46f: Pulling fs layer 04:09:06 33b1e0a273af: Pulling fs layer 04:09:06 5d3b04190fa2: Pulling fs layer 04:09:06 2f39f015ded8: Pulling fs layer 04:09:06 3a2ae6a8a46f: Waiting 04:09:06 33b1e0a273af: Waiting 04:09:06 5d3b04190fa2: Waiting 04:09:06 2f39f015ded8: Waiting 04:09:06 5c69ac0246d0: Download complete 04:09:06 3a2ae6a8a46f: Download complete 04:09:06 33b1e0a273af: Verifying Checksum 04:09:06 33b1e0a273af: Download complete 04:09:06 5d3b04190fa2: Download complete 04:09:06 ec43610c2a17: Verifying Checksum 04:09:06 ec43610c2a17: Download complete 04:09:06 5eb5b503b376: Verifying Checksum 04:09:06 5eb5b503b376: Download complete 04:09:07 2f39f015ded8: Download complete 04:09:08 5eb5b503b376: Pull complete 04:09:08 5c69ac0246d0: Pull complete 04:09:08 ec43610c2a17: Pull complete 04:09:08 3a2ae6a8a46f: Pull complete 04:09:08 33b1e0a273af: Pull complete 04:09:08 5d3b04190fa2: Pull complete 04:09:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16468 in /w/workspace/gexfoundry_device-sdk-go_PR-1186 [Pipeline] { [Pipeline] ws 04:09:09 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:09:09 The recommended git tool is: git 04:09:13 2f39f015ded8: Pull complete 04:09:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:09:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:13 prd-ubuntu20.04-docker-8c-8g-16465 does not seem to be running inside a container 04:09:13 $ 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-1186 -v /w/workspace/gexfoundry_device-sdk-go_PR-1186:/w/workspace/gexfoundry_device-sdk-go_PR-1186:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:09:15 $ docker top e8d3985d0d37dd350c73f69a8c2a30e0e6b13d3642eedbbc06eb5784edb59d35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:15 ---> job-cost.sh 04:09:15 lf-activate-venv: SKIPPING 04:09:15 INFO: No Stack... 04:09:15 using credential edgex-jenkins-ssh 04:09:15 Cloning the remote Git repository 04:09:15 INFO: Retrieving Pricing Info for: v3-standard-8 04:09:16 INFO: Archiving Costs [Pipeline] sh 04:09:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:09:15 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:09:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:09:15 > git --version # timeout=10 04:09:15 > git --version # 'git version 2.25.1' 04:09:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:09:16 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives/cost.csv 04:09:16 + cut -d, -f6 [Pipeline] lock 04:09:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] 04:09:16 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] did not exist. Created. 04:09:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:09:17 + echo total: 0.2199999988079071 [Pipeline] stash 04:09:17 Stashed 1 file(s) [Pipeline] } 04:09:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:09:17 $ docker stop --time=1 e8d3985d0d37dd350c73f69a8c2a30e0e6b13d3642eedbbc06eb5784edb59d35 04:09:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:09:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:09:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:09:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:09:17 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1186/head:refs/remotes/origin/PR-1186 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:09:17 Merging remotes/origin/main commit 387354420b6c024391aeac33674ce5c69e12b92e into PR head commit cb407924c40b87a7cde79c7c59fdf367fb080f65 04:09:18 Merge succeeded, producing cb407924c40b87a7cde79c7c59fdf367fb080f65 04:09:18 Checking out Revision cb407924c40b87a7cde79c7c59fdf367fb080f65 (PR-1186) 04:09:18 $ docker rm -f e8d3985d0d37dd350c73f69a8c2a30e0e6b13d3642eedbbc06eb5784edb59d35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:09:17 > git config core.sparsecheckout # timeout=10 04:09:18 > git checkout -f cb407924c40b87a7cde79c7c59fdf367fb080f65 # timeout=10 04:09:18 > git remote # timeout=10 04:09:18 > git config --get remote.origin.url # timeout=10 04:09:18 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:18 > git merge 387354420b6c024391aeac33674ce5c69e12b92e # timeout=10 04:09:18 > git rev-parse HEAD^{commit} # timeout=10 04:09:18 > git config core.sparsecheckout # timeout=10 04:09:18 > git checkout -f cb407924c40b87a7cde79c7c59fdf367fb080f65 # timeout=10 04:09:22 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0" 04:09:22 > git --version # timeout=10 04:09:22 > git --version # 'git version 2.25.1' 04:09:22 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:09:23 % Total % Received % Xferd Average Speed Time Time Time Current 04:09:23 Dload Upload Total Spent Left Speed 04:09:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 91440 0 --:--:-- --:--:-- --:--:-- 91440 [Pipeline] sh 04:09:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:09:24 + sudo tee /etc/docker/daemon.new 04:09:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:09:24 { 04:09:24 "registry-mirrors": [ 04:09:24 "https://nexus3.edgexfoundry.org:10001" 04:09:24 ], 04:09:24 "bip": "10.250.0.254/24", 04:09:24 "hosts": [ 04:09:24 "tcp://0.0.0.0:5555", 04:09:24 "unix:///var/run/docker.sock" 04:09:24 ], 04:09:24 "mtu": 1458, 04:09:24 "selinux-enabled": true, 04:09:24 "seccomp-profile": "/etc/docker/seccomp.json" 04:09:24 } [Pipeline] sh 04:09:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:09:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:44 provisioning config files... 04:09:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8763752594307627806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:44 ---> docker-login.sh 04:09:44 nexus3.edgexfoundry.org:10001 04:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:45 Configure a credential helper to remove this warning. See 04:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:45 04:09:45 Login Succeeded 04:09:45 nexus3.edgexfoundry.org:10002 04:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:45 Configure a credential helper to remove this warning. See 04:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:45 04:09:45 Login Succeeded 04:09:45 nexus3.edgexfoundry.org:10003 04:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:46 Configure a credential helper to remove this warning. See 04:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:46 04:09:46 Login Succeeded 04:09:46 nexus3.edgexfoundry.org:10004 04:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:46 Configure a credential helper to remove this warning. See 04:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:46 04:09:46 Login Succeeded 04:09:46 docker.io 04:09:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:47 Configure a credential helper to remove this warning. See 04:09:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:47 04:09:47 Login Succeeded 04:09:47 ---> docker-login.sh ends [Pipeline] } 04:09:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:09:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:09:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:09:48 ========================================================= 04:09:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:09:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:48 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:09:48 Sending build context to Docker daemon 5.192MB 04:09:49 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:09:49 Step 2/11 : FROM ${BASE} AS builder 04:09:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:09:49 9b3977197b4f: Pulling fs layer 04:09:49 1a89e8eeedd5: Pulling fs layer 04:09:49 94645a83ff95: Pulling fs layer 04:09:49 e6fb740bc735: Pulling fs layer 04:09:49 3a77bd46dcc9: Pulling fs layer 04:09:49 355e64cbe906: Pulling fs layer 04:09:49 63ab81a10011: Pulling fs layer 04:09:49 555d1d1c4555: Pulling fs layer 04:09:49 7d9057610161: Pulling fs layer 04:09:49 355e64cbe906: Waiting 04:09:49 63ab81a10011: Waiting 04:09:49 555d1d1c4555: Waiting 04:09:49 7d9057610161: Waiting 04:09:49 e6fb740bc735: Waiting 04:09:49 3a77bd46dcc9: Waiting 04:09:49 94645a83ff95: Download complete 04:09:49 1a89e8eeedd5: Verifying Checksum 04:09:49 1a89e8eeedd5: Download complete 04:09:49 3a77bd46dcc9: Verifying Checksum 04:09:49 3a77bd46dcc9: Download complete 04:09:49 355e64cbe906: Verifying Checksum 04:09:49 355e64cbe906: Download complete 04:09:49 9b3977197b4f: Verifying Checksum 04:09:49 9b3977197b4f: Download complete 04:09:49 63ab81a10011: Verifying Checksum 04:09:49 63ab81a10011: Download complete 04:09:50 9b3977197b4f: Pull complete 04:09:50 7d9057610161: Verifying Checksum 04:09:50 7d9057610161: Download complete 04:09:50 1a89e8eeedd5: Pull complete 04:09:51 94645a83ff95: Pull complete 04:09:51 555d1d1c4555: Verifying Checksum 04:09:51 555d1d1c4555: Download complete 04:09:52 e6fb740bc735: Verifying Checksum 04:09:52 e6fb740bc735: Download complete 04:10:04 e6fb740bc735: Pull complete 04:10:04 3a77bd46dcc9: Pull complete 04:10:04 355e64cbe906: Pull complete 04:10:04 63ab81a10011: Pull complete 04:10:11 555d1d1c4555: Pull complete 04:10:13 7d9057610161: Pull complete 04:10:13 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 04:10:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:10:13 ---> 819e984ddca1 04:10:13 Step 3/11 : ARG MAKE=make build 04:10:13 ---> Running in 27e47cdf32a6 04:10:14 Removing intermediate container 27e47cdf32a6 04:10:14 ---> 461d30216b11 04:10:14 Step 4/11 : WORKDIR /device-sdk-go 04:10:14 ---> Running in 8c6ddc81651f 04:10:15 Removing intermediate container 8c6ddc81651f 04:10:15 ---> d274eef59f83 04:10:15 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:10:15 ---> Running in 6cda4f78ecec 04:10:16 Removing intermediate container 6cda4f78ecec 04:10:16 ---> 58ee1ff46d9d 04:10:16 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:10:17 ---> Running in 219716179d85 04:10:19 Removing intermediate container 219716179d85 04:10:19 ---> 142b446dad52 04:10:19 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:10:19 ---> Running in e5a41226aa10 04:10:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:10:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:10:22 OK: 220 MiB in 52 packages 04:10:22 Removing intermediate container e5a41226aa10 04:10:22 ---> 22ef9864f88a 04:10:22 Step 8/11 : COPY go.mod vendor* ./ 04:10:23 ---> fd14bf41a576 04:10:23 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:23 ---> Running in d91509f0de69 04:11:10 Removing intermediate container d91509f0de69 04:11:10 ---> a7d2400ccddc 04:11:10 Step 10/11 : COPY . . 04:11:10 ---> e292731eb5d3 04:11:10 Step 11/11 : RUN ${MAKE} 04:11:10 ---> Running in ad857bed9c4f 04:11:11 noop 04:11:11 Removing intermediate container ad857bed9c4f 04:11:11 ---> f5e72839b1c0 04:11:11 Successfully built f5e72839b1c0 04:11:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:12 + docker inspect -f . ci-base-image-arm64 04:11:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:12 prd-ubuntu20.04-docker-arm64-4c-16g-16468 does not seem to be running inside a container 04:11:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:11:14 $ docker top 5acb92feb23cc123562cd2336165c4003089fff4003fec10850520b4e4cce167 -eo pid,comm [Pipeline] { [Pipeline] sh 04:11:15 + go version 04:11:15 go version go1.17.7 linux/arm64 [Pipeline] } 04:11:15 $ docker stop --time=1 5acb92feb23cc123562cd2336165c4003089fff4003fec10850520b4e4cce167 04:11:16 $ docker rm -f 5acb92feb23cc123562cd2336165c4003089fff4003fec10850520b4e4cce167 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:17 + docker inspect -f . ci-base-image-arm64 04:11:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:17 prd-ubuntu20.04-docker-arm64-4c-16g-16468 does not seem to be running inside a container 04:11:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:11:19 $ docker top 4dd88da8db2da6eeb5e315434046f22d72aa80cd5b514cbe1288c3dc1aaaeedb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:11:20 + make test 04:11:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:11:52 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:13:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:13:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:13:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:13:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.585s coverage: 23.7% of statements 04:13:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:13:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.403s coverage: 27.6% of statements 04:13:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.283s coverage: 78.9% of statements 04:13:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.298s coverage: 10.8% of statements 04:13:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.390s coverage: 60.0% of statements 04:13:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:13:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:13:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.540s coverage: 34.8% of statements 04:13:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:13:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.373s coverage: 85.4% of statements 04:13:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:13:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:13:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.544s coverage: 65.1% of statements 04:14:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.246s coverage: 89.2% of statements 04:14:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:14:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.251s coverage: 4.7% of statements 04:14:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:14:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:14:04 GO111MODULE=on go vet ./... 04:15:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:15:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:15:40 ./bin/test-attribution-txt.sh [Pipeline] echo 04:15:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:15:41 $ docker stop --time=1 4dd88da8db2da6eeb5e315434046f22d72aa80cd5b514cbe1288c3dc1aaaeedb 04:15:42 $ docker rm -f 4dd88da8db2da6eeb5e315434046f22d72aa80cd5b514cbe1288c3dc1aaaeedb [Pipeline] // withDockerContainer [Pipeline] sh 04:15:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:15:44 Warning: overwriting stash ‘coverage-report’ 04:15:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:15:46 + ls -al . 04:15:46 total 300 04:15:46 drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 04:15 . 04:15:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 04:09 .. 04:15:46 -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 04:09 .dockerignore 04:15:46 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 04:09 .git 04:15:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 04:09 .github 04:15:46 -rw-rw-r-- 1 jenkins jenkins 131 Jun 30 04:09 .gitignore 04:15:46 -rw-rw-r-- 1 jenkins jenkins 42 Jun 30 04:09 .golangci.yml 04:15:46 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 30 04:09 CHANGELOG.md 04:15:46 -rw-rw-r-- 1 jenkins jenkins 677 Jun 30 04:09 GOVERNANCE.md 04:15:46 -rw-rw-r-- 1 jenkins jenkins 880 Jun 30 04:09 Jenkinsfile 04:15:46 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 30 04:09 LICENSE 04:15:46 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 30 04:09 Makefile 04:15:46 -rw-rw-r-- 1 jenkins jenkins 619 Jun 30 04:09 OWNERS.md 04:15:46 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 30 04:09 README.md 04:15:46 -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 04:07 VERSION 04:15:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 04:09 bin 04:15:46 -rw-r--r-- 1 jenkins jenkins 131190 Jun 30 04:14 coverage.out 04:15:46 drwxrwxr-x 5 jenkins jenkins 4096 Jun 30 04:09 example 04:15:46 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 30 04:09 go.mod 04:15:46 -rw-rw-r-- 1 jenkins jenkins 35641 Jun 30 04:09 go.sum 04:15:46 drwxrwxr-x 15 jenkins jenkins 4096 Jun 30 04:09 internal 04:15:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 04:09 openapi 04:15:46 drwxrwxr-x 5 jenkins jenkins 4096 Jun 30 04:09 pkg 04:15:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 04:09 snap 04:15:46 -rw-rw-r-- 1 jenkins jenkins 222 Jun 30 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:46 + 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=cb407924c40b87a7cde79c7c59fdf367fb080f65 --label arch=arm64 --label version=0.0.0 . 04:15:46 Sending build context to Docker daemon 5.324MB 04:15:47 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:15:47 Step 2/25 : FROM ${BASE} AS builder 04:15:47 ---> f5e72839b1c0 04:15:47 Step 3/25 : ARG MAKE=make build 04:15:47 ---> Running in 80f82ff11fc3 04:15:47 Removing intermediate container 80f82ff11fc3 04:15:47 ---> 8bb1168035d5 04:15:47 Step 4/25 : WORKDIR /device-sdk-go 04:15:47 ---> Running in f12b4086813d 04:15:47 Removing intermediate container f12b4086813d 04:15:47 ---> 64bb7740e14d 04:15:47 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:15:47 ---> Running in 119450eaa92e 04:15:48 Removing intermediate container 119450eaa92e 04:15:48 ---> 32e69beeb69f 04:15:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:15:48 ---> Running in 2ce7296fcd4b 04:15:49 Removing intermediate container 2ce7296fcd4b 04:15:49 ---> 31779efd23f3 04:15:49 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:15:50 ---> Running in 588d605142ff 04:15:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:15:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:15:53 OK: 220 MiB in 52 packages 04:15:54 Removing intermediate container 588d605142ff 04:15:54 ---> 410a26a9d5b6 04:15:54 Step 8/25 : COPY go.mod vendor* ./ 04:15:54 ---> 3eabc9daafdf 04:15:54 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:54 ---> Running in ede3b0380c36 04:15:56 Removing intermediate container ede3b0380c36 04:15:56 ---> b0b9828c1116 04:15:56 Step 10/25 : COPY . . 04:15:57 ---> f9cbfe3b938b 04:15:57 Step 11/25 : RUN ${MAKE} 04:15:57 ---> Running in cc41c13cb0ae 04:15:58 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 04:18:05 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:18:12 Removing intermediate container cc41c13cb0ae 04:18:12 ---> cd8df2051888 04:18:12 Step 12/25 : FROM alpine:3.14 04:18:12 3.14: Pulling from library/alpine 04:18:13 455c02918c45: Pulling fs layer 04:18:13 455c02918c45: Download complete 04:18:13 455c02918c45: Pull complete 04:18:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:18:13 Status: Downloaded newer image for alpine:3.14 04:18:13 ---> ac73e934f311 04:18:13 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:18:13 ---> Running in f89957bcda21 04:18:14 Removing intermediate container f89957bcda21 04:18:14 ---> df516725a0fb 04:18:14 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:18:14 ---> Running in c280a9c3e5e8 04:18:16 Removing intermediate container c280a9c3e5e8 04:18:16 ---> edb1c8e11a77 04:18:16 Step 15/25 : RUN apk add --update --no-cache zeromq 04:18:16 ---> Running in 309e397c68d7 04:18:17 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:18:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:18:18 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:18:18 (2/5) Installing libsodium (1.0.18-r0) 04:18:19 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:18:19 (4/5) Installing libzmq (4.3.4-r0) 04:18:19 (5/5) Installing zeromq (4.3.4-r0) 04:18:19 Executing busybox-1.33.1-r7.trigger 04:18:19 OK: 8 MiB in 19 packages 04:18:20 Removing intermediate container 309e397c68d7 04:18:20 ---> 43802bbe8965 04:18:20 Step 16/25 : WORKDIR / 04:18:20 ---> Running in 00e7732af7e9 04:18:20 Removing intermediate container 00e7732af7e9 04:18:20 ---> 712ec7e78a27 04:18:20 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:18:21 ---> 4f30ad6a7c58 04:18:21 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:18:22 ---> ce59f78ec203 04:18:22 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:18:23 ---> 3bceb229b1e8 04:18:23 Step 20/25 : EXPOSE 59999 04:18:23 ---> Running in d63640ed0cdb 04:18:23 Removing intermediate container d63640ed0cdb 04:18:23 ---> 2d5ac9ea1698 04:18:23 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:18:23 ---> Running in fbd4eccc5a50 04:18:24 Removing intermediate container fbd4eccc5a50 04:18:24 ---> 6c3d210ffa73 04:18:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:18:24 ---> Running in 811183aa3cb3 04:18:24 Removing intermediate container 811183aa3cb3 04:18:24 ---> f9f69ff0a99e 04:18:24 Step 23/25 : LABEL arch=arm64 04:18:24 ---> Running in 5e424903ae8c 04:18:24 Removing intermediate container 5e424903ae8c 04:18:24 ---> 7b076bd445a7 04:18:24 Step 24/25 : LABEL git_sha=cb407924c40b87a7cde79c7c59fdf367fb080f65 04:18:24 ---> Running in d905eb814cd0 04:18:25 Removing intermediate container d905eb814cd0 04:18:25 ---> e8556191c9b7 04:18:25 Step 25/25 : LABEL version=0.0.0 04:18:25 ---> Running in 975d71ee119f 04:18:25 Removing intermediate container 975d71ee119f 04:18:25 ---> c721910384e6 04:18:25 [Warning] One or more build-args [ARCH] were not consumed 04:18:25 Successfully built c721910384e6 04:18:25 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 04:18:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:26 04:18:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:27 arm64: Pulling from edgex-lftools-log-publisher 04:18:27 8998bd30e6a1: Pulling fs layer 04:18:27 04944245beec: Pulling fs layer 04:18:27 699f458cf7ca: Pulling fs layer 04:18:27 765212b225bb: Pulling fs layer 04:18:27 f23df028b6ca: Pulling fs layer 04:18:27 d65c8cfc05b1: Pulling fs layer 04:18:27 2437ff75d9bd: Pulling fs layer 04:18:27 765212b225bb: Waiting 04:18:27 f23df028b6ca: Waiting 04:18:27 d65c8cfc05b1: Waiting 04:18:27 2437ff75d9bd: Waiting 04:18:27 04944245beec: Verifying Checksum 04:18:27 04944245beec: Download complete 04:18:27 765212b225bb: Verifying Checksum 04:18:27 765212b225bb: Download complete 04:18:27 f23df028b6ca: Verifying Checksum 04:18:27 f23df028b6ca: Download complete 04:18:27 d65c8cfc05b1: Verifying Checksum 04:18:27 d65c8cfc05b1: Download complete 04:18:27 699f458cf7ca: Verifying Checksum 04:18:27 699f458cf7ca: Download complete 04:18:27 8998bd30e6a1: Verifying Checksum 04:18:27 8998bd30e6a1: Download complete 04:18:30 2437ff75d9bd: Verifying Checksum 04:18:30 2437ff75d9bd: Download complete 04:18:32 8998bd30e6a1: Pull complete 04:18:32 04944245beec: Pull complete 04:18:34 699f458cf7ca: Pull complete 04:18:34 765212b225bb: Pull complete 04:18:35 f23df028b6ca: Pull complete 04:18:35 d65c8cfc05b1: Pull complete 04:18:50 2437ff75d9bd: Pull complete 04:18:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:18:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:51 prd-ubuntu20.04-docker-arm64-4c-16g-16468 does not seem to be running inside a container 04:18:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:18:54 $ docker top dbbeab50c76ed0232616e965694226c008b86991e511682e2fda95eea092d19c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:55 ---> job-cost.sh 04:18:55 lf-activate-venv: SKIPPING 04:18:55 INFO: No Stack... 04:18:55 INFO: Retrieving Pricing Info for: v3-standard-4 04:18:56 INFO: Archiving Costs [Pipeline] sh 04:18:57 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:18:57 + cut -d, -f6 [Pipeline] lock 04:18:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] 04:18:57 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] did not exist. Created. 04:18:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:18:58 /w/workspace/device-sdk-go/1@tmp/durable-0ec97520/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:18:59 + echo total: 0.10999999940395355 [Pipeline] stash 04:18:59 Warning: overwriting stash ‘stack-cost’ 04:18:59 Stashed 1 file(s) [Pipeline] } 04:18:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1186-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:18:59 $ docker stop --time=1 dbbeab50c76ed0232616e965694226c008b86991e511682e2fda95eea092d19c 04:19:00 $ docker rm -f dbbeab50c76ed0232616e965694226c008b86991e511682e2fda95eea092d19c [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 04:19:01 provisioning config files... 04:19:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/config5824499017716379662tmp [Pipeline] { [Pipeline] sh 04:19:02 + set +x 04:19:02 + curl -s https://codecov.io/bash 04:19:02 + bash -s -- 04:19:02 04:19:02 _____ _ 04:19:02 / ____| | | 04:19:02 | | ___ __| | ___ ___ _____ __ 04:19:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:19:02 | |___| (_) | (_| | __/ (_| (_) \ V / 04:19:02 \_____\___/ \__,_|\___|\___\___/ \_/ 04:19:02 Bash-1.0.6 04:19:02 04:19:02 04:19:02 ==> git version 2.25.1 found 04:19:02 ==> 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 04:19:02 Release-Date: 2020-01-08 04:19:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:19:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:19:02 ==> Jenkins CI detected. 04:19:02 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1186 04:19:02 project root: . 04:19:02 --> token set from env 04:19:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:19:02 ==> Running gcov in . (disable via -X gcov) 04:19:02 ==> Python coveragepy not found 04:19:02 ==> Searching for coverage reports in: 04:19:02 + . 04:19:02 -> Found 1 reports 04:19:02 ==> Detecting git/mercurial file structure 04:19:02 ==> Reading reports 04:19:02 + ./coverage.out bytes=131190 04:19:02 ==> Appending adjustments 04:19:02 https://docs.codecov.io/docs/fixing-reports 04:19:02 + Found adjustments 04:19:02 ==> Gzipping contents 04:19:02 20K /tmp/codecov.BEgLwi.gz 04:19:02 ==> Uploading reports 04:19:02 url: https://codecov.io 04:19:02 query: branch=PR-1186&commit=cb407924c40b87a7cde79c7c59fdf367fb080f65&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1186%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1186&job=&cmd_args= 04:19:02 -> Pinging Codecov 04:19:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1186&commit=cb407924c40b87a7cde79c7c59fdf367fb080f65&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1186%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1186&job=&cmd_args= 04:19:03 -> Uploading to 04:19:03 https://storage.googleapis.com/codecov/v4/raw/2022-06-30/7E55EF52A471D76F132DFD9A03CDDE97/cb407924c40b87a7cde79c7c59fdf367fb080f65/7c9fdb78-03eb-4ac7-911a-44f7a461ee38.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220630T041902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10ad2c63a46b1dd8b4591d98676d030acec84330d6240b2da282390e075500cc 04:19:03 % Total % Received % Xferd Average Speed Time Time Time Current 04:19:03 Dload Upload Total Spent Left Speed 04:19:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16871 0 0 100 16871 0 76339 --:--:-- --:--:-- --:--:-- 75995 100 16871 0 0 100 16871 0 72407 --:--:-- --:--:-- --:--:-- 72098 04:19:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cb407924c40b87a7cde79c7c59fdf367fb080f65 [Pipeline] } 04:19:03 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 04:19:05 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives ] 04:19:05 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives 04:19:05 total 16 04:19:05 drwxr-xr-x 3 root root 4096 Jun 30 04:09 . 04:19:05 drwxrwxr-x 12 jenkins jenkins 4096 Jun 30 04:09 .. 04:19:05 drwxr-xr-x 2 root root 4096 Jun 30 04:09 cost 04:19:05 -rw-r--r-- 1 root root 85 Jun 30 04:09 cost.csv 04:19:05 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives 04:19:05 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives 04:19:05 total 16 04:19:05 drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 04:09 . 04:19:05 drwxrwxr-x 12 jenkins jenkins 4096 Jun 30 04:09 .. 04:19:05 drwxr-xr-x 2 jenkins jenkins 4096 Jun 30 04:09 cost 04:19:05 -rw-r--r-- 1 jenkins jenkins 85 Jun 30 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:19:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:19:06 ---> package-listing.sh 04:19:06 ++ facter osfamily 04:19:06 ++ tr '[:upper:]' '[:lower:]' 04:19:06 + OS_FAMILY=debian 04:19:06 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1186 04:19:06 + START_PACKAGES=/tmp/packages_start.txt 04:19:06 + END_PACKAGES=/tmp/packages_end.txt 04:19:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:19:06 + PACKAGES=/tmp/packages_start.txt 04:19:06 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1186 ']' 04:19:06 + PACKAGES=/tmp/packages_end.txt 04:19:06 + case "${OS_FAMILY}" in 04:19:06 + dpkg -l 04:19:06 + grep '^ii' 04:19:06 + '[' -f /tmp/packages_start.txt ']' 04:19:06 + '[' -f /tmp/packages_end.txt ']' 04:19:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:19:06 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1186 ']' 04:19:06 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives/ 04:19:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1186/archives/ [Pipeline] echo 04:19:06 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-1186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:19:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:19:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:07 prd-ubuntu20.04-docker-8c-8g-16465 does not seem to be running inside a container 04:19:07 $ 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-1186/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-1186 -v /w/workspace/gexfoundry_device-sdk-go_PR-1186:/w/workspace/gexfoundry_device-sdk-go_PR-1186:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:19:07 $ docker top 53b24b9dca3970f5c5ad0601743833e42718fbbf1d6f8110f786311ccfcac817 -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:08 + touch /tmp/pre-build-complete [Pipeline] sh 04:19:08 + mkdir -p /var/log/sysstat [Pipeline] sh 04:19:09 + ls /var/log/sa-host 04:19:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:09 provisioning config files... 04:19:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1186@tmp/config7558311604648697096tmp [Pipeline] { [Pipeline] echo 04:19:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:19:09 ---> create-netrc.sh [Pipeline] } 04:19:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:19:10 ---> python-tools-install.sh [Pipeline] echo 04:19:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:19:10 ---> sudo-logs.sh 04:19:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:19:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:19:10 ---> job-cost.sh 04:19:10 lf-activate-venv: SKIPPING 04:19:10 DEBUG: total: 0.2199999988079071 04:19:10 INFO: Retrieving Stack Cost... 04:19:11 INFO: Retrieving Pricing Info for: v3-standard-8 04:19:11 INFO: Archiving Costs [Pipeline] echo 04:19:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:19:12 ---> logs-deploy.sh 04:19:12 lf-activate-venv: SKIPPING 04:19:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1186/1 04:19:12 INFO: archiving workspace using pattern(s): 04:19:13 Archives upload complete. 04:19:13 INFO: archiving logs to Nexus