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 [2022-06-18T01:40:10.670Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-18T01:40:10.843Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-18T01:40:10.938Z] ========================================================= [2022-06-18T01:40:10.938Z] EdgeX Global Pipelines Version Info [2022-06-18T01:40:10.938Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:40:11.812Z] ------------------- [2022-06-18T01:40:11.812Z] stable info: [2022-06-18T01:40:11.812Z] ------------------- [2022-06-18T01:40:11.812Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-18T01:40:11.812Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-18T01:40:11.812Z] Message: update stable to v1.0.234 [2022-06-18T01:40:12.387Z] ------------------- [2022-06-18T01:40:12.387Z] experimental info: [2022-06-18T01:40:12.387Z] ------------------- [2022-06-18T01:40:12.387Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-18T01:40:12.387Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-18T01:40:12.387Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-18T01:40:12.812Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-06-18T01:40:12.855Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-06-18T01:40:12.906Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-18T01:40:12.949Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-18T01:40:12.987Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-18T01:40:13.035Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-18T01:40:13.076Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-18T01:40:13.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-06-18T01:40:13.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-18T01:40:13.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-18T01:40:13.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-18T01:40:13.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-06-18T01:40:13.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-18T01:40:13.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-18T01:40:13.397Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-18T01:40:13.440Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-18T01:40:13.480Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-18T01:40:13.523Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-18T01:40:13.558Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-18T01:40:13.598Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-18T01:40:13.632Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-06-18T01:40:13.666Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-06-18T01:40:13.702Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-18T01:40:13.737Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-18T01:40:13.777Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-18T01:40:13.816Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-18T01:40:13.857Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-18T01:40:13.895Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1178 [Pipeline] echo [2022-06-18T01:40:13.934Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1178 [Pipeline] echo [2022-06-18T01:40:13.984Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1178 [Pipeline] echo [2022-06-18T01:40:14.026Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d985db59cec7524d7fce56693a89314a3470d05 [Pipeline] echo [2022-06-18T01:40:14.069Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d985db [Pipeline] echo [2022-06-18T01:40:14.111Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-18T01:40:14.233Z] provisioning config files... [2022-06-18T01:40:14.247Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp/config2600427155059774876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:40:14.608Z] ---> docker-login.sh [2022-06-18T01:40:14.608Z] nexus3.edgexfoundry.org:10001 [2022-06-18T01:40:14.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:40:14.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:40:14.870Z] Configure a credential helper to remove this warning. See [2022-06-18T01:40:14.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:40:14.870Z] [2022-06-18T01:40:14.870Z] Login Succeeded [2022-06-18T01:40:14.870Z] nexus3.edgexfoundry.org:10002 [2022-06-18T01:40:15.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:40:15.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:40:15.133Z] Configure a credential helper to remove this warning. See [2022-06-18T01:40:15.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:40:15.133Z] [2022-06-18T01:40:15.133Z] Login Succeeded [2022-06-18T01:40:15.133Z] nexus3.edgexfoundry.org:10003 [2022-06-18T01:40:15.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:40:15.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:40:15.397Z] Configure a credential helper to remove this warning. See [2022-06-18T01:40:15.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:40:15.397Z] [2022-06-18T01:40:15.397Z] Login Succeeded [2022-06-18T01:40:15.397Z] nexus3.edgexfoundry.org:10004 [2022-06-18T01:40:15.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:40:15.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:40:15.397Z] Configure a credential helper to remove this warning. See [2022-06-18T01:40:15.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:40:15.397Z] [2022-06-18T01:40:15.397Z] Login Succeeded [2022-06-18T01:40:15.397Z] docker.io [2022-06-18T01:40:15.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:40:15.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:40:15.980Z] Configure a credential helper to remove this warning. See [2022-06-18T01:40:15.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:40:15.980Z] [2022-06-18T01:40:15.980Z] Login Succeeded [2022-06-18T01:40:15.980Z] ---> docker-login.sh ends [Pipeline] } [2022-06-18T01:40:16.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-18T01:40:16.629Z] + git rev-list -1 --merges 3d985db59cec7524d7fce56693a89314a3470d05~1..3d985db59cec7524d7fce56693a89314a3470d05 [Pipeline] echo [2022-06-18T01:40:16.685Z] -----------> git rev-list -1 --merges 3d985db59cec7524d7fce56693a89314a3470d05~1..3d985db59cec7524d7fce56693a89314a3470d05 3d985db59cec7524d7fce56693a89314a3470d05 [false] [Pipeline] sh [2022-06-18T01:40:17.000Z] + git log --format=format:%s -1 3d985db59cec7524d7fce56693a89314a3470d05 [Pipeline] echo [2022-06-18T01:40:17.040Z] ========================================================= [2022-06-18T01:40:17.040Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-18T01:40:17.040Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-18T01:40:17.496Z] + git log --format=format:%s -1 3d985db59cec7524d7fce56693a89314a3470d05 [Pipeline] echo [2022-06-18T01:40:17.529Z] [semverPrep] GIT_COMMIT: 3d985db59cec7524d7fce56693a89314a3470d05, Commit Message: fix: ProvisionWatcher callbacks return BaseResponse, not 204 No Content. [Pipeline] echo [2022-06-18T01:40:17.560Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-18T01:40:18.001Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-18T01:40:18.001Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-18T01:40:18.001Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-18T01:40:18.001Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-18T01:40:18.001Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-18T01:40:18.001Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-18T01:40:18.001Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T01:40:18.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-18T01:40:18.505Z] [2022-06-18T01:40:18.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T01:40:18.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-18T01:40:18.888Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-18T01:40:18.888Z] 42c077c10790: Pulling fs layer [2022-06-18T01:40:18.888Z] f63e77b7563a: Pulling fs layer [2022-06-18T01:40:18.888Z] bd5fdadae976: Pulling fs layer [2022-06-18T01:40:18.888Z] 205491f53016: Pulling fs layer [2022-06-18T01:40:18.888Z] df18705c85c3: Pulling fs layer [2022-06-18T01:40:18.888Z] bdb3f477010e: Pulling fs layer [2022-06-18T01:40:18.888Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-18T01:40:18.888Z] 2c6e9b1d212d: Pulling fs layer [2022-06-18T01:40:18.888Z] bdb8f0575790: Pulling fs layer [2022-06-18T01:40:18.888Z] 205491f53016: Waiting [2022-06-18T01:40:18.888Z] 386e3cb2ff24: Pulling fs layer [2022-06-18T01:40:18.888Z] 2343380bae48: Pulling fs layer [2022-06-18T01:40:18.888Z] df18705c85c3: Waiting [2022-06-18T01:40:18.888Z] 2c6e9b1d212d: Waiting [2022-06-18T01:40:18.888Z] bdb8f0575790: Waiting [2022-06-18T01:40:18.888Z] 386e3cb2ff24: Waiting [2022-06-18T01:40:18.888Z] bdb3f477010e: Waiting [2022-06-18T01:40:18.888Z] 2343380bae48: Waiting [2022-06-18T01:40:18.888Z] c8a8fc8e1c8f: Waiting [2022-06-18T01:40:18.888Z] f63e77b7563a: Download complete [2022-06-18T01:40:18.888Z] 205491f53016: Verifying Checksum [2022-06-18T01:40:18.888Z] 205491f53016: Download complete [2022-06-18T01:40:19.149Z] bd5fdadae976: Verifying Checksum [2022-06-18T01:40:19.149Z] df18705c85c3: Verifying Checksum [2022-06-18T01:40:19.149Z] df18705c85c3: Download complete [2022-06-18T01:40:19.149Z] bdb3f477010e: Verifying Checksum [2022-06-18T01:40:19.149Z] bdb3f477010e: Download complete [2022-06-18T01:40:19.149Z] 2c6e9b1d212d: Download complete [2022-06-18T01:40:19.149Z] bdb8f0575790: Verifying Checksum [2022-06-18T01:40:19.149Z] bdb8f0575790: Download complete [2022-06-18T01:40:19.149Z] 386e3cb2ff24: Download complete [2022-06-18T01:40:19.149Z] 2343380bae48: Verifying Checksum [2022-06-18T01:40:19.149Z] 2343380bae48: Download complete [2022-06-18T01:40:19.149Z] 42c077c10790: Verifying Checksum [2022-06-18T01:40:19.149Z] 42c077c10790: Download complete [2022-06-18T01:40:19.409Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-18T01:40:19.409Z] c8a8fc8e1c8f: Download complete [2022-06-18T01:40:20.817Z] 42c077c10790: Pull complete [2022-06-18T01:40:20.817Z] f63e77b7563a: Pull complete [2022-06-18T01:40:21.078Z] bd5fdadae976: Pull complete [2022-06-18T01:40:21.339Z] 205491f53016: Pull complete [2022-06-18T01:40:21.598Z] df18705c85c3: Pull complete [2022-06-18T01:40:21.598Z] bdb3f477010e: Pull complete [2022-06-18T01:40:23.512Z] c8a8fc8e1c8f: Pull complete [2022-06-18T01:40:23.773Z] 2c6e9b1d212d: Pull complete [2022-06-18T01:40:23.773Z] bdb8f0575790: Pull complete [2022-06-18T01:40:24.035Z] 386e3cb2ff24: Pull complete [2022-06-18T01:40:24.035Z] 2343380bae48: Pull complete [2022-06-18T01:40:24.035Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-18T01:40:24.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-18T01:40:24.035Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T01:40:24.272Z] prd-ubuntu20.04-docker-8c-8g-2622 does not seem to be running inside a container [2022-06-18T01:40:24.311Z] $ 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 [2022-06-18T01:40:25.870Z] $ docker top 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 -eo pid,comm [2022-06-18T01:40:25.933Z] 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). [2022-06-18T01:40:25.933Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-18T01:40:26.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-18T01:40:26.055Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-18T01:40:26.193Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-18T01:40:26.201Z] $ docker exec 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 ssh-agent [2022-06-18T01:40:26.316Z] SSH_AUTH_SOCK=/tmp/ssh-YONWGYC1qOkU/agent.34 [2022-06-18T01:40:26.316Z] SSH_AGENT_PID=40 [2022-06-18T01:40:26.324Z] Running ssh-add (command line suppressed) [2022-06-18T01:40:26.445Z] 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) [2022-06-18T01:40:26.455Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-18T01:40:26.788Z] + git tag --points-at HEAD [Pipeline] } [2022-06-18T01:40:26.820Z] $ docker exec --env ******** --env ******** 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 ssh-agent -k [2022-06-18T01:40:26.930Z] unset SSH_AUTH_SOCK; [2022-06-18T01:40:26.930Z] unset SSH_AGENT_PID; [2022-06-18T01:40:26.931Z] echo Agent pid 40 killed; [2022-06-18T01:40:26.938Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-18T01:40:27.027Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-18T01:40:27.027Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-18T01:40:27.148Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-18T01:40:27.156Z] $ docker exec 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 ssh-agent [2022-06-18T01:40:27.279Z] SSH_AUTH_SOCK=/tmp/ssh-jN8IdINvAKet/agent.73 [2022-06-18T01:40:27.279Z] SSH_AGENT_PID=80 [2022-06-18T01:40:27.284Z] Running ssh-add (command line suppressed) [2022-06-18T01:40:27.408Z] 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) [2022-06-18T01:40:27.416Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-18T01:40:27.744Z] + git semver init [2022-06-18T01:40:28.008Z] 2022-06-18 01:40:27,971 [run_init] DEBUG init version:0.0.0 force:False [2022-06-18T01:40:28.008Z] 2022-06-18 01:40:27,972 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1178/.semver [2022-06-18T01:40:28.008Z] 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 [2022-06-18T01:40:28.009Z] 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) [2022-06-18T01:40:28.949Z] 2022-06-18 01:40:28,822 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1178/.git/info/exclude [2022-06-18T01:40:28.949Z] 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 [2022-06-18T01:40:28.949Z] 2022-06-18 01:40:28,823 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1178/.semver/PR-1178 [2022-06-18T01:40:28.949Z] 2022-06-18 01:40:28,828 [execute] INFO git cat-file --batch-check [2022-06-18T01:40:28.949Z] 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=) [2022-06-18T01:40:28.949Z] 2022-06-18 01:40:28,835 [execute] INFO git cat-file --batch [2022-06-18T01:40:28.949Z] 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=) [2022-06-18T01:40:28.949Z] 2022-06-18 01:40:28,840 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1178/.semver/PR-1178 [2022-06-18T01:40:28.949Z] 0.0.0 [Pipeline] } [2022-06-18T01:40:28.977Z] $ docker exec --env ******** --env ******** 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 ssh-agent -k [2022-06-18T01:40:29.097Z] unset SSH_AUTH_SOCK; [2022-06-18T01:40:29.098Z] unset SSH_AGENT_PID; [2022-06-18T01:40:29.098Z] echo Agent pid 80 killed; [2022-06-18T01:40:29.104Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-18T01:40:29.552Z] + git semver [Pipeline] } [2022-06-18T01:40:29.929Z] $ docker stop --time=1 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 [2022-06-18T01:40:31.265Z] $ docker rm -f 4ed9d05bd859a7f690ab16659bf0b6d1bc81b50cbf714622396ba23981def3c9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-18T01:40:31.686Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-18T01:40:32.020Z] Stashed 1 file(s) [Pipeline] echo [2022-06-18T01:40:32.037Z] [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 [2022-06-18T01:40:32.783Z] provisioning config files... [2022-06-18T01:40:32.794Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp/config2330436416961011516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:40:33.141Z] ---> docker-login.sh [2022-06-18T01:40:33.141Z] nexus3.edgexfoundry.org:10001 [2022-06-18T01:40:33.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:40:33.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:40:33.141Z] Configure a credential helper to remove this warning. See [2022-06-18T01:40:33.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:40:33.141Z] [2022-06-18T01:40:33.141Z] Login Succeeded [2022-06-18T01:40:33.141Z] nexus3.edgexfoundry.org:10002 [2022-06-18T01:40:33.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:40:33.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:40:33.402Z] Configure a credential helper to remove this warning. See [2022-06-18T01:40:33.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:40:33.402Z] [2022-06-18T01:40:33.402Z] Login Succeeded [2022-06-18T01:40:33.402Z] nexus3.edgexfoundry.org:10003 [2022-06-18T01:40:33.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:40:33.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:40:33.402Z] Configure a credential helper to remove this warning. See [2022-06-18T01:40:33.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:40:33.402Z] [2022-06-18T01:40:33.402Z] Login Succeeded [2022-06-18T01:40:33.402Z] nexus3.edgexfoundry.org:10004 [2022-06-18T01:40:33.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:40:33.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:40:33.667Z] Configure a credential helper to remove this warning. See [2022-06-18T01:40:33.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:40:33.667Z] [2022-06-18T01:40:33.667Z] Login Succeeded [2022-06-18T01:40:33.667Z] docker.io [2022-06-18T01:40:33.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:40:33.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:40:33.929Z] Configure a credential helper to remove this warning. See [2022-06-18T01:40:33.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:40:33.929Z] [2022-06-18T01:40:33.929Z] Login Succeeded [2022-06-18T01:40:33.929Z] ---> docker-login.sh ends [Pipeline] } [2022-06-18T01:40:33.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-18T01:40:34.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-18T01:40:34.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-18T01:40:34.217Z] ========================================================= [2022-06-18T01:40:34.217Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-18T01:40:34.217Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T01:40:34.682Z] + 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 . [2022-06-18T01:40:34.682Z] Sending build context to Docker daemon 9.735MB [2022-06-18T01:40:34.682Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-18T01:40:34.682Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-18T01:40:34.958Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-18T01:40:34.958Z] 59bf1c3509f3: Pulling fs layer [2022-06-18T01:40:34.958Z] 666ba61612fd: Pulling fs layer [2022-06-18T01:40:34.958Z] 8ed8ca486205: Pulling fs layer [2022-06-18T01:40:34.958Z] cc1cd167ecdc: Pulling fs layer [2022-06-18T01:40:34.958Z] c516ae0d96e1: Pulling fs layer [2022-06-18T01:40:34.958Z] cc1cd167ecdc: Waiting [2022-06-18T01:40:34.958Z] 684cea983483: Pulling fs layer [2022-06-18T01:40:34.958Z] dd3240ac7de5: Pulling fs layer [2022-06-18T01:40:34.958Z] b1e948a4e11c: Pulling fs layer [2022-06-18T01:40:34.958Z] c516ae0d96e1: Waiting [2022-06-18T01:40:34.958Z] 684cea983483: Waiting [2022-06-18T01:40:34.958Z] dd3240ac7de5: Waiting [2022-06-18T01:40:34.958Z] a8fd76ee1af6: Pulling fs layer [2022-06-18T01:40:34.958Z] b1e948a4e11c: Waiting [2022-06-18T01:40:34.958Z] 646ad004c059: Pulling fs layer [2022-06-18T01:40:34.958Z] a8fd76ee1af6: Waiting [2022-06-18T01:40:34.958Z] 8ed8ca486205: Verifying Checksum [2022-06-18T01:40:34.958Z] 8ed8ca486205: Download complete [2022-06-18T01:40:34.958Z] 666ba61612fd: Verifying Checksum [2022-06-18T01:40:34.958Z] 666ba61612fd: Download complete [2022-06-18T01:40:34.958Z] c516ae0d96e1: Verifying Checksum [2022-06-18T01:40:34.958Z] c516ae0d96e1: Download complete [2022-06-18T01:40:34.958Z] 684cea983483: Verifying Checksum [2022-06-18T01:40:34.958Z] 684cea983483: Download complete [2022-06-18T01:40:34.958Z] 59bf1c3509f3: Download complete [2022-06-18T01:40:34.958Z] dd3240ac7de5: Verifying Checksum [2022-06-18T01:40:34.958Z] dd3240ac7de5: Download complete [2022-06-18T01:40:34.958Z] b1e948a4e11c: Verifying Checksum [2022-06-18T01:40:34.958Z] b1e948a4e11c: Download complete [2022-06-18T01:40:34.958Z] 59bf1c3509f3: Pull complete [2022-06-18T01:40:35.236Z] 666ba61612fd: Pull complete [2022-06-18T01:40:35.236Z] 8ed8ca486205: Pull complete [2022-06-18T01:40:35.499Z] 646ad004c059: Verifying Checksum [2022-06-18T01:40:35.499Z] 646ad004c059: Download complete [2022-06-18T01:40:35.766Z] a8fd76ee1af6: Verifying Checksum [2022-06-18T01:40:35.766Z] a8fd76ee1af6: Download complete [2022-06-18T01:40:35.766Z] cc1cd167ecdc: Verifying Checksum [2022-06-18T01:40:35.766Z] cc1cd167ecdc: Download complete [2022-06-18T01:40:39.968Z] cc1cd167ecdc: Pull complete [2022-06-18T01:40:39.968Z] c516ae0d96e1: Pull complete [2022-06-18T01:40:39.968Z] 684cea983483: Pull complete [2022-06-18T01:40:39.968Z] dd3240ac7de5: Pull complete [2022-06-18T01:40:39.968Z] b1e948a4e11c: Pull complete [2022-06-18T01:40:42.509Z] a8fd76ee1af6: Pull complete [2022-06-18T01:40:42.774Z] 646ad004c059: Pull complete [2022-06-18T01:40:42.774Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-18T01:40:42.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-18T01:40:42.774Z] ---> 8f69c11f6b0c [2022-06-18T01:40:42.774Z] Step 3/11 : ARG MAKE=make build [2022-06-18T01:40:44.688Z] ---> Running in 17ab6ab094bb [2022-06-18T01:40:44.948Z] Removing intermediate container 17ab6ab094bb [2022-06-18T01:40:44.948Z] ---> d7eb6e175d2b [2022-06-18T01:40:44.948Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-18T01:40:44.948Z] ---> Running in 211b3c4123e3 [2022-06-18T01:40:44.948Z] Removing intermediate container 211b3c4123e3 [2022-06-18T01:40:44.948Z] ---> 0b9a6349d40b [2022-06-18T01:40:44.948Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-18T01:40:44.948Z] ---> Running in d11dcf3f4554 [2022-06-18T01:40:45.208Z] Removing intermediate container d11dcf3f4554 [2022-06-18T01:40:45.208Z] ---> f18043ed32f6 [2022-06-18T01:40:45.208Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-18T01:40:45.208Z] ---> Running in f8a79c2566a9 [2022-06-18T01:40:45.777Z] Removing intermediate container f8a79c2566a9 [2022-06-18T01:40:45.777Z] ---> d6d60753ae09 [2022-06-18T01:40:45.777Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-18T01:40:45.777Z] ---> Running in d192d6d4d051 [2022-06-18T01:40:46.037Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-18T01:40:46.986Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-18T01:40:47.245Z] OK: 221 MiB in 52 packages [2022-06-18T01:40:47.505Z] Removing intermediate container d192d6d4d051 [2022-06-18T01:40:47.505Z] ---> f9e84dac94c3 [2022-06-18T01:40:47.505Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-18T01:40:47.505Z] ---> ef577d8b7583 [2022-06-18T01:40:47.505Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-18T01:40:47.595Z] Still waiting to schedule task [2022-06-18T01:40:47.595Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-18T01:40:47.767Z] ---> Running in ba1e7b4f5336 [2022-06-18T01:41:05.904Z] Removing intermediate container ba1e7b4f5336 [2022-06-18T01:41:05.904Z] ---> 9916f17b5034 [2022-06-18T01:41:05.904Z] Step 10/11 : COPY . . [2022-06-18T01:41:06.172Z] ---> 248882efa5ef [2022-06-18T01:41:06.172Z] Step 11/11 : RUN ${MAKE} [2022-06-18T01:41:06.172Z] ---> Running in 482d61bdb369 [2022-06-18T01:41:06.440Z] noop [2022-06-18T01:41:07.017Z] Removing intermediate container 482d61bdb369 [2022-06-18T01:41:07.017Z] ---> 4f9d5a6fc73b [2022-06-18T01:41:07.017Z] Successfully built 4f9d5a6fc73b [2022-06-18T01:41:07.017Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T01:41:07.489Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-18T01:41:07.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T01:41:07.652Z] prd-ubuntu20.04-docker-8c-8g-2622 does not seem to be running inside a container [2022-06-18T01:41:07.728Z] $ 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 [2022-06-18T01:41:08.166Z] $ docker top e6760f960bc34f364cdd40610eaf35f7a8ddd9520b25422293a47ae3eced686c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-18T01:41:08.609Z] + go version [2022-06-18T01:41:08.609Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-18T01:41:08.640Z] $ docker stop --time=1 e6760f960bc34f364cdd40610eaf35f7a8ddd9520b25422293a47ae3eced686c [2022-06-18T01:41:09.956Z] $ 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 [2022-06-18T01:41:10.673Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-18T01:41:10.673Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T01:41:10.824Z] prd-ubuntu20.04-docker-8c-8g-2622 does not seem to be running inside a container [2022-06-18T01:41:10.865Z] $ 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 [2022-06-18T01:41:11.256Z] $ docker top f7bf6fb170254cc952c3f5829d13b94f717f3749014e5d99c7b39fe2b00e5cb0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-18T01:41:11.693Z] + make test [2022-06-18T01:41:11.694Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-18T01:41:16.973Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-18T01:41:29.182Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-18T01:41:29.182Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-18T01:41:29.182Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-18T01:41:29.182Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.097s coverage: 23.3% of statements [2022-06-18T01:41:29.182Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-18T01:41:29.182Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements [2022-06-18T01:41:29.182Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2022-06-18T01:41:29.182Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.076s coverage: 10.8% of statements [2022-06-18T01:41:29.182Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.088s coverage: 60.0% of statements [2022-06-18T01:41:29.182Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-18T01:41:29.182Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-18T01:41:29.182Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.070s coverage: 34.8% of statements [2022-06-18T01:41:29.182Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-18T01:41:29.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 85.4% of statements [2022-06-18T01:41:29.752Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-18T01:41:29.752Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-18T01:41:29.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.118s coverage: 65.1% of statements [2022-06-18T01:41:29.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.832s coverage: 89.2% of statements [2022-06-18T01:41:29.752Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-18T01:41:29.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-06-18T01:41:29.752Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-18T01:41:44.640Z] GO111MODULE=on go vet ./... [2022-06-18T01:41:47.183Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-18T01:41:47.184Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-18T01:41:47.184Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-18T01:41:47.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-18T01:41:47.819Z] $ docker stop --time=1 f7bf6fb170254cc952c3f5829d13b94f717f3749014e5d99c7b39fe2b00e5cb0 [2022-06-18T01:41:50.138Z] $ docker rm -f f7bf6fb170254cc952c3f5829d13b94f717f3749014e5d99c7b39fe2b00e5cb0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-18T01:41:50.692Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-18T01:41:50.774Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-18T01:41:51.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-18T01:41:51.772Z] + ls -al . [2022-06-18T01:41:51.772Z] total 300 [2022-06-18T01:41:51.772Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 18 01:41 . [2022-06-18T01:41:51.772Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 01:40 .. [2022-06-18T01:41:51.772Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 18 01:40 .dockerignore [2022-06-18T01:41:51.772Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 01:40 .git [2022-06-18T01:41:51.772Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 01:40 .github [2022-06-18T01:41:51.772Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 18 01:40 .gitignore [2022-06-18T01:41:51.772Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 18 01:40 .golangci.yml [2022-06-18T01:41:51.772Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 18 01:40 .semver [2022-06-18T01:41:51.772Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 18 01:40 CHANGELOG.md [2022-06-18T01:41:51.773Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 18 01:40 GOVERNANCE.md [2022-06-18T01:41:51.773Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 18 01:40 Jenkinsfile [2022-06-18T01:41:51.773Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 18 01:40 LICENSE [2022-06-18T01:41:51.773Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 18 01:40 Makefile [2022-06-18T01:41:51.773Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 18 01:40 OWNERS.md [2022-06-18T01:41:51.773Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 18 01:40 README.md [2022-06-18T01:41:51.773Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 01:40 VERSION [2022-06-18T01:41:51.773Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 01:40 bin [2022-06-18T01:41:51.773Z] -rw-r--r-- 1 jenkins jenkins 131011 Jun 18 01:41 coverage.out [2022-06-18T01:41:51.773Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 18 01:40 example [2022-06-18T01:41:51.773Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 18 01:40 go.mod [2022-06-18T01:41:51.773Z] -rw-rw-r-- 1 jenkins jenkins 34801 Jun 18 01:40 go.sum [2022-06-18T01:41:51.773Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 18 01:40 internal [2022-06-18T01:41:51.773Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 01:40 openapi [2022-06-18T01:41:51.773Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 18 01:40 pkg [2022-06-18T01:41:51.773Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 01:40 snap [2022-06-18T01:41:51.773Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 18 01:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T01:41:52.161Z] + 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 . [2022-06-18T01:41:52.161Z] Sending build context to Docker daemon 9.867MB [2022-06-18T01:41:52.161Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-18T01:41:52.161Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-18T01:41:52.161Z] ---> 4f9d5a6fc73b [2022-06-18T01:41:52.161Z] Step 3/25 : ARG MAKE=make build [2022-06-18T01:41:52.421Z] ---> Running in 917a0dd581de [2022-06-18T01:41:52.421Z] Removing intermediate container 917a0dd581de [2022-06-18T01:41:52.421Z] ---> 12ae331ccaf1 [2022-06-18T01:41:52.421Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-18T01:41:52.421Z] ---> Running in 028a671faf75 [2022-06-18T01:41:52.680Z] Removing intermediate container 028a671faf75 [2022-06-18T01:41:52.680Z] ---> 9bd8a05117df [2022-06-18T01:41:52.680Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-18T01:41:52.680Z] ---> Running in 2547d4d90e53 [2022-06-18T01:41:52.680Z] Removing intermediate container 2547d4d90e53 [2022-06-18T01:41:52.680Z] ---> b5550f37335a [2022-06-18T01:41:52.680Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-18T01:41:52.681Z] ---> Running in db74758a3e2a [2022-06-18T01:41:53.250Z] Removing intermediate container db74758a3e2a [2022-06-18T01:41:53.250Z] ---> a3f1d2d3a6a3 [2022-06-18T01:41:53.250Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-18T01:41:53.250Z] ---> Running in fe6c817a1457 [2022-06-18T01:41:53.513Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-18T01:41:54.453Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-18T01:41:54.715Z] OK: 221 MiB in 52 packages [2022-06-18T01:41:54.974Z] Removing intermediate container fe6c817a1457 [2022-06-18T01:41:54.974Z] ---> bada12fb4cd8 [2022-06-18T01:41:54.974Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-18T01:41:55.233Z] ---> 695437f80b8d [2022-06-18T01:41:55.233Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-18T01:41:55.233Z] ---> Running in 3ce607ef6022 [2022-06-18T01:41:55.801Z] Removing intermediate container 3ce607ef6022 [2022-06-18T01:41:55.801Z] ---> 8f23ced010df [2022-06-18T01:41:55.801Z] Step 10/25 : COPY . . [2022-06-18T01:41:56.369Z] ---> 14806d01414c [2022-06-18T01:41:56.369Z] Step 11/25 : RUN ${MAKE} [2022-06-18T01:41:56.369Z] ---> Running in 734055f80fc4 [2022-06-18T01:41:56.628Z] 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 [2022-06-18T01:42:14.722Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-18T01:42:16.104Z] Removing intermediate container 734055f80fc4 [2022-06-18T01:42:16.104Z] ---> 1bc773bbab02 [2022-06-18T01:42:16.104Z] Step 12/25 : FROM alpine:3.14 [2022-06-18T01:42:16.675Z] 3.14: Pulling from library/alpine [2022-06-18T01:42:16.675Z] 8663204ce13b: Pulling fs layer [2022-06-18T01:42:17.007Z] 8663204ce13b: Verifying Checksum [2022-06-18T01:42:17.007Z] 8663204ce13b: Download complete [2022-06-18T01:42:17.007Z] 8663204ce13b: Pull complete [2022-06-18T01:42:17.007Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-18T01:42:17.007Z] Status: Downloaded newer image for alpine:3.14 [2022-06-18T01:42:17.007Z] ---> e04c818066af [2022-06-18T01:42:17.007Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-18T01:42:17.268Z] ---> Running in e170f00fbbb5 [2022-06-18T01:42:17.268Z] Removing intermediate container e170f00fbbb5 [2022-06-18T01:42:17.268Z] ---> 25a4c6321954 [2022-06-18T01:42:17.268Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-18T01:42:17.268Z] ---> Running in b4fbc78b377c [2022-06-18T01:42:17.840Z] Removing intermediate container b4fbc78b377c [2022-06-18T01:42:17.840Z] ---> 79a0829791f5 [2022-06-18T01:42:17.840Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-18T01:42:17.840Z] ---> Running in 56a01683e9ac [2022-06-18T01:42:18.100Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-18T01:42:19.039Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-18T01:42:19.300Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-18T01:42:19.561Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-18T01:42:19.561Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-18T01:42:19.561Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-18T01:42:19.822Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-18T01:42:19.822Z] Executing busybox-1.33.1-r7.trigger [2022-06-18T01:42:19.822Z] OK: 8 MiB in 19 packages [2022-06-18T01:42:20.089Z] Removing intermediate container 56a01683e9ac [2022-06-18T01:42:20.089Z] ---> 824bd7f61068 [2022-06-18T01:42:20.089Z] Step 16/25 : WORKDIR / [2022-06-18T01:42:20.350Z] ---> Running in c1110116b570 [2022-06-18T01:42:20.350Z] Removing intermediate container c1110116b570 [2022-06-18T01:42:20.350Z] ---> 6a33549ac10b [2022-06-18T01:42:20.350Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-18T01:42:20.350Z] ---> 92be83fad9b0 [2022-06-18T01:42:20.350Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-18T01:42:21.293Z] ---> 9d56c968b9b9 [2022-06-18T01:42:21.293Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-18T01:42:21.293Z] ---> b07bc2ef8363 [2022-06-18T01:42:21.293Z] Step 20/25 : EXPOSE 59999 [2022-06-18T01:42:21.293Z] ---> Running in e8d58353a8ab [2022-06-18T01:42:21.293Z] Removing intermediate container e8d58353a8ab [2022-06-18T01:42:21.293Z] ---> 5f40efaee431 [2022-06-18T01:42:21.293Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-18T01:42:21.554Z] ---> Running in 556d044be2d3 [2022-06-18T01:42:21.554Z] Removing intermediate container 556d044be2d3 [2022-06-18T01:42:21.554Z] ---> 7f29cee8142f [2022-06-18T01:42:21.554Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-18T01:42:21.554Z] ---> Running in 1ccdbf9d2826 [2022-06-18T01:42:21.554Z] Removing intermediate container 1ccdbf9d2826 [2022-06-18T01:42:21.554Z] ---> 91dfa6e6fc78 [2022-06-18T01:42:21.554Z] Step 23/25 : LABEL arch=amd64 [2022-06-18T01:42:21.814Z] ---> Running in 34032ee33f2f [2022-06-18T01:42:21.814Z] Removing intermediate container 34032ee33f2f [2022-06-18T01:42:21.814Z] ---> 76a703d0cea4 [2022-06-18T01:42:21.814Z] Step 24/25 : LABEL git_sha=3d985db59cec7524d7fce56693a89314a3470d05 [2022-06-18T01:42:21.814Z] ---> Running in 85ba1921d19d [2022-06-18T01:42:21.814Z] Removing intermediate container 85ba1921d19d [2022-06-18T01:42:21.814Z] ---> 849c37c5286d [2022-06-18T01:42:21.814Z] Step 25/25 : LABEL version=0.0.0 [2022-06-18T01:42:22.074Z] ---> Running in 50e7ae608bbf [2022-06-18T01:42:22.074Z] Removing intermediate container 50e7ae608bbf [2022-06-18T01:42:22.074Z] ---> 709f799b24c8 [2022-06-18T01:42:22.074Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-18T01:42:22.074Z] Successfully built 709f799b24c8 [2022-06-18T01:42:22.074Z] 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 [2022-06-18T01:42:22.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-18T01:42:22.955Z] [2022-06-18T01:42:22.955Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T01:42:23.328Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-18T01:42:23.328Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-18T01:42:23.328Z] 5eb5b503b376: Pulling fs layer [2022-06-18T01:42:23.328Z] 5c69ac0246d0: Pulling fs layer [2022-06-18T01:42:23.328Z] ec43610c2a17: Pulling fs layer [2022-06-18T01:42:23.328Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-18T01:42:23.328Z] 33b1e0a273af: Pulling fs layer [2022-06-18T01:42:23.328Z] 5d3b04190fa2: Pulling fs layer [2022-06-18T01:42:23.328Z] 2f39f015ded8: Pulling fs layer [2022-06-18T01:42:23.328Z] 33b1e0a273af: Waiting [2022-06-18T01:42:23.328Z] 5d3b04190fa2: Waiting [2022-06-18T01:42:23.328Z] 2f39f015ded8: Waiting [2022-06-18T01:42:23.328Z] 3a2ae6a8a46f: Waiting [2022-06-18T01:42:23.328Z] 5c69ac0246d0: Verifying Checksum [2022-06-18T01:42:23.328Z] 5c69ac0246d0: Download complete [2022-06-18T01:42:23.328Z] 3a2ae6a8a46f: Download complete [2022-06-18T01:42:23.592Z] 33b1e0a273af: Verifying Checksum [2022-06-18T01:42:23.592Z] 33b1e0a273af: Download complete [2022-06-18T01:42:23.592Z] ec43610c2a17: Verifying Checksum [2022-06-18T01:42:23.592Z] ec43610c2a17: Download complete [2022-06-18T01:42:23.592Z] 5d3b04190fa2: Verifying Checksum [2022-06-18T01:42:23.592Z] 5d3b04190fa2: Download complete [2022-06-18T01:42:23.592Z] 5eb5b503b376: Verifying Checksum [2022-06-18T01:42:23.592Z] 5eb5b503b376: Download complete [2022-06-18T01:42:24.160Z] 2f39f015ded8: Download complete [2022-06-18T01:42:24.729Z] 5eb5b503b376: Pull complete [2022-06-18T01:42:24.988Z] 5c69ac0246d0: Pull complete [2022-06-18T01:42:25.556Z] ec43610c2a17: Pull complete [2022-06-18T01:42:25.556Z] 3a2ae6a8a46f: Pull complete [2022-06-18T01:42:25.814Z] 33b1e0a273af: Pull complete [2022-06-18T01:42:25.814Z] 5d3b04190fa2: Pull complete [2022-06-18T01:42:30.004Z] 2f39f015ded8: Pull complete [2022-06-18T01:42:30.004Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-18T01:42:30.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-18T01:42:30.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T01:42:30.214Z] prd-ubuntu20.04-docker-8c-8g-2622 does not seem to be running inside a container [2022-06-18T01:42:30.254Z] $ 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 [2022-06-18T01:42:32.126Z] $ docker top 500e2fbdfe30dc5aebec54296c3d94ba5b83d44f4e2e36a47e1d21fcf284c88d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:42:32.664Z] ---> job-cost.sh [2022-06-18T01:42:32.664Z] lf-activate-venv: SKIPPING [2022-06-18T01:42:32.664Z] INFO: No Stack... [2022-06-18T01:42:32.958Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-18T01:42:33.562Z] INFO: Archiving Costs [Pipeline] sh [2022-06-18T01:42:33.882Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1178/archives/cost.csv [2022-06-18T01:42:33.882Z] + cut -d, -f6 [Pipeline] lock [2022-06-18T01:42:33.921Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] [2022-06-18T01:42:33.926Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] did not exist. Created. [2022-06-18T01:42:33.926Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-18T01:42:34.318Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-18T01:42:34.371Z] Stashed 1 file(s) [Pipeline] } [2022-06-18T01:42:34.399Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-18T01:42:34.478Z] $ docker stop --time=1 500e2fbdfe30dc5aebec54296c3d94ba5b83d44f4e2e36a47e1d21fcf284c88d [2022-06-18T01:42:35.667Z] $ docker rm -f 500e2fbdfe30dc5aebec54296c3d94ba5b83d44f4e2e36a47e1d21fcf284c88d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-18T01:44:24.808Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2624 in /w/workspace/gexfoundry_device-sdk-go_PR-1178 [Pipeline] { [Pipeline] ws [2022-06-18T01:44:24.873Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-06-18T01:44:24.964Z] The recommended git tool is: git [2022-06-18T01:44:32.670Z] using credential edgex-jenkins-ssh [2022-06-18T01:44:32.691Z] Cloning the remote Git repository [2022-06-18T01:44:32.783Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-06-18T01:44:32.864Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-06-18T01:44:32.954Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-18T01:44:32.955Z] > git --version # timeout=10 [2022-06-18T01:44:32.992Z] > git --version # 'git version 2.25.1' [2022-06-18T01:44:32.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-18T01:44:33.080Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-18T01:44:35.319Z] Merging remotes/origin/main commit 37feea84d12508780716eef2708031ba6031fa53 into PR head commit 3d985db59cec7524d7fce56693a89314a3470d05 [2022-06-18T01:44:34.494Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-18T01:44:34.513Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-18T01:44:34.595Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-18T01:44:34.684Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-18T01:44:34.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-18T01:44:34.707Z] > 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 [2022-06-18T01:44:35.344Z] > git config core.sparsecheckout # timeout=10 [2022-06-18T01:44:35.366Z] > git checkout -f 3d985db59cec7524d7fce56693a89314a3470d05 # timeout=10 [2022-06-18T01:44:35.482Z] > git remote # timeout=10 [2022-06-18T01:44:35.500Z] > git config --get remote.origin.url # timeout=10 [2022-06-18T01:44:35.572Z] Merge succeeded, producing 3d985db59cec7524d7fce56693a89314a3470d05 [2022-06-18T01:44:35.573Z] Checking out Revision 3d985db59cec7524d7fce56693a89314a3470d05 (PR-1178) [2022-06-18T01:44:35.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-18T01:44:35.535Z] > git merge 37feea84d12508780716eef2708031ba6031fa53 # timeout=10 [2022-06-18T01:44:35.560Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-18T01:44:35.584Z] > git config core.sparsecheckout # timeout=10 [2022-06-18T01:44:35.598Z] > git checkout -f 3d985db59cec7524d7fce56693a89314a3470d05 # timeout=10 [2022-06-18T01:44:39.875Z] Commit message: "fix: ProvisionWatcher callbacks return BaseResponse, not 204 No Content." [2022-06-18T01:44:39.939Z] > git --version # timeout=10 [2022-06-18T01:44:39.951Z] > git --version # 'git version 2.25.1' [2022-06-18T01:44:39.970Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-18T01:44:41.092Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-18T01:44:41.092Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-18T01:44:41.092Z] Dload Upload Total Spent Left Speed [2022-06-18T01:44:41.092Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 68837 0 --:--:-- --:--:-- --:--:-- 68837 [Pipeline] sh [2022-06-18T01:44:42.166Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-18T01:44:42.531Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-18T01:44:42.532Z] + sudo tee /etc/docker/daemon.new [2022-06-18T01:44:42.532Z] { [2022-06-18T01:44:42.532Z] "registry-mirrors": [ [2022-06-18T01:44:42.532Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-18T01:44:42.532Z] ], [2022-06-18T01:44:42.532Z] "bip": "10.250.0.254/24", [2022-06-18T01:44:42.532Z] "hosts": [ [2022-06-18T01:44:42.532Z] "tcp://0.0.0.0:5555", [2022-06-18T01:44:42.532Z] "unix:///var/run/docker.sock" [2022-06-18T01:44:42.532Z] ], [2022-06-18T01:44:42.532Z] "mtu": 1458, [2022-06-18T01:44:42.532Z] "selinux-enabled": true, [2022-06-18T01:44:42.532Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-18T01:44:42.532Z] } [Pipeline] sh [2022-06-18T01:44:42.892Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-18T01:44:43.249Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-18T01:45:01.655Z] provisioning config files... [2022-06-18T01:45:01.683Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7531330050754621107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:45:02.082Z] ---> docker-login.sh [2022-06-18T01:45:02.082Z] nexus3.edgexfoundry.org:10001 [2022-06-18T01:45:02.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:45:02.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:45:02.956Z] Configure a credential helper to remove this warning. See [2022-06-18T01:45:02.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:45:02.956Z] [2022-06-18T01:45:02.956Z] Login Succeeded [2022-06-18T01:45:02.956Z] nexus3.edgexfoundry.org:10002 [2022-06-18T01:45:03.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:45:03.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:45:03.507Z] Configure a credential helper to remove this warning. See [2022-06-18T01:45:03.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:45:03.507Z] [2022-06-18T01:45:03.507Z] Login Succeeded [2022-06-18T01:45:03.507Z] nexus3.edgexfoundry.org:10003 [2022-06-18T01:45:03.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:45:03.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:45:03.784Z] Configure a credential helper to remove this warning. See [2022-06-18T01:45:03.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:45:03.784Z] [2022-06-18T01:45:03.784Z] Login Succeeded [2022-06-18T01:45:03.784Z] nexus3.edgexfoundry.org:10004 [2022-06-18T01:45:04.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:45:04.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:45:04.381Z] Configure a credential helper to remove this warning. See [2022-06-18T01:45:04.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:45:04.381Z] [2022-06-18T01:45:04.381Z] Login Succeeded [2022-06-18T01:45:04.381Z] docker.io [2022-06-18T01:45:04.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-18T01:45:05.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-18T01:45:05.244Z] Configure a credential helper to remove this warning. See [2022-06-18T01:45:05.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-18T01:45:05.244Z] [2022-06-18T01:45:05.244Z] Login Succeeded [2022-06-18T01:45:05.244Z] ---> docker-login.sh ends [Pipeline] } [2022-06-18T01:45:05.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-18T01:45:05.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-18T01:45:05.715Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-18T01:45:05.748Z] ========================================================= [2022-06-18T01:45:05.748Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-18T01:45:05.748Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T01:45:06.281Z] + 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 . [2022-06-18T01:45:06.561Z] Sending build context to Docker daemon 5.217MB [2022-06-18T01:45:06.845Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-18T01:45:06.845Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-18T01:45:06.845Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-18T01:45:06.845Z] 9b3977197b4f: Pulling fs layer [2022-06-18T01:45:06.845Z] 1a89e8eeedd5: Pulling fs layer [2022-06-18T01:45:06.845Z] 94645a83ff95: Pulling fs layer [2022-06-18T01:45:06.845Z] e6fb740bc735: Pulling fs layer [2022-06-18T01:45:06.845Z] 3a77bd46dcc9: Pulling fs layer [2022-06-18T01:45:06.845Z] 355e64cbe906: Pulling fs layer [2022-06-18T01:45:06.845Z] 63ab81a10011: Pulling fs layer [2022-06-18T01:45:06.845Z] 555d1d1c4555: Pulling fs layer [2022-06-18T01:45:06.845Z] 7d9057610161: Pulling fs layer [2022-06-18T01:45:06.845Z] 355e64cbe906: Waiting [2022-06-18T01:45:06.845Z] 63ab81a10011: Waiting [2022-06-18T01:45:06.845Z] 555d1d1c4555: Waiting [2022-06-18T01:45:06.845Z] 7d9057610161: Waiting [2022-06-18T01:45:06.845Z] 3a77bd46dcc9: Waiting [2022-06-18T01:45:06.845Z] 94645a83ff95: Verifying Checksum [2022-06-18T01:45:06.845Z] 94645a83ff95: Download complete [2022-06-18T01:45:06.845Z] 1a89e8eeedd5: Verifying Checksum [2022-06-18T01:45:06.845Z] 1a89e8eeedd5: Download complete [2022-06-18T01:45:06.845Z] 3a77bd46dcc9: Verifying Checksum [2022-06-18T01:45:06.845Z] 3a77bd46dcc9: Download complete [2022-06-18T01:45:07.126Z] 9b3977197b4f: Download complete [2022-06-18T01:45:07.126Z] 355e64cbe906: Verifying Checksum [2022-06-18T01:45:07.126Z] 355e64cbe906: Download complete [2022-06-18T01:45:07.126Z] 63ab81a10011: Verifying Checksum [2022-06-18T01:45:07.126Z] 63ab81a10011: Download complete [2022-06-18T01:45:08.137Z] 9b3977197b4f: Pull complete [2022-06-18T01:45:08.137Z] 7d9057610161: Verifying Checksum [2022-06-18T01:45:08.137Z] 7d9057610161: Download complete [2022-06-18T01:45:08.739Z] 1a89e8eeedd5: Pull complete [2022-06-18T01:45:09.013Z] 94645a83ff95: Pull complete [2022-06-18T01:45:09.289Z] 555d1d1c4555: Verifying Checksum [2022-06-18T01:45:09.289Z] 555d1d1c4555: Download complete [2022-06-18T01:45:09.886Z] e6fb740bc735: Verifying Checksum [2022-06-18T01:45:09.886Z] e6fb740bc735: Download complete [2022-06-18T01:45:22.297Z] e6fb740bc735: Pull complete [2022-06-18T01:45:22.297Z] 3a77bd46dcc9: Pull complete [2022-06-18T01:45:22.297Z] 355e64cbe906: Pull complete [2022-06-18T01:45:22.571Z] 63ab81a10011: Pull complete [2022-06-18T01:45:29.299Z] 555d1d1c4555: Pull complete [2022-06-18T01:45:30.735Z] 7d9057610161: Pull complete [2022-06-18T01:45:30.735Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-18T01:45:30.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-18T01:45:30.735Z] ---> 819e984ddca1 [2022-06-18T01:45:30.735Z] Step 3/11 : ARG MAKE=make build [2022-06-18T01:45:32.179Z] ---> Running in b04e7f231dec [2022-06-18T01:45:32.179Z] Removing intermediate container b04e7f231dec [2022-06-18T01:45:32.179Z] ---> fe0d2ec5961a [2022-06-18T01:45:32.179Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-18T01:45:32.179Z] ---> Running in 04dcf822cb31 [2022-06-18T01:45:32.460Z] Removing intermediate container 04dcf822cb31 [2022-06-18T01:45:32.460Z] ---> ad34fda71680 [2022-06-18T01:45:32.460Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-18T01:45:32.737Z] ---> Running in f8db79fb6e6d [2022-06-18T01:45:33.016Z] Removing intermediate container f8db79fb6e6d [2022-06-18T01:45:33.016Z] ---> dd9ae2a5a230 [2022-06-18T01:45:33.016Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-18T01:45:33.016Z] ---> Running in b91ac3553f65 [2022-06-18T01:45:35.659Z] Removing intermediate container b91ac3553f65 [2022-06-18T01:45:35.659Z] ---> e6a1ea99e524 [2022-06-18T01:45:35.659Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-18T01:45:35.935Z] ---> Running in b05038a03f67 [2022-06-18T01:45:36.915Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-18T01:45:37.895Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-18T01:45:38.489Z] OK: 220 MiB in 52 packages [2022-06-18T01:45:39.484Z] Removing intermediate container b05038a03f67 [2022-06-18T01:45:39.484Z] ---> e09156033f56 [2022-06-18T01:45:39.484Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-18T01:45:40.088Z] ---> 8def01417822 [2022-06-18T01:45:40.088Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-18T01:45:40.088Z] ---> Running in d2db48cbfde7 [2022-06-18T01:46:27.105Z] Removing intermediate container d2db48cbfde7 [2022-06-18T01:46:27.105Z] ---> 071c6acfac92 [2022-06-18T01:46:27.105Z] Step 10/11 : COPY . . [2022-06-18T01:46:27.105Z] ---> 7239b72bbc7f [2022-06-18T01:46:27.105Z] Step 11/11 : RUN ${MAKE} [2022-06-18T01:46:27.105Z] ---> Running in 496938d2af52 [2022-06-18T01:46:27.105Z] noop [2022-06-18T01:46:27.105Z] Removing intermediate container 496938d2af52 [2022-06-18T01:46:27.105Z] ---> 2a903c4755d7 [2022-06-18T01:46:27.105Z] Successfully built 2a903c4755d7 [2022-06-18T01:46:27.105Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T01:46:27.614Z] + docker inspect -f . ci-base-image-arm64 [2022-06-18T01:46:27.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T01:46:27.915Z] prd-ubuntu20.04-docker-arm64-4c-16g-2624 does not seem to be running inside a container [2022-06-18T01:46:28.000Z] $ 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 [2022-06-18T01:46:29.264Z] $ docker top 0cf8dd02332d8c96ee17ee5c429504e916513af90c1517dd149eee02e622df8c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-18T01:46:30.231Z] + go version [2022-06-18T01:46:30.231Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-18T01:46:30.269Z] $ docker stop --time=1 0cf8dd02332d8c96ee17ee5c429504e916513af90c1517dd149eee02e622df8c [2022-06-18T01:46:31.860Z] $ 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 [2022-06-18T01:46:32.755Z] + docker inspect -f . ci-base-image-arm64 [2022-06-18T01:46:32.756Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T01:46:33.050Z] prd-ubuntu20.04-docker-arm64-4c-16g-2624 does not seem to be running inside a container [2022-06-18T01:46:33.129Z] $ 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 [2022-06-18T01:46:34.440Z] $ docker top b51b6e823f672b81e10483ace426e3074fb880a39d7917fd3c198645732809fe -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-18T01:46:35.434Z] + make test [2022-06-18T01:46:35.434Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-18T01:47:07.782Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-18T01:48:44.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-18T01:48:44.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-18T01:48:44.615Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-18T01:48:48.942Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.394s coverage: 23.3% of statements [2022-06-18T01:48:48.942Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-18T01:48:49.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.347s coverage: 27.6% of statements [2022-06-18T01:48:50.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.289s coverage: 78.9% of statements [2022-06-18T01:48:51.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.252s coverage: 10.8% of statements [2022-06-18T01:48:56.576Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.335s coverage: 60.0% of statements [2022-06-18T01:48:56.576Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-18T01:48:56.576Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-18T01:49:00.924Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.410s coverage: 34.8% of statements [2022-06-18T01:49:00.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-18T01:49:00.924Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.286s coverage: 85.4% of statements [2022-06-18T01:49:00.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-18T01:49:00.924Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-18T01:49:01.920Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.457s coverage: 65.1% of statements [2022-06-18T01:49:04.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.375s coverage: 89.2% of statements [2022-06-18T01:49:04.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-18T01:49:07.952Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.253s coverage: 4.7% of statements [2022-06-18T01:49:07.952Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-18T01:49:08.226Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-18T01:49:08.226Z] GO111MODULE=on go vet ./... [2022-06-18T01:50:30.087Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-18T01:50:30.087Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-18T01:50:30.087Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-18T01:50:31.111Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-18T01:50:31.143Z] $ docker stop --time=1 b51b6e823f672b81e10483ace426e3074fb880a39d7917fd3c198645732809fe [2022-06-18T01:50:32.941Z] $ docker rm -f b51b6e823f672b81e10483ace426e3074fb880a39d7917fd3c198645732809fe [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-18T01:50:34.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-18T01:50:34.357Z] Warning: overwriting stash ‘coverage-report’ [2022-06-18T01:50:34.961Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-18T01:50:35.545Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-18T01:50:35.896Z] + ls -al . [2022-06-18T01:50:35.896Z] total 296 [2022-06-18T01:50:35.896Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 18 01:50 . [2022-06-18T01:50:35.896Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 01:44 .. [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 18 01:44 .dockerignore [2022-06-18T01:50:35.896Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 18 01:44 .git [2022-06-18T01:50:35.896Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 01:44 .github [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 18 01:44 .gitignore [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 18 01:44 .golangci.yml [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 18 01:44 CHANGELOG.md [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 18 01:44 GOVERNANCE.md [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 18 01:44 Jenkinsfile [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 18 01:44 LICENSE [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 18 01:44 Makefile [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 18 01:44 OWNERS.md [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 18 01:44 README.md [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 18 01:40 VERSION [2022-06-18T01:50:35.896Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 18 01:44 bin [2022-06-18T01:50:35.896Z] -rw-r--r-- 1 jenkins jenkins 131010 Jun 18 01:49 coverage.out [2022-06-18T01:50:35.896Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 18 01:44 example [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 18 01:44 go.mod [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 34801 Jun 18 01:44 go.sum [2022-06-18T01:50:35.896Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 18 01:44 internal [2022-06-18T01:50:35.896Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 18 01:44 openapi [2022-06-18T01:50:35.896Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 18 01:44 pkg [2022-06-18T01:50:35.896Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 18 01:44 snap [2022-06-18T01:50:35.896Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 18 01:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T01:50:36.330Z] + 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 . [2022-06-18T01:50:36.604Z] Sending build context to Docker daemon 5.348MB [2022-06-18T01:50:36.604Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-18T01:50:36.604Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-18T01:50:36.604Z] ---> 2a903c4755d7 [2022-06-18T01:50:36.604Z] Step 3/25 : ARG MAKE=make build [2022-06-18T01:50:36.892Z] ---> Running in 49938839d0af [2022-06-18T01:50:37.169Z] Removing intermediate container 49938839d0af [2022-06-18T01:50:37.169Z] ---> ec425cf7135a [2022-06-18T01:50:37.169Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-18T01:50:37.169Z] ---> Running in 8e4ab0392ff9 [2022-06-18T01:50:37.444Z] Removing intermediate container 8e4ab0392ff9 [2022-06-18T01:50:37.444Z] ---> a0685d12e3fc [2022-06-18T01:50:37.444Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-18T01:50:37.725Z] ---> Running in ac49d093e886 [2022-06-18T01:50:37.998Z] Removing intermediate container ac49d093e886 [2022-06-18T01:50:37.998Z] ---> 80f6e586c1d8 [2022-06-18T01:50:37.998Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-18T01:50:37.998Z] ---> Running in f7b98f46ad29 [2022-06-18T01:50:39.972Z] Removing intermediate container f7b98f46ad29 [2022-06-18T01:50:39.972Z] ---> 3b0611c3c21e [2022-06-18T01:50:39.972Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-18T01:50:39.972Z] ---> Running in 77977ec60176 [2022-06-18T01:50:40.574Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-18T01:50:41.556Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-18T01:50:42.534Z] OK: 220 MiB in 52 packages [2022-06-18T01:50:43.130Z] Removing intermediate container 77977ec60176 [2022-06-18T01:50:43.130Z] ---> a6fc0125f5e9 [2022-06-18T01:50:43.130Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-18T01:50:43.729Z] ---> b2ab20b03dd8 [2022-06-18T01:50:43.729Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-18T01:50:43.729Z] ---> Running in 3fbe7b3046c1 [2022-06-18T01:50:45.706Z] Removing intermediate container 3fbe7b3046c1 [2022-06-18T01:50:45.706Z] ---> 584f23583157 [2022-06-18T01:50:45.706Z] Step 10/25 : COPY . . [2022-06-18T01:50:46.689Z] ---> c7626e6910f4 [2022-06-18T01:50:46.689Z] Step 11/25 : RUN ${MAKE} [2022-06-18T01:50:46.689Z] ---> Running in 31bfe4afe3c4 [2022-06-18T01:50:47.680Z] 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 [2022-06-18T01:52:39.540Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-18T01:52:46.271Z] Removing intermediate container 31bfe4afe3c4 [2022-06-18T01:52:46.271Z] ---> 5a8f8a46aac1 [2022-06-18T01:52:46.271Z] Step 12/25 : FROM alpine:3.14 [2022-06-18T01:52:46.271Z] 3.14: Pulling from library/alpine [2022-06-18T01:52:46.271Z] 455c02918c45: Pulling fs layer [2022-06-18T01:52:46.543Z] 455c02918c45: Download complete [2022-06-18T01:52:47.138Z] 455c02918c45: Pull complete [2022-06-18T01:52:47.138Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-18T01:52:47.138Z] Status: Downloaded newer image for alpine:3.14 [2022-06-18T01:52:47.138Z] ---> ac73e934f311 [2022-06-18T01:52:47.138Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-18T01:52:47.138Z] ---> Running in 7542b2c819e6 [2022-06-18T01:52:47.412Z] Removing intermediate container 7542b2c819e6 [2022-06-18T01:52:47.412Z] ---> 640a5e3ac1f9 [2022-06-18T01:52:47.412Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-18T01:52:47.412Z] ---> Running in a190647fc2dc [2022-06-18T01:52:49.392Z] Removing intermediate container a190647fc2dc [2022-06-18T01:52:49.392Z] ---> 1c8880794641 [2022-06-18T01:52:49.392Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-18T01:52:49.392Z] ---> Running in edcb7f4d7526 [2022-06-18T01:52:50.373Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-18T01:52:51.357Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-18T01:52:52.342Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-18T01:52:52.343Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-18T01:52:52.343Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-18T01:52:52.619Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-18T01:52:52.619Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-18T01:52:52.619Z] Executing busybox-1.33.1-r7.trigger [2022-06-18T01:52:52.619Z] OK: 8 MiB in 19 packages [2022-06-18T01:52:53.608Z] Removing intermediate container edcb7f4d7526 [2022-06-18T01:52:53.608Z] ---> 3a154d34e47a [2022-06-18T01:52:53.608Z] Step 16/25 : WORKDIR / [2022-06-18T01:52:53.608Z] ---> Running in 4de90d8d0a9e [2022-06-18T01:52:54.216Z] Removing intermediate container 4de90d8d0a9e [2022-06-18T01:52:54.216Z] ---> f33fba33ba58 [2022-06-18T01:52:54.216Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-18T01:52:54.492Z] ---> bd8dd2ea2e81 [2022-06-18T01:52:54.492Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-18T01:52:56.489Z] ---> 51ce6aecda0b [2022-06-18T01:52:56.489Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-18T01:52:56.762Z] ---> 4ded9cb615ea [2022-06-18T01:52:56.763Z] Step 20/25 : EXPOSE 59999 [2022-06-18T01:52:56.763Z] ---> Running in b96971852e36 [2022-06-18T01:52:57.361Z] Removing intermediate container b96971852e36 [2022-06-18T01:52:57.361Z] ---> 944ebefe7ce2 [2022-06-18T01:52:57.361Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-18T01:52:57.361Z] ---> Running in c63c706987c4 [2022-06-18T01:52:57.636Z] Removing intermediate container c63c706987c4 [2022-06-18T01:52:57.636Z] ---> c832681fd297 [2022-06-18T01:52:57.636Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-18T01:52:57.636Z] ---> Running in 50e8f93fe66d [2022-06-18T01:52:57.912Z] Removing intermediate container 50e8f93fe66d [2022-06-18T01:52:57.912Z] ---> 22350f3d31e1 [2022-06-18T01:52:57.912Z] Step 23/25 : LABEL arch=arm64 [2022-06-18T01:52:57.912Z] ---> Running in ad2817c95802 [2022-06-18T01:52:58.188Z] Removing intermediate container ad2817c95802 [2022-06-18T01:52:58.188Z] ---> 3cf57d7af02c [2022-06-18T01:52:58.188Z] Step 24/25 : LABEL git_sha=3d985db59cec7524d7fce56693a89314a3470d05 [2022-06-18T01:52:58.474Z] ---> Running in c6996e9b7dde [2022-06-18T01:52:58.750Z] Removing intermediate container c6996e9b7dde [2022-06-18T01:52:58.750Z] ---> 7a10620b9b0a [2022-06-18T01:52:58.750Z] Step 25/25 : LABEL version=0.0.0 [2022-06-18T01:52:58.750Z] ---> Running in 544953b75af5 [2022-06-18T01:52:59.024Z] Removing intermediate container 544953b75af5 [2022-06-18T01:52:59.024Z] ---> 89face725e73 [2022-06-18T01:52:59.024Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-18T01:52:59.024Z] Successfully built 89face725e73 [2022-06-18T01:52:59.024Z] 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 [2022-06-18T01:52:59.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-18T01:52:59.853Z] [2022-06-18T01:52:59.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T01:53:00.274Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-18T01:53:00.553Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-18T01:53:00.553Z] 8998bd30e6a1: Pulling fs layer [2022-06-18T01:53:00.553Z] 04944245beec: Pulling fs layer [2022-06-18T01:53:00.553Z] 699f458cf7ca: Pulling fs layer [2022-06-18T01:53:00.553Z] 765212b225bb: Pulling fs layer [2022-06-18T01:53:00.553Z] f23df028b6ca: Pulling fs layer [2022-06-18T01:53:00.553Z] d65c8cfc05b1: Pulling fs layer [2022-06-18T01:53:00.553Z] 2437ff75d9bd: Pulling fs layer [2022-06-18T01:53:00.553Z] d65c8cfc05b1: Waiting [2022-06-18T01:53:00.553Z] 765212b225bb: Waiting [2022-06-18T01:53:00.553Z] f23df028b6ca: Waiting [2022-06-18T01:53:00.553Z] 2437ff75d9bd: Waiting [2022-06-18T01:53:00.553Z] 04944245beec: Verifying Checksum [2022-06-18T01:53:00.553Z] 04944245beec: Download complete [2022-06-18T01:53:00.553Z] 765212b225bb: Verifying Checksum [2022-06-18T01:53:00.553Z] 765212b225bb: Download complete [2022-06-18T01:53:00.553Z] f23df028b6ca: Download complete [2022-06-18T01:53:00.553Z] d65c8cfc05b1: Verifying Checksum [2022-06-18T01:53:00.553Z] d65c8cfc05b1: Download complete [2022-06-18T01:53:00.830Z] 699f458cf7ca: Verifying Checksum [2022-06-18T01:53:00.830Z] 699f458cf7ca: Download complete [2022-06-18T01:53:01.106Z] 8998bd30e6a1: Verifying Checksum [2022-06-18T01:53:01.106Z] 8998bd30e6a1: Download complete [2022-06-18T01:53:03.739Z] 2437ff75d9bd: Download complete [2022-06-18T01:53:05.718Z] 8998bd30e6a1: Pull complete [2022-06-18T01:53:06.314Z] 04944245beec: Pull complete [2022-06-18T01:53:07.754Z] 699f458cf7ca: Pull complete [2022-06-18T01:53:08.028Z] 765212b225bb: Pull complete [2022-06-18T01:53:08.629Z] f23df028b6ca: Pull complete [2022-06-18T01:53:08.902Z] d65c8cfc05b1: Pull complete [2022-06-18T01:53:24.010Z] 2437ff75d9bd: Pull complete [2022-06-18T01:53:24.010Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-18T01:53:24.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-18T01:53:24.010Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T01:53:24.395Z] prd-ubuntu20.04-docker-arm64-4c-16g-2624 does not seem to be running inside a container [2022-06-18T01:53:24.490Z] $ 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 [2022-06-18T01:53:27.265Z] $ docker top 0cdf20538e5d2acf82236bd2ddfe2d7bffaca4bcac99ee59ba5916817b882f73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:53:28.280Z] ---> job-cost.sh [2022-06-18T01:53:28.280Z] lf-activate-venv: SKIPPING [2022-06-18T01:53:28.280Z] INFO: No Stack... [2022-06-18T01:53:28.879Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-18T01:53:29.858Z] INFO: Archiving Costs [Pipeline] sh [2022-06-18T01:53:30.552Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-06-18T01:53:30.552Z] + cut -d, -f6 [Pipeline] lock [2022-06-18T01:53:30.634Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] [2022-06-18T01:53:30.639Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] did not exist. Created. [2022-06-18T01:53:30.639Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-18T01:53:31.443Z] /w/workspace/device-sdk-go/1@tmp/durable-23a01e5f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-18T01:53:32.199Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-18T01:53:32.237Z] Warning: overwriting stash ‘stack-cost’ [2022-06-18T01:53:32.329Z] Stashed 1 file(s) [Pipeline] } [2022-06-18T01:53:32.343Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1178-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-18T01:53:32.424Z] $ docker stop --time=1 0cdf20538e5d2acf82236bd2ddfe2d7bffaca4bcac99ee59ba5916817b882f73 [2022-06-18T01:53:34.058Z] $ 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 [2022-06-18T01:53:35.107Z] provisioning config files... [2022-06-18T01:53:35.116Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp/config146850040524679587tmp [Pipeline] { [Pipeline] sh [2022-06-18T01:53:35.449Z] + set +x [2022-06-18T01:53:35.449Z] + curl -s https://codecov.io/bash [2022-06-18T01:53:35.449Z] + bash -s -- [2022-06-18T01:53:35.449Z] [2022-06-18T01:53:35.449Z] _____ _ [2022-06-18T01:53:35.449Z] / ____| | | [2022-06-18T01:53:35.449Z] | | ___ __| | ___ ___ _____ __ [2022-06-18T01:53:35.449Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-18T01:53:35.449Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-18T01:53:35.449Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-18T01:53:35.449Z] Bash-1.0.6 [2022-06-18T01:53:35.449Z] [2022-06-18T01:53:35.449Z] [2022-06-18T01:53:35.449Z] ==> git version 2.25.1 found [2022-06-18T01:53:35.449Z] ==> 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 [2022-06-18T01:53:35.449Z] Release-Date: 2020-01-08 [2022-06-18T01:53:35.449Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-18T01:53:35.449Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-18T01:53:35.449Z] ==> Jenkins CI detected. [2022-06-18T01:53:35.449Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1178 [2022-06-18T01:53:35.449Z] project root: . [2022-06-18T01:53:35.449Z] --> token set from env [2022-06-18T01:53:35.449Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-18T01:53:35.449Z] ==> Running gcov in . (disable via -X gcov) [2022-06-18T01:53:35.449Z] ==> Python coveragepy not found [2022-06-18T01:53:35.449Z] ==> Searching for coverage reports in: [2022-06-18T01:53:35.449Z] + . [2022-06-18T01:53:35.449Z] -> Found 1 reports [2022-06-18T01:53:35.449Z] ==> Detecting git/mercurial file structure [2022-06-18T01:53:35.710Z] ==> Reading reports [2022-06-18T01:53:35.710Z] + ./coverage.out bytes=131010 [2022-06-18T01:53:35.710Z] ==> Appending adjustments [2022-06-18T01:53:35.710Z] https://docs.codecov.io/docs/fixing-reports [2022-06-18T01:53:35.970Z] + Found adjustments [2022-06-18T01:53:35.970Z] ==> Gzipping contents [2022-06-18T01:53:35.970Z] 20K /tmp/codecov.UWm0la.gz [2022-06-18T01:53:35.970Z] ==> Uploading reports [2022-06-18T01:53:35.970Z] url: https://codecov.io [2022-06-18T01:53:35.971Z] 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= [2022-06-18T01:53:35.971Z] -> Pinging Codecov [2022-06-18T01:53:35.971Z] 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= [2022-06-18T01:53:36.231Z] -> Uploading to [2022-06-18T01:53:36.231Z] 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 [2022-06-18T01:53:36.231Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-18T01:53:36.231Z] Dload Upload Total Spent Left Speed [2022-06-18T01:53:36.491Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16830 0 0 100 16830 0 75810 --:--:-- --:--:-- --:--:-- 75810 [2022-06-18T01:53:36.491Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3d985db59cec7524d7fce56693a89314a3470d05 [Pipeline] } [2022-06-18T01:53:36.517Z] 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 [2022-06-18T01:53:38.254Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1178/archives ] [2022-06-18T01:53:38.254Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1178/archives [2022-06-18T01:53:38.254Z] total 16 [2022-06-18T01:53:38.254Z] drwxr-xr-x 3 root root 4096 Jun 18 01:42 . [2022-06-18T01:53:38.254Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 18 01:42 .. [2022-06-18T01:53:38.254Z] drwxr-xr-x 2 root root 4096 Jun 18 01:42 cost [2022-06-18T01:53:38.254Z] -rw-r--r-- 1 root root 85 Jun 18 01:42 cost.csv [2022-06-18T01:53:38.254Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1178/archives [2022-06-18T01:53:38.254Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1178/archives [2022-06-18T01:53:38.254Z] total 16 [2022-06-18T01:53:38.254Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 18 01:42 . [2022-06-18T01:53:38.254Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 18 01:42 .. [2022-06-18T01:53:38.254Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 18 01:42 cost [2022-06-18T01:53:38.254Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 18 01:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:53:38.579Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:53:39.470Z] ---> package-listing.sh [2022-06-18T01:53:39.470Z] ++ facter osfamily [2022-06-18T01:53:39.470Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-18T01:53:39.730Z] + OS_FAMILY=debian [2022-06-18T01:53:39.730Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1178 [2022-06-18T01:53:39.730Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-18T01:53:39.730Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-18T01:53:39.730Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-18T01:53:39.730Z] + PACKAGES=/tmp/packages_start.txt [2022-06-18T01:53:39.730Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1178 ']' [2022-06-18T01:53:39.730Z] + PACKAGES=/tmp/packages_end.txt [2022-06-18T01:53:39.730Z] + case "${OS_FAMILY}" in [2022-06-18T01:53:39.730Z] + dpkg -l [2022-06-18T01:53:39.730Z] + grep '^ii' [2022-06-18T01:53:39.730Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-18T01:53:39.730Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-18T01:53:39.730Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-18T01:53:39.730Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1178 ']' [2022-06-18T01:53:39.730Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1178/archives/ [2022-06-18T01:53:39.730Z] + 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 [2022-06-18T01:53:39.763Z] 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 [2022-06-18T01:53:40.055Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-18T01:53:40.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-18T01:53:40.677Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-18T01:53:40.836Z] prd-ubuntu20.04-docker-8c-8g-2622 does not seem to be running inside a container [2022-06-18T01:53:40.873Z] $ 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 [2022-06-18T01:53:41.131Z] $ docker top 84c909fe3c6282f818d598b3c533911b760d2355c7841f4fba5360f96d1c7a97 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-18T01:53:41.539Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-18T01:53:41.849Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-18T01:53:42.160Z] + ls /var/log/sa-host [2022-06-18T01:53:42.160Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-18T01:53:42.356Z] provisioning config files... [2022-06-18T01:53:42.365Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1178@tmp/config6620776423034369705tmp [Pipeline] { [Pipeline] echo [2022-06-18T01:53:42.412Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:53:42.729Z] ---> create-netrc.sh [Pipeline] } [2022-06-18T01:53:42.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:53:43.151Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-18T01:53:43.183Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:53:43.494Z] ---> sudo-logs.sh [2022-06-18T01:53:43.494Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-18T01:53:43.571Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:53:43.884Z] ---> job-cost.sh [2022-06-18T01:53:43.884Z] lf-activate-venv: SKIPPING [2022-06-18T01:53:43.884Z] DEBUG: total: 0.2199999988079071 [2022-06-18T01:53:43.884Z] INFO: Retrieving Stack Cost... [2022-06-18T01:53:44.452Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-18T01:53:45.021Z] INFO: Archiving Costs [Pipeline] echo [2022-06-18T01:53:45.053Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-18T01:53:45.363Z] ---> logs-deploy.sh [2022-06-18T01:53:45.363Z] lf-activate-venv: SKIPPING [2022-06-18T01:53:45.363Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1178/1 [2022-06-18T01:53:45.363Z] INFO: archiving workspace using pattern(s): [2022-06-18T01:53:46.302Z] Archives upload complete. [2022-06-18T01:53:46.302Z] INFO: archiving logs to Nexus