Pull request #768 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9fe3938ee2d204b0af91be3145be6a464d2edd9d+3aea893206dfece0cb943228d650ae216607898f (a71902d4c026a6e48fa04a9caa0decdebb317b57) Running in Durability level: MAX_SURVIVABILITY 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 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-768/workspace@libs/edgex-global-pipelines # 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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 shared 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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-768/workspace@libs/lf-pipelines # 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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-24323 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-768 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' 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/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 9fe3938ee2d204b0af91be3145be6a464d2edd9d > 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/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9fe3938ee2d204b0af91be3145be6a464d2edd9d # timeout=10 Merge succeeded, producing 9fe3938ee2d204b0af91be3145be6a464d2edd9d Checking out Revision 9fe3938ee2d204b0af91be3145be6a464d2edd9d (PR-768) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9fe3938ee2d204b0af91be3145be6a464d2edd9d # timeout=10 Commit message: "refactor: upgrade SDK external function API for v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:01:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:01:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:01:12 ========================================================= 10:01:12 EdgeX Global Pipelines Version Info 10:01:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:01:14 ------------------- 10:01:14 stable info: 10:01:14 ------------------- 10:01:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:01:14 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 10:01:14 Message: update stable to v1.0.179 10:01:15 ------------------- 10:01:15 experimental info: 10:01:15 ------------------- 10:01:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:01:15 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 10:01:15 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:01:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:01:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:01:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:01:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:01:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:01:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:01:17 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:01:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:01:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:01:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:01:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:01:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:01:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:01:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:01:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:01:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:01:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:01:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:01:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:01:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:01:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:01:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:01:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:01:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:01:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:01:20 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 10:01:20 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 10:01:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-768 [Pipeline] echo 10:01:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-768 [Pipeline] echo 10:01:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-768 [Pipeline] echo 10:01:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9fe3938ee2d204b0af91be3145be6a464d2edd9d [Pipeline] echo 10:01:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9fe3938 [Pipeline] echo 10:01:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:01:21 provisioning config files... 10:01:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/config8185745693357345608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:22 ---> docker-login.sh 10:01:22 nexus3.edgexfoundry.org:10001 10:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:22 Configure a credential helper to remove this warning. See 10:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:22 10:01:22 Login Succeeded 10:01:22 nexus3.edgexfoundry.org:10002 10:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:23 Configure a credential helper to remove this warning. See 10:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:23 10:01:23 Login Succeeded 10:01:23 nexus3.edgexfoundry.org:10003 10:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:23 Configure a credential helper to remove this warning. See 10:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:23 10:01:23 Login Succeeded 10:01:23 nexus3.edgexfoundry.org:10004 10:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:23 Configure a credential helper to remove this warning. See 10:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:23 10:01:23 Login Succeeded 10:01:23 docker.io 10:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:24 Configure a credential helper to remove this warning. See 10:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:24 10:01:24 Login Succeeded 10:01:24 ---> docker-login.sh ends [Pipeline] } 10:01:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:01:25 + git log --format=format:%s -1 9fe3938ee2d204b0af91be3145be6a464d2edd9d [Pipeline] echo 10:01:25 GIT_COMMIT: 9fe3938ee2d204b0af91be3145be6a464d2edd9d, Commit Message: refactor: upgrade SDK external function API for v2 [Pipeline] echo 10:01:25 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:01:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:01:26 10:01:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:01:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:01:27 latest: Pulling from edgex-devops/git-semver 10:01:27 31603596830f: Pulling fs layer 10:01:27 2a8b12db71e7: Pulling fs layer 10:01:27 6ca5941a6612: Pulling fs layer 10:01:27 ecc8261a40a4: Pulling fs layer 10:01:27 ecc8261a40a4: Waiting 10:01:27 2a8b12db71e7: Verifying Checksum 10:01:27 2a8b12db71e7: Download complete 10:01:27 31603596830f: Verifying Checksum 10:01:27 31603596830f: Download complete 10:01:27 ecc8261a40a4: Verifying Checksum 10:01:27 ecc8261a40a4: Download complete 10:01:27 6ca5941a6612: Verifying Checksum 10:01:27 6ca5941a6612: Download complete 10:01:28 31603596830f: Pull complete 10:01:28 2a8b12db71e7: Pull complete 10:01:30 6ca5941a6612: Pull complete 10:01:30 ecc8261a40a4: Pull complete 10:01:30 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:01:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:01:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:01:31 prd-centos7-docker-4c-2g-24323 does not seem to be running inside a container 10:01:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-768 -v /w/workspace/dgexfoundry_device-sdk-go_PR-768:/w/workspace/dgexfoundry_device-sdk-go_PR-768:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:01:34 $ docker top 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:01:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:01:34 [ssh-agent] Looking for ssh-agent implementation... 10:01:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:01:35 $ docker exec 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 ssh-agent 10:01:35 SSH_AUTH_SOCK=/tmp/ssh-JZlDUX3RTXam/agent.12 10:01:35 SSH_AGENT_PID=17 10:01:35 Running ssh-add (command line suppressed) 10:01:35 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_3314105354075956338.key (/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_3314105354075956338.key) 10:01:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:01:36 + git tag --points-at HEAD [Pipeline] } 10:01:36 $ docker exec --env ******** --env ******** 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 ssh-agent -k 10:01:36 unset SSH_AUTH_SOCK; 10:01:36 unset SSH_AGENT_PID; 10:01:36 echo Agent pid 17 killed; 10:01:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:01:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:01:36 [ssh-agent] Looking for ssh-agent implementation... 10:01:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:01:36 $ docker exec 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 ssh-agent 10:01:37 SSH_AUTH_SOCK=/tmp/ssh-p9I2MlNq36um/agent.47 10:01:37 SSH_AGENT_PID=53 10:01:37 Running ssh-add (command line suppressed) 10:01:37 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_3383515245568225717.key (/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_3383515245568225717.key) 10:01:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:01:37 + git semver init 10:01:37 # -> Open(): unable to determine branch for HEAD 10:01:37 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-768/.git 10:01:37 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-768 10:01:37 # $SEMVER_REMOTE_NAME = origin 10:01:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:01:37 # $SEMVER_USER_NAME = edgex-jenkins 10:01:37 # $SEMVER_BRANCH = PR-768 10:01:37 # $SEMVER_TEMP = /tmp/semver-140922586 10:01:37 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:01:38 # '/tmp/semver-140922586' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-768/.semver' 10:01:38 # -> Force: false 10:01:38 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-768/.semver [Pipeline] } 10:01:38 $ docker exec --env ******** --env ******** 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 ssh-agent -k 10:01:39 unset SSH_AUTH_SOCK; 10:01:39 unset SSH_AGENT_PID; 10:01:39 echo Agent pid 53 killed; 10:01:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:01:40 + git semver [Pipeline] } 10:01:40 $ docker stop --time=1 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 10:01:41 $ docker rm -f 36f51ef3ee96d94624aad8abac885223a9cb206ae157e67b6f9b01061abe77a5 [Pipeline] // withDockerContainer [Pipeline] sh 10:01:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:01:43 Stashed 1 file(s) [Pipeline] echo 10:01:43 [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] node [Pipeline] node 10:01:59 Still waiting to schedule task 10:01:59 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-24323’ 10:01:59 Still waiting to schedule task 10:01:59 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 10:03:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24324 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [Pipeline] { [Pipeline] ws 10:03:48 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 10:03:54 using credential edgex-jenkins-ssh 10:03:55 Cloning the remote Git repository 10:03:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:03:55 > git init /w/workspace/device-sdk-go/1 # timeout=10 10:03:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:03:55 > git --version # timeout=10 10:03:55 > git --version # 'git version 2.17.1' 10:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 10:03:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:03:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:03:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:03:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:03:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:03:56 using GIT_SSH to set credentials SSH Credentials for GitHub 10:03:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:03:57 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 9fe3938ee2d204b0af91be3145be6a464d2edd9d 10:03:57 Merge succeeded, producing 9fe3938ee2d204b0af91be3145be6a464d2edd9d 10:03:57 Checking out Revision 9fe3938ee2d204b0af91be3145be6a464d2edd9d (PR-768) 10:03:57 > git config core.sparsecheckout # timeout=10 10:03:57 > git checkout -f 9fe3938ee2d204b0af91be3145be6a464d2edd9d # timeout=10 10:03:57 > git remote # timeout=10 10:03:57 > git config --get remote.origin.url # timeout=10 10:03:57 using GIT_SSH to set credentials SSH Credentials for GitHub 10:03:57 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 10:03:57 > git rev-parse HEAD^{commit} # timeout=10 10:03:57 > git config core.sparsecheckout # timeout=10 10:03:57 > git checkout -f 9fe3938ee2d204b0af91be3145be6a464d2edd9d # timeout=10 10:04:02 Commit message: "refactor: upgrade SDK external function API for v2" 10:04:02 > git --version # timeout=10 10:04:02 > git --version # 'git version 2.17.1' 10:04:02 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:04:03 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 10:04:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:04:04 + true 10:04:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:04:07 provisioning config files... 10:04:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1286977961480365622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:08 ---> docker-login.sh 10:04:08 nexus3.edgexfoundry.org:10001 10:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:09 Configure a credential helper to remove this warning. See 10:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:09 10:04:09 Login Succeeded 10:04:09 nexus3.edgexfoundry.org:10002 10:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:09 Configure a credential helper to remove this warning. See 10:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:09 10:04:09 Login Succeeded 10:04:09 nexus3.edgexfoundry.org:10003 10:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:10 Configure a credential helper to remove this warning. See 10:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:10 10:04:10 Login Succeeded 10:04:10 nexus3.edgexfoundry.org:10004 10:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:10 Configure a credential helper to remove this warning. See 10:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:10 10:04:10 Login Succeeded 10:04:10 docker.io 10:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:11 Configure a credential helper to remove this warning. See 10:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:11 10:04:11 Login Succeeded 10:04:11 ---> docker-login.sh ends [Pipeline] } 10:04:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:04:11 ========================================================= 10:04:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:04:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:04:12 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 10:04:12 Sending build context to Docker daemon 2.423MB 10:04:12 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:04:12 Step 2/8 : FROM ${BASE} 10:04:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:04:12 5f621e34cdf4: Pulling fs layer 10:04:12 a4357932f1b6: Pulling fs layer 10:04:12 18c013af1878: Pulling fs layer 10:04:12 00ac8860ef70: Pulling fs layer 10:04:12 63d7cb157983: Pulling fs layer 10:04:12 b116817d02f9: Pulling fs layer 10:04:12 745a02a5169b: Pulling fs layer 10:04:12 63d7cb157983: Waiting 10:04:12 00ac8860ef70: Waiting 10:04:12 b116817d02f9: Waiting 10:04:12 745a02a5169b: Waiting 10:04:12 18c013af1878: Download complete 10:04:12 a4357932f1b6: Download complete 10:04:12 63d7cb157983: Verifying Checksum 10:04:12 63d7cb157983: Download complete 10:04:12 b116817d02f9: Verifying Checksum 10:04:12 b116817d02f9: Download complete 10:04:13 5f621e34cdf4: Verifying Checksum 10:04:13 5f621e34cdf4: Download complete 10:04:14 5f621e34cdf4: Pull complete 10:04:14 a4357932f1b6: Pull complete 10:04:15 18c013af1878: Pull complete 10:04:15 745a02a5169b: Verifying Checksum 10:04:15 745a02a5169b: Download complete 10:04:17 00ac8860ef70: Verifying Checksum 10:04:17 00ac8860ef70: Download complete 10:04:27 00ac8860ef70: Pull complete 10:04:27 63d7cb157983: Pull complete 10:04:27 b116817d02f9: Pull complete 10:04:31 745a02a5169b: Pull complete 10:04:31 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 10:04:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:04:31 ---> b7e6874047d6 10:04:31 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:04:35 ---> Running in 9fc5b33239b5 10:04:35 Removing intermediate container 9fc5b33239b5 10:04:35 ---> 13300837cdbd 10:04:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:04:35 ---> Running in 87e822c7d75e 10:04:37 Removing intermediate container 87e822c7d75e 10:04:37 ---> d73ab4e03c7a 10:04:37 Step 5/8 : RUN apk add --update --no-cache make git 10:04:37 ---> Running in 60ce9d8cba3e 10:04:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:04:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:04:40 OK: 142 MiB in 39 packages 10:04:41 Removing intermediate container 60ce9d8cba3e 10:04:41 ---> 7dd79c1e0aa3 10:04:41 Step 6/8 : WORKDIR /device-sdk-go 10:04:41 ---> Running in 6f5e3a65e1b0 10:04:41 Removing intermediate container 6f5e3a65e1b0 10:04:41 ---> fb6f7e56eebb 10:04:41 Step 7/8 : COPY . . 10:04:43 ---> 5830a2b689d7 10:04:43 Step 8/8 : RUN go mod download 10:04:43 ---> Running in 4636b91a3055 10:04:48 Running on prd-centos7-docker-4c-2g-24326 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [Pipeline] { [Pipeline] ws 10:04:48 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 10:04:53 using credential edgex-jenkins-ssh 10:04:53 Cloning the remote Git repository 10:04:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:04:53 > git init /w/workspace/device-sdk-go/1 # timeout=10 10:04:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:04:54 > git --version # timeout=10 10:04:54 > git --version # 'git version 2.24.3' 10:04:54 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:04:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:04:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:04:55 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:04:55 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 9fe3938ee2d204b0af91be3145be6a464d2edd9d 10:04:56 Merge succeeded, producing 9fe3938ee2d204b0af91be3145be6a464d2edd9d 10:04:56 Checking out Revision 9fe3938ee2d204b0af91be3145be6a464d2edd9d (PR-768) 10:04:55 > git config core.sparsecheckout # timeout=10 10:04:55 > git checkout -f 9fe3938ee2d204b0af91be3145be6a464d2edd9d # timeout=10 10:04:55 > git remote # timeout=10 10:04:55 > git config --get remote.origin.url # timeout=10 10:04:55 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:55 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 10:04:56 > git rev-parse HEAD^{commit} # timeout=10 10:04:56 > git config core.sparsecheckout # timeout=10 10:04:56 > git checkout -f 9fe3938ee2d204b0af91be3145be6a464d2edd9d # timeout=10 10:05:00 Commit message: "refactor: upgrade SDK external function API for v2" 10:05:00 > git --version # timeout=10 10:05:00 > git --version # 'git version 2.24.3' 10:05:00 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:05:02 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:05:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:05:03 + true 10:05:03 + sudo service docker restart 10:05:03 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:05:04 provisioning config files... 10:05:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4593021808029539770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:05 ---> docker-login.sh 10:05:05 nexus3.edgexfoundry.org:10001 10:05:05 Removing intermediate container 4636b91a3055 10:05:05 ---> 2b7df47c8451 10:05:05 Successfully built 2b7df47c8451 10:05:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:05 Configure a credential helper to remove this warning. See 10:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:05 10:05:05 Login Succeeded 10:05:05 nexus3.edgexfoundry.org:10002 10:05:05 + docker inspect -f . ci-base-image-arm64 10:05:05 . [Pipeline] withDockerContainer 10:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:06 Configure a credential helper to remove this warning. See 10:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:06 10:05:06 Login Succeeded 10:05:06 nexus3.edgexfoundry.org:10003 10:05:06 prd-ubuntu18.04-docker-arm64-4c-16g-24324 does not seem to be running inside a container 10:05:06 $ 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 ******** ci-base-image-arm64 cat 10:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:06 Configure a credential helper to remove this warning. See 10:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:06 10:05:06 Login Succeeded 10:05:06 nexus3.edgexfoundry.org:10004 10:05:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:06 Configure a credential helper to remove this warning. See 10:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:06 10:05:06 Login Succeeded 10:05:06 docker.io 10:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:07 Configure a credential helper to remove this warning. See 10:05:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:07 10:05:07 Login Succeeded 10:05:07 ---> docker-login.sh ends 10:05:07 $ docker top 312d7a99b42076a34ccd738ae516c3897f095b34467abbb6d90c6ce3db79c407 -eo pid,comm [Pipeline] { [Pipeline] } 10:05:08 Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 10:05:08 + go version 10:05:08 go version go1.15.5 linux/arm64 [Pipeline] } 10:05:08 $ docker stop --time=1 312d7a99b42076a34ccd738ae516c3897f095b34467abbb6d90c6ce3db79c407 10:05:10 $ docker rm -f 312d7a99b42076a34ccd738ae516c3897f095b34467abbb6d90c6ce3db79c407 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo 10:05:11 ========================================================= 10:05:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:05:11 ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:05:11 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 10:05:11 + docker inspect -f . ci-base-image-arm64 10:05:11 . 10:05:11 Sending build context to Docker daemon 2.415MB 10:05:11 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:05:11 Step 2/8 : FROM ${BASE} 10:05:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:05:11 188c0c94c7c5: Pulling fs layer 10:05:11 0ef7d3d256c8: Pulling fs layer 10:05:11 de9db76c5a1d: Pulling fs layer 10:05:11 bca2f99d35d6: Pulling fs layer 10:05:11 93359f2a8cfa: Pulling fs layer 10:05:11 7c6f9722023f: Pulling fs layer 10:05:11 a35cf1a2eb13: Pulling fs layer 10:05:11 bca2f99d35d6: Waiting 10:05:11 93359f2a8cfa: Waiting 10:05:11 7c6f9722023f: Waiting 10:05:11 a35cf1a2eb13: Waiting 10:05:11 de9db76c5a1d: Verifying Checksum 10:05:11 de9db76c5a1d: Download complete 10:05:11 0ef7d3d256c8: Verifying Checksum 10:05:11 0ef7d3d256c8: Download complete [Pipeline] withDockerContainer 10:05:12 prd-ubuntu18.04-docker-arm64-4c-16g-24324 does not seem to be running inside a container 10:05:12 93359f2a8cfa: Verifying Checksum 10:05:12 93359f2a8cfa: Download complete 10:05:12 7c6f9722023f: Verifying Checksum 10:05:12 7c6f9722023f: Download complete 10:05:12 188c0c94c7c5: Verifying Checksum 10:05:12 188c0c94c7c5: Download complete 10:05:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:05:12 188c0c94c7c5: Pull complete 10:05:13 0ef7d3d256c8: Pull complete 10:05:13 de9db76c5a1d: Pull complete 10:05:13 $ docker top ea9b25c0b671891db12d35bbd149c779b68ff24c16036b34165a8b908feb873a -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:14 + make test 10:05:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:05:15 a35cf1a2eb13: Verifying Checksum 10:05:15 a35cf1a2eb13: Download complete 10:05:16 bca2f99d35d6: Verifying Checksum 10:05:16 bca2f99d35d6: Download complete 10:05:28 bca2f99d35d6: Pull complete 10:05:28 93359f2a8cfa: Pull complete 10:05:28 7c6f9722023f: Pull complete 10:05:34 a35cf1a2eb13: Pull complete 10:05:34 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 10:05:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:05:34 ---> a62c8e92a672 10:05:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:05:34 ---> Running in 2e99ac2ca149 10:05:35 Removing intermediate container 2e99ac2ca149 10:05:35 ---> d0ca3cf1f0d6 10:05:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:05:35 ---> Running in b338696b2168 10:05:36 Removing intermediate container b338696b2168 10:05:36 ---> a5f1f482c28f 10:05:36 Step 5/8 : RUN apk add --update --no-cache make git 10:05:36 ---> Running in fc59791e1f81 10:05:37 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:05:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:05:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:05:39 OK: 166 MiB in 39 packages 10:05:39 Removing intermediate container fc59791e1f81 10:05:39 ---> 4b96d7a4bc43 10:05:39 Step 6/8 : WORKDIR /device-sdk-go 10:05:39 ---> Running in 41a7d743b4b4 10:05:40 Removing intermediate container 41a7d743b4b4 10:05:40 ---> 61dcea11c3ff 10:05:40 Step 7/8 : COPY . . 10:05:41 ---> 20a1651086e6 10:05:41 Step 8/8 : RUN go mod download 10:05:41 ---> Running in f10df301d2a8 10:06:08 Removing intermediate container f10df301d2a8 10:06:08 ---> 906a0f54278b 10:06:08 Successfully built 906a0f54278b 10:06:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:06:08 + docker inspect -f . ci-base-image-x86_64 10:06:08 . [Pipeline] withDockerContainer 10:06:08 prd-centos7-docker-4c-2g-24326 does not seem to be running inside a container 10:06:09 $ 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 ******** ci-base-image-x86_64 cat 10:06:10 $ docker top c396c4e9874a794af29284079db4cf2203af6d4a10d53348beabc035b4f41f66 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:11 + go version 10:06:11 go version go1.15.5 linux/amd64 [Pipeline] } 10:06:11 $ docker stop --time=1 c396c4e9874a794af29284079db4cf2203af6d4a10d53348beabc035b4f41f66 10:06:13 $ docker rm -f c396c4e9874a794af29284079db4cf2203af6d4a10d53348beabc035b4f41f66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:06:14 + docker inspect -f . ci-base-image-x86_64 10:06:14 . [Pipeline] withDockerContainer 10:06:15 prd-centos7-docker-4c-2g-24326 does not seem to be running inside a container 10:06:15 $ 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 ******** ci-base-image-x86_64 cat 10:06:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:06:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:06:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:06:16 $ docker top 96e3661112a236712876f5fa1704f7f43d72a3488e5f3946f2f44ce02356e450 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:17 + make test 10:06:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:06:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.134s coverage: 24.0% of statements 10:06:33 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:06:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.133s coverage: 10.1% of statements 10:06:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.164s coverage: 13.0% of statements 10:06:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:06:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.135s coverage: 85.3% of statements 10:06:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 10:06:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 10:06:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:06:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:06:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.186s coverage: 49.5% of statements 10:06:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 10:06:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 10:06:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.190s coverage: 24.8% of statements 10:06:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.732s coverage: 83.5% of statements 10:06:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.3% of statements 10:06:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:06:51 GO111MODULE=on go vet ./... 10:07:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:07:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:07:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:07:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.085s coverage: 24.0% of statements 10:07:23 gofmt -l . 10:07:23 [ "`gofmt -l .`" = "" ] 10:07:23 ./bin/test-attribution-txt.sh 10:07:23 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:07:23 $ docker stop --time=1 ea9b25c0b671891db12d35bbd149c779b68ff24c16036b34165a8b908feb873a 10:07:25 $ docker rm -f ea9b25c0b671891db12d35bbd149c779b68ff24c16036b34165a8b908feb873a [Pipeline] // withDockerContainer [Pipeline] sh 10:07:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:07:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:07:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:07:30 + ls -al . 10:07:30 total 204 10:07:30 drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 10:07 . 10:07:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 10:03 .. 10:07:30 -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 10:03 .dockerignore 10:07:30 drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 10:04 .git 10:07:30 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 10:03 .github 10:07:30 -rw-rw-r-- 1 jenkins jenkins 138 Feb 1 10:03 .gitignore 10:07:30 -rw-rw-r-- 1 jenkins jenkins 949 Feb 1 10:03 Dockerfile.build 10:07:30 -rw-rw-r-- 1 jenkins jenkins 901 Feb 1 10:03 Jenkinsfile 10:07:30 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 10:03 LICENSE 10:07:30 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 1 10:03 Makefile 10:07:30 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 1 10:03 README.md 10:07:30 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 1 10:03 RELEASE-NOTES.txt 10:07:30 -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 10:01 VERSION 10:07:30 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 10:03 bin 10:07:30 -rw-r--r-- 1 jenkins jenkins 89771 Feb 1 10:06 coverage.out 10:07:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 10:03 example 10:07:30 -rw-r--r-- 1 jenkins jenkins 480 Feb 1 10:07 go.mod 10:07:30 -rw-r--r-- 1 jenkins jenkins 14022 Feb 1 10:07 go.sum 10:07:30 drwxrwxr-x 13 jenkins jenkins 4096 Feb 1 10:03 internal 10:07:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 10:03 openapi 10:07:30 drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 10:03 pkg 10:07:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 10:03 snap 10:07:30 -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 10:03 version.go [Pipeline] isUnix [Pipeline] sh 10:07:31 + docker build -t docker-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=9fe3938ee2d204b0af91be3145be6a464d2edd9d --label arch=arm64 --label version=0.0.0 . 10:07:31 Sending build context to Docker daemon 2.513MB 10:07:31 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 10:07:31 Step 2/24 : FROM ${BASE} AS builder 10:07:31 ---> 2b7df47c8451 10:07:31 Step 3/24 : ARG MAKE='make build' 10:07:31 ---> Running in a87926b0e7e5 10:07:32 Removing intermediate container a87926b0e7e5 10:07:32 ---> 54d140d5362e 10:07:32 Step 4/24 : WORKDIR /device-sdk-go 10:07:32 ---> Running in a4e19c5c5c97 10:07:33 Removing intermediate container a4e19c5c5c97 10:07:33 ---> 3cb0701ed582 10:07:33 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:07:33 ---> Running in 90d4f53d4f78 10:07:33 Removing intermediate container 90d4f53d4f78 10:07:33 ---> 9121cf13282d 10:07:33 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:07:33 ---> Running in 973af966cf96 10:07:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.147s coverage: 10.1% of statements 10:07:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 13.0% of statements 10:07:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:07:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.074s coverage: 85.3% of statements 10:07:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 10:07:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 10:07:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:07:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:07:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.147s coverage: 49.5% of statements 10:07:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 10:07:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 10:07:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.101s coverage: 24.8% of statements 10:07:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.397s coverage: 83.5% of statements 10:07:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.109s coverage: 5.3% of statements 10:07:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:07:35 GO111MODULE=on go vet ./... 10:07:36 Removing intermediate container 973af966cf96 10:07:36 ---> ec53d4feb9de 10:07:36 Step 7/24 : RUN apk add --update --no-cache make git 10:07:36 ---> Running in 5ef37dc815da 10:07:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:07:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:07:38 OK: 142 MiB in 39 packages 10:07:39 Removing intermediate container 5ef37dc815da 10:07:39 ---> 0c83d3ecbe36 10:07:39 Step 8/24 : COPY . . 10:07:40 ---> 4d6ff8563701 10:07:40 Step 9/24 : RUN ${MAKE} 10:07:40 ---> Running in b75cf45d313c 10:07:42 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:07:50 gofmt -l . 10:07:50 [ "`gofmt -l .`" = "" ] 10:07:50 ./bin/test-attribution-txt.sh 10:07:51 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:07:52 $ docker stop --time=1 96e3661112a236712876f5fa1704f7f43d72a3488e5f3946f2f44ce02356e450 10:07:54 $ docker rm -f 96e3661112a236712876f5fa1704f7f43d72a3488e5f3946f2f44ce02356e450 [Pipeline] // withDockerContainer [Pipeline] sh 10:07:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:07:56 Warning: overwriting stash ‘coverage-report’ 10:07:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:07:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:07:57 + ls -al . 10:07:57 total 168 10:07:57 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 1 10:07 . 10:07:57 drwxrwxr-x. 4 jenkins jenkins 28 Feb 1 10:04 .. 10:07:57 drwxrwxr-x. 2 jenkins jenkins 64 Feb 1 10:04 bin 10:07:57 -rw-r--r--. 1 jenkins jenkins 89771 Feb 1 10:07 coverage.out 10:07:57 -rw-rw-r--. 1 jenkins jenkins 949 Feb 1 10:04 Dockerfile.build 10:07:57 -rw-rw-r--. 1 jenkins jenkins 140 Feb 1 10:04 .dockerignore 10:07:57 drwxrwxr-x. 4 jenkins jenkins 48 Feb 1 10:04 example 10:07:57 drwxrwxr-x. 8 jenkins jenkins 179 Feb 1 10:05 .git 10:07:57 drwxrwxr-x. 2 jenkins jenkins 103 Feb 1 10:04 .github 10:07:57 -rw-rw-r--. 1 jenkins jenkins 138 Feb 1 10:04 .gitignore 10:07:57 -rw-r--r--. 1 jenkins jenkins 480 Feb 1 10:07 go.mod 10:07:57 -rw-r--r--. 1 jenkins jenkins 14022 Feb 1 10:07 go.sum 10:07:57 drwxrwxr-x. 13 jenkins jenkins 183 Feb 1 10:04 internal 10:07:57 -rw-rw-r--. 1 jenkins jenkins 901 Feb 1 10:04 Jenkinsfile 10:07:57 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 1 10:04 LICENSE 10:07:57 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 1 10:04 Makefile 10:07:57 drwxrwxr-x. 4 jenkins jenkins 26 Feb 1 10:04 openapi 10:07:57 drwxrwxr-x. 5 jenkins jenkins 50 Feb 1 10:04 pkg 10:07:57 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 1 10:04 README.md 10:07:57 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 1 10:04 RELEASE-NOTES.txt 10:07:57 drwxrwxr-x. 4 jenkins jenkins 54 Feb 1 10:04 snap 10:07:57 -rw-rw-r--. 1 jenkins jenkins 5 Feb 1 10:01 VERSION 10:07:57 -rw-rw-r--. 1 jenkins jenkins 222 Feb 1 10:04 version.go [Pipeline] isUnix [Pipeline] sh 10:07:58 + docker build -t docker-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=9fe3938ee2d204b0af91be3145be6a464d2edd9d --label arch=amd64 --label version=0.0.0 . 10:07:59 Sending build context to Docker daemon 2.506MB 10:07:59 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 10:07:59 Step 2/24 : FROM ${BASE} AS builder 10:07:59 ---> 906a0f54278b 10:07:59 Step 3/24 : ARG MAKE='make build' 10:07:59 ---> Running in 078ce6df51cb 10:07:59 Removing intermediate container 078ce6df51cb 10:07:59 ---> 11fec6e281f8 10:07:59 Step 4/24 : WORKDIR /device-sdk-go 10:07:59 ---> Running in 9c0270a82db1 10:08:00 Removing intermediate container 9c0270a82db1 10:08:00 ---> d4ba874ae341 10:08:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:08:00 ---> Running in 6179203d402f 10:08:00 Removing intermediate container 6179203d402f 10:08:00 ---> 0613a0ba5600 10:08:00 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:08:01 ---> Running in 5eb917f5032a 10:08:03 Removing intermediate container 5eb917f5032a 10:08:03 ---> 48b7a8261fa9 10:08:03 Step 7/24 : RUN apk add --update --no-cache make git 10:08:03 ---> Running in 203b48c55587 10:08:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:08:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:08:05 OK: 166 MiB in 39 packages 10:08:06 Removing intermediate container 203b48c55587 10:08:06 ---> 273f62337a62 10:08:06 Step 8/24 : COPY . . 10:08:07 ---> 33aaff84bc1e 10:08:07 Step 9/24 : RUN ${MAKE} 10:08:07 ---> Running in 6e42bd677512 10:08:08 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:08:09 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:08:09 Removing intermediate container b75cf45d313c 10:08:09 ---> 4d231b42a0c3 10:08:09 Step 10/24 : FROM scratch 10:08:09 ---> 10:08:09 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:08:09 ---> Running in 44bc11d9501a 10:08:09 Removing intermediate container 44bc11d9501a 10:08:09 ---> 53a352bbb88f 10:08:09 Step 12/24 : ENV APP_PORT=49990 10:08:09 ---> Running in 4e2d9a1acd16 10:08:09 Removing intermediate container 4e2d9a1acd16 10:08:09 ---> ce90eaf0d65a 10:08:09 Step 13/24 : EXPOSE $APP_PORT 10:08:09 ---> Running in 7c8bfd65e556 10:08:10 Removing intermediate container 7c8bfd65e556 10:08:10 ---> bb488af977d4 10:08:10 Step 14/24 : WORKDIR / 10:08:10 ---> Running in 2cb57e7d7e15 10:08:10 Removing intermediate container 2cb57e7d7e15 10:08:10 ---> b350399d591c 10:08:10 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:08:11 ---> bf713dc9daec 10:08:11 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:08:12 ---> 40ad5ed4ada7 10:08:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:08:12 ---> e222ff218208 10:08:12 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:08:13 ---> 29fa4a929a5d 10:08:13 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:08:14 ---> 4e0326a55934 10:08:14 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:08:14 ---> Running in 4007b0f82130 10:08:15 Removing intermediate container 4007b0f82130 10:08:15 ---> 51becf83a040 10:08:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:08:15 ---> Running in 3b65b7a24288 10:08:15 Removing intermediate container 3b65b7a24288 10:08:15 ---> e39fa81d7cfa 10:08:15 Step 22/24 : LABEL arch=arm64 10:08:15 ---> Running in 7ec9533a5f03 10:08:16 Removing intermediate container 7ec9533a5f03 10:08:16 ---> 0c11c14940a3 10:08:16 Step 23/24 : LABEL git_sha=9fe3938ee2d204b0af91be3145be6a464d2edd9d 10:08:16 ---> Running in 24fa060da05b 10:08:16 Removing intermediate container 24fa060da05b 10:08:16 ---> d4edc584984c 10:08:16 Step 24/24 : LABEL version=0.0.0 10:08:16 ---> Running in bb4664eff12a 10:08:17 Removing intermediate container bb4664eff12a 10:08:17 ---> 47c2edee58a9 10:08:17 [Warning] One or more build-args [ARCH] were not consumed 10:08:17 Successfully built 47c2edee58a9 10:08:17 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:08:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:08:27 Removing intermediate container 6e42bd677512 10:08:27 ---> 53ab5a72a2a7 10:08:27 Step 10/24 : FROM scratch 10:08:27 ---> 10:08:27 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:08:27 ---> Running in bedfab295647 10:08:27 Removing intermediate container bedfab295647 10:08:27 ---> bf49141f8312 10:08:27 Step 12/24 : ENV APP_PORT=49990 10:08:27 ---> Running in 91dd6a271f27 10:08:27 Removing intermediate container 91dd6a271f27 10:08:27 ---> b0f952d11fe0 10:08:27 Step 13/24 : EXPOSE $APP_PORT 10:08:27 ---> Running in 1b05f9a95e5c 10:08:28 Removing intermediate container 1b05f9a95e5c 10:08:28 ---> 16749312d269 10:08:28 Step 14/24 : WORKDIR / 10:08:28 ---> Running in 68f13313e6e4 10:08:28 Removing intermediate container 68f13313e6e4 10:08:28 ---> 9acbd690bb3a 10:08:28 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:08:29 ---> b0810cf1cca2 10:08:29 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:08:30 ---> ae9ad548094a 10:08:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:08:30 ---> 6eac0bb479b8 10:08:30 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:08:31 ---> 333470030716 10:08:31 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:08:31 ---> bf3a5cfb9630 10:08:31 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:08:32 ---> Running in 281f95e014c5 10:08:32 Removing intermediate container 281f95e014c5 10:08:32 ---> bdee559254f9 10:08:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:08:32 ---> Running in 95523b34a8c5 10:08:32 Removing intermediate container 95523b34a8c5 10:08:32 ---> 3f9854330ed8 10:08:32 Step 22/24 : LABEL arch=amd64 10:08:32 ---> Running in 5493e3ec4ddf 10:08:33 Removing intermediate container 5493e3ec4ddf 10:08:33 ---> d30e0b583dc3 10:08:33 Step 23/24 : LABEL git_sha=9fe3938ee2d204b0af91be3145be6a464d2edd9d 10:08:33 ---> Running in 44af1f5f5b13 10:08:33 Removing intermediate container 44af1f5f5b13 10:08:33 ---> fee8f84025a9 10:08:33 Step 24/24 : LABEL version=0.0.0 10:08:33 ---> Running in cb100843a83e 10:08:33 Removing intermediate container cb100843a83e 10:08:33 ---> 55650edbed37 10:08:33 [Warning] One or more build-args [ARCH] were not consumed 10:08:33 Successfully built 55650edbed37 10:08:33 Successfully tagged docker-device-sdk-simple:latest [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 [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] wrap 10:08:36 provisioning config files... 10:08:36 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/config7195965305239194391tmp [Pipeline] { [Pipeline] sh 10:08:36 + set +x 10:08:36 + bash -s -- 10:08:36 + curl -s https://codecov.io/bash 10:08:37 10:08:37 _____ _ 10:08:37 / ____| | | 10:08:37 | | ___ __| | ___ ___ _____ __ 10:08:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:08:37 | |___| (_) | (_| | __/ (_| (_) \ V / 10:08:37 \_____\___/ \__,_|\___|\___\___/ \_/ 10:08:37 Bash-20210129-7c25fce 10:08:37 10:08:37 10:08:37 ==> git version 2.24.3 found 10:08:37 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 10:08:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:08:37 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:08:37 ==> Jenkins CI detected. 10:08:37 project root: . 10:08:37 --> token set from env 10:08:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:08:37 ==> Running gcov in . (disable via -X gcov) 10:08:37 ==> Python coveragepy not found 10:08:37 ==> Searching for coverage reports in: 10:08:37 + . 10:08:37 -> Found 1 reports 10:08:37 ==> Detecting git/mercurial file structure 10:08:37 ==> Reading reports 10:08:37 + ./coverage.out bytes=89771 10:08:37 ==> Appending adjustments 10:08:37 https://docs.codecov.io/docs/fixing-reports 10:08:38 + Found adjustments 10:08:38 ==> Gzipping contents 10:08:38 16K /tmp/codecov.bmN91m.gz 10:08:38 ==> Uploading reports 10:08:38 url: https://codecov.io 10:08:38 query: branch=PR-768&commit=9fe3938ee2d204b0af91be3145be6a464d2edd9d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-768%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=768&job=&cmd_args= 10:08:38 -> Pinging Codecov 10:08:38 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-768&commit=9fe3938ee2d204b0af91be3145be6a464d2edd9d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-768%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=768&job=&cmd_args= 10:08:38 -> Uploading to 10:08:38 https://storage.googleapis.com/codecov/v4/raw/2021-02-01/7E55EF52A471D76F132DFD9A03CDDE97/9fe3938ee2d204b0af91be3145be6a464d2edd9d/caa25859-45e7-491a-a5a7-84373c6d545e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210201T100838Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9af55f7ff1b25c0dea25e909c50cffdd5dbbdf2b47844ab158a983ef135c4068 10:08:38 % Total % Received % Xferd Average Speed Time Time Time Current 10:08:38 Dload Upload Total Spent Left Speed 10:08:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15244 0 0 100 15244 0 28550 --:--:-- --:--:-- --:--:-- 28600 10:08:38 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9fe3938ee2d204b0af91be3145be6a464d2edd9d [Pipeline] } 10:08:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 10:08:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:08:43 ---> package-listing.sh 10:08:43 ++ facter osfamily 10:08:43 ++ tr '[:upper:]' '[:lower:]' 10:08:43 + OS_FAMILY=redhat 10:08:43 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-768 10:08:43 + START_PACKAGES=/tmp/packages_start.txt 10:08:43 + END_PACKAGES=/tmp/packages_end.txt 10:08:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:08:43 + PACKAGES=/tmp/packages_start.txt 10:08:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-768 ']' 10:08:43 + PACKAGES=/tmp/packages_end.txt 10:08:43 + case "${OS_FAMILY}" in 10:08:43 + rpm -qa 10:08:43 + sort 10:08:50 + '[' -f /tmp/packages_start.txt ']' 10:08:50 + '[' -f /tmp/packages_end.txt ']' 10:08:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:08:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-768 ']' 10:08:50 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-768/archives/ 10:08:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-768/archives/ [Pipeline] echo 10:08:50 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-768/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:08:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:08:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:08:51 10:08:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:08:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:08:52 alpine: Pulling from edgex-lftools-log-publisher 10:08:52 df20fa9351a1: Pulling fs layer 10:08:52 36b3adc4ff6f: Pulling fs layer 10:08:52 8ad3a11d3b57: Pulling fs layer 10:08:52 46f8f816bc3b: Pulling fs layer 10:08:52 93b61091891f: Pulling fs layer 10:08:52 93b9cdb0e59b: Pulling fs layer 10:08:52 5e14af77c1be: Pulling fs layer 10:08:52 01666e4c0597: Pulling fs layer 10:08:52 aa168da1d23b: Pulling fs layer 10:08:52 01666e4c0597: Waiting 10:08:52 93b61091891f: Waiting 10:08:52 aa168da1d23b: Waiting 10:08:52 5e14af77c1be: Waiting 10:08:52 93b9cdb0e59b: Waiting 10:08:52 36b3adc4ff6f: Verifying Checksum 10:08:52 36b3adc4ff6f: Download complete 10:08:52 46f8f816bc3b: Verifying Checksum 10:08:52 46f8f816bc3b: Download complete 10:08:52 df20fa9351a1: Download complete 10:08:52 93b9cdb0e59b: Verifying Checksum 10:08:52 93b9cdb0e59b: Download complete 10:08:52 5e14af77c1be: Verifying Checksum 10:08:52 5e14af77c1be: Download complete 10:08:52 01666e4c0597: Verifying Checksum 10:08:52 01666e4c0597: Download complete 10:08:52 93b61091891f: Verifying Checksum 10:08:52 93b61091891f: Download complete 10:08:52 df20fa9351a1: Pull complete 10:08:53 36b3adc4ff6f: Pull complete 10:08:53 8ad3a11d3b57: Verifying Checksum 10:08:53 8ad3a11d3b57: Download complete 10:08:54 8ad3a11d3b57: Pull complete 10:08:55 46f8f816bc3b: Pull complete 10:08:56 93b61091891f: Pull complete 10:08:56 93b9cdb0e59b: Pull complete 10:08:57 aa168da1d23b: Verifying Checksum 10:08:57 aa168da1d23b: Download complete 10:08:57 5e14af77c1be: Pull complete 10:08:57 01666e4c0597: Pull complete 10:09:12 aa168da1d23b: Pull complete 10:09:12 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:09:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:09:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:09:13 prd-centos7-docker-4c-2g-24323 does not seem to be running inside a container 10:09:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-768/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-768 -v /w/workspace/dgexfoundry_device-sdk-go_PR-768:/w/workspace/dgexfoundry_device-sdk-go_PR-768:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:09:16 $ docker top 8242f4d981248b84c5e54279358158d1e1dec6dfdc37228852987110b0aa9268 -eo pid,comm [Pipeline] { [Pipeline] sh 10:09:17 + touch /tmp/pre-build-complete [Pipeline] sh 10:09:17 + mkdir -p /var/log/sa [Pipeline] sh 10:09:18 + ls /var/log/sa-host 10:09:18 + sadf -c /var/log/sa-host/sa01 10:09:18 file_magic: OK 10:09:18 HZ: Using current value: 100 10:09:18 file_header: OK 10:09:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 10:09:18 Statistics: 10:09:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:09:18 File successfully converted to sysstat format version 12.2.1 10:09:18 + sadf -c /var/log/sa-host/sa23 10:09:18 file_magic: OK 10:09:18 HZ: Using current value: 100 10:09:18 file_header: OK 10:09:18 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 10:09:18 Statistics: 10:09:18 Hnuu...uuuununununu... 10:09:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:09:19 provisioning config files... 10:09:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/config747172132897064308tmp [Pipeline] { [Pipeline] echo 10:09:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:09:19 ---> create-netrc.sh [Pipeline] } 10:09:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:09:19 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:09:20 ---> python-tools-install.sh [Pipeline] echo 10:09:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:09:20 ---> sudo-logs.sh 10:09:20 Archiving 'sudo' log.. [Pipeline] echo 10:09:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:09:21 ---> job-cost.sh 10:09:21 lf-activate-venv: SKIPPING 10:09:21 INFO: No Stack... 10:09:22 INFO: Retrieving Pricing Info for: v1-standard-2 10:09:22 INFO: Archiving Costs [Pipeline] echo 10:09:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:09:23 ---> logs-deploy.sh 10:09:23 lf-activate-venv: SKIPPING 10:09:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-768/1 10:09:23 INFO: archiving workspace using pattern(s): 10:09:26 Archives upload complete. 10:09:26 INFO: archiving logs to Nexus