Pull request #811 updated 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 df528cba39348f8e1f4e13a531a95c1d592230f2+62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 (d662939435c225b76137ce4ebdd553c35a827c1a) Running in Durability level: PERFORMANCE_OPTIMIZED 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29128 in /w/workspace/dgexfoundry_device-sdk-go_PR-811 [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-811 # 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 > 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 Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit df528cba39348f8e1f4e13a531a95c1d592230f2 Merge succeeded, producing df528cba39348f8e1f4e13a531a95c1d592230f2 Checking out Revision df528cba39348f8e1f4e13a531a95c1d592230f2 (PR-811) 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/811/head:refs/remotes/origin/PR-811 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df528cba39348f8e1f4e13a531a95c1d592230f2 # 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 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df528cba39348f8e1f4e13a531a95c1d592230f2 # timeout=10 Commit message: "refactor: use new CommandValue function/method" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 76e103c2ad1a104127ad77989930aecfa798f89b # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:51:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:51:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:51:18 ========================================================= 09:51:18 EdgeX Global Pipelines Version Info 09:51:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:51:19 ------------------- 09:51:19 stable info: 09:51:19 ------------------- 09:51:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:51:19 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 09:51:19 Message: update stable to v1.0.184 09:51:20 ------------------- 09:51:20 experimental info: 09:51:20 ------------------- 09:51:20 Commited By: **** collab-it+edgex@linuxfoundation.org 09:51:20 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 09:51:20 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:51:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:51:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:51:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:51:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:51:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:51:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:51:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:51:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:51:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:51:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:51:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:51:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:51:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:51:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:51:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:51:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:51:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:51:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:51:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:51:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:51:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:51:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-811 [Pipeline] echo 09:51:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-811 [Pipeline] echo 09:51:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-811 [Pipeline] echo 09:51:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df528cba39348f8e1f4e13a531a95c1d592230f2 [Pipeline] echo 09:51:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df528cb [Pipeline] echo 09:51:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:51:24 provisioning config files... 09:51:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/config5487798637440807827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:51:25 ---> docker-login.sh 09:51:25 nexus3.edgexfoundry.org:10001 09:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:25 Configure a credential helper to remove this warning. See 09:51:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:25 09:51:25 Login Succeeded 09:51:25 nexus3.edgexfoundry.org:10002 09:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:25 Configure a credential helper to remove this warning. See 09:51:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:25 09:51:25 Login Succeeded 09:51:25 nexus3.edgexfoundry.org:10003 09:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:26 Configure a credential helper to remove this warning. See 09:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:26 09:51:26 Login Succeeded 09:51:26 nexus3.edgexfoundry.org:10004 09:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:26 Configure a credential helper to remove this warning. See 09:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:26 09:51:26 Login Succeeded 09:51:26 docker.io 09:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:26 Configure a credential helper to remove this warning. See 09:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:26 09:51:26 Login Succeeded 09:51:26 ---> docker-login.sh ends [Pipeline] } 09:51:26 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 09:51:27 + git log --format=format:%s -1 df528cba39348f8e1f4e13a531a95c1d592230f2 [Pipeline] echo 09:51:27 GIT_COMMIT: df528cba39348f8e1f4e13a531a95c1d592230f2, Commit Message: refactor: use new CommandValue function/method [Pipeline] echo 09:51:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:51:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:51:28 09:51:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:51:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:51:28 latest: Pulling from edgex-devops/git-semver 09:51:28 31603596830f: Pulling fs layer 09:51:28 2a8b12db71e7: Pulling fs layer 09:51:28 6ca5941a6612: Pulling fs layer 09:51:28 ecc8261a40a4: Pulling fs layer 09:51:28 ecc8261a40a4: Waiting 09:51:28 2a8b12db71e7: Verifying Checksum 09:51:28 2a8b12db71e7: Download complete 09:51:29 31603596830f: Verifying Checksum 09:51:29 31603596830f: Download complete 09:51:29 ecc8261a40a4: Verifying Checksum 09:51:29 ecc8261a40a4: Download complete 09:51:29 6ca5941a6612: Verifying Checksum 09:51:29 6ca5941a6612: Download complete 09:51:29 31603596830f: Pull complete 09:51:29 2a8b12db71e7: Pull complete 09:51:30 6ca5941a6612: Pull complete 09:51:31 ecc8261a40a4: Pull complete 09:51:31 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:51:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:51:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:51:31 prd-centos7-docker-4c-2g-29128 does not seem to be running inside a container 09:51:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-811 -v /w/workspace/dgexfoundry_device-sdk-go_PR-811:/w/workspace/dgexfoundry_device-sdk-go_PR-811:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-811@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:10004/edgex-devops/git-semver:latest cat 09:51:33 $ docker top b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:51:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:51:33 [ssh-agent] Looking for ssh-agent implementation... 09:51:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:51:34 $ docker exec b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 ssh-agent 09:51:34 SSH_AUTH_SOCK=/tmp/ssh-eFOWkfP09hAL/agent.13 09:51:34 SSH_AGENT_PID=18 09:51:34 Running ssh-add (command line suppressed) 09:51:34 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_9181079985248086176.key (/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_9181079985248086176.key) 09:51:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:51:34 + git tag --points-at HEAD [Pipeline] } 09:51:34 $ docker exec --env ******** --env ******** b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 ssh-agent -k 09:51:34 unset SSH_AUTH_SOCK; 09:51:34 unset SSH_AGENT_PID; 09:51:34 echo Agent pid 18 killed; 09:51:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:51:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:51:35 [ssh-agent] Looking for ssh-agent implementation... 09:51:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:51:35 $ docker exec b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 ssh-agent 09:51:35 SSH_AUTH_SOCK=/tmp/ssh-Dq74xdJ7xwmf/agent.47 09:51:35 SSH_AGENT_PID=52 09:51:35 Running ssh-add (command line suppressed) 09:51:35 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_7749204403182443979.key (/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/private_key_7749204403182443979.key) 09:51:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:51:36 + git semver init 09:51:36 # -> Open(): unable to determine branch for HEAD 09:51:36 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-811/.git 09:51:36 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-811 09:51:36 # $SEMVER_REMOTE_NAME = origin 09:51:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:51:36 # $SEMVER_USER_NAME = edgex-jenkins 09:51:36 # $SEMVER_BRANCH = PR-811 09:51:36 # $SEMVER_TEMP = /tmp/semver-529401558 09:51:36 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:51:36 # '/tmp/semver-529401558' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-811/.semver' 09:51:36 # -> Force: false 09:51:36 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-811/.semver [Pipeline] } 09:51:36 $ docker exec --env ******** --env ******** b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 ssh-agent -k 09:51:36 unset SSH_AUTH_SOCK; 09:51:36 unset SSH_AGENT_PID; 09:51:36 echo Agent pid 52 killed; 09:51:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:51:37 + git semver [Pipeline] } 09:51:37 $ docker stop --time=1 b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 09:51:38 $ docker rm -f b144678d8718a92f45aa3b4a1e8ec40e80ff5ec7edc231fd4ad5a781b8620ce3 [Pipeline] // withDockerContainer [Pipeline] sh 09:51:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:51:39 Stashed 1 file(s) [Pipeline] echo 09:51:39 [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 09:51:55 Still waiting to schedule task 09:51:55 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29128’ 09:51:55 Still waiting to schedule task 09:51:55 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 09:53:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-29129 in /w/workspace/dgexfoundry_device-sdk-go_PR-811 [Pipeline] { [Pipeline] ws 09:53:42 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 09:53:47 using credential edgex-jenkins-ssh 09:53:47 Cloning the remote Git repository 09:53:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:53:47 > git init /w/workspace/device-sdk-go/4 # timeout=10 09:53:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:53:47 > git --version # timeout=10 09:53:47 > git --version # 'git version 2.17.1' 09:53:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:53:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:53:49 Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit df528cba39348f8e1f4e13a531a95c1d592230f2 09:53:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:53:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:53:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:53:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:53:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:53:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/811/head:refs/remotes/origin/PR-811 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:53:49 > git config core.sparsecheckout # timeout=10 09:53:49 > git checkout -f df528cba39348f8e1f4e13a531a95c1d592230f2 # timeout=10 09:53:49 > git remote # timeout=10 09:53:49 > git config --get remote.origin.url # timeout=10 09:53:49 Merge succeeded, producing df528cba39348f8e1f4e13a531a95c1d592230f2 09:53:49 Checking out Revision df528cba39348f8e1f4e13a531a95c1d592230f2 (PR-811) 09:53:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:53:49 > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 09:53:49 > git rev-parse HEAD^{commit} # timeout=10 09:53:49 > git config core.sparsecheckout # timeout=10 09:53:49 > git checkout -f df528cba39348f8e1f4e13a531a95c1d592230f2 # timeout=10 09:53:54 Commit message: "refactor: use new CommandValue function/method" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:53:56 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:53:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:53:57 + sudo service docker restart 09:53:57 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:53:59 provisioning config files... 09:53:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7916684252753864307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:00 ---> docker-login.sh 09:54:00 nexus3.edgexfoundry.org:10001 09:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:01 Configure a credential helper to remove this warning. See 09:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:01 09:54:01 Login Succeeded 09:54:01 nexus3.edgexfoundry.org:10002 09:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:02 Configure a credential helper to remove this warning. See 09:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:02 09:54:02 Login Succeeded 09:54:02 nexus3.edgexfoundry.org:10003 09:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:02 Configure a credential helper to remove this warning. See 09:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:02 09:54:02 Login Succeeded 09:54:02 nexus3.edgexfoundry.org:10004 09:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:02 Configure a credential helper to remove this warning. See 09:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:02 09:54:02 Login Succeeded 09:54:02 docker.io 09:54:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:03 Configure a credential helper to remove this warning. See 09:54:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:03 09:54:03 Login Succeeded 09:54:03 ---> docker-login.sh ends [Pipeline] } 09:54:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:54:03 ========================================================= 09:54:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:54:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:54:04 + 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 . 09:54:04 Sending build context to Docker daemon 2.323MB 09:54:04 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:54:04 Step 2/8 : FROM ${BASE} 09:54:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:54:04 5f621e34cdf4: Pulling fs layer 09:54:04 a4357932f1b6: Pulling fs layer 09:54:04 18c013af1878: Pulling fs layer 09:54:04 00ac8860ef70: Pulling fs layer 09:54:04 63d7cb157983: Pulling fs layer 09:54:04 b116817d02f9: Pulling fs layer 09:54:04 745a02a5169b: Pulling fs layer 09:54:04 63d7cb157983: Waiting 09:54:04 00ac8860ef70: Waiting 09:54:04 b116817d02f9: Waiting 09:54:04 745a02a5169b: Waiting 09:54:04 18c013af1878: Verifying Checksum 09:54:04 18c013af1878: Download complete 09:54:04 a4357932f1b6: Verifying Checksum 09:54:04 a4357932f1b6: Download complete 09:54:04 63d7cb157983: Verifying Checksum 09:54:04 63d7cb157983: Download complete 09:54:05 b116817d02f9: Download complete 09:54:05 5f621e34cdf4: Verifying Checksum 09:54:05 5f621e34cdf4: Download complete 09:54:06 5f621e34cdf4: Pull complete 09:54:06 a4357932f1b6: Pull complete 09:54:07 18c013af1878: Pull complete 09:54:07 745a02a5169b: Verifying Checksum 09:54:07 745a02a5169b: Download complete 09:54:09 00ac8860ef70: Verifying Checksum 09:54:09 00ac8860ef70: Download complete 09:54:19 00ac8860ef70: Pull complete 09:54:19 63d7cb157983: Pull complete 09:54:20 b116817d02f9: Pull complete 09:54:20 Running on prd-centos7-docker-4c-2g-29130 in /w/workspace/dgexfoundry_device-sdk-go_PR-811 [Pipeline] { [Pipeline] ws 09:54:20 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 09:54:23 using credential edgex-jenkins-ssh 09:54:23 Cloning the remote Git repository 09:54:24 745a02a5169b: Pull complete 09:54:24 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:54:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:54:24 ---> b7e6874047d6 09:54:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:54:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:54:23 > git init /w/workspace/device-sdk-go/4 # timeout=10 09:54:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:54:23 > git --version # timeout=10 09:54:23 > git --version # 'git version 2.24.3' 09:54:23 using GIT_SSH to set credentials SSH Credentials for GitHub 09:54:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:54:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:54:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:54:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:54:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:54:24 using GIT_SSH to set credentials SSH Credentials for GitHub 09:54:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/811/head:refs/remotes/origin/PR-811 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:54:24 Merging remotes/origin/master commit 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 into PR head commit df528cba39348f8e1f4e13a531a95c1d592230f2 09:54:25 Merge succeeded, producing df528cba39348f8e1f4e13a531a95c1d592230f2 09:54:25 Checking out Revision df528cba39348f8e1f4e13a531a95c1d592230f2 (PR-811) 09:54:24 > git config core.sparsecheckout # timeout=10 09:54:24 > git checkout -f df528cba39348f8e1f4e13a531a95c1d592230f2 # timeout=10 09:54:24 > git remote # timeout=10 09:54:24 > git config --get remote.origin.url # timeout=10 09:54:24 using GIT_SSH to set credentials SSH Credentials for GitHub 09:54:24 > git merge 62dc0a4d0d8d70c39ca7894a25731db064e1c9c7 # timeout=10 09:54:25 > git rev-parse HEAD^{commit} # timeout=10 09:54:25 > git config core.sparsecheckout # timeout=10 09:54:25 > git checkout -f df528cba39348f8e1f4e13a531a95c1d592230f2 # timeout=10 09:54:27 ---> Running in d70c7306287d 09:54:27 Removing intermediate container d70c7306287d 09:54:27 ---> 85f774f631bd 09:54:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:54:27 ---> Running in 9abaeb510543 09:54:28 Commit message: "refactor: use new CommandValue function/method" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:54:29 Removing intermediate container 9abaeb510543 09:54:29 ---> cb415350ad65 09:54:29 Step 5/8 : RUN apk add --update --no-cache make git 09:54:29 ---> Running in 80611ff9175c 09:54:29 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:54:30 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:54:30 + sudo service docker restart 09:54:30 + true 09:54:30 Redirecting to /bin/systemctl restart docker.service 09:54:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:54:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:54:32 provisioning config files... 09:54:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8897176264208013280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:32 OK: 142 MiB in 39 packages 09:54:32 ---> docker-login.sh 09:54:32 nexus3.edgexfoundry.org:10001 09:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:32 Configure a credential helper to remove this warning. See 09:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:32 09:54:32 Login Succeeded 09:54:32 nexus3.edgexfoundry.org:10002 09:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:33 Configure a credential helper to remove this warning. See 09:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:33 09:54:33 Login Succeeded 09:54:33 nexus3.edgexfoundry.org:10003 09:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:33 Configure a credential helper to remove this warning. See 09:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:33 09:54:33 Login Succeeded 09:54:33 nexus3.edgexfoundry.org:10004 09:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:33 Removing intermediate container 80611ff9175c 09:54:33 ---> 28c66bfb89d0 09:54:33 Step 6/8 : WORKDIR /device-sdk-go 09:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:33 Configure a credential helper to remove this warning. See 09:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:33 09:54:33 Login Succeeded 09:54:33 docker.io 09:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:33 ---> Running in f67e54c134eb 09:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:33 Configure a credential helper to remove this warning. See 09:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:33 09:54:33 Login Succeeded 09:54:33 ---> docker-login.sh ends [Pipeline] } 09:54:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv 09:54:34 Removing intermediate container f67e54c134eb 09:54:34 ---> bd6d9dfb010f 09:54:34 Step 7/8 : COPY . . [Pipeline] unstash [Pipeline] echo 09:54:34 ========================================================= 09:54:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:54:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:54:34 + 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 . 09:54:34 Sending build context to Docker daemon 2.324MB 09:54:34 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:54:34 Step 2/8 : FROM ${BASE} 09:54:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:54:34 188c0c94c7c5: Pulling fs layer 09:54:34 0ef7d3d256c8: Pulling fs layer 09:54:34 de9db76c5a1d: Pulling fs layer 09:54:34 bca2f99d35d6: Pulling fs layer 09:54:34 93359f2a8cfa: Pulling fs layer 09:54:34 7c6f9722023f: Pulling fs layer 09:54:34 a35cf1a2eb13: Pulling fs layer 09:54:34 93359f2a8cfa: Waiting 09:54:34 7c6f9722023f: Waiting 09:54:34 a35cf1a2eb13: Waiting 09:54:34 bca2f99d35d6: Waiting 09:54:34 0ef7d3d256c8: Verifying Checksum 09:54:34 0ef7d3d256c8: Download complete 09:54:34 de9db76c5a1d: Verifying Checksum 09:54:34 de9db76c5a1d: Download complete 09:54:34 93359f2a8cfa: Verifying Checksum 09:54:34 93359f2a8cfa: Download complete 09:54:34 188c0c94c7c5: Verifying Checksum 09:54:34 188c0c94c7c5: Download complete 09:54:34 7c6f9722023f: Verifying Checksum 09:54:34 7c6f9722023f: Download complete 09:54:35 188c0c94c7c5: Pull complete 09:54:35 0ef7d3d256c8: Pull complete 09:54:35 ---> 73adc89faff6 09:54:35 Step 8/8 : RUN go mod download 09:54:35 ---> Running in fb322055fe0a 09:54:35 de9db76c5a1d: Pull complete 09:54:36 a35cf1a2eb13: Download complete 09:54:37 bca2f99d35d6: Verifying Checksum 09:54:37 bca2f99d35d6: Download complete 09:54:44 bca2f99d35d6: Pull complete 09:54:44 93359f2a8cfa: Pull complete 09:54:44 7c6f9722023f: Pull complete 09:54:50 a35cf1a2eb13: Pull complete 09:54:50 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:54:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:54:50 ---> a62c8e92a672 09:54:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:54:50 ---> Running in be674ecd3271 09:54:50 Removing intermediate container be674ecd3271 09:54:50 ---> b9ca18f55a02 09:54:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:54:51 ---> Running in 4175e5e766f3 09:54:52 Removing intermediate container 4175e5e766f3 09:54:52 ---> 68fcfeaf893e 09:54:52 Step 5/8 : RUN apk add --update --no-cache make git 09:54:52 ---> Running in 090de7de452e 09:54:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:54:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:54:54 OK: 166 MiB in 39 packages 09:54:54 Removing intermediate container 090de7de452e 09:54:54 ---> 86e59a72e2d0 09:54:54 Step 6/8 : WORKDIR /device-sdk-go 09:54:54 ---> Running in b847074bedf1 09:54:55 Removing intermediate container b847074bedf1 09:54:55 ---> e7e5e50b4013 09:54:55 Step 7/8 : COPY . . 09:54:56 ---> 7ab3d6de1273 09:54:56 Step 8/8 : RUN go mod download 09:54:56 ---> Running in 037cfc08b59e 09:55:02 Removing intermediate container fb322055fe0a 09:55:02 ---> 7eeb7ae915cb 09:55:02 Successfully built 7eeb7ae915cb 09:55:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:55:02 + docker inspect -f . ci-base-image-arm64 09:55:02 . [Pipeline] withDockerContainer 09:55:02 prd-ubuntu18.04-docker-arm64-4c-16g-29129 does not seem to be running inside a container 09:55:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:55:04 $ docker top 36c69f3547697aa2f72703231b5ac9ca91fb8cb793a5a0d3fca85ab74a6c257d -eo pid,comm [Pipeline] { [Pipeline] sh 09:55:05 + go version 09:55:05 go version go1.15.5 linux/arm64 [Pipeline] } 09:55:05 $ docker stop --time=1 36c69f3547697aa2f72703231b5ac9ca91fb8cb793a5a0d3fca85ab74a6c257d 09:55:07 $ docker rm -f 36c69f3547697aa2f72703231b5ac9ca91fb8cb793a5a0d3fca85ab74a6c257d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:55:08 + docker inspect -f . ci-base-image-arm64 09:55:08 . [Pipeline] withDockerContainer 09:55:08 prd-ubuntu18.04-docker-arm64-4c-16g-29129 does not seem to be running inside a container 09:55:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:55:09 $ docker top 9a0dc837b3531189d2faff3c53f91d008e17449cbd264bd2f2757d6e7d5078d5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:55:10 + make test 09:55:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:55:18 Removing intermediate container 037cfc08b59e 09:55:18 ---> e2b2e2004a6c 09:55:18 Successfully built e2b2e2004a6c 09:55:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:55:18 + docker inspect -f . ci-base-image-x86_64 09:55:18 . [Pipeline] withDockerContainer 09:55:19 prd-centos7-docker-4c-2g-29130 does not seem to be running inside a container 09:55:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:55:20 $ docker top 8d3f8479ae25b7f2e5f2417a78ae40b5aff8f6b6c9c7f904a7b33baff6a634d1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:55:20 + go version 09:55:20 go version go1.15.5 linux/amd64 [Pipeline] } 09:55:20 $ docker stop --time=1 8d3f8479ae25b7f2e5f2417a78ae40b5aff8f6b6c9c7f904a7b33baff6a634d1 09:55:21 $ docker rm -f 8d3f8479ae25b7f2e5f2417a78ae40b5aff8f6b6c9c7f904a7b33baff6a634d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:55:22 + docker inspect -f . ci-base-image-x86_64 09:55:22 . [Pipeline] withDockerContainer 09:55:22 prd-centos7-docker-4c-2g-29130 does not seem to be running inside a container 09:55:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:55:23 $ docker top 4da4a4687ad9b8594e844f4ab2dc575fb68c90bb4b02b4bc88f4ebfcb735bb2a -eo pid,comm [Pipeline] { [Pipeline] sh 09:55:24 + make test 09:55:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:55:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:55:33 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:55:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:55:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:55:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:55:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 25.5% of statements 09:56:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:56:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:56:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:56:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.124s coverage: 25.5% of statements 09:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.056s coverage: 10.5% of statements 09:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.055s coverage: 12.5% of statements 09:56:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.068s coverage: 84.8% of statements 09:56:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 09:56:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:56:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 47.6% of statements 09:56:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 09:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.070s coverage: 81.3% of statements 09:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.080s coverage: 24.8% of statements 09:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.148s coverage: 6.4% of statements 09:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.2% of statements 09:56:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:56:23 GO111MODULE=on go vet ./... 09:56:31 gofmt -l . 09:56:31 [ "`gofmt -l .`" = "" ] 09:56:31 ./bin/test-attribution-txt.sh 09:56:31 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:56:32 $ docker stop --time=1 4da4a4687ad9b8594e844f4ab2dc575fb68c90bb4b02b4bc88f4ebfcb735bb2a 09:56:34 $ docker rm -f 4da4a4687ad9b8594e844f4ab2dc575fb68c90bb4b02b4bc88f4ebfcb735bb2a [Pipeline] // withDockerContainer [Pipeline] sh 09:56:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:56:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:56:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:56:38 + ls -al . 09:56:38 total 184 09:56:38 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 9 09:56 . 09:56:38 drwxrwxr-x. 4 jenkins jenkins 28 Mar 9 09:54 .. 09:56:38 drwxrwxr-x. 2 jenkins jenkins 64 Mar 9 09:54 bin 09:56:38 -rw-r--r--. 1 jenkins jenkins 102298 Mar 9 09:56 coverage.out 09:56:38 -rw-rw-r--. 1 jenkins jenkins 949 Mar 9 09:54 Dockerfile.build 09:56:38 -rw-rw-r--. 1 jenkins jenkins 140 Mar 9 09:54 .dockerignore 09:56:38 drwxrwxr-x. 4 jenkins jenkins 48 Mar 9 09:54 example 09:56:38 drwxrwxr-x. 8 jenkins jenkins 179 Mar 9 09:54 .git 09:56:38 drwxrwxr-x. 2 jenkins jenkins 103 Mar 9 09:54 .github 09:56:38 -rw-rw-r--. 1 jenkins jenkins 138 Mar 9 09:54 .gitignore 09:56:38 -rw-r--r--. 1 jenkins jenkins 479 Mar 9 09:56 go.mod 09:56:38 -rw-r--r--. 1 jenkins jenkins 17490 Mar 9 09:56 go.sum 09:56:38 drwxrwxr-x. 12 jenkins jenkins 171 Mar 9 09:54 internal 09:56:38 -rw-rw-r--. 1 jenkins jenkins 901 Mar 9 09:54 Jenkinsfile 09:56:38 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 9 09:54 LICENSE 09:56:38 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 9 09:54 Makefile 09:56:38 drwxrwxr-x. 4 jenkins jenkins 26 Mar 9 09:54 openapi 09:56:38 drwxrwxr-x. 5 jenkins jenkins 50 Mar 9 09:54 pkg 09:56:38 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 9 09:54 README.md 09:56:38 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 9 09:54 RELEASE-NOTES.txt 09:56:38 drwxrwxr-x. 4 jenkins jenkins 54 Mar 9 09:54 snap 09:56:38 -rw-rw-r--. 1 jenkins jenkins 5 Mar 9 09:51 VERSION 09:56:38 -rw-rw-r--. 1 jenkins jenkins 222 Mar 9 09:54 version.go [Pipeline] isUnix [Pipeline] sh 09:56:38 + 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=df528cba39348f8e1f4e13a531a95c1d592230f2 --label arch=amd64 --label version=0.0.0 . 09:56:39 Sending build context to Docker daemon 2.427MB 09:56:39 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:56:39 Step 2/24 : FROM ${BASE} AS builder 09:56:39 ---> e2b2e2004a6c 09:56:39 Step 3/24 : ARG MAKE='make build' 09:56:39 ---> Running in 5ce53f1b3e9b 09:56:40 Removing intermediate container 5ce53f1b3e9b 09:56:40 ---> 1731fde061ae 09:56:40 Step 4/24 : WORKDIR /device-sdk-go 09:56:40 ---> Running in 8596a6ff07ec 09:56:40 Removing intermediate container 8596a6ff07ec 09:56:40 ---> ae02fbc9dc56 09:56:40 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:56:40 ---> Running in 3d80bb8460cc 09:56:40 Removing intermediate container 3d80bb8460cc 09:56:40 ---> 7150fc6f215c 09:56:40 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:56:40 ---> Running in 8b719eb2919f 09:56:41 Removing intermediate container 8b719eb2919f 09:56:41 ---> 29e0b224e494 09:56:41 Step 7/24 : RUN apk add --update --no-cache make git 09:56:41 ---> Running in 89851dcb6919 09:56:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:56:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:56:43 OK: 166 MiB in 39 packages 09:56:44 Removing intermediate container 89851dcb6919 09:56:44 ---> dbed556cf6a3 09:56:44 Step 8/24 : COPY . . 09:56:45 ---> e59480959f9e 09:56:45 Step 9/24 : RUN ${MAKE} 09:56:45 ---> Running in d07a358c939f 09:56:46 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 09:56:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.114s coverage: 10.5% of statements 09:56:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.121s coverage: 12.5% of statements 09:56:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:56:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.135s coverage: 84.8% of statements 09:56:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 09:56:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:56:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:56:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.184s coverage: 47.6% of statements 09:56:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 09:56:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.158s coverage: 81.3% of statements 09:56:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.162s coverage: 24.8% of statements 09:56:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.830s coverage: 6.4% of statements 09:56:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.2% of statements 09:56:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:56:47 GO111MODULE=on go vet ./... 09:56:56 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:56:57 Removing intermediate container d07a358c939f 09:56:57 ---> 5e97da5bd05e 09:56:57 Step 10/24 : FROM scratch 09:56:57 ---> 09:56:57 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:56:57 ---> Running in d6152dc3e68b 09:56:57 Removing intermediate container d6152dc3e68b 09:56:57 ---> 9a335a006401 09:56:57 Step 12/24 : ENV APP_PORT=49990 09:56:57 ---> Running in 7a01924550ae 09:56:57 Removing intermediate container 7a01924550ae 09:56:57 ---> e81bcf1e87a6 09:56:57 Step 13/24 : EXPOSE $APP_PORT 09:56:57 ---> Running in 5dcc7063ae70 09:56:57 Removing intermediate container 5dcc7063ae70 09:56:57 ---> cb5a483895c9 09:56:57 Step 14/24 : WORKDIR / 09:56:57 ---> Running in b7d6f37ef8ef 09:56:57 Removing intermediate container b7d6f37ef8ef 09:56:57 ---> 291009d9cdbb 09:56:57 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:56:58 ---> 0dab57d16ff3 09:56:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:56:58 ---> 0aa77318a3c1 09:56:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:56:58 ---> 27c09e77b844 09:56:58 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:56:59 ---> 4517783fedeb 09:56:59 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:56:59 ---> 030b937a12fb 09:56:59 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:56:59 ---> Running in b02b7dc00678 09:56:59 Removing intermediate container b02b7dc00678 09:56:59 ---> 0f6223ba16a4 09:56:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:56:59 ---> Running in f747810b3ed9 09:56:59 Removing intermediate container f747810b3ed9 09:56:59 ---> 8140d85a7c26 09:56:59 Step 22/24 : LABEL arch=amd64 09:56:59 ---> Running in 32f070c79a59 09:56:59 Removing intermediate container 32f070c79a59 09:56:59 ---> 8f3fbd80738e 09:56:59 Step 23/24 : LABEL git_sha=df528cba39348f8e1f4e13a531a95c1d592230f2 09:56:59 ---> Running in 4ba61c233d15 09:57:00 Removing intermediate container 4ba61c233d15 09:57:00 ---> b28509d6adda 09:57:00 Step 24/24 : LABEL version=0.0.0 09:57:00 ---> Running in b6b265152128 09:57:00 Removing intermediate container b6b265152128 09:57:00 ---> a05c7ae2e6f8 09:57:00 [Warning] One or more build-args [ARCH] were not consumed 09:57:00 Successfully built a05c7ae2e6f8 09:57:00 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 Post stage [Pipeline] libraryResource [Pipeline] sh 09:57:01 ---> job-cost.sh 09:57:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qRoC 09:57:16 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:57:19 gofmt -l . 09:57:19 [ "`gofmt -l .`" = "" ] 09:57:19 ./bin/test-attribution-txt.sh 09:57:19 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:57:20 $ docker stop --time=1 9a0dc837b3531189d2faff3c53f91d008e17449cbd264bd2f2757d6e7d5078d5 09:57:22 $ docker rm -f 9a0dc837b3531189d2faff3c53f91d008e17449cbd264bd2f2757d6e7d5078d5 [Pipeline] // withDockerContainer [Pipeline] sh 09:57:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:57:23 Warning: overwriting stash ‘coverage-report’ 09:57:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:57:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:57:25 + ls -al . 09:57:25 total 220 09:57:25 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 09:57 . 09:57:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 09:53 .. 09:57:25 -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 09:53 .dockerignore 09:57:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 09:53 .git 09:57:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 09:53 .github 09:57:25 -rw-rw-r-- 1 jenkins jenkins 138 Mar 9 09:53 .gitignore 09:57:25 -rw-rw-r-- 1 jenkins jenkins 949 Mar 9 09:53 Dockerfile.build 09:57:25 -rw-rw-r-- 1 jenkins jenkins 901 Mar 9 09:53 Jenkinsfile 09:57:25 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 09:53 LICENSE 09:57:25 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 9 09:53 Makefile 09:57:25 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 9 09:53 README.md 09:57:25 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 9 09:53 RELEASE-NOTES.txt 09:57:25 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 09:51 VERSION 09:57:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 09:53 bin 09:57:25 -rw-r--r-- 1 jenkins jenkins 102298 Mar 9 09:56 coverage.out 09:57:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 09:53 example 09:57:25 -rw-r--r-- 1 jenkins jenkins 479 Mar 9 09:57 go.mod 09:57:25 -rw-r--r-- 1 jenkins jenkins 17490 Mar 9 09:57 go.sum 09:57:25 drwxrwxr-x 12 jenkins jenkins 4096 Mar 9 09:53 internal 09:57:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 09:53 openapi 09:57:25 drwxrwxr-x 5 jenkins jenkins 4096 Mar 9 09:53 pkg 09:57:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 09:53 snap 09:57:25 -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 09:53 version.go [Pipeline] isUnix [Pipeline] sh 09:57:26 + 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=df528cba39348f8e1f4e13a531a95c1d592230f2 --label arch=arm64 --label version=0.0.0 . 09:57:26 Sending build context to Docker daemon 2.426MB 09:57:26 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:57:26 Step 2/24 : FROM ${BASE} AS builder 09:57:26 ---> 7eeb7ae915cb 09:57:26 Step 3/24 : ARG MAKE='make build' 09:57:27 ---> Running in 12043177e59a 09:57:27 Removing intermediate container 12043177e59a 09:57:27 ---> 44cbf00b9fd2 09:57:27 Step 4/24 : WORKDIR /device-sdk-go 09:57:27 ---> Running in 40dd1e9cfe93 09:57:28 Removing intermediate container 40dd1e9cfe93 09:57:28 ---> 2d0a022da4be 09:57:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:57:28 ---> Running in 212b71441ee0 09:57:28 Removing intermediate container 212b71441ee0 09:57:28 ---> 2b2f3393d933 09:57:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:57:28 ---> Running in 6d7f6cf74a1d 09:57:30 Removing intermediate container 6d7f6cf74a1d 09:57:30 ---> 461af355a04e 09:57:30 Step 7/24 : RUN apk add --update --no-cache make git 09:57:31 ---> Running in e9acb7593c4b 09:57:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:57:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:57:33 OK: 142 MiB in 39 packages 09:57:34 Removing intermediate container e9acb7593c4b 09:57:34 ---> 4c9c6ae84e05 09:57:34 Step 8/24 : COPY . . 09:57:36 ---> 56998136f462 09:57:36 Step 9/24 : RUN ${MAKE} 09:57:36 ---> Running in 33bd895919a0 09:57:37 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 09:57:49 lf-activate-venv(): INFO: Adding /tmp/venv-qRoC/bin to PATH 09:57:49 INFO: No Stack... 09:57:49 INFO: Retrieving Pricing Info for: v1-standard-2 09:57:49 INFO: Archiving Costs [Pipeline] sh 09:57:49 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 09:57:49 + cut -d, -f6 [Pipeline] lock 09:57:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] 09:57:49 Resource [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] did not exist. Created. 09:57:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:57:50 + echo total: 0.029999999329447746 [Pipeline] stash 09:57:50 Stashed 1 file(s) [Pipeline] } 09:57:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:58:03 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:58:03 Removing intermediate container 33bd895919a0 09:58:03 ---> b4db4cee872f 09:58:03 Step 10/24 : FROM scratch 09:58:03 ---> 09:58:03 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:58:03 ---> Running in 9a648c8b68e8 09:58:04 Removing intermediate container 9a648c8b68e8 09:58:04 ---> d166ea08bf06 09:58:04 Step 12/24 : ENV APP_PORT=49990 09:58:04 ---> Running in 1c89ffadd85e 09:58:05 Removing intermediate container 1c89ffadd85e 09:58:05 ---> c8711286f699 09:58:05 Step 13/24 : EXPOSE $APP_PORT 09:58:05 ---> Running in 0f0946c92f0e 09:58:05 Removing intermediate container 0f0946c92f0e 09:58:05 ---> a9e1a2136460 09:58:05 Step 14/24 : WORKDIR / 09:58:05 ---> Running in 39a439c6bf3f 09:58:05 Removing intermediate container 39a439c6bf3f 09:58:05 ---> 887f9159050b 09:58:05 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:58:06 ---> 80a2b84372d7 09:58:06 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:58:07 ---> f978f1b86f22 09:58:07 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:58:08 ---> 7393147c5e8b 09:58:08 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:58:09 ---> 4d288263484e 09:58:09 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:58:10 ---> 83d828788979 09:58:10 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:58:10 ---> Running in 45914b0f386c 09:58:10 Removing intermediate container 45914b0f386c 09:58:10 ---> 670be5446bdd 09:58:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:58:10 ---> Running in 8f7289112065 09:58:10 Removing intermediate container 8f7289112065 09:58:10 ---> e7abc0014b33 09:58:10 Step 22/24 : LABEL arch=arm64 09:58:11 ---> Running in ebdca4522a4a 09:58:11 Removing intermediate container ebdca4522a4a 09:58:11 ---> a1c4650c2068 09:58:11 Step 23/24 : LABEL git_sha=df528cba39348f8e1f4e13a531a95c1d592230f2 09:58:11 ---> Running in 2344ca405414 09:58:12 Removing intermediate container 2344ca405414 09:58:12 ---> 3b7d5283173a 09:58:12 Step 24/24 : LABEL version=0.0.0 09:58:12 ---> Running in 84e8efb74cf1 09:58:12 Removing intermediate container 84e8efb74cf1 09:58:12 ---> 180b399be771 09:58:12 [Warning] One or more build-args [ARCH] were not consumed 09:58:12 Successfully built 180b399be771 09:58:12 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 Post stage [Pipeline] libraryResource [Pipeline] sh 09:58:13 ---> job-cost.sh 09:58:13 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-32yJ 09:58:52 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:00:29 lf-activate-venv(): INFO: Adding /tmp/venv-32yJ/bin to PATH 10:00:29 INFO: No Stack... 10:00:29 INFO: Retrieving Pricing Info for: lf-standard-4 10:00:29 INFO: Archiving Costs [Pipeline] sh 10:00:29 + cat+ /w/workspace/device-sdk-go/4/archives/cost.csv 10:00:29 cut -d, -f6 [Pipeline] lock 10:00:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] 10:00:29 Resource [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] did not exist. Created. 10:00:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:00:30 /w/workspace/device-sdk-go/4@tmp/durable-fb703288/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-fb703288/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 10:00:30 + echo total: 0.20999999344348907 [Pipeline] stash 10:00:30 Warning: overwriting stash ‘stack-cost’ 10:00:30 Stashed 1 file(s) [Pipeline] } 10:00:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-811-4-stack-cost] [Pipeline] // lock [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:00:32 provisioning config files... 10:00:32 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/config8606029243293311731tmp [Pipeline] { [Pipeline] sh 10:00:33 + set +x 10:00:33 + bash -s -- 10:00:33 + curl -s https://codecov.io/bash 10:00:33 10:00:33 _____ _ 10:00:33 / ____| | | 10:00:33 | | ___ __| | ___ ___ _____ __ 10:00:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:00:33 | |___| (_) | (_| | __/ (_| (_) \ V / 10:00:33 \_____\___/ \__,_|\___|\___\___/ \_/ 10:00:33 Bash-20210226-7100762 10:00:33 10:00:33 10:00:33 ==> git version 2.24.3 found 10:00:33 ==> 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:00:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:00:33 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:00:33 ==> Jenkins CI detected. 10:00:33 project root: . 10:00:33 --> token set from env 10:00:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:00:33 ==> Running gcov in . (disable via -X gcov) 10:00:33 ==> Python coveragepy not found 10:00:33 ==> Searching for coverage reports in: 10:00:33 + . 10:00:33 -> Found 1 reports 10:00:33 ==> Detecting git/mercurial file structure 10:00:33 ==> Reading reports 10:00:33 + ./coverage.out bytes=102298 10:00:33 ==> Appending adjustments 10:00:33 https://docs.codecov.io/docs/fixing-reports 10:00:33 + Found adjustments 10:00:33 ==> Gzipping contents 10:00:33 16K /tmp/codecov.P7ry3i.gz 10:00:33 ==> Uploading reports 10:00:33 url: https://codecov.io 10:00:33 query: branch=PR-811&commit=df528cba39348f8e1f4e13a531a95c1d592230f2&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-811%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=811&job=&cmd_args= 10:00:33 -> Pinging Codecov 10:00:33 https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=PR-811&commit=df528cba39348f8e1f4e13a531a95c1d592230f2&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-811%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=811&job=&cmd_args= 10:00:34 -> Uploading to 10:00:34 https://storage.googleapis.com/codecov/v4/raw/2021-03-09/7E55EF52A471D76F132DFD9A03CDDE97/df528cba39348f8e1f4e13a531a95c1d592230f2/00cf3a74-4c4e-4c82-ad93-16e353d07989.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210309T100034Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=423b826b3857671053b1b3534e85f4682e9e9309049fad1bf1da89642f786940 10:00:34 % Total % Received % Xferd Average Speed Time Time Time Current 10:00:34 Dload Upload Total Spent Left Speed 10:00:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15187 0 0 100 15187 0 31371 --:--:-- --:--:-- --:--:-- 31443 10:00:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/df528cba39348f8e1f4e13a531a95c1d592230f2 [Pipeline] } 10:00:35 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] { (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:00:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:00:38 ---> package-listing.sh 10:00:38 ++ facter osfamily 10:00:38 ++ tr '[:upper:]' '[:lower:]' 10:00:38 + OS_FAMILY=redhat 10:00:38 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-811 10:00:38 + START_PACKAGES=/tmp/packages_start.txt 10:00:38 + END_PACKAGES=/tmp/packages_end.txt 10:00:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:00:38 + PACKAGES=/tmp/packages_start.txt 10:00:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-811 ']' 10:00:38 + PACKAGES=/tmp/packages_end.txt 10:00:38 + case "${OS_FAMILY}" in 10:00:38 + rpm -qa 10:00:38 + sort 10:00:43 + '[' -f /tmp/packages_start.txt ']' 10:00:43 + '[' -f /tmp/packages_end.txt ']' 10:00:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:00:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-811 ']' 10:00:43 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-811/archives/ 10:00:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-811/archives/ [Pipeline] echo 10:00:43 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-811/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:00:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:00:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:00:44 10:00:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:00:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:00:44 alpine: Pulling from edgex-lftools-log-publisher 10:00:44 df20fa9351a1: Pulling fs layer 10:00:44 36b3adc4ff6f: Pulling fs layer 10:00:44 8ad3a11d3b57: Pulling fs layer 10:00:44 46f8f816bc3b: Pulling fs layer 10:00:44 93b61091891f: Pulling fs layer 10:00:44 93b9cdb0e59b: Pulling fs layer 10:00:44 5e14af77c1be: Pulling fs layer 10:00:44 01666e4c0597: Pulling fs layer 10:00:44 aa168da1d23b: Pulling fs layer 10:00:44 93b9cdb0e59b: Waiting 10:00:44 5e14af77c1be: Waiting 10:00:44 46f8f816bc3b: Waiting 10:00:44 01666e4c0597: Waiting 10:00:44 aa168da1d23b: Waiting 10:00:44 93b61091891f: Waiting 10:00:45 36b3adc4ff6f: Verifying Checksum 10:00:45 36b3adc4ff6f: Download complete 10:00:45 46f8f816bc3b: Verifying Checksum 10:00:45 46f8f816bc3b: Download complete 10:00:45 df20fa9351a1: Verifying Checksum 10:00:45 df20fa9351a1: Download complete 10:00:45 93b9cdb0e59b: Download complete 10:00:45 5e14af77c1be: Download complete 10:00:45 93b61091891f: Verifying Checksum 10:00:45 93b61091891f: Download complete 10:00:45 01666e4c0597: Verifying Checksum 10:00:45 01666e4c0597: Download complete 10:00:45 8ad3a11d3b57: Verifying Checksum 10:00:45 8ad3a11d3b57: Download complete 10:00:45 df20fa9351a1: Pull complete 10:00:45 36b3adc4ff6f: Pull complete 10:00:46 8ad3a11d3b57: Pull complete 10:00:46 46f8f816bc3b: Pull complete 10:00:47 93b61091891f: Pull complete 10:00:47 aa168da1d23b: Verifying Checksum 10:00:47 aa168da1d23b: Download complete 10:00:47 93b9cdb0e59b: Pull complete 10:00:47 5e14af77c1be: Pull complete 10:00:47 01666e4c0597: Pull complete 10:00:56 aa168da1d23b: Pull complete 10:00:56 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:00:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:00:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:00:56 prd-centos7-docker-4c-2g-29128 does not seem to be running inside a container 10:00:56 $ 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-811/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-811 -v /w/workspace/dgexfoundry_device-sdk-go_PR-811:/w/workspace/dgexfoundry_device-sdk-go_PR-811:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-811@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:alpine cat 10:00:59 $ docker top ebdd4c498eb437950991f64e67fa39f2b100674fad191c18230d52492f1450b8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:01:00 + touch /tmp/pre-build-complete [Pipeline] sh 10:01:00 + mkdir -p /var/log/sa [Pipeline] sh 10:01:00 + ls /var/log/sa-host 10:01:00 + sadf -c /var/log/sa-host/sa09 10:01:00 file_magic: OK 10:01:00 HZ: Using current value: 100 10:01:00 file_header: OK 10:01:00 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:01:00 Statistics: 10:01:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:01:00 File successfully converted to sysstat format version 12.2.1 10:01:00 + sadf -c /var/log/sa-host/sa23 10:01:00 file_magic: OK 10:01:00 HZ: Using current value: 100 10:01:00 file_header: OK 10:01:00 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:01:00 Statistics: 10:01:00 Hnuu...uuuununununu... 10:01:00 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:01:01 provisioning config files... 10:01:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-811@tmp/config9007004267209085533tmp [Pipeline] { [Pipeline] echo 10:01:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:01:01 ---> create-netrc.sh [Pipeline] } 10:01:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:01:01 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:01:02 ---> python-tools-install.sh [Pipeline] echo 10:01:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:01:02 ---> sudo-logs.sh 10:01:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:01:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:01:03 ---> job-cost.sh 10:01:03 lf-activate-venv: SKIPPING 10:01:03 DEBUG: total: 0.20999999344348907 10:01:03 INFO: Retrieving Stack Cost... 10:01:04 INFO: Retrieving Pricing Info for: v1-standard-2 10:01:04 INFO: Archiving Costs [Pipeline] echo 10:01:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:01:04 ---> logs-deploy.sh 10:01:04 lf-activate-venv: SKIPPING 10:01:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-811/4 10:01:04 INFO: archiving workspace using pattern(s): 10:01:06 Archives upload complete. 10:01:06 INFO: archiving logs to Nexus 10:01:07 ---> uname -a: 10:01:07 Linux prd-centos7-docker-4c-2g-29128.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 10:01:07 10:01:07