Pull request #1178 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 37feea84d12508780716eef2708031ba6031fa53 rather than 3d985db59cec7524d7fce56693a89314a3470d05 Obtained Jenkinsfile from 37feea84d12508780716eef2708031ba6031fa53 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-ssh577960738391791984.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-ssh10942624604187665324.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-1178/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-1178/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14464115185785482817.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-1178/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8739817383424387047.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-ssh9017644731062633669.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-1178/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-1178/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16435440300073022370.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2622 in /w/workspace/gexfoundry_device-sdk-go_PR-1178 [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-1178 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 37feea84d12508780716eef2708031ba6031fa53 into PR head commit 3d985db59cec7524d7fce56693a89314a3470d05 Merge succeeded, producing 3d985db59cec7524d7fce56693a89314a3470d05 Checking out Revision 3d985db59cec7524d7fce56693a89314a3470d05 (PR-1178) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1178/head:refs/remotes/origin/PR-1178 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d985db59cec7524d7fce56693a89314a3470d05 # 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 37feea84d12508780716eef2708031ba6031fa53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3d985db59cec7524d7fce56693a89314a3470d05 # timeout=10 Commit message: "fix: ProvisionWatcher callbacks return BaseResponse, not 204 No Content." 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 01:40:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:40:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:40:10 ========================================================= 01:40:10 EdgeX Global Pipelines Version Info 01:40:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:40:11 ------------------- 01:40:11 stable info: 01:40:11 ------------------- 01:40:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:40:11 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 01:40:11 Message: update stable to v1.0.234 01:40:12 ------------------- 01:40:12 experimental info: 01:40:12 ------------------- 01:40:12 Commited By: **** collab-it+edgex@linuxfoundation.org 01:40:12 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 01:40:12 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:40:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1178 [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1178 [Pipeline] echo 01:40:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1178 [Pipeline] echo 01:40:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d985db59cec7524d7fce56693a89314a3470d05 [Pipeline] echo 01:40:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d985db [Pipeline] echo 01:40:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:40:14 provisioning config files... 01:40:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp/config2600427155059774876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:14 ---> docker-login.sh 01:40:14 nexus3.edgexfoundry.org:10001 01:40:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:14 Configure a credential helper to remove this warning. See 01:40:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:14 01:40:14 Login Succeeded 01:40:14 nexus3.edgexfoundry.org:10002 01:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:15 Configure a credential helper to remove this warning. See 01:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:15 01:40:15 Login Succeeded 01:40:15 nexus3.edgexfoundry.org:10003 01:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:15 Configure a credential helper to remove this warning. See 01:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:15 01:40:15 Login Succeeded 01:40:15 nexus3.edgexfoundry.org:10004 01:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:15 Configure a credential helper to remove this warning. See 01:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:15 01:40:15 Login Succeeded 01:40:15 docker.io 01:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:15 Configure a credential helper to remove this warning. See 01:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:15 01:40:15 Login Succeeded 01:40:15 ---> docker-login.sh ends [Pipeline] } 01:40:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:40:16 + git rev-list -1 --merges 3d985db59cec7524d7fce56693a89314a3470d05~1..3d985db59cec7524d7fce56693a89314a3470d05 [Pipeline] echo 01:40:16 -----------> git rev-list -1 --merges 3d985db59cec7524d7fce56693a89314a3470d05~1..3d985db59cec7524d7fce56693a89314a3470d05 3d985db59cec7524d7fce56693a89314a3470d05 [false] [Pipeline] sh 01:40:17 + git log --format=format:%s -1 3d985db59cec7524d7fce56693a89314a3470d05 [Pipeline] echo 01:40:17 ========================================================= 01:40:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:40:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:40:17 + git log --format=format:%s -1 3d985db59cec7524d7fce56693a89314a3470d05 [Pipeline] echo 01:40:17 [semverPrep] GIT_COMMIT: 3d985db59cec7524d7fce56693a89314a3470d05, Commit Message: fix: ProvisionWatcher callbacks return BaseResponse, not 204 No Content. [Pipeline] echo 01:40:17 [semverPrep] This is not a build commit. [Pipeline] sh 01:40:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:40:18 + grep -v github /etc/ssh/ssh_known_hosts 01:40:18 + [ -e /tmp/ssh_known_hosts ] 01:40:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:40:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:40:18 + sudo tee -a /etc/ssh/ssh_known_hosts 01:40:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:40:18 01:40:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:40:18 0.1.4: Pulling from edgex-devops/py-git-semver 01:40:18 42c077c10790: Pulling fs layer 01:40:18 f63e77b7563a: Pulling fs layer 01:40:18 bd5fdadae976: Pulling fs layer 01:40:18 205491f53016: Pulling fs layer 01:40:18 df18705c85c3: Pulling fs layer 01:40:18 bdb3f477010e: Pulling fs layer 01:40:18 c8a8fc8e1c8f: Pulling fs layer 01:40:18 2c6e9b1d212d: Pulling fs layer 01:40:18 bdb8f0575790: Pulling fs layer 01:40:18 205491f53016: Waiting 01:40:18 386e3cb2ff24: Pulling fs layer 01:40:18 2343380bae48: Pulling fs layer 01:40:18 df18705c85c3: Waiting 01:40:18 2c6e9b1d212d: Waiting 01:40:18 bdb8f0575790: Waiting 01:40:18 386e3cb2ff24: Waiting 01:40:18 bdb3f477010e: Waiting 01:40:18 2343380bae48: Waiting 01:40:18 c8a8fc8e1c8f: Waiting 01:40:18 f63e77b7563a: Download complete 01:40:18 205491f53016: Verifying Checksum 01:40:18 205491f53016: Download complete 01:40:19 bd5fdadae976: Verifying Checksum 01:40:19 df18705c85c3: Verifying Checksum 01:40:19 df18705c85c3: Download complete 01:40:19 bdb3f477010e: Verifying Checksum 01:40:19 bdb3f477010e: Download complete 01:40:19 2c6e9b1d212d: Download complete 01:40:19 bdb8f0575790: Verifying Checksum 01:40:19 bdb8f0575790: Download complete 01:40:19 386e3cb2ff24: Download complete 01:40:19 2343380bae48: Verifying Checksum 01:40:19 2343380bae48: Download complete 01:40:19 42c077c10790: Verifying Checksum 01:40:19 42c077c10790: Download complete 01:40:19 c8a8fc8e1c8f: Verifying Checksum 01:40:19 c8a8fc8e1c8f: Download complete 01:40:20 42c077c10790: Pull complete 01:40:20 f63e77b7563a: Pull complete 01:40:21 bd5fdadae976: Pull complete 01:40:21 205491f53016: Pull complete 01:40:21 df18705c85c3: Pull complete 01:40:21 bdb3f477010e: Pull complete 01:40:23 c8a8fc8e1c8f: Pull complete 01:40:23 2c6e9b1d212d: Pull complete 01:40:23 bdb8f0575790: Pull complete 01:40:24 386e3cb2ff24: Pull complete 01:40:24 2343380bae48: Pull complete 01:40:24 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 01:40:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:40:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:24 prd-ubuntu20.04-docker-8c-8g-2622 does not seem to be running inside a container 01:40:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1178 -v /w/workspace/gexfoundry_device-sdk-go_PR-1178:/w/workspace/gexfoundry_device-sdk-go_PR-1178:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:40:25 $ docker top 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 -eo pid,comm 01:40:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:40:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:40:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:40:26 [ssh-agent] Looking for ssh-agent implementation... 01:40:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:40:26 $ docker exec 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 ssh-agent 01:40:26 SSH_AUTH_SOCK=/tmp/ssh-YONWGYC1qOkU/agent.34 01:40:26 SSH_AGENT_PID=40 01:40:26 Running ssh-add (command line suppressed) 01:40:26 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp/private_key_429776841748790612.key (/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp/private_key_429776841748790612.key) 01:40:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:40:26 + git tag --points-at HEAD [Pipeline] } 01:40:26 $ docker exec --env ******** --env ******** 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 ssh-agent -k 01:40:26 unset SSH_AUTH_SOCK; 01:40:26 unset SSH_AGENT_PID; 01:40:26 echo Agent pid 40 killed; 01:40:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:40:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:40:27 [ssh-agent] Looking for ssh-agent implementation... 01:40:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:40:27 $ docker exec 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 ssh-agent 01:40:27 SSH_AUTH_SOCK=/tmp/ssh-jN8IdINvAKet/agent.73 01:40:27 SSH_AGENT_PID=80 01:40:27 Running ssh-add (command line suppressed) 01:40:27 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp/private_key_8963506748215452673.key (/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp/private_key_8963506748215452673.key) 01:40:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:40:27 + git semver init 01:40:28 2022-06-18 01:40:27,971 [run_init] DEBUG init version:0.0.0 force:False 01:40:28 2022-06-18 01:40:27,972 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1178/.semver 01:40:28 2022-06-18 01:40:27,973 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1178/.semver 01:40:28 2022-06-18 01:40:27,973 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1178/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1178, universal_newlines=False, shell=None, istream=None) 01:40:28 2022-06-18 01:40:28,822 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1178/.git/info/exclude 01:40:28 2022-06-18 01:40:28,823 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1178/.semver/PR-1178 with force:False 01:40:28 2022-06-18 01:40:28,823 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1178/.semver/PR-1178 01:40:28 2022-06-18 01:40:28,828 [execute] INFO git cat-file --batch-check 01:40:28 2022-06-18 01:40:28,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1178/.semver, universal_newlines=False, shell=None, istream=) 01:40:28 2022-06-18 01:40:28,835 [execute] INFO git cat-file --batch 01:40:28 2022-06-18 01:40:28,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1178/.semver, universal_newlines=False, shell=None, istream=) 01:40:28 2022-06-18 01:40:28,840 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1178/.semver/PR-1178 01:40:28 0.0.0 [Pipeline] } 01:40:28 $ docker exec --env ******** --env ******** 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 ssh-agent -k 01:40:29 unset SSH_AUTH_SOCK; 01:40:29 unset SSH_AGENT_PID; 01:40:29 echo Agent pid 80 killed; 01:40:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:40:29 + git semver [Pipeline] } 01:40:29 $ docker stop --time=1 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 01:40:31 $ docker rm -f 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 [Pipeline] // withDockerContainer [Pipeline] sh 01:40:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:40:32 Stashed 1 file(s) [Pipeline] echo 01:40:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:40:32 provisioning config files... 01:40:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp/config2330436416961011516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:33 ---> docker-login.sh 01:40:33 nexus3.edgexfoundry.org:10001 01:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:33 Configure a credential helper to remove this warning. See 01:40:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:33 01:40:33 Login Succeeded 01:40:33 nexus3.edgexfoundry.org:10002 01:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:33 Configure a credential helper to remove this warning. See 01:40:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:33 01:40:33 Login Succeeded 01:40:33 nexus3.edgexfoundry.org:10003 01:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:33 Configure a credential helper to remove this warning. See 01:40:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:33 01:40:33 Login Succeeded 01:40:33 nexus3.edgexfoundry.org:10004 01:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:33 Configure a credential helper to remove this warning. See 01:40:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:33 01:40:33 Login Succeeded 01:40:33 docker.io 01:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:33 Configure a credential helper to remove this warning. See 01:40:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:33 01:40:33 Login Succeeded 01:40:33 ---> docker-login.sh ends [Pipeline] } 01:40:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:40:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:34 ========================================================= 01:40:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:40:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:34 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:40:34 Sending build context to Docker daemon 9.735MB 01:40:34 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 01:40:34 Step 2/11 : FROM ${BASE} AS builder 01:40:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:40:34 59bf1c3509f3: Pulling fs layer 01:40:34 666ba61612fd: Pulling fs layer 01:40:34 8ed8ca486205: Pulling fs layer 01:40:34 cc1cd167ecdc: Pulling fs layer 01:40:34 c516ae0d96e1: Pulling fs layer 01:40:34 cc1cd167ecdc: Waiting 01:40:34 684cea983483: Pulling fs layer 01:40:34 dd3240ac7de5: Pulling fs layer 01:40:34 b1e948a4e11c: Pulling fs layer 01:40:34 c516ae0d96e1: Waiting 01:40:34 684cea983483: Waiting 01:40:34 dd3240ac7de5: Waiting 01:40:34 a8fd76ee1af6: Pulling fs layer 01:40:34 b1e948a4e11c: Waiting 01:40:34 646ad004c059: Pulling fs layer 01:40:34 a8fd76ee1af6: Waiting 01:40:34 8ed8ca486205: Verifying Checksum 01:40:34 8ed8ca486205: Download complete 01:40:34 666ba61612fd: Verifying Checksum 01:40:34 666ba61612fd: Download complete 01:40:34 c516ae0d96e1: Verifying Checksum 01:40:34 c516ae0d96e1: Download complete 01:40:34 684cea983483: Verifying Checksum 01:40:34 684cea983483: Download complete 01:40:34 59bf1c3509f3: Download complete 01:40:34 dd3240ac7de5: Verifying Checksum 01:40:34 dd3240ac7de5: Download complete 01:40:34 b1e948a4e11c: Verifying Checksum 01:40:34 b1e948a4e11c: Download complete 01:40:34 59bf1c3509f3: Pull complete 01:40:35 666ba61612fd: Pull complete 01:40:35 8ed8ca486205: Pull complete 01:40:35 646ad004c059: Verifying Checksum 01:40:35 646ad004c059: Download complete 01:40:35 a8fd76ee1af6: Verifying Checksum 01:40:35 a8fd76ee1af6: Download complete 01:40:35 cc1cd167ecdc: Verifying Checksum 01:40:35 cc1cd167ecdc: Download complete 01:40:39 cc1cd167ecdc: Pull complete 01:40:39 c516ae0d96e1: Pull complete 01:40:39 684cea983483: Pull complete 01:40:39 dd3240ac7de5: Pull complete 01:40:39 b1e948a4e11c: Pull complete 01:40:42 a8fd76ee1af6: Pull complete 01:40:42 646ad004c059: Pull complete 01:40:42 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 01:40:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:40:42 ---> 8f69c11f6b0c 01:40:42 Step 3/11 : ARG MAKE=make build 01:40:44 ---> Running in 17ab6ab094bb 01:40:44 Removing intermediate container 17ab6ab094bb 01:40:44 ---> d7eb6e175d2b 01:40:44 Step 4/11 : WORKDIR /device-sdk-go 01:40:44 ---> Running in 211b3c4123e3 01:40:44 Removing intermediate container 211b3c4123e3 01:40:44 ---> 0b9a6349d40b 01:40:44 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:40:44 ---> Running in d11dcf3f4554 01:40:45 Removing intermediate container d11dcf3f4554 01:40:45 ---> f18043ed32f6 01:40:45 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:40:45 ---> Running in f8a79c2566a9 01:40:45 Removing intermediate container f8a79c2566a9 01:40:45 ---> d6d60753ae09 01:40:45 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:40:45 ---> Running in d192d6d4d051 01:40:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:40:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:40:47 OK: 221 MiB in 52 packages 01:40:47 Removing intermediate container d192d6d4d051 01:40:47 ---> f9e84dac94c3 01:40:47 Step 8/11 : COPY go.mod vendor* ./ 01:40:47 ---> ef577d8b7583 01:40:47 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:47 Still waiting to schedule task 01:40:47 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:40:47 ---> Running in ba1e7b4f5336 01:41:05 Removing intermediate container ba1e7b4f5336 01:41:05 ---> 9916f17b5034 01:41:05 Step 10/11 : COPY . . 01:41:06 ---> 248882efa5ef 01:41:06 Step 11/11 : RUN ${MAKE} 01:41:06 ---> Running in 482d61bdb369 01:41:06 noop 01:41:07 Removing intermediate container 482d61bdb369 01:41:07 ---> 4f9d5a6fc73b 01:41:07 Successfully built 4f9d5a6fc73b 01:41:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:07 + docker inspect -f . ci-base-image-x86_64 01:41:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:07 prd-ubuntu20.04-docker-8c-8g-2622 does not seem to be running inside a container 01:41:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1178 -v /w/workspace/gexfoundry_device-sdk-go_PR-1178:/w/workspace/gexfoundry_device-sdk-go_PR-1178:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:41:08 $ docker top e6760f960bc34f364cdd40610eaf35f7a8ddd9520b25422293a47ae3eced686c -eo pid,comm [Pipeline] { [Pipeline] sh 01:41:08 + go version 01:41:08 go version go1.17.7 linux/amd64 [Pipeline] } 01:41:08 $ docker stop --time=1 e6760f960bc34f364cdd40610eaf35f7a8ddd9520b25422293a47ae3eced686c 01:41:09 $ docker rm -f e6760f960bc34f364cdd40610eaf35f7a8ddd9520b25422293a47ae3eced686c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:10 + docker inspect -f . ci-base-image-x86_64 01:41:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:10 prd-ubuntu20.04-docker-8c-8g-2622 does not seem to be running inside a container 01:41:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1178 -v /w/workspace/gexfoundry_device-sdk-go_PR-1178:/w/workspace/gexfoundry_device-sdk-go_PR-1178:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:41:11 $ docker top f7bf6fb170254cc952c3f5829d13b94f717f3749014e5d99c7b39fe2b00e5cb0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:41:11 + make test 01:41:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:41:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:41:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:41:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:41:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:41:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.097s coverage: 23.3% of statements 01:41:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:41:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements 01:41:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements 01:41:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.076s coverage: 10.8% of statements 01:41:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.088s coverage: 60.0% of statements 01:41:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:41:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:41:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.070s coverage: 34.8% of statements 01:41:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:41:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 85.4% of statements 01:41:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:41:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:41:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.118s coverage: 65.1% of statements 01:41:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.832s coverage: 89.2% of statements 01:41:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:41:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 01:41:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:41:44 GO111MODULE=on go vet ./... 01:41:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:41:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:41:47 ./bin/test-attribution-txt.sh [Pipeline] echo 01:41:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:41:47 $ docker stop --time=1 f7bf6fb170254cc952c3f5829d13b94f717f3749014e5d99c7b39fe2b00e5cb0 01:41:50 $ docker rm -f f7bf6fb170254cc952c3f5829d13b94f717f3749014e5d99c7b39fe2b00e5cb0 [Pipeline] // withDockerContainer [Pipeline] sh 01:41:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:41:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:41:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:41:51 + ls -al . 01:41:51 total 300 01:41:51 drwxrwxr-x 11 jenkins jenkins 4096 Jun 18 01:41 . 01:41:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 01:40 .. 01:41:51 -rw-rw-r-- 1 jenkins jenkins 140 Jun 18 01:40 .dockerignore 01:41:51 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 01:40 .git 01:41:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 01:40 .github 01:41:51 -rw-rw-r-- 1 jenkins jenkins 131 Jun 18 01:40 .gitignore 01:41:51 -rw-rw-r-- 1 jenkins jenkins 42 Jun 18 01:40 .golangci.yml 01:41:51 drwxr-xr-x 3 jenkins jenkins 4096 Jun 18 01:40 .semver 01:41:51 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 18 01:40 CHANGELOG.md 01:41:51 -rw-rw-r-- 1 jenkins jenkins 677 Jun 18 01:40 GOVERNANCE.md 01:41:51 -rw-rw-r-- 1 jenkins jenkins 880 Jun 18 01:40 Jenkinsfile 01:41:51 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 18 01:40 LICENSE 01:41:51 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 18 01:40 Makefile 01:41:51 -rw-rw-r-- 1 jenkins jenkins 619 Jun 18 01:40 OWNERS.md 01:41:51 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 18 01:40 README.md 01:41:51 -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 01:40 VERSION 01:41:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 01:40 bin 01:41:51 -rw-r--r-- 1 jenkins jenkins 131011 Jun 18 01:41 coverage.out 01:41:51 drwxrwxr-x 5 jenkins jenkins 4096 Jun 18 01:40 example 01:41:51 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 18 01:40 go.mod 01:41:51 -rw-rw-r-- 1 jenkins jenkins 34801 Jun 18 01:40 go.sum 01:41:51 drwxrwxr-x 15 jenkins jenkins 4096 Jun 18 01:40 internal 01:41:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 01:40 openapi 01:41:51 drwxrwxr-x 5 jenkins jenkins 4096 Jun 18 01:40 pkg 01:41:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 01:40 snap 01:41:51 -rw-rw-r-- 1 jenkins jenkins 222 Jun 18 01:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:52 + 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=3d985db59cec7524d7fce56693a89314a3470d05 --label arch=amd64 --label version=0.0.0 . 01:41:52 Sending build context to Docker daemon 9.867MB 01:41:52 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:41:52 Step 2/25 : FROM ${BASE} AS builder 01:41:52 ---> 4f9d5a6fc73b 01:41:52 Step 3/25 : ARG MAKE=make build 01:41:52 ---> Running in 917a0dd581de 01:41:52 Removing intermediate container 917a0dd581de 01:41:52 ---> 12ae331ccaf1 01:41:52 Step 4/25 : WORKDIR /device-sdk-go 01:41:52 ---> Running in 028a671faf75 01:41:52 Removing intermediate container 028a671faf75 01:41:52 ---> 9bd8a05117df 01:41:52 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:41:52 ---> Running in 2547d4d90e53 01:41:52 Removing intermediate container 2547d4d90e53 01:41:52 ---> b5550f37335a 01:41:52 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:41:52 ---> Running in db74758a3e2a 01:41:53 Removing intermediate container db74758a3e2a 01:41:53 ---> a3f1d2d3a6a3 01:41:53 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:41:53 ---> Running in fe6c817a1457 01:41:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:41:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:41:54 OK: 221 MiB in 52 packages 01:41:54 Removing intermediate container fe6c817a1457 01:41:54 ---> bada12fb4cd8 01:41:54 Step 8/25 : COPY go.mod vendor* ./ 01:41:55 ---> 695437f80b8d 01:41:55 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:41:55 ---> Running in 3ce607ef6022 01:41:55 Removing intermediate container 3ce607ef6022 01:41:55 ---> 8f23ced010df 01:41:55 Step 10/25 : COPY . . 01:41:56 ---> 14806d01414c 01:41:56 Step 11/25 : RUN ${MAKE} 01:41:56 ---> Running in 734055f80fc4 01:41:56 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:42:14 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:42:16 Removing intermediate container 734055f80fc4 01:42:16 ---> 1bc773bbab02 01:42:16 Step 12/25 : FROM alpine:3.14 01:42:16 3.14: Pulling from library/alpine 01:42:16 8663204ce13b: Pulling fs layer 01:42:17 8663204ce13b: Verifying Checksum 01:42:17 8663204ce13b: Download complete 01:42:17 8663204ce13b: Pull complete 01:42:17 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:42:17 Status: Downloaded newer image for alpine:3.14 01:42:17 ---> e04c818066af 01:42:17 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:42:17 ---> Running in e170f00fbbb5 01:42:17 Removing intermediate container e170f00fbbb5 01:42:17 ---> 25a4c6321954 01:42:17 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:42:17 ---> Running in b4fbc78b377c 01:42:17 Removing intermediate container b4fbc78b377c 01:42:17 ---> 79a0829791f5 01:42:17 Step 15/25 : RUN apk add --update --no-cache zeromq 01:42:17 ---> Running in 56a01683e9ac 01:42:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:42:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:42:19 (1/5) Installing libgcc (10.3.1_git20210424-r2) 01:42:19 (2/5) Installing libsodium (1.0.18-r0) 01:42:19 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 01:42:19 (4/5) Installing libzmq (4.3.4-r0) 01:42:19 (5/5) Installing zeromq (4.3.4-r0) 01:42:19 Executing busybox-1.33.1-r7.trigger 01:42:19 OK: 8 MiB in 19 packages 01:42:20 Removing intermediate container 56a01683e9ac 01:42:20 ---> 824bd7f61068 01:42:20 Step 16/25 : WORKDIR / 01:42:20 ---> Running in c1110116b570 01:42:20 Removing intermediate container c1110116b570 01:42:20 ---> 6a33549ac10b 01:42:20 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:42:20 ---> 92be83fad9b0 01:42:20 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:42:21 ---> 9d56c968b9b9 01:42:21 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:42:21 ---> b07bc2ef8363 01:42:21 Step 20/25 : EXPOSE 59999 01:42:21 ---> Running in e8d58353a8ab 01:42:21 Removing intermediate container e8d58353a8ab 01:42:21 ---> 5f40efaee431 01:42:21 Step 21/25 : ENTRYPOINT ["/device-simple"] 01:42:21 ---> Running in 556d044be2d3 01:42:21 Removing intermediate container 556d044be2d3 01:42:21 ---> 7f29cee8142f 01:42:21 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:42:21 ---> Running in 1ccdbf9d2826 01:42:21 Removing intermediate container 1ccdbf9d2826 01:42:21 ---> 91dfa6e6fc78 01:42:21 Step 23/25 : LABEL arch=amd64 01:42:21 ---> Running in 34032ee33f2f 01:42:21 Removing intermediate container 34032ee33f2f 01:42:21 ---> 76a703d0cea4 01:42:21 Step 24/25 : LABEL git_sha=3d985db59cec7524d7fce56693a89314a3470d05 01:42:21 ---> Running in 85ba1921d19d 01:42:21 Removing intermediate container 85ba1921d19d 01:42:21 ---> 849c37c5286d 01:42:21 Step 25/25 : LABEL version=0.0.0 01:42:22 ---> Running in 50e7ae608bbf 01:42:22 Removing intermediate container 50e7ae608bbf 01:42:22 ---> 709f799b24c8 01:42:22 [Warning] One or more build-args [ARCH] were not consumed 01:42:22 Successfully built 709f799b24c8 01:42:22 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:42:22 01:42:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:42:23 latest: Pulling from edgex-lftools-log-publisher 01:42:23 5eb5b503b376: Pulling fs layer 01:42:23 5c69ac0246d0: Pulling fs layer 01:42:23 ec43610c2a17: Pulling fs layer 01:42:23 3a2ae6a8a46f: Pulling fs layer 01:42:23 33b1e0a273af: Pulling fs layer 01:42:23 5d3b04190fa2: Pulling fs layer 01:42:23 2f39f015ded8: Pulling fs layer 01:42:23 33b1e0a273af: Waiting 01:42:23 5d3b04190fa2: Waiting 01:42:23 2f39f015ded8: Waiting 01:42:23 3a2ae6a8a46f: Waiting 01:42:23 5c69ac0246d0: Verifying Checksum 01:42:23 5c69ac0246d0: Download complete 01:42:23 3a2ae6a8a46f: Download complete 01:42:23 33b1e0a273af: Verifying Checksum 01:42:23 33b1e0a273af: Download complete 01:42:23 ec43610c2a17: Verifying Checksum 01:42:23 ec43610c2a17: Download complete 01:42:23 5d3b04190fa2: Verifying Checksum 01:42:23 5d3b04190fa2: Download complete 01:42:23 5eb5b503b376: Verifying Checksum 01:42:23 5eb5b503b376: Download complete 01:42:24 2f39f015ded8: Download complete 01:42:24 5eb5b503b376: Pull complete 01:42:24 5c69ac0246d0: Pull complete 01:42:25 ec43610c2a17: Pull complete 01:42:25 3a2ae6a8a46f: Pull complete 01:42:25 33b1e0a273af: Pull complete 01:42:25 5d3b04190fa2: Pull complete 01:42:30 2f39f015ded8: Pull complete 01:42:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:42:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:42:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:30 prd-ubuntu20.04-docker-8c-8g-2622 does not seem to be running inside a container 01:42:30 $ 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-1178 -v /w/workspace/gexfoundry_device-sdk-go_PR-1178:/w/workspace/gexfoundry_device-sdk-go_PR-1178:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:42:32 $ docker top 500e2fbdfe30dc5aebec54296c3d94ba5b83d44f4e2e36a47e1d21fcf284c88d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:42:32 ---> job-cost.sh 01:42:32 lf-activate-venv: SKIPPING 01:42:32 INFO: No Stack... 01:42:32 INFO: Retrieving Pricing Info for: v3-standard-8 01:42:33 INFO: Archiving Costs [Pipeline] sh 01:42:33 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1178/archives/cost.csv 01:42:33 + cut -d, -f6 [Pipeline] lock 01:42:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] 01:42:33 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] did not exist. Created. 01:42:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:42:34 + echo total: 0.2199999988079071 [Pipeline] stash 01:42:34 Stashed 1 file(s) [Pipeline] } 01:42:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:42:34 $ docker stop --time=1 500e2fbdfe30dc5aebec54296c3d94ba5b83d44f4e2e36a47e1d21fcf284c88d 01:42:35 $ docker rm -f 500e2fbdfe30dc5aebec54296c3d94ba5b83d44f4e2e36a47e1d21fcf284c88d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:44:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2624 in /w/workspace/gexfoundry_device-sdk-go_PR-1178 [Pipeline] { [Pipeline] ws 01:44:24 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 01:44:24 The recommended git tool is: git 01:44:32 using credential edgex-jenkins-ssh 01:44:32 Cloning the remote Git repository 01:44:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:44:32 > git init /w/workspace/device-sdk-go/1 # timeout=10 01:44:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:44:32 > git --version # timeout=10 01:44:32 > git --version # 'git version 2.25.1' 01:44:32 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:35 Merging remotes/origin/main commit 37feea84d12508780716eef2708031ba6031fa53 into PR head commit 3d985db59cec7524d7fce56693a89314a3470d05 01:44:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:44:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:44:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:44:34 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1178/head:refs/remotes/origin/PR-1178 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:44:35 > git config core.sparsecheckout # timeout=10 01:44:35 > git checkout -f 3d985db59cec7524d7fce56693a89314a3470d05 # timeout=10 01:44:35 > git remote # timeout=10 01:44:35 > git config --get remote.origin.url # timeout=10 01:44:35 Merge succeeded, producing 3d985db59cec7524d7fce56693a89314a3470d05 01:44:35 Checking out Revision 3d985db59cec7524d7fce56693a89314a3470d05 (PR-1178) 01:44:35 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:35 > git merge 37feea84d12508780716eef2708031ba6031fa53 # timeout=10 01:44:35 > git rev-parse HEAD^{commit} # timeout=10 01:44:35 > git config core.sparsecheckout # timeout=10 01:44:35 > git checkout -f 3d985db59cec7524d7fce56693a89314a3470d05 # timeout=10 01:44:39 Commit message: "fix: ProvisionWatcher callbacks return BaseResponse, not 204 No Content." 01:44:39 > git --version # timeout=10 01:44:39 > git --version # 'git version 2.25.1' 01:44:39 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:44:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:44:41 % Total % Received % Xferd Average Speed Time Time Time Current 01:44:41 Dload Upload Total Spent Left Speed 01:44:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 68837 0 --:--:-- --:--:-- --:--:-- 68837 [Pipeline] sh 01:44:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:44:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:44:42 + sudo tee /etc/docker/daemon.new 01:44:42 { 01:44:42 "registry-mirrors": [ 01:44:42 "https://nexus3.edgexfoundry.org:10001" 01:44:42 ], 01:44:42 "bip": "10.250.0.254/24", 01:44:42 "hosts": [ 01:44:42 "tcp://0.0.0.0:5555", 01:44:42 "unix:///var/run/docker.sock" 01:44:42 ], 01:44:42 "mtu": 1458, 01:44:42 "selinux-enabled": true, 01:44:42 "seccomp-profile": "/etc/docker/seccomp.json" 01:44:42 } [Pipeline] sh 01:44:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:44:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:01 provisioning config files... 01:45:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7531330050754621107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:02 ---> docker-login.sh 01:45:02 nexus3.edgexfoundry.org:10001 01:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:02 Configure a credential helper to remove this warning. See 01:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:02 01:45:02 Login Succeeded 01:45:02 nexus3.edgexfoundry.org:10002 01:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:03 Configure a credential helper to remove this warning. See 01:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:03 01:45:03 Login Succeeded 01:45:03 nexus3.edgexfoundry.org:10003 01:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:03 Configure a credential helper to remove this warning. See 01:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:03 01:45:03 Login Succeeded 01:45:03 nexus3.edgexfoundry.org:10004 01:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:04 Configure a credential helper to remove this warning. See 01:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:04 01:45:04 Login Succeeded 01:45:04 docker.io 01:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:05 Configure a credential helper to remove this warning. See 01:45:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:05 01:45:05 Login Succeeded 01:45:05 ---> docker-login.sh ends [Pipeline] } 01:45:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:45:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:45:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:45:05 ========================================================= 01:45:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:45:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:06 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:45:06 Sending build context to Docker daemon 5.217MB 01:45:06 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 01:45:06 Step 2/11 : FROM ${BASE} AS builder 01:45:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:45:06 9b3977197b4f: Pulling fs layer 01:45:06 1a89e8eeedd5: Pulling fs layer 01:45:06 94645a83ff95: Pulling fs layer 01:45:06 e6fb740bc735: Pulling fs layer 01:45:06 3a77bd46dcc9: Pulling fs layer 01:45:06 355e64cbe906: Pulling fs layer 01:45:06 63ab81a10011: Pulling fs layer 01:45:06 555d1d1c4555: Pulling fs layer 01:45:06 7d9057610161: Pulling fs layer 01:45:06 355e64cbe906: Waiting 01:45:06 63ab81a10011: Waiting 01:45:06 555d1d1c4555: Waiting 01:45:06 7d9057610161: Waiting 01:45:06 3a77bd46dcc9: Waiting 01:45:06 94645a83ff95: Verifying Checksum 01:45:06 94645a83ff95: Download complete 01:45:06 1a89e8eeedd5: Verifying Checksum 01:45:06 1a89e8eeedd5: Download complete 01:45:06 3a77bd46dcc9: Verifying Checksum 01:45:06 3a77bd46dcc9: Download complete 01:45:07 9b3977197b4f: Download complete 01:45:07 355e64cbe906: Verifying Checksum 01:45:07 355e64cbe906: Download complete 01:45:07 63ab81a10011: Verifying Checksum 01:45:07 63ab81a10011: Download complete 01:45:08 9b3977197b4f: Pull complete 01:45:08 7d9057610161: Verifying Checksum 01:45:08 7d9057610161: Download complete 01:45:08 1a89e8eeedd5: Pull complete 01:45:09 94645a83ff95: Pull complete 01:45:09 555d1d1c4555: Verifying Checksum 01:45:09 555d1d1c4555: Download complete 01:45:09 e6fb740bc735: Verifying Checksum 01:45:09 e6fb740bc735: Download complete 01:45:22 e6fb740bc735: Pull complete 01:45:22 3a77bd46dcc9: Pull complete 01:45:22 355e64cbe906: Pull complete 01:45:22 63ab81a10011: Pull complete 01:45:29 555d1d1c4555: Pull complete 01:45:30 7d9057610161: Pull complete 01:45:30 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 01:45:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:45:30 ---> 819e984ddca1 01:45:30 Step 3/11 : ARG MAKE=make build 01:45:32 ---> Running in b04e7f231dec 01:45:32 Removing intermediate container b04e7f231dec 01:45:32 ---> fe0d2ec5961a 01:45:32 Step 4/11 : WORKDIR /device-sdk-go 01:45:32 ---> Running in 04dcf822cb31 01:45:32 Removing intermediate container 04dcf822cb31 01:45:32 ---> ad34fda71680 01:45:32 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:45:32 ---> Running in f8db79fb6e6d 01:45:33 Removing intermediate container f8db79fb6e6d 01:45:33 ---> dd9ae2a5a230 01:45:33 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:45:33 ---> Running in b91ac3553f65 01:45:35 Removing intermediate container b91ac3553f65 01:45:35 ---> e6a1ea99e524 01:45:35 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:45:35 ---> Running in b05038a03f67 01:45:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:45:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:45:38 OK: 220 MiB in 52 packages 01:45:39 Removing intermediate container b05038a03f67 01:45:39 ---> e09156033f56 01:45:39 Step 8/11 : COPY go.mod vendor* ./ 01:45:40 ---> 8def01417822 01:45:40 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:45:40 ---> Running in d2db48cbfde7 01:46:27 Removing intermediate container d2db48cbfde7 01:46:27 ---> 071c6acfac92 01:46:27 Step 10/11 : COPY . . 01:46:27 ---> 7239b72bbc7f 01:46:27 Step 11/11 : RUN ${MAKE} 01:46:27 ---> Running in 496938d2af52 01:46:27 noop 01:46:27 Removing intermediate container 496938d2af52 01:46:27 ---> 2a903c4755d7 01:46:27 Successfully built 2a903c4755d7 01:46:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:27 + docker inspect -f . ci-base-image-arm64 01:46:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:27 prd-ubuntu20.04-docker-arm64-4c-16g-2624 does not seem to be running inside a container 01:46:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:46:29 $ docker top 0cf8dd02332d8c96ee17ee5c429504e916513af90c1517dd149eee02e622df8c -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:30 + go version 01:46:30 go version go1.17.7 linux/arm64 [Pipeline] } 01:46:30 $ docker stop --time=1 0cf8dd02332d8c96ee17ee5c429504e916513af90c1517dd149eee02e622df8c 01:46:31 $ docker rm -f 0cf8dd02332d8c96ee17ee5c429504e916513af90c1517dd149eee02e622df8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:32 + docker inspect -f . ci-base-image-arm64 01:46:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:33 prd-ubuntu20.04-docker-arm64-4c-16g-2624 does not seem to be running inside a container 01:46:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:46:34 $ docker top b51b6e823f672b81e10483ace426e3074fb880a39d7917fd3c198645732809fe -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:46:35 + make test 01:46:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:47:07 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:48:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:48:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:48:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:48:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.394s coverage: 23.3% of statements 01:48:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:48:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.347s coverage: 27.6% of statements 01:48:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.289s coverage: 78.9% of statements 01:48:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.252s coverage: 10.8% of statements 01:48:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.335s coverage: 60.0% of statements 01:48:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:48:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:49:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.410s coverage: 34.8% of statements 01:49:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:49:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.286s coverage: 85.4% of statements 01:49:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:49:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:49:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.457s coverage: 65.1% of statements 01:49:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.375s coverage: 89.2% of statements 01:49:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:49:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.253s coverage: 4.7% of statements 01:49:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:49:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:49:08 GO111MODULE=on go vet ./... 01:50:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:50:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:50:30 ./bin/test-attribution-txt.sh [Pipeline] echo 01:50:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:50:31 $ docker stop --time=1 b51b6e823f672b81e10483ace426e3074fb880a39d7917fd3c198645732809fe 01:50:32 $ docker rm -f b51b6e823f672b81e10483ace426e3074fb880a39d7917fd3c198645732809fe [Pipeline] // withDockerContainer [Pipeline] sh 01:50:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:50:34 Warning: overwriting stash ‘coverage-report’ 01:50:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:50:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:50:35 + ls -al . 01:50:35 total 296 01:50:35 drwxrwxr-x 10 jenkins jenkins 4096 Jun 18 01:50 . 01:50:35 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 01:44 .. 01:50:35 -rw-rw-r-- 1 jenkins jenkins 140 Jun 18 01:44 .dockerignore 01:50:35 drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 01:44 .git 01:50:35 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 01:44 .github 01:50:35 -rw-rw-r-- 1 jenkins jenkins 131 Jun 18 01:44 .gitignore 01:50:35 -rw-rw-r-- 1 jenkins jenkins 42 Jun 18 01:44 .golangci.yml 01:50:35 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 18 01:44 CHANGELOG.md 01:50:35 -rw-rw-r-- 1 jenkins jenkins 677 Jun 18 01:44 GOVERNANCE.md 01:50:35 -rw-rw-r-- 1 jenkins jenkins 880 Jun 18 01:44 Jenkinsfile 01:50:35 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 18 01:44 LICENSE 01:50:35 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 18 01:44 Makefile 01:50:35 -rw-rw-r-- 1 jenkins jenkins 619 Jun 18 01:44 OWNERS.md 01:50:35 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 18 01:44 README.md 01:50:35 -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 01:40 VERSION 01:50:35 drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 01:44 bin 01:50:35 -rw-r--r-- 1 jenkins jenkins 131010 Jun 18 01:49 coverage.out 01:50:35 drwxrwxr-x 5 jenkins jenkins 4096 Jun 18 01:44 example 01:50:35 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 18 01:44 go.mod 01:50:35 -rw-rw-r-- 1 jenkins jenkins 34801 Jun 18 01:44 go.sum 01:50:35 drwxrwxr-x 15 jenkins jenkins 4096 Jun 18 01:44 internal 01:50:35 drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 01:44 openapi 01:50:35 drwxrwxr-x 5 jenkins jenkins 4096 Jun 18 01:44 pkg 01:50:35 drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 01:44 snap 01:50:35 -rw-rw-r-- 1 jenkins jenkins 222 Jun 18 01:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:36 + 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=3d985db59cec7524d7fce56693a89314a3470d05 --label arch=arm64 --label version=0.0.0 . 01:50:36 Sending build context to Docker daemon 5.348MB 01:50:36 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:50:36 Step 2/25 : FROM ${BASE} AS builder 01:50:36 ---> 2a903c4755d7 01:50:36 Step 3/25 : ARG MAKE=make build 01:50:36 ---> Running in 49938839d0af 01:50:37 Removing intermediate container 49938839d0af 01:50:37 ---> ec425cf7135a 01:50:37 Step 4/25 : WORKDIR /device-sdk-go 01:50:37 ---> Running in 8e4ab0392ff9 01:50:37 Removing intermediate container 8e4ab0392ff9 01:50:37 ---> a0685d12e3fc 01:50:37 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:50:37 ---> Running in ac49d093e886 01:50:37 Removing intermediate container ac49d093e886 01:50:37 ---> 80f6e586c1d8 01:50:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:50:37 ---> Running in f7b98f46ad29 01:50:39 Removing intermediate container f7b98f46ad29 01:50:39 ---> 3b0611c3c21e 01:50:39 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:50:39 ---> Running in 77977ec60176 01:50:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:50:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:50:42 OK: 220 MiB in 52 packages 01:50:43 Removing intermediate container 77977ec60176 01:50:43 ---> a6fc0125f5e9 01:50:43 Step 8/25 : COPY go.mod vendor* ./ 01:50:43 ---> b2ab20b03dd8 01:50:43 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:50:43 ---> Running in 3fbe7b3046c1 01:50:45 Removing intermediate container 3fbe7b3046c1 01:50:45 ---> 584f23583157 01:50:45 Step 10/25 : COPY . . 01:50:46 ---> c7626e6910f4 01:50:46 Step 11/25 : RUN ${MAKE} 01:50:46 ---> Running in 31bfe4afe3c4 01:50:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:52:39 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:52:46 Removing intermediate container 31bfe4afe3c4 01:52:46 ---> 5a8f8a46aac1 01:52:46 Step 12/25 : FROM alpine:3.14 01:52:46 3.14: Pulling from library/alpine 01:52:46 455c02918c45: Pulling fs layer 01:52:46 455c02918c45: Download complete 01:52:47 455c02918c45: Pull complete 01:52:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:52:47 Status: Downloaded newer image for alpine:3.14 01:52:47 ---> ac73e934f311 01:52:47 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:52:47 ---> Running in 7542b2c819e6 01:52:47 Removing intermediate container 7542b2c819e6 01:52:47 ---> 640a5e3ac1f9 01:52:47 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:52:47 ---> Running in a190647fc2dc 01:52:49 Removing intermediate container a190647fc2dc 01:52:49 ---> 1c8880794641 01:52:49 Step 15/25 : RUN apk add --update --no-cache zeromq 01:52:49 ---> Running in edcb7f4d7526 01:52:50 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:52:51 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:52:52 (1/5) Installing libgcc (10.3.1_git20210424-r2) 01:52:52 (2/5) Installing libsodium (1.0.18-r0) 01:52:52 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 01:52:52 (4/5) Installing libzmq (4.3.4-r0) 01:52:52 (5/5) Installing zeromq (4.3.4-r0) 01:52:52 Executing busybox-1.33.1-r7.trigger 01:52:52 OK: 8 MiB in 19 packages 01:52:53 Removing intermediate container edcb7f4d7526 01:52:53 ---> 3a154d34e47a 01:52:53 Step 16/25 : WORKDIR / 01:52:53 ---> Running in 4de90d8d0a9e 01:52:54 Removing intermediate container 4de90d8d0a9e 01:52:54 ---> f33fba33ba58 01:52:54 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:52:54 ---> bd8dd2ea2e81 01:52:54 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:52:56 ---> 51ce6aecda0b 01:52:56 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:52:56 ---> 4ded9cb615ea 01:52:56 Step 20/25 : EXPOSE 59999 01:52:56 ---> Running in b96971852e36 01:52:57 Removing intermediate container b96971852e36 01:52:57 ---> 944ebefe7ce2 01:52:57 Step 21/25 : ENTRYPOINT ["/device-simple"] 01:52:57 ---> Running in c63c706987c4 01:52:57 Removing intermediate container c63c706987c4 01:52:57 ---> c832681fd297 01:52:57 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:52:57 ---> Running in 50e8f93fe66d 01:52:57 Removing intermediate container 50e8f93fe66d 01:52:57 ---> 22350f3d31e1 01:52:57 Step 23/25 : LABEL arch=arm64 01:52:57 ---> Running in ad2817c95802 01:52:58 Removing intermediate container ad2817c95802 01:52:58 ---> 3cf57d7af02c 01:52:58 Step 24/25 : LABEL git_sha=3d985db59cec7524d7fce56693a89314a3470d05 01:52:58 ---> Running in c6996e9b7dde 01:52:58 Removing intermediate container c6996e9b7dde 01:52:58 ---> 7a10620b9b0a 01:52:58 Step 25/25 : LABEL version=0.0.0 01:52:58 ---> Running in 544953b75af5 01:52:59 Removing intermediate container 544953b75af5 01:52:59 ---> 89face725e73 01:52:59 [Warning] One or more build-args [ARCH] were not consumed 01:52:59 Successfully built 89face725e73 01:52:59 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:59 01:52:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:53:00 arm64: Pulling from edgex-lftools-log-publisher 01:53:00 8998bd30e6a1: Pulling fs layer 01:53:00 04944245beec: Pulling fs layer 01:53:00 699f458cf7ca: Pulling fs layer 01:53:00 765212b225bb: Pulling fs layer 01:53:00 f23df028b6ca: Pulling fs layer 01:53:00 d65c8cfc05b1: Pulling fs layer 01:53:00 2437ff75d9bd: Pulling fs layer 01:53:00 d65c8cfc05b1: Waiting 01:53:00 765212b225bb: Waiting 01:53:00 f23df028b6ca: Waiting 01:53:00 2437ff75d9bd: Waiting 01:53:00 04944245beec: Verifying Checksum 01:53:00 04944245beec: Download complete 01:53:00 765212b225bb: Verifying Checksum 01:53:00 765212b225bb: Download complete 01:53:00 f23df028b6ca: Download complete 01:53:00 d65c8cfc05b1: Verifying Checksum 01:53:00 d65c8cfc05b1: Download complete 01:53:00 699f458cf7ca: Verifying Checksum 01:53:00 699f458cf7ca: Download complete 01:53:01 8998bd30e6a1: Verifying Checksum 01:53:01 8998bd30e6a1: Download complete 01:53:03 2437ff75d9bd: Download complete 01:53:05 8998bd30e6a1: Pull complete 01:53:06 04944245beec: Pull complete 01:53:07 699f458cf7ca: Pull complete 01:53:08 765212b225bb: Pull complete 01:53:08 f23df028b6ca: Pull complete 01:53:08 d65c8cfc05b1: Pull complete 01:53:24 2437ff75d9bd: Pull complete 01:53:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:53:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:53:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:24 prd-ubuntu20.04-docker-arm64-4c-16g-2624 does not seem to be running inside a container 01:53:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:53:27 $ docker top 0cdf20538e5d2acf82236bd2ddfe2d7bffaca4bcac99ee59ba5916817b882f73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:28 ---> job-cost.sh 01:53:28 lf-activate-venv: SKIPPING 01:53:28 INFO: No Stack... 01:53:28 INFO: Retrieving Pricing Info for: v3-standard-4 01:53:29 INFO: Archiving Costs [Pipeline] sh 01:53:30 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 01:53:30 + cut -d, -f6 [Pipeline] lock 01:53:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] 01:53:30 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] did not exist. Created. 01:53:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:53:31 /w/workspace/device-sdk-go/1@tmp/durable-23a01e5f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:53:32 + echo total: 0.10999999940395355 [Pipeline] stash 01:53:32 Warning: overwriting stash ‘stack-cost’ 01:53:32 Stashed 1 file(s) [Pipeline] } 01:53:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:53:32 $ docker stop --time=1 0cdf20538e5d2acf82236bd2ddfe2d7bffaca4bcac99ee59ba5916817b882f73 01:53:34 $ docker rm -f 0cdf20538e5d2acf82236bd2ddfe2d7bffaca4bcac99ee59ba5916817b882f73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:53:35 provisioning config files... 01:53:35 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp/config146850040524679587tmp [Pipeline] { [Pipeline] sh 01:53:35 + set +x 01:53:35 + curl -s https://codecov.io/bash 01:53:35 + bash -s -- 01:53:35 01:53:35 _____ _ 01:53:35 / ____| | | 01:53:35 | | ___ __| | ___ ___ _____ __ 01:53:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:53:35 | |___| (_) | (_| | __/ (_| (_) \ V / 01:53:35 \_____\___/ \__,_|\___|\___\___/ \_/ 01:53:35 Bash-1.0.6 01:53:35 01:53:35 01:53:35 ==> git version 2.25.1 found 01:53:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:53:35 Release-Date: 2020-01-08 01:53:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:53:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:53:35 ==> Jenkins CI detected. 01:53:35 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1178 01:53:35 project root: . 01:53:35 --> token set from env 01:53:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:53:35 ==> Running gcov in . (disable via -X gcov) 01:53:35 ==> Python coveragepy not found 01:53:35 ==> Searching for coverage reports in: 01:53:35 + . 01:53:35 -> Found 1 reports 01:53:35 ==> Detecting git/mercurial file structure 01:53:35 ==> Reading reports 01:53:35 + ./coverage.out bytes=131010 01:53:35 ==> Appending adjustments 01:53:35 https://docs.codecov.io/docs/fixing-reports 01:53:35 + Found adjustments 01:53:35 ==> Gzipping contents 01:53:35 20K /tmp/codecov.UWm0la.gz 01:53:35 ==> Uploading reports 01:53:35 url: https://codecov.io 01:53:35 query: branch=PR-1178&commit=3d985db59cec7524d7fce56693a89314a3470d05&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1178%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1178&job=&cmd_args= 01:53:35 -> Pinging Codecov 01:53:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1178&commit=3d985db59cec7524d7fce56693a89314a3470d05&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1178%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1178&job=&cmd_args= 01:53:36 -> Uploading to 01:53:36 https://storage.googleapis.com/codecov/v4/raw/2022-06-18/7E55EF52A471D76F132DFD9A03CDDE97/3d985db59cec7524d7fce56693a89314a3470d05/998bc154-23f4-4e90-80fe-9fd8b958e00c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220618%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220618T015336Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e91c687f2f9e56e8bde58c535abd27485f8b60f4e19f7b9c51f409c64505dc3d 01:53:36 % Total % Received % Xferd Average Speed Time Time Time Current 01:53:36 Dload Upload Total Spent Left Speed 01:53:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16830 0 0 100 16830 0 75810 --:--:-- --:--:-- --:--:-- 75810 01:53:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3d985db59cec7524d7fce56693a89314a3470d05 [Pipeline] } 01:53:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:53:38 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1178/archives ] 01:53:38 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1178/archives 01:53:38 total 16 01:53:38 drwxr-xr-x 3 root root 4096 Jun 18 01:42 . 01:53:38 drwxrwxr-x 12 jenkins jenkins 4096 Jun 18 01:42 .. 01:53:38 drwxr-xr-x 2 root root 4096 Jun 18 01:42 cost 01:53:38 -rw-r--r-- 1 root root 85 Jun 18 01:42 cost.csv 01:53:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1178/archives 01:53:38 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1178/archives 01:53:38 total 16 01:53:38 drwxr-xr-x 3 jenkins jenkins 4096 Jun 18 01:42 . 01:53:38 drwxrwxr-x 12 jenkins jenkins 4096 Jun 18 01:42 .. 01:53:38 drwxr-xr-x 2 jenkins jenkins 4096 Jun 18 01:42 cost 01:53:38 -rw-r--r-- 1 jenkins jenkins 85 Jun 18 01:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:53:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:53:39 ---> package-listing.sh 01:53:39 ++ facter osfamily 01:53:39 ++ tr '[:upper:]' '[:lower:]' 01:53:39 + OS_FAMILY=debian 01:53:39 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1178 01:53:39 + START_PACKAGES=/tmp/packages_start.txt 01:53:39 + END_PACKAGES=/tmp/packages_end.txt 01:53:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:53:39 + PACKAGES=/tmp/packages_start.txt 01:53:39 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1178 ']' 01:53:39 + PACKAGES=/tmp/packages_end.txt 01:53:39 + case "${OS_FAMILY}" in 01:53:39 + dpkg -l 01:53:39 + grep '^ii' 01:53:39 + '[' -f /tmp/packages_start.txt ']' 01:53:39 + '[' -f /tmp/packages_end.txt ']' 01:53:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:53:39 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1178 ']' 01:53:39 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1178/archives/ 01:53:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1178/archives/ [Pipeline] echo 01:53:39 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-1178/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:53:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:53:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:40 prd-ubuntu20.04-docker-8c-8g-2622 does not seem to be running inside a container 01:53:40 $ 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-1178/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-1178 -v /w/workspace/gexfoundry_device-sdk-go_PR-1178:/w/workspace/gexfoundry_device-sdk-go_PR-1178:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:53:41 $ docker top 84c909fe3c6282f818d598b3c533911b760d2355c7841f4fba5360f96d1c7a97 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:41 + touch /tmp/pre-build-complete [Pipeline] sh 01:53:41 + mkdir -p /var/log/sysstat [Pipeline] sh 01:53:42 + ls /var/log/sa-host 01:53:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:42 provisioning config files... 01:53:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp/config6620776423034369705tmp [Pipeline] { [Pipeline] echo 01:53:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:53:42 ---> create-netrc.sh [Pipeline] } 01:53:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:53:43 ---> python-tools-install.sh [Pipeline] echo 01:53:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:53:43 ---> sudo-logs.sh 01:53:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:53:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:53:43 ---> job-cost.sh 01:53:43 lf-activate-venv: SKIPPING 01:53:43 DEBUG: total: 0.2199999988079071 01:53:43 INFO: Retrieving Stack Cost... 01:53:44 INFO: Retrieving Pricing Info for: v3-standard-8 01:53:45 INFO: Archiving Costs [Pipeline] echo 01:53:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:53:45 ---> logs-deploy.sh 01:53:45 lf-activate-venv: SKIPPING 01:53:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1178/1 01:53:45 INFO: archiving workspace using pattern(s): 01:53:46 Archives upload complete. 01:53:46 INFO: archiving logs to Nexus