Pull request #821 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f3a93df600ccc61f0532ab2a2bef02090713baf8+e34679e4f02bbc164353b5eb88e70f6c516b0d21 (92a870d5033c3fafa7af41cb10a36ef7ce23c826) 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30152’ Running on prd-centos7-docker-4c-2g-30156 in /w/workspace/dgexfoundry_device-sdk-go_PR-821 [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-821 # 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 e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit f3a93df600ccc61f0532ab2a2bef02090713baf8 Merge succeeded, producing f3a93df600ccc61f0532ab2a2bef02090713baf8 Checking out Revision f3a93df600ccc61f0532ab2a2bef02090713baf8 (PR-821) > 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/821/head:refs/remotes/origin/PR-821 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f3a93df600ccc61f0532ab2a2bef02090713baf8 # 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 e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f3a93df600ccc61f0532ab2a2bef02090713baf8 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:05:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 993ed365126e9ffa3ca2265c9421eafee55cea21 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:05:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:05:22 ========================================================= 12:05:22 EdgeX Global Pipelines Version Info 12:05:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:05:23 ------------------- 12:05:23 stable info: 12:05:23 ------------------- 12:05:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:05:23 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 12:05:23 Message: update stable to v1.0.184 12:05:24 ------------------- 12:05:24 experimental info: 12:05:24 ------------------- 12:05:24 Commited By: **** collab-it+edgex@linuxfoundation.org 12:05:24 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 12:05:24 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:05:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 12:05:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 12:05:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:05:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:05:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:05:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 12:05:25 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 12:05:25 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 12:05:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 12:05:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:05:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:05:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 12:05:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:05:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:05:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:05:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:05:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:05:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:05:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:05:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:05:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 12:05:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 12:05:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:05:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:05:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:05:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:05:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-821 [Pipeline] echo 12:05:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-821 [Pipeline] echo 12:05:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-821 [Pipeline] echo 12:05:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f3a93df600ccc61f0532ab2a2bef02090713baf8 [Pipeline] echo 12:05:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f3a93df [Pipeline] echo 12:05:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:05:27 provisioning config files... 12:05:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/config4818420854227959940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:28 ---> docker-login.sh 12:05:28 nexus3.edgexfoundry.org:10001 12:05:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:28 Configure a credential helper to remove this warning. See 12:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:28 12:05:28 Login Succeeded 12:05:28 nexus3.edgexfoundry.org:10002 12:05:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:29 Configure a credential helper to remove this warning. See 12:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:29 12:05:29 Login Succeeded 12:05:29 nexus3.edgexfoundry.org:10003 12:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:29 Configure a credential helper to remove this warning. See 12:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:29 12:05:29 Login Succeeded 12:05:29 nexus3.edgexfoundry.org:10004 12:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:29 Configure a credential helper to remove this warning. See 12:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:29 12:05:29 Login Succeeded 12:05:29 docker.io 12:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:29 Configure a credential helper to remove this warning. See 12:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:29 12:05:29 Login Succeeded 12:05:29 ---> docker-login.sh ends [Pipeline] } 12:05:29 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 12:05:30 + git log --format=format:%s -1 f3a93df600ccc61f0532ab2a2bef02090713baf8 [Pipeline] echo 12:05:30 GIT_COMMIT: f3a93df600ccc61f0532ab2a2bef02090713baf8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 12:05:30 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 12:05:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:31 12:05:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:05:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:31 latest: Pulling from edgex-devops/git-semver 12:05:31 31603596830f: Pulling fs layer 12:05:31 2a8b12db71e7: Pulling fs layer 12:05:31 6ca5941a6612: Pulling fs layer 12:05:31 ecc8261a40a4: Pulling fs layer 12:05:31 ecc8261a40a4: Waiting 12:05:31 2a8b12db71e7: Verifying Checksum 12:05:31 2a8b12db71e7: Download complete 12:05:31 31603596830f: Verifying Checksum 12:05:31 31603596830f: Download complete 12:05:32 ecc8261a40a4: Verifying Checksum 12:05:32 ecc8261a40a4: Download complete 12:05:32 6ca5941a6612: Verifying Checksum 12:05:32 6ca5941a6612: Download complete 12:05:32 31603596830f: Pull complete 12:05:32 2a8b12db71e7: Pull complete 12:05:33 6ca5941a6612: Pull complete 12:05:33 ecc8261a40a4: Pull complete 12:05:33 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 12:05:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:05:33 prd-centos7-docker-4c-2g-30156 does not seem to be running inside a container 12:05:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-821 -v /w/workspace/dgexfoundry_device-sdk-go_PR-821:/w/workspace/dgexfoundry_device-sdk-go_PR-821:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-821@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 12:05:36 $ docker top 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:05:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:36 [ssh-agent] Looking for ssh-agent implementation... 12:05:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:36 $ docker exec 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a ssh-agent 12:05:37 SSH_AUTH_SOCK=/tmp/ssh-fucSip9Avuah/agent.11 12:05:37 SSH_AGENT_PID=16 12:05:37 Running ssh-add (command line suppressed) 12:05:37 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_5309381668753160439.key (/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_5309381668753160439.key) 12:05:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:37 + git tag --points-at HEAD [Pipeline] } 12:05:37 $ docker exec --env ******** --env ******** 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a ssh-agent -k 12:05:37 unset SSH_AUTH_SOCK; 12:05:37 unset SSH_AGENT_PID; 12:05:37 echo Agent pid 16 killed; 12:05:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:05:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:38 [ssh-agent] Looking for ssh-agent implementation... 12:05:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:38 $ docker exec 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a ssh-agent 12:05:38 SSH_AUTH_SOCK=/tmp/ssh-CEYdFFo1lsWB/agent.46 12:05:38 SSH_AGENT_PID=51 12:05:38 Running ssh-add (command line suppressed) 12:05:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_3880768524522743079.key (/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_3880768524522743079.key) 12:05:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:38 + git semver init 12:05:38 # -> Open(): unable to determine branch for HEAD 12:05:38 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-821/.git 12:05:38 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-821 12:05:38 # $SEMVER_REMOTE_NAME = origin 12:05:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:05:38 # $SEMVER_USER_NAME = edgex-jenkins 12:05:38 # $SEMVER_BRANCH = PR-821 12:05:38 # $SEMVER_TEMP = /tmp/semver-786894496 12:05:38 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 12:05:39 # '/tmp/semver-786894496' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-821/.semver' 12:05:39 # -> Force: false 12:05:39 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-821/.semver [Pipeline] } 12:05:39 $ docker exec --env ******** --env ******** 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a ssh-agent -k 12:05:40 unset SSH_AUTH_SOCK; 12:05:40 unset SSH_AGENT_PID; 12:05:40 echo Agent pid 51 killed; 12:05:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:05:40 + git semver [Pipeline] } 12:05:40 $ docker stop --time=1 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a 12:05:42 $ docker rm -f 6a70cda592c639be4c959c1f541204ede6d8dc4ca39f8539fe521f46e556e86a [Pipeline] // withDockerContainer [Pipeline] sh 12:05:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:05:43 Stashed 1 file(s) [Pipeline] echo 12:05: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 12:05:59 Still waiting to schedule task 12:05:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 12:05:59 Still waiting to schedule task 12:05:59 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 12:07:18 Running on prd-centos7-docker-4c-2g-30158 in /w/workspace/dgexfoundry_device-sdk-go_PR-821 [Pipeline] { [Pipeline] ws 12:07:18 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 12:07:31 using credential edgex-jenkins-ssh 12:07:31 Cloning the remote Git repository 12:07:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 12:07:31 > git init /w/workspace/device-sdk-go/2 # timeout=10 12:07:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:07:31 > git --version # timeout=10 12:07:31 > git --version # 'git version 2.24.3' 12:07:31 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:07:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:07:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:07:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:07:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:07:33 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/821/head:refs/remotes/origin/PR-821 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:07:33 Merging remotes/origin/master commit e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit f3a93df600ccc61f0532ab2a2bef02090713baf8 12:07:34 Merge succeeded, producing f3a93df600ccc61f0532ab2a2bef02090713baf8 12:07:34 Checking out Revision f3a93df600ccc61f0532ab2a2bef02090713baf8 (PR-821) 12:07:33 > git config core.sparsecheckout # timeout=10 12:07:33 > git checkout -f f3a93df600ccc61f0532ab2a2bef02090713baf8 # timeout=10 12:07:33 > git remote # timeout=10 12:07:33 > git config --get remote.origin.url # timeout=10 12:07:33 using GIT_SSH to set credentials SSH Credentials for GitHub 12:07:33 > git merge e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 12:07:34 > git rev-parse HEAD^{commit} # timeout=10 12:07:34 > git config core.sparsecheckout # timeout=10 12:07:34 > git checkout -f f3a93df600ccc61f0532ab2a2bef02090713baf8 # timeout=10 12:07:39 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:07:40 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 12:07:41 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:07:41 + sudo service docker restart 12:07:41 + true 12:07:41 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:07:43 provisioning config files... 12:07:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8690362789147332385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:07:44 ---> docker-login.sh 12:07:44 nexus3.edgexfoundry.org:10001 12:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:46 Configure a credential helper to remove this warning. See 12:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:46 12:07:46 Login Succeeded 12:07:46 nexus3.edgexfoundry.org:10002 12:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:46 Configure a credential helper to remove this warning. See 12:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:46 12:07:46 Login Succeeded 12:07:46 nexus3.edgexfoundry.org:10003 12:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:47 Configure a credential helper to remove this warning. See 12:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:47 12:07:47 Login Succeeded 12:07:47 nexus3.edgexfoundry.org:10004 12:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:48 Configure a credential helper to remove this warning. See 12:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:48 12:07:48 Login Succeeded 12:07:48 docker.io 12:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:07:49 Configure a credential helper to remove this warning. See 12:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:07:49 12:07:49 Login Succeeded 12:07:50 ---> docker-login.sh ends [Pipeline] } 12:07:50 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:07:50 ========================================================= 12:07:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 12:07:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:07:51 + 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 . 12:07:51 Sending build context to Docker daemon 2.293MB 12:07:51 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 12:07:51 Step 2/8 : FROM ${BASE} 12:07:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 12:07:51 188c0c94c7c5: Pulling fs layer 12:07:51 0ef7d3d256c8: Pulling fs layer 12:07:51 de9db76c5a1d: Pulling fs layer 12:07:51 bca2f99d35d6: Pulling fs layer 12:07:51 93359f2a8cfa: Pulling fs layer 12:07:51 7c6f9722023f: Pulling fs layer 12:07:51 a35cf1a2eb13: Pulling fs layer 12:07:51 bca2f99d35d6: Waiting 12:07:51 7c6f9722023f: Waiting 12:07:51 a35cf1a2eb13: Waiting 12:07:51 de9db76c5a1d: Verifying Checksum 12:07:51 de9db76c5a1d: Download complete 12:07:51 0ef7d3d256c8: Verifying Checksum 12:07:51 0ef7d3d256c8: Download complete 12:07:51 93359f2a8cfa: Verifying Checksum 12:07:51 93359f2a8cfa: Download complete 12:07:51 7c6f9722023f: Verifying Checksum 12:07:51 7c6f9722023f: Download complete 12:07:51 188c0c94c7c5: Verifying Checksum 12:07:51 188c0c94c7c5: Download complete 12:07:52 188c0c94c7c5: Pull complete 12:07:52 0ef7d3d256c8: Pull complete 12:07:53 de9db76c5a1d: Pull complete 12:07:56 a35cf1a2eb13: Verifying Checksum 12:07:56 a35cf1a2eb13: Download complete 12:07:57 bca2f99d35d6: Verifying Checksum 12:07:57 bca2f99d35d6: Download complete 12:08:13 bca2f99d35d6: Pull complete 12:08:13 93359f2a8cfa: Pull complete 12:08:13 7c6f9722023f: Pull complete 12:08:21 a35cf1a2eb13: Pull complete 12:08:21 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 12:08:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 12:08:21 ---> a62c8e92a672 12:08:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:08:21 ---> Running in cdde87db7ea3 12:08:21 Removing intermediate container cdde87db7ea3 12:08:21 ---> a7c3999abbc6 12:08:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:08:21 ---> Running in cc7f1e4cb563 12:08:24 Removing intermediate container cc7f1e4cb563 12:08:24 ---> 1dbf174049cb 12:08:24 Step 5/8 : RUN apk add --update --no-cache make git 12:08:24 ---> Running in c16c44d05a66 12:08:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 12:08:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 12:08:29 OK: 166 MiB in 39 packages 12:08:30 Removing intermediate container c16c44d05a66 12:08:30 ---> 8c2fbfd51ec8 12:08:30 Step 6/8 : WORKDIR /device-sdk-go 12:08:30 ---> Running in 33796f3f5944 12:08:30 Removing intermediate container 33796f3f5944 12:08:30 ---> cc8b08421187 12:08:30 Step 7/8 : COPY . . 12:08:32 ---> 43d552c4f358 12:08:32 Step 8/8 : RUN go mod download 12:08:32 ---> Running in 7c7a308fc5dc 12:08:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30159 in /w/workspace/dgexfoundry_device-sdk-go_PR-821 [Pipeline] { [Pipeline] ws 12:08:36 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 12:08:41 using credential edgex-jenkins-ssh 12:08:42 Cloning the remote Git repository 12:08:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 12:08:42 > git init /w/workspace/device-sdk-go/2 # timeout=10 12:08:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:08:42 > git --version # timeout=10 12:08:42 > git --version # 'git version 2.17.1' 12:08:42 using GIT_SSH to set credentials SSH Credentials for GitHub 12:08:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:08:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:08:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:08:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:08:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:08:43 using GIT_SSH to set credentials SSH Credentials for GitHub 12:08:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/821/head:refs/remotes/origin/PR-821 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:08:44 Merging remotes/origin/master commit e34679e4f02bbc164353b5eb88e70f6c516b0d21 into PR head commit f3a93df600ccc61f0532ab2a2bef02090713baf8 12:08:44 Merge succeeded, producing f3a93df600ccc61f0532ab2a2bef02090713baf8 12:08:44 Checking out Revision f3a93df600ccc61f0532ab2a2bef02090713baf8 (PR-821) 12:08:44 > git config core.sparsecheckout # timeout=10 12:08:44 > git checkout -f f3a93df600ccc61f0532ab2a2bef02090713baf8 # timeout=10 12:08:44 > git remote # timeout=10 12:08:44 > git config --get remote.origin.url # timeout=10 12:08:44 using GIT_SSH to set credentials SSH Credentials for GitHub 12:08:44 > git merge e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 12:08:44 > git rev-parse HEAD^{commit} # timeout=10 12:08:44 > git config core.sparsecheckout # timeout=10 12:08:44 > git checkout -f f3a93df600ccc61f0532ab2a2bef02090713baf8 # timeout=10 12:08:49 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:08:50 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 12:08:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:08:51 + true 12:08:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:08:53 provisioning config files... 12:08:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1482039863816128184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:08:53 ---> docker-login.sh 12:08:53 nexus3.edgexfoundry.org:10001 12:08:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:55 Configure a credential helper to remove this warning. See 12:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:55 12:08:55 Login Succeeded 12:08:55 nexus3.edgexfoundry.org:10002 12:08:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:55 Configure a credential helper to remove this warning. See 12:08:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:55 12:08:55 Login Succeeded 12:08:55 nexus3.edgexfoundry.org:10003 12:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:56 Configure a credential helper to remove this warning. See 12:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:56 12:08:56 Login Succeeded 12:08:56 nexus3.edgexfoundry.org:10004 12:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:56 Configure a credential helper to remove this warning. See 12:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:56 12:08:56 Login Succeeded 12:08:56 docker.io 12:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:57 Configure a credential helper to remove this warning. See 12:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:57 12:08:57 Login Succeeded 12:08:57 ---> docker-login.sh ends [Pipeline] } 12:08:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:08:58 ========================================================= 12:08:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 12:08:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:08:58 + 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 . 12:08:59 Sending build context to Docker daemon 2.292MB 12:08:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 12:08:59 Step 2/8 : FROM ${BASE} 12:08:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:08:59 5f621e34cdf4: Pulling fs layer 12:08:59 a4357932f1b6: Pulling fs layer 12:08:59 18c013af1878: Pulling fs layer 12:08:59 00ac8860ef70: Pulling fs layer 12:08:59 63d7cb157983: Pulling fs layer 12:08:59 b116817d02f9: Pulling fs layer 12:08:59 745a02a5169b: Pulling fs layer 12:08:59 00ac8860ef70: Waiting 12:08:59 63d7cb157983: Waiting 12:08:59 b116817d02f9: Waiting 12:08:59 745a02a5169b: Waiting 12:08:59 18c013af1878: Verifying Checksum 12:08:59 18c013af1878: Download complete 12:08:59 a4357932f1b6: Download complete 12:08:59 63d7cb157983: Verifying Checksum 12:08:59 63d7cb157983: Download complete 12:08:59 b116817d02f9: Verifying Checksum 12:08:59 b116817d02f9: Download complete 12:08:59 5f621e34cdf4: Verifying Checksum 12:08:59 5f621e34cdf4: Download complete 12:09:00 5f621e34cdf4: Pull complete 12:09:00 a4357932f1b6: Pull complete 12:09:01 18c013af1878: Pull complete 12:09:02 745a02a5169b: Download complete 12:09:03 00ac8860ef70: Verifying Checksum 12:09:03 00ac8860ef70: Download complete 12:09:13 Removing intermediate container 7c7a308fc5dc 12:09:13 ---> 68f69437f476 12:09:13 Successfully built 68f69437f476 12:09:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:09:13 + docker inspect -f . ci-base-image-x86_64 12:09:13 . [Pipeline] withDockerContainer 12:09:14 prd-centos7-docker-4c-2g-30158 does not seem to be running inside a container 12:09:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:09:15 00ac8860ef70: Pull complete 12:09:15 63d7cb157983: Pull complete 12:09:15 b116817d02f9: Pull complete 12:09:16 $ docker top 5ba7a151c0c9c30648465dd948abd3f0a616fb76602fb0bb660a209df8f9082b -eo pid,comm [Pipeline] { [Pipeline] sh 12:09:17 + go version 12:09:17 go version go1.15.5 linux/amd64 [Pipeline] } 12:09:17 $ docker stop --time=1 5ba7a151c0c9c30648465dd948abd3f0a616fb76602fb0bb660a209df8f9082b 12:09:18 745a02a5169b: Pull complete 12:09:18 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 12:09:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 12:09:18 ---> b7e6874047d6 12:09:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:09:18 $ docker rm -f 5ba7a151c0c9c30648465dd948abd3f0a616fb76602fb0bb660a209df8f9082b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:09:19 + docker inspect -f . ci-base-image-x86_64 12:09:19 . [Pipeline] withDockerContainer 12:09:19 prd-centos7-docker-4c-2g-30158 does not seem to be running inside a container 12:09:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:09:20 $ docker top 24083fe670cada47e077fafd5669860a1d5b8fa8c49d3ad835c92813e93658ed -eo pid,comm [Pipeline] { [Pipeline] sh 12:09:21 + make test 12:09:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 12:09:22 ---> Running in af0b72be87cb 12:09:22 Removing intermediate container af0b72be87cb 12:09:22 ---> 921039f0f47e 12:09:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:09:22 ---> Running in 288e692a377a 12:09:24 Removing intermediate container 288e692a377a 12:09:24 ---> 50ed0a075c49 12:09:24 Step 5/8 : RUN apk add --update --no-cache make git 12:09:24 ---> Running in 4981039ac7bc 12:09:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 12:09:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 12:09:27 OK: 142 MiB in 39 packages 12:09:28 Removing intermediate container 4981039ac7bc 12:09:28 ---> f0e907311bd9 12:09:28 Step 6/8 : WORKDIR /device-sdk-go 12:09:28 ---> Running in c2a84d3f63b7 12:09:29 Removing intermediate container c2a84d3f63b7 12:09:29 ---> 3b127b89987b 12:09:29 Step 7/8 : COPY . . 12:09:30 ---> 573233f85165 12:09:30 Step 8/8 : RUN go mod download 12:09:30 ---> Running in 1bc6a5afafa4 12:09:37 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 12:09:57 Removing intermediate container 1bc6a5afafa4 12:09:57 ---> 9053b2e62f5b 12:09:57 Successfully built 9053b2e62f5b 12:09:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:09:57 + docker inspect -f . ci-base-image-arm64 12:09:57 . [Pipeline] withDockerContainer 12:09:58 prd-ubuntu18.04-docker-arm64-4c-16g-30159 does not seem to be running inside a container 12:09:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 12:09:59 $ docker top 06840634139e72c7f7fe643060693006a72f19f1acb3756122e0e4db8399ce15 -eo pid,comm [Pipeline] { [Pipeline] sh 12:10:00 + go version 12:10:00 go version go1.15.5 linux/arm64 [Pipeline] } 12:10:00 $ docker stop --time=1 06840634139e72c7f7fe643060693006a72f19f1acb3756122e0e4db8399ce15 12:10:02 $ docker rm -f 06840634139e72c7f7fe643060693006a72f19f1acb3756122e0e4db8399ce15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:10:03 + docker inspect -f . ci-base-image-arm64 12:10:03 . [Pipeline] withDockerContainer 12:10:03 prd-ubuntu18.04-docker-arm64-4c-16g-30159 does not seem to be running inside a container 12:10:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 12:10:05 $ docker top b6715fc2567c915aa57e1fc3335195d8282a6f22402d1aa50aea444e900ab989 -eo pid,comm [Pipeline] { [Pipeline] sh 12:10:06 + make test 12:10:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 12:10:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 12:10:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 12:10:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 12:10:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 12:10:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.076s coverage: 25.5% of statements 12:10:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.102s coverage: 81.2% of statements 12:10:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 12:10:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.071s coverage: 10.5% of statements 12:10:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 12:10:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 12:10:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.282s coverage: 32.5% of statements 12:10:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 12:10:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 12:10:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 12:10:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.187s coverage: 57.3% of statements 12:10:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.306s coverage: 6.6% of statements 12:10:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 5.1% of statements 12:10:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 12:10:46 GO111MODULE=on go vet ./... 12:11:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 12:11:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 12:11:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 12:11:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 12:11:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.115s coverage: 25.5% of statements 12:11:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.154s coverage: 81.2% of statements 12:11:20 gofmt -l . 12:11:20 [ "`gofmt -l .`" = "" ] 12:11:20 ./bin/test-attribution-txt.sh 12:11:21 ./bin/test-go-mod-tidy.sh [Pipeline] } 12:11:23 $ docker stop --time=1 24083fe670cada47e077fafd5669860a1d5b8fa8c49d3ad835c92813e93658ed 12:11:26 $ docker rm -f 24083fe670cada47e077fafd5669860a1d5b8fa8c49d3ad835c92813e93658ed [Pipeline] // withDockerContainer [Pipeline] sh 12:11:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:11:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:11:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:11:32 + ls -al . 12:11:32 total 184 12:11:32 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 17 12:11 . 12:11:32 drwxrwxr-x. 4 jenkins jenkins 28 Mar 17 12:07 .. 12:11:32 drwxrwxr-x. 2 jenkins jenkins 64 Mar 17 12:07 bin 12:11:32 -rw-r--r--. 1 jenkins jenkins 100014 Mar 17 12:10 coverage.out 12:11:32 -rw-rw-r--. 1 jenkins jenkins 949 Mar 17 12:07 Dockerfile.build 12:11:32 -rw-rw-r--. 1 jenkins jenkins 140 Mar 17 12:07 .dockerignore 12:11:32 drwxrwxr-x. 4 jenkins jenkins 48 Mar 17 12:07 example 12:11:32 drwxrwxr-x. 8 jenkins jenkins 179 Mar 17 12:07 .git 12:11:32 drwxrwxr-x. 2 jenkins jenkins 103 Mar 17 12:07 .github 12:11:32 -rw-rw-r--. 1 jenkins jenkins 138 Mar 17 12:07 .gitignore 12:11:32 -rw-r--r--. 1 jenkins jenkins 479 Mar 17 12:11 go.mod 12:11:32 -rw-r--r--. 1 jenkins jenkins 17490 Mar 17 12:11 go.sum 12:11:32 drwxrwxr-x. 13 jenkins jenkins 193 Mar 17 12:07 internal 12:11:32 -rw-rw-r--. 1 jenkins jenkins 901 Mar 17 12:07 Jenkinsfile 12:11:32 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 17 12:07 LICENSE 12:11:32 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 17 12:07 Makefile 12:11:32 drwxrwxr-x. 4 jenkins jenkins 26 Mar 17 12:07 openapi 12:11:32 drwxrwxr-x. 5 jenkins jenkins 50 Mar 17 12:07 pkg 12:11:32 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 17 12:07 README.md 12:11:32 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 17 12:07 RELEASE-NOTES.txt 12:11:32 drwxrwxr-x. 4 jenkins jenkins 54 Mar 17 12:07 snap 12:11:32 -rw-rw-r--. 1 jenkins jenkins 5 Mar 17 12:05 VERSION 12:11:32 -rw-rw-r--. 1 jenkins jenkins 222 Mar 17 12:07 version.go [Pipeline] isUnix [Pipeline] sh 12:11:32 + 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=f3a93df600ccc61f0532ab2a2bef02090713baf8 --label arch=amd64 --label version=0.0.0 . 12:11:32 Sending build context to Docker daemon 2.394MB 12:11:32 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 12:11:32 Step 2/24 : FROM ${BASE} AS builder 12:11:32 ---> 68f69437f476 12:11:32 Step 3/24 : ARG MAKE='make build' 12:11:33 ---> Running in 538a8b8e8473 12:11:33 Removing intermediate container 538a8b8e8473 12:11:33 ---> 585ffe527a45 12:11:33 Step 4/24 : WORKDIR /device-sdk-go 12:11:33 ---> Running in c0aee1fa2d7f 12:11:34 Removing intermediate container c0aee1fa2d7f 12:11:34 ---> 77f7a1e5d4bf 12:11:34 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:11:34 ---> Running in 9f64abd1e7da 12:11:34 Removing intermediate container 9f64abd1e7da 12:11:34 ---> fc248d1f1a09 12:11:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:11:34 ---> Running in d51ca381c544 12:11:37 Removing intermediate container d51ca381c544 12:11:37 ---> e26485990cd5 12:11:37 Step 7/24 : RUN apk add --update --no-cache make git 12:11:37 ---> Running in 0bc5c09f829a 12:11:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.101s coverage: 10.5% of statements 12:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 12:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 12:11:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.196s coverage: 32.5% of statements 12:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 12:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 12:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 12:11:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.244s coverage: 57.3% of statements 12:11:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.302s coverage: 6.6% of statements 12:11:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.1% of statements 12:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 12:11:38 GO111MODULE=on go vet ./... 12:11:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 12:11:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 12:11:40 OK: 166 MiB in 39 packages 12:11:40 Removing intermediate container 0bc5c09f829a 12:11:40 ---> 0f0701a6f173 12:11:40 Step 8/24 : COPY . . 12:11:41 ---> 5af9e38eb3f1 12:11:41 Step 9/24 : RUN ${MAKE} 12:11:41 ---> Running in e3adbde8ef7a 12:11:43 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 12:12:10 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 12:12:10 gofmt -l . 12:12:10 [ "`gofmt -l .`" = "" ] 12:12:10 ./bin/test-attribution-txt.sh 12:12:11 ./bin/test-go-mod-tidy.sh 12:12:12 Removing intermediate container e3adbde8ef7a 12:12:12 ---> e32f81627ebe 12:12:12 Step 10/24 : FROM scratch 12:12:12 ---> 12:12:12 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:12:12 ---> Running in 0b976766ed4c 12:12:12 Removing intermediate container 0b976766ed4c 12:12:12 ---> e405eb8b6692 12:12:12 Step 12/24 : ENV APP_PORT=49990 [Pipeline] } 12:12:12 $ docker stop --time=1 b6715fc2567c915aa57e1fc3335195d8282a6f22402d1aa50aea444e900ab989 12:12:12 ---> Running in 3d9c26d08b7a 12:12:13 Removing intermediate container 3d9c26d08b7a 12:12:13 ---> d076fd151ac1 12:12:13 Step 13/24 : EXPOSE $APP_PORT 12:12:13 ---> Running in 53a442463609 12:12:13 Removing intermediate container 53a442463609 12:12:13 ---> 791ef2925859 12:12:13 Step 14/24 : WORKDIR / 12:12:13 ---> Running in a47e9c61049f 12:12:13 Removing intermediate container a47e9c61049f 12:12:13 ---> b5a2cec97089 12:12:13 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 12:12:14 $ docker rm -f b6715fc2567c915aa57e1fc3335195d8282a6f22402d1aa50aea444e900ab989 12:12:14 ---> c967eb55ddfb 12:12:14 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [Pipeline] // withDockerContainer [Pipeline] sh 12:12:15 ---> 84a7c8ca6588 12:12:15 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 12:12:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:12:15 Warning: overwriting stash ‘coverage-report’ 12:12:15 ---> 76a1d79481e1 12:12:15 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 12:12:16 ---> 1100ded6dc5c 12:12:16 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 12:12:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:12:17 ---> eaa71a81ef8e 12:12:17 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 12:12:17 ---> Running in a18541f7e867 12:12:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:12:17 + ls -al . 12:12:17 total 220 12:12:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 12:12 . 12:12:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:08 .. 12:12:17 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 12:08 .dockerignore 12:12:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 12:08 .git 12:12:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 12:08 .github 12:12:17 -rw-rw-r-- 1 jenkins jenkins 138 Mar 17 12:08 .gitignore 12:12:17 -rw-rw-r-- 1 jenkins jenkins 949 Mar 17 12:08 Dockerfile.build 12:12:17 -rw-rw-r-- 1 jenkins jenkins 901 Mar 17 12:08 Jenkinsfile 12:12:17 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 12:08 LICENSE 12:12:17 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 17 12:08 Makefile 12:12:17 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 17 12:08 README.md 12:12:17 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 17 12:08 RELEASE-NOTES.txt 12:12:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 12:05 VERSION 12:12:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 12:08 bin 12:12:17 -rw-r--r-- 1 jenkins jenkins 100014 Mar 17 12:11 coverage.out 12:12:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:08 example 12:12:17 -rw-r--r-- 1 jenkins jenkins 479 Mar 17 12:12 go.mod 12:12:17 -rw-r--r-- 1 jenkins jenkins 17490 Mar 17 12:12 go.sum 12:12:17 drwxrwxr-x 13 jenkins jenkins 4096 Mar 17 12:08 internal 12:12:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:08 openapi 12:12:17 drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 12:08 pkg 12:12:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:08 snap 12:12:17 -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 12:08 version.go [Pipeline] isUnix [Pipeline] sh 12:12:17 Removing intermediate container a18541f7e867 12:12:17 ---> 99898c4a5695 12:12:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:12:17 ---> Running in 260cfc37b28e 12:12:18 + 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=f3a93df600ccc61f0532ab2a2bef02090713baf8 --label arch=arm64 --label version=0.0.0 . 12:12:18 Sending build context to Docker daemon 2.393MB 12:12:18 Removing intermediate container 260cfc37b28e 12:12:18 ---> 965c5b298217 12:12:18 Step 22/24 : LABEL arch=amd64 12:12:18 ---> Running in fc8fa81bf5f3 12:12:18 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 12:12:18 Step 2/24 : FROM ${BASE} AS builder 12:12:18 ---> 9053b2e62f5b 12:12:18 Step 3/24 : ARG MAKE='make build' 12:12:18 Removing intermediate container fc8fa81bf5f3 12:12:18 ---> d8edbe98694e 12:12:18 Step 23/24 : LABEL git_sha=f3a93df600ccc61f0532ab2a2bef02090713baf8 12:12:18 ---> Running in 52f7f393f227 12:12:18 ---> Running in 7c4cf431fbbb 12:12:18 Removing intermediate container 7c4cf431fbbb 12:12:18 ---> 53825988493d 12:12:18 Step 24/24 : LABEL version=0.0.0 12:12:19 Removing intermediate container 52f7f393f227 12:12:19 ---> 61d994cef111 12:12:19 Step 4/24 : WORKDIR /device-sdk-go 12:12:19 ---> Running in ec5d7ac4b4f0 12:12:19 ---> Running in 1d480077a067 12:12:19 Removing intermediate container ec5d7ac4b4f0 12:12:19 ---> 88cb8849ddb5 12:12:19 [Warning] One or more build-args [ARCH] were not consumed 12:12:19 Successfully built 88cb8849ddb5 12:12:19 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 12:12:20 Removing intermediate container 1d480077a067 12:12:20 ---> d164fc27dadf 12:12:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:12:20 ---> Running in 3d091b4d4365 Post stage [Pipeline] libraryResource [Pipeline] sh 12:12:20 Removing intermediate container 3d091b4d4365 12:12:20 ---> c81b94d8a8d9 12:12:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:12:20 ---> job-cost.sh 12:12:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uCX3 12:12:20 ---> Running in 25dbad472012 12:12:22 Removing intermediate container 25dbad472012 12:12:22 ---> a686c1dca1fc 12:12:22 Step 7/24 : RUN apk add --update --no-cache make git 12:12:22 ---> Running in 3fd6f94ec84f 12:12:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 12:12:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 12:12:25 OK: 142 MiB in 39 packages 12:12:26 Removing intermediate container 3fd6f94ec84f 12:12:26 ---> cdf5b72b0565 12:12:26 Step 8/24 : COPY . . 12:12:27 ---> 1a20705a8a7c 12:12:27 Step 9/24 : RUN ${MAKE} 12:12:27 ---> Running in 19693de3ec8a 12:12:28 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 12:12:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 12:12:55 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 12:12:56 Removing intermediate container 19693de3ec8a 12:12:56 ---> 283e65b600ce 12:12:56 Step 10/24 : FROM scratch 12:12:56 ---> 12:12:56 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:12:56 ---> Running in 16ea999900c3 12:12:56 Removing intermediate container 16ea999900c3 12:12:56 ---> 59882fbb1ae0 12:12:56 Step 12/24 : ENV APP_PORT=49990 12:12:56 ---> Running in d5cc4efdcb17 12:12:57 Removing intermediate container d5cc4efdcb17 12:12:57 ---> e58d42fa2887 12:12:57 Step 13/24 : EXPOSE $APP_PORT 12:12:57 ---> Running in 7acc04d2df81 12:12:57 Removing intermediate container 7acc04d2df81 12:12:57 ---> 05b591f21687 12:12:57 Step 14/24 : WORKDIR / 12:12:58 ---> Running in 892fbbec757c 12:12:58 Removing intermediate container 892fbbec757c 12:12:58 ---> db6e1e008c77 12:12:58 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 12:12:59 ---> 4c51a42ba39c 12:12:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 12:13:00 ---> 959c6114bc97 12:13:00 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 12:13:00 ---> 7ce86fd5830a 12:13:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 12:13:01 ---> e4919f6b3979 12:13:01 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 12:13:02 ---> 519e4c529967 12:13:02 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 12:13:02 ---> Running in ca748bcc69af 12:13:03 Removing intermediate container ca748bcc69af 12:13:03 ---> a168d653c75d 12:13:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:13:03 ---> Running in be99c104cda2 12:13:03 Removing intermediate container be99c104cda2 12:13:03 ---> 103d3308e479 12:13:03 Step 22/24 : LABEL arch=arm64 12:13:03 ---> Running in 154d36b035dc 12:13:04 Removing intermediate container 154d36b035dc 12:13:04 ---> b7111503617a 12:13:04 Step 23/24 : LABEL git_sha=f3a93df600ccc61f0532ab2a2bef02090713baf8 12:13:04 ---> Running in 3361c55cea78 12:13:04 Removing intermediate container 3361c55cea78 12:13:04 ---> f2e5bb53c2b9 12:13:04 Step 24/24 : LABEL version=0.0.0 12:13:05 ---> Running in ea1390f379e5 12:13:05 Removing intermediate container ea1390f379e5 12:13:05 ---> 1a420d0f1813 12:13:05 [Warning] One or more build-args [ARCH] were not consumed 12:13:05 Successfully built 1a420d0f1813 12:13:05 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 12:13:06 ---> job-cost.sh 12:13:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-c2v8 12:13:26 lf-activate-venv(): INFO: Adding /tmp/venv-uCX3/bin to PATH 12:13:26 INFO: No Stack... 12:13:26 INFO: Retrieving Pricing Info for: v1-standard-2 12:13:26 INFO: Archiving Costs [Pipeline] sh 12:13:26 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 12:13:26 + cut -d, -f6 [Pipeline] lock 12:13:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] 12:13:27 Resource [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] did not exist. Created. 12:13:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:13:27 + echo total: 0.029999999329447746 [Pipeline] stash 12:13:27 Stashed 1 file(s) [Pipeline] } 12:13:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:13:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 12:15:06 lf-activate-venv(): INFO: Adding /tmp/venv-c2v8/bin to PATH 12:15:06 INFO: No Stack... 12:15:07 INFO: Retrieving Pricing Info for: lf-standard-4 12:15:08 INFO: Archiving Costs [Pipeline] sh 12:15:08 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 12:15:08 + cut -d, -f6 [Pipeline] lock 12:15:08 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] 12:15:08 Resource [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] did not exist. Created. 12:15:08 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-821-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:15:09 /w/workspace/device-sdk-go/2@tmp/durable-489ad469/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-489ad469/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 12:15:09 + echo total: 0.20999999344348907 [Pipeline] stash 12:15:09 Warning: overwriting stash ‘stack-cost’ 12:15:09 Stashed 1 file(s) [Pipeline] } 12:15:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-821-2-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 12:15:11 provisioning config files... 12:15:11 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/config7110874256337876146tmp [Pipeline] { [Pipeline] sh 12:15:11 + set +x 12:15:11 + curl -s https://codecov.io/bash 12:15:11 + bash -s -- 12:15:12 12:15:12 _____ _ 12:15:12 / ____| | | 12:15:12 | | ___ __| | ___ ___ _____ __ 12:15:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:15:12 | |___| (_) | (_| | __/ (_| (_) \ V / 12:15:12 \_____\___/ \__,_|\___|\___\___/ \_/ 12:15:12 Bash-20210309-2b87ace 12:15:12 12:15:12 12:15:12 ==> git version 2.24.3 found 12:15:12 ==> 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 12:15:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 12:15:12 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 12:15:12 ==> Jenkins CI detected. 12:15:12 project root: . 12:15:12 --> token set from env 12:15:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:15:12 ==> Running gcov in . (disable via -X gcov) 12:15:12 ==> Python coveragepy not found 12:15:12 ==> Searching for coverage reports in: 12:15:12 + . 12:15:12 -> Found 1 reports 12:15:12 ==> Detecting git/mercurial file structure 12:15:12 ==> Reading reports 12:15:12 + ./coverage.out bytes=100014 12:15:12 ==> Appending adjustments 12:15:12 https://docs.codecov.io/docs/fixing-reports 12:15:12 + Found adjustments 12:15:12 ==> Gzipping contents 12:15:12 16K /tmp/codecov.rpdNAk.gz 12:15:12 ==> Uploading reports 12:15:12 url: https://codecov.io 12:15:12 query: branch=PR-821&commit=f3a93df600ccc61f0532ab2a2bef02090713baf8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-821%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=821&job=&cmd_args= 12:15:12 -> Pinging Codecov 12:15:12 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-821&commit=f3a93df600ccc61f0532ab2a2bef02090713baf8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-821%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=821&job=&cmd_args= 12:15:13 -> Uploading to 12:15:13 https://storage.googleapis.com/codecov/v4/raw/2021-03-17/7E55EF52A471D76F132DFD9A03CDDE97/f3a93df600ccc61f0532ab2a2bef02090713baf8/989be203-8996-4f63-b919-823b4b56a771.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210317T121512Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ff0cbef4343a18c684f552888c69a2a5bc726e2711f9bfbc4a62913ba97716a 12:15:13 % Total % Received % Xferd Average Speed Time Time Time Current 12:15:13 Dload Upload Total Spent Left Speed 12:15:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13476 0 0 100 13476 0 30072 --:--:-- --:--:-- --:--:-- 30147 12:15:13 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f3a93df600ccc61f0532ab2a2bef02090713baf8 [Pipeline] } 12:15:13 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 12:15:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:15:15 ---> package-listing.sh 12:15:15 ++ facter osfamily 12:15:15 ++ tr '[:upper:]' '[:lower:]' 12:15:15 + OS_FAMILY=redhat 12:15:15 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-821 12:15:15 + START_PACKAGES=/tmp/packages_start.txt 12:15:15 + END_PACKAGES=/tmp/packages_end.txt 12:15:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:15:15 + PACKAGES=/tmp/packages_start.txt 12:15:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-821 ']' 12:15:15 + PACKAGES=/tmp/packages_end.txt 12:15:15 + case "${OS_FAMILY}" in 12:15:15 + rpm -qa 12:15:15 + sort 12:15:21 + '[' -f /tmp/packages_start.txt ']' 12:15:21 + '[' -f /tmp/packages_end.txt ']' 12:15:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:15:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-821 ']' 12:15:21 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-821/archives/ 12:15:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-821/archives/ [Pipeline] echo 12:15:21 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-821/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:15:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:15:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:15:21 12:15:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 12:15:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:15:22 alpine: Pulling from edgex-lftools-log-publisher 12:15:22 df20fa9351a1: Pulling fs layer 12:15:22 36b3adc4ff6f: Pulling fs layer 12:15:22 8ad3a11d3b57: Pulling fs layer 12:15:22 46f8f816bc3b: Pulling fs layer 12:15:22 93b61091891f: Pulling fs layer 12:15:22 93b9cdb0e59b: Pulling fs layer 12:15:22 5e14af77c1be: Pulling fs layer 12:15:22 01666e4c0597: Pulling fs layer 12:15:22 aa168da1d23b: Pulling fs layer 12:15:22 93b61091891f: Waiting 12:15:22 93b9cdb0e59b: Waiting 12:15:22 5e14af77c1be: Waiting 12:15:22 01666e4c0597: Waiting 12:15:22 aa168da1d23b: Waiting 12:15:22 46f8f816bc3b: Waiting 12:15:22 36b3adc4ff6f: Verifying Checksum 12:15:22 36b3adc4ff6f: Download complete 12:15:22 46f8f816bc3b: Verifying Checksum 12:15:22 46f8f816bc3b: Download complete 12:15:22 df20fa9351a1: Verifying Checksum 12:15:22 df20fa9351a1: Download complete 12:15:22 93b9cdb0e59b: Download complete 12:15:22 5e14af77c1be: Verifying Checksum 12:15:22 5e14af77c1be: Download complete 12:15:22 93b61091891f: Verifying Checksum 12:15:22 93b61091891f: Download complete 12:15:22 01666e4c0597: Verifying Checksum 12:15:22 01666e4c0597: Download complete 12:15:22 8ad3a11d3b57: Verifying Checksum 12:15:22 8ad3a11d3b57: Download complete 12:15:22 df20fa9351a1: Pull complete 12:15:23 36b3adc4ff6f: Pull complete 12:15:24 aa168da1d23b: Verifying Checksum 12:15:24 aa168da1d23b: Download complete 12:15:24 8ad3a11d3b57: Pull complete 12:15:25 46f8f816bc3b: Pull complete 12:15:25 93b61091891f: Pull complete 12:15:25 93b9cdb0e59b: Pull complete 12:15:25 5e14af77c1be: Pull complete 12:15:25 01666e4c0597: Pull complete 12:15:34 aa168da1d23b: Pull complete 12:15:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 12:15:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:15:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 12:15:34 prd-centos7-docker-4c-2g-30156 does not seem to be running inside a container 12:15:34 $ 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-821/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-821 -v /w/workspace/dgexfoundry_device-sdk-go_PR-821:/w/workspace/dgexfoundry_device-sdk-go_PR-821:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-821@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 12:15:38 $ docker top 6db8a835974c83c3ab5ddc8f09ef999590a1e7f0cb1e454ba51c722d8b84896d -eo pid,comm [Pipeline] { [Pipeline] sh 12:15:39 + touch /tmp/pre-build-complete [Pipeline] sh 12:15:39 + mkdir -p /var/log/sa [Pipeline] sh 12:15:39 + ls /var/log/sa-host 12:15:39 + sadf -c /var/log/sa-host/sa17 12:15:39 file_magic: OK 12:15:39 HZ: Using current value: 100 12:15:39 file_header: OK 12:15:39 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 12:15:39 Statistics: 12:15:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:15:39 File successfully converted to sysstat format version 12.2.1 12:15:39 + sadf -c /var/log/sa-host/sa23 12:15:39 file_magic: OK 12:15:39 HZ: Using current value: 100 12:15:39 file_header: OK 12:15:39 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 12:15:39 Statistics: 12:15:39 Hnuu...uuuununununu... 12:15:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:15:39 provisioning config files... 12:15:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/config3140750207813923939tmp [Pipeline] { [Pipeline] echo 12:15:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:15:40 ---> create-netrc.sh [Pipeline] } 12:15:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 12:15:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 12:15:40 ---> python-tools-install.sh [Pipeline] echo 12:15:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:15:41 ---> sudo-logs.sh 12:15:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:15:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:15:41 ---> job-cost.sh 12:15:41 lf-activate-venv: SKIPPING 12:15:41 DEBUG: total: 0.20999999344348907 12:15:41 INFO: Retrieving Stack Cost... 12:15:42 INFO: Retrieving Pricing Info for: v1-standard-2 12:15:43 INFO: Archiving Costs [Pipeline] echo 12:15:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:15:43 ---> logs-deploy.sh 12:15:43 lf-activate-venv: SKIPPING 12:15:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-821/2 12:15:43 INFO: archiving workspace using pattern(s): 12:15:45 Archives upload complete. 12:15:45 INFO: archiving logs to Nexus