Pull request #829 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 f82460527c0eb718fcf2dd97423294a8a45a7202+b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 (769566b112eb6e05bdb74fda60f18a55b1108496) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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-31664 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [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-829 # 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 b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit f82460527c0eb718fcf2dd97423294a8a45a7202 Merge succeeded, producing f82460527c0eb718fcf2dd97423294a8a45a7202 Checking out Revision f82460527c0eb718fcf2dd97423294a8a45a7202 (PR-829) 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/829/head:refs/remotes/origin/PR-829 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f82460527c0eb718fcf2dd97423294a8a45a7202 # 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 b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f82460527c0eb718fcf2dd97423294a8a45a7202 # timeout=10 Commit message: "ci: update build files to support zmq dependency" First time build. Skipping changelog. > git rev-list --no-walk 15f7e56aedbf3b609d0b9edf55d565b25ab7add9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:50:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:50:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:50:51 ========================================================= 04:50:51 EdgeX Global Pipelines Version Info 04:50:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:50:52 ------------------- 04:50:52 stable info: 04:50:52 ------------------- 04:50:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:50:52 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 04:50:52 Message: update stable to v1.0.186 04:50:53 ------------------- 04:50:53 experimental info: 04:50:53 ------------------- 04:50:53 Commited By: **** collab-it+edgex@linuxfoundation.org 04:50:53 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 04:50:53 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:50:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:50:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:50:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:50:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:50:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:50:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:50:54 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:50:54 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 04:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:50:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:50:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:50:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:50:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:50:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:50:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:50:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:50:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:50:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 04:50:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:50:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:50:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:50:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:50:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-829 [Pipeline] echo 04:50:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-829 [Pipeline] echo 04:50:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-829 [Pipeline] echo 04:50:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f82460527c0eb718fcf2dd97423294a8a45a7202 [Pipeline] echo 04:50:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f824605 [Pipeline] echo 04:50:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:50:57 provisioning config files... 04:50:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config9036178407734819285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:57 ---> docker-login.sh 04:50:57 nexus3.edgexfoundry.org:10001 04:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:58 Configure a credential helper to remove this warning. See 04:50:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:58 04:50:58 Login Succeeded 04:50:58 nexus3.edgexfoundry.org:10002 04:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:58 Configure a credential helper to remove this warning. See 04:50:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:58 04:50:58 Login Succeeded 04:50:58 nexus3.edgexfoundry.org:10003 04:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:58 Configure a credential helper to remove this warning. See 04:50:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:58 04:50:58 Login Succeeded 04:50:58 nexus3.edgexfoundry.org:10004 04:50:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:59 Configure a credential helper to remove this warning. See 04:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:59 04:50:59 Login Succeeded 04:50:59 docker.io 04:50:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:59 Configure a credential helper to remove this warning. See 04:50:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:59 04:50:59 Login Succeeded 04:50:59 ---> docker-login.sh ends [Pipeline] } 04:50:59 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 04:51:00 + git log --format=format:%s -1 f82460527c0eb718fcf2dd97423294a8a45a7202 [Pipeline] echo 04:51:00 GIT_COMMIT: f82460527c0eb718fcf2dd97423294a8a45a7202, Commit Message: ci: update build files to support zmq dependency [Pipeline] echo 04:51:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:51:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:51:00 04:51:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:51:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:51:01 latest: Pulling from edgex-devops/git-semver 04:51:01 31603596830f: Pulling fs layer 04:51:01 2a8b12db71e7: Pulling fs layer 04:51:01 6ca5941a6612: Pulling fs layer 04:51:01 ecc8261a40a4: Pulling fs layer 04:51:01 ecc8261a40a4: Waiting 04:51:01 2a8b12db71e7: Verifying Checksum 04:51:01 31603596830f: Verifying Checksum 04:51:01 31603596830f: Download complete 04:51:01 ecc8261a40a4: Verifying Checksum 04:51:01 ecc8261a40a4: Download complete 04:51:01 6ca5941a6612: Verifying Checksum 04:51:01 6ca5941a6612: Download complete 04:51:01 31603596830f: Pull complete 04:51:02 2a8b12db71e7: Pull complete 04:51:03 6ca5941a6612: Pull complete 04:51:03 ecc8261a40a4: Pull complete 04:51:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:51:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:51:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:51:03 prd-centos7-docker-4c-2g-31664 does not seem to be running inside a container 04:51:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-829 -v /w/workspace/dgexfoundry_device-sdk-go_PR-829:/w/workspace/dgexfoundry_device-sdk-go_PR-829:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-829@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 04:51:05 $ docker top 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:51:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:51:05 [ssh-agent] Looking for ssh-agent implementation... 04:51:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:51:06 $ docker exec 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 ssh-agent 04:51:06 SSH_AUTH_SOCK=/tmp/ssh-0fKQkEagxSzw/agent.11 04:51:06 SSH_AGENT_PID=16 04:51:06 Running ssh-add (command line suppressed) 04:51:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_7955804140139316044.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_7955804140139316044.key) 04:51:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:51:06 + git tag --points-at HEAD [Pipeline] } 04:51:06 $ docker exec --env ******** --env ******** 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 ssh-agent -k 04:51:07 unset SSH_AUTH_SOCK; 04:51:07 unset SSH_AGENT_PID; 04:51:07 echo Agent pid 16 killed; 04:51:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:51:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:51:07 [ssh-agent] Looking for ssh-agent implementation... 04:51:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:51:07 $ docker exec 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 ssh-agent 04:51:07 SSH_AUTH_SOCK=/tmp/ssh-L8w6BWXMAu6z/agent.45 04:51:07 SSH_AGENT_PID=51 04:51:07 Running ssh-add (command line suppressed) 04:51:07 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_3552103087871560283.key (/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/private_key_3552103087871560283.key) 04:51:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:51:08 + git semver init 04:51:08 # -> Open(): unable to determine branch for HEAD 04:51:08 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.git 04:51:08 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-829 04:51:08 # $SEMVER_REMOTE_NAME = origin 04:51:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:51:08 # $SEMVER_USER_NAME = edgex-jenkins 04:51:08 # $SEMVER_BRANCH = PR-829 04:51:08 # $SEMVER_TEMP = /tmp/semver-148637851 04:51:08 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:51:08 # '/tmp/semver-148637851' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver' 04:51:08 # -> Force: false 04:51:08 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-829/.semver [Pipeline] } 04:51:08 $ docker exec --env ******** --env ******** 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 ssh-agent -k 04:51:08 unset SSH_AUTH_SOCK; 04:51:08 unset SSH_AGENT_PID; 04:51:08 echo Agent pid 51 killed; 04:51:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:51:09 + git semver [Pipeline] } 04:51:09 $ docker stop --time=1 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 04:51:11 $ docker rm -f 1b5edbbc5b0e5c3a546f7713536255acaa6434436fa4baaaa839fb5daa98cc99 [Pipeline] // withDockerContainer [Pipeline] sh 04:51:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:51:12 Stashed 1 file(s) [Pipeline] echo 04:51:12 [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 04:51:27 Still waiting to schedule task 04:51:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:51:27 Still waiting to schedule task 04:51:27 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:53:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-31665 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws 04:53:08 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 04:53:13 using credential edgex-jenkins-ssh 04:53:13 Cloning the remote Git repository 04:53:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:53:13 > git init /w/workspace/device-sdk-go/9 # timeout=10 04:53:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:53:13 > git --version # timeout=10 04:53:13 > git --version # 'git version 2.17.1' 04:53:13 using GIT_SSH to set credentials SSH Credentials for GitHub 04:53:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:53:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:53:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:53:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:53:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:53:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:53:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/829/head:refs/remotes/origin/PR-829 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:53:16 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit f82460527c0eb718fcf2dd97423294a8a45a7202 04:53:16 Merge succeeded, producing f82460527c0eb718fcf2dd97423294a8a45a7202 04:53:16 Checking out Revision f82460527c0eb718fcf2dd97423294a8a45a7202 (PR-829) 04:53:16 > git config core.sparsecheckout # timeout=10 04:53:16 > git checkout -f f82460527c0eb718fcf2dd97423294a8a45a7202 # timeout=10 04:53:16 > git remote # timeout=10 04:53:16 > git config --get remote.origin.url # timeout=10 04:53:16 using GIT_SSH to set credentials SSH Credentials for GitHub 04:53:16 > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 04:53:16 > git rev-parse HEAD^{commit} # timeout=10 04:53:16 > git config core.sparsecheckout # timeout=10 04:53:16 > git checkout -f f82460527c0eb718fcf2dd97423294a8a45a7202 # timeout=10 04:53:20 Commit message: "ci: update build files to support zmq dependency" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:53:22 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:53:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:53:23 + true 04:53:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:53:25 provisioning config files... 04:53:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config2384033882533220231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:53:26 ---> docker-login.sh 04:53:26 nexus3.edgexfoundry.org:10001 04:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:27 Configure a credential helper to remove this warning. See 04:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:27 04:53:27 Login Succeeded 04:53:27 nexus3.edgexfoundry.org:10002 04:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:27 Configure a credential helper to remove this warning. See 04:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:27 04:53:27 Login Succeeded 04:53:27 nexus3.edgexfoundry.org:10003 04:53:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:28 Configure a credential helper to remove this warning. See 04:53:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:28 04:53:28 Login Succeeded 04:53:28 nexus3.edgexfoundry.org:10004 04:53:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:28 Configure a credential helper to remove this warning. See 04:53:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:28 04:53:28 Login Succeeded 04:53:28 docker.io 04:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:29 Configure a credential helper to remove this warning. See 04:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:29 04:53:29 Login Succeeded 04:53:29 ---> docker-login.sh ends [Pipeline] } 04:53:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:53:30 ========================================================= 04:53:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:53:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:53:30 + 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 . 04:53:31 Sending build context to Docker daemon 2.434MB 04:53:31 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 04:53:31 Step 2/8 : FROM ${BASE} 04:53:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:53:31 5f621e34cdf4: Pulling fs layer 04:53:31 a4357932f1b6: Pulling fs layer 04:53:31 18c013af1878: Pulling fs layer 04:53:31 00ac8860ef70: Pulling fs layer 04:53:31 63d7cb157983: Pulling fs layer 04:53:31 b116817d02f9: Pulling fs layer 04:53:31 745a02a5169b: Pulling fs layer 04:53:31 b116817d02f9: Waiting 04:53:31 745a02a5169b: Waiting 04:53:31 00ac8860ef70: Waiting 04:53:31 63d7cb157983: Waiting 04:53:31 18c013af1878: Verifying Checksum 04:53:31 18c013af1878: Download complete 04:53:31 a4357932f1b6: Verifying Checksum 04:53:31 a4357932f1b6: Download complete 04:53:31 63d7cb157983: Verifying Checksum 04:53:31 63d7cb157983: Download complete 04:53:31 5f621e34cdf4: Verifying Checksum 04:53:31 5f621e34cdf4: Download complete 04:53:31 b116817d02f9: Verifying Checksum 04:53:31 b116817d02f9: Download complete 04:53:32 5f621e34cdf4: Pull complete 04:53:32 a4357932f1b6: Pull complete 04:53:33 18c013af1878: Pull complete 04:53:34 745a02a5169b: Verifying Checksum 04:53:34 745a02a5169b: Download complete 04:53:35 00ac8860ef70: Download complete 04:53:45 00ac8860ef70: Pull complete 04:53:45 63d7cb157983: Pull complete 04:53:46 b116817d02f9: Pull complete 04:53:49 745a02a5169b: Pull complete 04:53:49 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:53:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:53:49 ---> b7e6874047d6 04:53:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:53:52 ---> Running in 4342da6ec336 04:53:52 Removing intermediate container 4342da6ec336 04:53:52 ---> 7e2a79651971 04:53:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:53:52 ---> Running in 0656969f2724 04:53:54 Removing intermediate container 0656969f2724 04:53:54 ---> 5040fe3fcf82 04:53:54 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 04:53:55 ---> Running in 630ff82a8e62 04:53:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:53:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:53:57 Running on prd-centos7-docker-4c-2g-31666 in /w/workspace/dgexfoundry_device-sdk-go_PR-829 [Pipeline] { [Pipeline] ws 04:53:57 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 04:53:57 (1/6) Installing libc-dev (0.7.2-r3) 04:53:57 (2/6) Installing libsodium (1.0.18-r0) 04:53:57 (3/6) Installing pkgconf (1.7.2-r0) 04:53:57 (4/6) Installing libsodium-dev (1.0.18-r0) 04:53:57 (5/6) Installing libzmq (4.3.3-r0) 04:53:57 (6/6) Installing zeromq-dev (4.3.3-r0) 04:53:57 Executing busybox-1.31.1-r19.trigger 04:53:57 OK: 144 MiB in 45 packages 04:53:59 Removing intermediate container 630ff82a8e62 04:53:59 ---> 84498b2cec7b 04:53:59 Step 6/8 : WORKDIR /device-sdk-go 04:53:59 ---> Running in 49bb55a0fd91 04:53:59 using credential edgex-jenkins-ssh 04:53:59 Cloning the remote Git repository 04:53:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:53:59 Removing intermediate container 49bb55a0fd91 04:53:59 ---> d2f7df33bda8 04:53:59 Step 7/8 : COPY . . 04:53:59 > git init /w/workspace/device-sdk-go/9 # timeout=10 04:53:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:53:59 > git --version # timeout=10 04:53:59 > git --version # 'git version 2.24.3' 04:53:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:53:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:54:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:54:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:54:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/829/head:refs/remotes/origin/PR-829 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:54:01 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit f82460527c0eb718fcf2dd97423294a8a45a7202 04:54:01 Merge succeeded, producing f82460527c0eb718fcf2dd97423294a8a45a7202 04:54:01 Checking out Revision f82460527c0eb718fcf2dd97423294a8a45a7202 (PR-829) 04:54:01 ---> aea9dd01eb66 04:54:01 Step 8/8 : RUN go mod download 04:54:01 ---> Running in c6ba1906e9c5 04:54:01 > git config core.sparsecheckout # timeout=10 04:54:01 > git checkout -f f82460527c0eb718fcf2dd97423294a8a45a7202 # timeout=10 04:54:01 > git remote # timeout=10 04:54:01 > git config --get remote.origin.url # timeout=10 04:54:01 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:01 > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 04:54:01 > git rev-parse HEAD^{commit} # timeout=10 04:54:01 > git config core.sparsecheckout # timeout=10 04:54:01 > git checkout -f f82460527c0eb718fcf2dd97423294a8a45a7202 # timeout=10 04:54:04 Commit message: "ci: update build files to support zmq dependency" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:06 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:54:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:54:06 + sudo service docker restart 04:54:06 + true 04:54:06 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:54:07 provisioning config files... 04:54:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config2577249614580220479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:08 ---> docker-login.sh 04:54:08 nexus3.edgexfoundry.org:10001 04:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:08 Configure a credential helper to remove this warning. See 04:54:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:08 04:54:08 Login Succeeded 04:54:08 nexus3.edgexfoundry.org:10002 04:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:08 Configure a credential helper to remove this warning. See 04:54:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:08 04:54:08 Login Succeeded 04:54:08 nexus3.edgexfoundry.org:10003 04:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:08 Configure a credential helper to remove this warning. See 04:54:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:08 04:54:08 Login Succeeded 04:54:08 nexus3.edgexfoundry.org:10004 04:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:08 Configure a credential helper to remove this warning. See 04:54:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:08 04:54:08 Login Succeeded 04:54:08 docker.io 04:54:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:09 Configure a credential helper to remove this warning. See 04:54:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:09 04:54:09 Login Succeeded 04:54:09 ---> docker-login.sh ends [Pipeline] } 04:54:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:54:09 ========================================================= 04:54:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:54:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:54:10 + 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 . 04:54:10 Sending build context to Docker daemon 2.42MB 04:54:10 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 04:54:10 Step 2/8 : FROM ${BASE} 04:54:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:54:10 188c0c94c7c5: Pulling fs layer 04:54:10 0ef7d3d256c8: Pulling fs layer 04:54:10 de9db76c5a1d: Pulling fs layer 04:54:10 bca2f99d35d6: Pulling fs layer 04:54:10 93359f2a8cfa: Pulling fs layer 04:54:10 7c6f9722023f: Pulling fs layer 04:54:10 a35cf1a2eb13: Pulling fs layer 04:54:10 93359f2a8cfa: Waiting 04:54:10 7c6f9722023f: Waiting 04:54:10 a35cf1a2eb13: Waiting 04:54:10 bca2f99d35d6: Waiting 04:54:10 de9db76c5a1d: Verifying Checksum 04:54:10 de9db76c5a1d: Download complete 04:54:10 0ef7d3d256c8: Download complete 04:54:10 93359f2a8cfa: Verifying Checksum 04:54:10 93359f2a8cfa: Download complete 04:54:10 188c0c94c7c5: Download complete 04:54:10 7c6f9722023f: Verifying Checksum 04:54:10 7c6f9722023f: Download complete 04:54:10 188c0c94c7c5: Pull complete 04:54:11 0ef7d3d256c8: Pull complete 04:54:11 de9db76c5a1d: Pull complete 04:54:12 a35cf1a2eb13: Verifying Checksum 04:54:12 a35cf1a2eb13: Download complete 04:54:12 bca2f99d35d6: Verifying Checksum 04:54:12 bca2f99d35d6: Download complete 04:54:18 bca2f99d35d6: Pull complete 04:54:18 93359f2a8cfa: Pull complete 04:54:18 7c6f9722023f: Pull complete 04:54:26 a35cf1a2eb13: Pull complete 04:54:26 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 04:54:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:54:26 ---> a62c8e92a672 04:54:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:54:26 ---> Running in b34c819913de 04:54:26 Removing intermediate container b34c819913de 04:54:26 ---> 2ef69402ea86 04:54:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:54:26 ---> Running in 0555dc90b6e4 04:54:26 Removing intermediate container 0555dc90b6e4 04:54:26 ---> 5671c584385a 04:54:26 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 04:54:26 ---> Running in 57759346602d 04:54:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:54:28 Removing intermediate container c6ba1906e9c5 04:54:28 ---> 7981816d5824 04:54:28 Successfully built 7981816d5824 04:54:28 Successfully tagged ci-base-image-arm64:latest 04:54:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] sh 04:54:28 + docker inspect -f . ci-base-image-arm64 04:54:28 . [Pipeline] withDockerContainer 04:54:28 (1/6) Installing libc-dev (0.7.2-r3) 04:54:28 (2/6) Installing libsodium (1.0.18-r0) 04:54:28 (3/6) Installing pkgconf (1.7.2-r0) 04:54:28 prd-ubuntu18.04-docker-arm64-4c-16g-31665 does not seem to be running inside a container 04:54:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:54:29 (4/6) Installing libsodium-dev (1.0.18-r0) 04:54:29 (5/6) Installing libzmq (4.3.3-r0) 04:54:29 (6/6) Installing zeromq-dev (4.3.3-r0) 04:54:29 Executing busybox-1.31.1-r19.trigger 04:54:29 OK: 167 MiB in 45 packages 04:54:29 Removing intermediate container 57759346602d 04:54:29 ---> 987b4db1704b 04:54:29 Step 6/8 : WORKDIR /device-sdk-go 04:54:29 ---> Running in 3b625020e280 04:54:30 Removing intermediate container 3b625020e280 04:54:30 ---> b902d56f7cfd 04:54:30 Step 7/8 : COPY . . 04:54:30 $ docker top fde8b072dc0b9a39bc269282741d6c6f65cb422d7e6155d5de27e7a25c24a7c0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:31 + go version 04:54:31 go version go1.15.5 linux/arm64 [Pipeline] } 04:54:31 $ docker stop --time=1 fde8b072dc0b9a39bc269282741d6c6f65cb422d7e6155d5de27e7a25c24a7c0 04:54:31 ---> 31bf858003e8 04:54:31 Step 8/8 : RUN go mod download 04:54:31 ---> Running in 1368913a22c3 04:54:33 $ docker rm -f fde8b072dc0b9a39bc269282741d6c6f65cb422d7e6155d5de27e7a25c24a7c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:54:34 + docker inspect -f . ci-base-image-arm64 04:54:34 . [Pipeline] withDockerContainer 04:54:34 prd-ubuntu18.04-docker-arm64-4c-16g-31665 does not seem to be running inside a container 04:54:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:54:36 $ docker top 547781607acc7ca24deebe644e15c53999f4292af16fba5f5080d4bed5f5eeb8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:37 + make test 04:54:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:54:53 Removing intermediate container 1368913a22c3 04:54:53 ---> e1ed6fed9e56 04:54:53 Successfully built e1ed6fed9e56 04:54:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:54:53 + docker inspect -f . ci-base-image-x86_64 04:54:53 . [Pipeline] withDockerContainer 04:54:54 prd-centos7-docker-4c-2g-31666 does not seem to be running inside a container 04:54:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:54:55 $ docker top 414f48acca6b36ddb662d5d22ca818e7ebd5edf3435d9d00f26b650ce9033d43 -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:55 + go version 04:54:55 go version go1.15.5 linux/amd64 [Pipeline] } 04:54:55 $ docker stop --time=1 414f48acca6b36ddb662d5d22ca818e7ebd5edf3435d9d00f26b650ce9033d43 04:54:56 $ docker rm -f 414f48acca6b36ddb662d5d22ca818e7ebd5edf3435d9d00f26b650ce9033d43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:54:57 + docker inspect -f . ci-base-image-x86_64 04:54:57 . [Pipeline] withDockerContainer 04:54:57 prd-centos7-docker-4c-2g-31666 does not seem to be running inside a container 04:54:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:54:58 $ docker top ba49e0d65057c552addf84823b07adc91ef3b758de0ae8c0d0a55ef0db8d2dc4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:59 + make test 04:54:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:54:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:55:07 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:55:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:55:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:55:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:55:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:55:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:55:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.0% of statements 04:55:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 81.2% of statements 04:55:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.100s coverage: 7.8% of statements 04:55:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:55:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:55:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:55:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.102s coverage: 32.5% of statements 04:55:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:55:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:55:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:55:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 57.3% of statements 04:55:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.129s coverage: 6.6% of statements 04:55:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 04:55:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:55:30 GO111MODULE=on go vet ./... 04:55:45 gofmt -l . 04:55:45 [ "`gofmt -l .`" = "" ] 04:55:45 ./bin/test-attribution-txt.sh 04:55:46 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:55:46 $ docker stop --time=1 ba49e0d65057c552addf84823b07adc91ef3b758de0ae8c0d0a55ef0db8d2dc4 04:55:48 $ docker rm -f ba49e0d65057c552addf84823b07adc91ef3b758de0ae8c0d0a55ef0db8d2dc4 [Pipeline] // withDockerContainer [Pipeline] sh 04:55:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:55:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:55:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:55:53 + ls -al . 04:55:53 total 188 04:55:53 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 29 04:55 . 04:55:53 drwxrwxr-x. 4 jenkins jenkins 28 Mar 29 04:53 .. 04:55:53 drwxrwxr-x. 2 jenkins jenkins 64 Mar 29 04:54 bin 04:55:53 -rw-r--r--. 1 jenkins jenkins 101416 Mar 29 04:55 coverage.out 04:55:53 -rw-rw-r--. 1 jenkins jenkins 987 Mar 29 04:54 Dockerfile.build 04:55:53 -rw-rw-r--. 1 jenkins jenkins 140 Mar 29 04:54 .dockerignore 04:55:53 drwxrwxr-x. 5 jenkins jenkins 62 Mar 29 04:54 example 04:55:53 drwxrwxr-x. 8 jenkins jenkins 179 Mar 29 04:54 .git 04:55:53 drwxrwxr-x. 2 jenkins jenkins 103 Mar 29 04:54 .github 04:55:53 -rw-rw-r--. 1 jenkins jenkins 138 Mar 29 04:54 .gitignore 04:55:53 -rw-r--r--. 1 jenkins jenkins 537 Mar 29 04:55 go.mod 04:55:53 -rw-r--r--. 1 jenkins jenkins 20914 Mar 29 04:55 go.sum 04:55:53 drwxrwxr-x. 14 jenkins jenkins 207 Mar 29 04:54 internal 04:55:53 -rw-rw-r--. 1 jenkins jenkins 901 Mar 29 04:54 Jenkinsfile 04:55:53 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 29 04:54 LICENSE 04:55:53 -rw-rw-r--. 1 jenkins jenkins 1022 Mar 29 04:54 Makefile 04:55:53 drwxrwxr-x. 4 jenkins jenkins 26 Mar 29 04:54 openapi 04:55:53 drwxrwxr-x. 5 jenkins jenkins 50 Mar 29 04:54 pkg 04:55:53 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 29 04:54 README.md 04:55:53 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 29 04:54 RELEASE-NOTES.txt 04:55:53 drwxrwxr-x. 4 jenkins jenkins 54 Mar 29 04:54 snap 04:55:53 -rw-rw-r--. 1 jenkins jenkins 5 Mar 29 04:51 VERSION 04:55:53 -rw-rw-r--. 1 jenkins jenkins 222 Mar 29 04:54 version.go [Pipeline] isUnix [Pipeline] sh 04:55:54 + 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=f82460527c0eb718fcf2dd97423294a8a45a7202 --label arch=amd64 --label version=0.0.0 . 04:55:54 Sending build context to Docker daemon 2.522MB 04:55:54 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 04:55:54 Step 2/23 : FROM ${BASE} AS builder 04:55:54 ---> e1ed6fed9e56 04:55:54 Step 3/23 : WORKDIR /device-sdk-go 04:55:54 ---> Running in a38267ec4360 04:55:55 Removing intermediate container a38267ec4360 04:55:55 ---> c2edd4389410 04:55:55 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:55:55 ---> Running in 6e43954d0489 04:55:55 Removing intermediate container 6e43954d0489 04:55:55 ---> 48ec0319d312 04:55:55 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:55:55 ---> Running in 77bb5e0bd3fa 04:55:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:55:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:55:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:55:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:55:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:55:56 Removing intermediate container 77bb5e0bd3fa 04:55:56 ---> 79cd7afafd61 04:55:56 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:55:56 ---> Running in 2e016eca64da 04:55:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:55:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:55:58 OK: 167 MiB in 45 packages 04:55:58 Removing intermediate container 2e016eca64da 04:55:58 ---> 97f11a62ba22 04:55:58 Step 7/23 : COPY . . 04:55:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.142s coverage: 27.0% of statements 04:55:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.252s coverage: 81.2% of statements 04:55:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.188s coverage: 7.8% of statements 04:55:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:55:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:55:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:55:59 ---> 9a6bf046dc62 04:55:59 Step 8/23 : RUN go mod download 04:55:59 ---> Running in ad26877dcea1 04:56:00 Removing intermediate container ad26877dcea1 04:56:00 ---> 1b6486ecf5be 04:56:00 Step 9/23 : RUN make build 04:56:00 ---> Running in 9a8493b85f31 04:56:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.238s coverage: 32.5% of statements 04:56:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:56:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:56:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:56:01 CGO_ENABLED=1 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 04:56:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.263s coverage: 57.3% of statements 04:56:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.110s coverage: 6.6% of statements 04:56:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements 04:56:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:56:05 GO111MODULE=on go vet ./... 04:56:11 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:56:13 Removing intermediate container 9a8493b85f31 04:56:13 ---> 550af1353fbb 04:56:13 Step 10/23 : FROM alpine:3.12 04:56:13 3.12: Pulling from library/alpine 04:56:13 22599d3e9e25: Pulling fs layer 04:56:14 22599d3e9e25: Verifying Checksum 04:56:14 22599d3e9e25: Pull complete 04:56:14 Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 04:56:14 Status: Downloaded newer image for alpine:3.12 04:56:14 ---> 42cb162f0360 04:56:14 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:56:14 ---> Running in a410d66f46bb 04:56:14 Removing intermediate container a410d66f46bb 04:56:14 ---> a40df782da5d 04:56:14 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:56:14 ---> Running in 56321ecfb0d0 04:56:15 Removing intermediate container 56321ecfb0d0 04:56:15 ---> 525e2cad11dd 04:56:15 Step 13/23 : RUN apk add --update --no-cache zeromq 04:56:15 ---> Running in 00e31e6dc6bf 04:56:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:56:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:56:17 (1/5) Installing libgcc (9.3.0-r2) 04:56:17 (2/5) Installing libsodium (1.0.18-r0) 04:56:17 (3/5) Installing libstdc++ (9.3.0-r2) 04:56:17 (4/5) Installing libzmq (4.3.3-r0) 04:56:17 (5/5) Installing zeromq (4.3.3-r0) 04:56:17 Executing busybox-1.31.1-r19.trigger 04:56:17 OK: 8 MiB in 19 packages 04:56:18 Removing intermediate container 00e31e6dc6bf 04:56:18 ---> 86e2f0e2754c 04:56:18 Step 14/23 : WORKDIR / 04:56:18 ---> Running in e57ba84c2bb9 04:56:18 Removing intermediate container e57ba84c2bb9 04:56:18 ---> 83aff70aa228 04:56:18 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:56:18 ---> 8dd8f64444d5 04:56:18 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:56:19 ---> 717fb74207ea 04:56:19 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:56:19 ---> 3d80cc86a4a8 04:56:19 Step 18/23 : EXPOSE 49990 04:56:19 ---> Running in 9f07f582ca38 04:56:19 Removing intermediate container 9f07f582ca38 04:56:19 ---> 3aa506d26f34 04:56:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:56:19 ---> Running in e52986e581dc 04:56:20 Removing intermediate container e52986e581dc 04:56:20 ---> cfb0c6fe5aab 04:56:20 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:56:20 ---> Running in 6a57e62d4677 04:56:20 Removing intermediate container 6a57e62d4677 04:56:20 ---> 4b3b513fbbb6 04:56:20 Step 21/23 : LABEL arch=amd64 04:56:20 ---> Running in 27b6de9066d4 04:56:20 Removing intermediate container 27b6de9066d4 04:56:20 ---> 26c6ee1d23bc 04:56:20 Step 22/23 : LABEL git_sha=f82460527c0eb718fcf2dd97423294a8a45a7202 04:56:20 ---> Running in 4fb079f24959 04:56:20 Removing intermediate container 4fb079f24959 04:56:20 ---> 742604404d90 04:56:20 Step 23/23 : LABEL version=0.0.0 04:56:20 ---> Running in 75bc0601a277 04:56:21 Removing intermediate container 75bc0601a277 04:56:21 ---> f1359a0536b1 04:56:21 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:56:21 Successfully built f1359a0536b1 04:56:21 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 04:56:22 ---> job-cost.sh 04:56:22 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Hxkx 04:56:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:56:52 gofmt -l . 04:56:52 [ "`gofmt -l .`" = "" ] 04:56:52 ./bin/test-attribution-txt.sh 04:56:52 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:56:52 $ docker stop --time=1 547781607acc7ca24deebe644e15c53999f4292af16fba5f5080d4bed5f5eeb8 04:56:54 $ docker rm -f 547781607acc7ca24deebe644e15c53999f4292af16fba5f5080d4bed5f5eeb8 [Pipeline] // withDockerContainer [Pipeline] sh 04:56:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:56:55 Warning: overwriting stash ‘coverage-report’ 04:56:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:56:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:56:57 + ls -al . 04:56:57 total 224 04:56:57 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 04:56 . 04:56:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 04:53 .. 04:56:57 -rw-rw-r-- 1 jenkins jenkins 140 Mar 29 04:53 .dockerignore 04:56:57 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 04:53 .git 04:56:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 04:53 .github 04:56:57 -rw-rw-r-- 1 jenkins jenkins 138 Mar 29 04:53 .gitignore 04:56:57 -rw-rw-r-- 1 jenkins jenkins 987 Mar 29 04:53 Dockerfile.build 04:56:57 -rw-rw-r-- 1 jenkins jenkins 901 Mar 29 04:53 Jenkinsfile 04:56:57 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 29 04:53 LICENSE 04:56:57 -rw-rw-r-- 1 jenkins jenkins 1022 Mar 29 04:53 Makefile 04:56:57 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 29 04:53 README.md 04:56:57 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 29 04:53 RELEASE-NOTES.txt 04:56:57 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 04:51 VERSION 04:56:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 04:53 bin 04:56:57 -rw-r--r-- 1 jenkins jenkins 101416 Mar 29 04:56 coverage.out 04:56:57 drwxrwxr-x 5 jenkins jenkins 4096 Mar 29 04:53 example 04:56:57 -rw-r--r-- 1 jenkins jenkins 537 Mar 29 04:56 go.mod 04:56:57 -rw-r--r-- 1 jenkins jenkins 20914 Mar 29 04:56 go.sum 04:56:57 drwxrwxr-x 14 jenkins jenkins 4096 Mar 29 04:53 internal 04:56:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 04:53 openapi 04:56:57 drwxrwxr-x 5 jenkins jenkins 4096 Mar 29 04:53 pkg 04:56:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 04:53 snap 04:56:57 -rw-rw-r-- 1 jenkins jenkins 222 Mar 29 04:53 version.go [Pipeline] isUnix [Pipeline] sh 04:56:58 + 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=f82460527c0eb718fcf2dd97423294a8a45a7202 --label arch=arm64 --label version=0.0.0 . 04:56:58 Sending build context to Docker daemon 2.536MB 04:56:58 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 04:56:58 Step 2/23 : FROM ${BASE} AS builder 04:56:58 ---> 7981816d5824 04:56:58 Step 3/23 : WORKDIR /device-sdk-go 04:56:59 ---> Running in b2484beded9f 04:56:59 Removing intermediate container b2484beded9f 04:56:59 ---> 58ca120a46e0 04:56:59 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:57:00 ---> Running in 4fad6a82485a 04:57:00 Removing intermediate container 4fad6a82485a 04:57:00 ---> df13ab6753fe 04:57:00 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:57:00 ---> Running in decab562d102 04:57:02 Removing intermediate container decab562d102 04:57:02 ---> ddb8925d98f4 04:57:02 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:57:02 ---> Running in 0d0de6dec801 04:57:03 lf-activate-venv(): INFO: Adding /tmp/venv-Hxkx/bin to PATH 04:57:03 INFO: No Stack... 04:57:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:57:04 INFO: Retrieving Pricing Info for: v1-standard-2 04:57:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:57:04 INFO: Archiving Costs [Pipeline] sh 04:57:05 OK: 144 MiB in 45 packages 04:57:05 + cat /w/workspace/device-sdk-go/9/archives/cost.csv 04:57:05 + cut -d, -f6 [Pipeline] lock 04:57:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] 04:57:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] did not exist. Created. 04:57:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:57:05 + echo total: 0.029999999329447746 [Pipeline] stash 04:57:05 Stashed 1 file(s) [Pipeline] } 04:57:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 04:57:06 Removing intermediate container 0d0de6dec801 04:57:06 ---> e34e2c131935 04:57:06 Step 7/23 : COPY . . [Pipeline] // stage [Pipeline] } 04:57:08 ---> 883b8d0b849e 04:57:08 Step 8/23 : RUN go mod download 04:57:08 ---> Running in 2be925c8c93c 04:57:10 Removing intermediate container 2be925c8c93c 04:57:10 ---> 595258317079 04:57:10 Step 9/23 : RUN make build 04:57:10 ---> Running in 6cd46d35f0e0 04:57:11 CGO_ENABLED=1 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 04:57:44 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:57:46 Removing intermediate container 6cd46d35f0e0 04:57:46 ---> de78597ba790 04:57:46 Step 10/23 : FROM alpine:3.12 04:57:46 3.12: Pulling from library/alpine 04:57:46 95dec6db3722: Pulling fs layer 04:57:46 95dec6db3722: Verifying Checksum 04:57:46 95dec6db3722: Download complete 04:57:47 95dec6db3722: Pull complete 04:57:47 Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 04:57:47 Status: Downloaded newer image for alpine:3.12 04:57:47 ---> e47305ac9786 04:57:47 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:57:47 ---> Running in f915600215df 04:57:48 Removing intermediate container f915600215df 04:57:48 ---> 3004d4be163b 04:57:48 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:57:48 ---> Running in a0e5c41bf784 04:57:50 Removing intermediate container a0e5c41bf784 04:57:50 ---> 84dbd178e07a 04:57:50 Step 13/23 : RUN apk add --update --no-cache zeromq 04:57:50 ---> Running in bd3c0f32b8b1 04:57:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:57:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:57:52 (1/5) Installing libgcc (9.3.0-r2) 04:57:52 (2/5) Installing libsodium (1.0.18-r0) 04:57:53 (3/5) Installing libstdc++ (9.3.0-r2) 04:57:53 (4/5) Installing libzmq (4.3.3-r0) 04:57:53 (5/5) Installing zeromq (4.3.3-r0) 04:57:53 Executing busybox-1.31.1-r19.trigger 04:57:53 OK: 8 MiB in 19 packages 04:57:55 Removing intermediate container bd3c0f32b8b1 04:57:55 ---> 86d03ab2690c 04:57:55 Step 14/23 : WORKDIR / 04:57:55 ---> Running in 8e2dd01c3d93 04:57:55 Removing intermediate container 8e2dd01c3d93 04:57:55 ---> 6a3bae113079 04:57:55 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:57:56 ---> e9cb9c31b86f 04:57:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:57:57 ---> 223f35431c93 04:57:57 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:57:58 ---> 7d14bbc78d68 04:57:58 Step 18/23 : EXPOSE 49990 04:57:58 ---> Running in f499cd082a1d 04:57:58 Removing intermediate container f499cd082a1d 04:57:58 ---> 5a041a6505c3 04:57:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:57:58 ---> Running in 636dff25dc31 04:57:59 Removing intermediate container 636dff25dc31 04:57:59 ---> 1aa6fa2e577d 04:57:59 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:57:59 ---> Running in 6451907435ed 04:58:00 Removing intermediate container 6451907435ed 04:58:00 ---> b7d24908ce6e 04:58:00 Step 21/23 : LABEL arch=arm64 04:58:00 ---> Running in e990aa911ca9 04:58:00 Removing intermediate container e990aa911ca9 04:58:00 ---> 28c86441630a 04:58:00 Step 22/23 : LABEL git_sha=f82460527c0eb718fcf2dd97423294a8a45a7202 04:58:00 ---> Running in b2abbbe8a3d3 04:58:01 Removing intermediate container b2abbbe8a3d3 04:58:01 ---> 8b4ba5a6ab13 04:58:01 Step 23/23 : LABEL version=0.0.0 04:58:01 ---> Running in 031026219f28 04:58:01 Removing intermediate container 031026219f28 04:58:01 ---> 01f92e3d2bd2 04:58:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 04:58:01 Successfully built 01f92e3d2bd2 04:58:01 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 04:58:02 ---> job-cost.sh 04:58:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WTZg 04:58:41 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:00:18 lf-activate-venv(): INFO: Adding /tmp/venv-WTZg/bin to PATH 05:00:18 INFO: No Stack... 05:00:18 INFO: Retrieving Pricing Info for: lf-standard-4 05:00:18 INFO: Archiving Costs [Pipeline] sh 05:00:19 + cat /w/workspace/device-sdk-go/9/archives/cost.csv 05:00:19 + cut -d, -f6 [Pipeline] lock 05:00:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] 05:00:19 Resource [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] did not exist. Created. 05:00:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-829-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:00:19 /w/workspace/device-sdk-go/9@tmp/durable-99eda86d/script.sh: 1: /w/workspace/device-sdk-go/9@tmp/durable-99eda86d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:00:19 + echo total: 0.20999999344348907 [Pipeline] stash 05:00:19 Warning: overwriting stash ‘stack-cost’ 05:00:20 Stashed 1 file(s) [Pipeline] } 05:00:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-829-9-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 05:00:22 provisioning config files... 05:00:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config7809354103431027419tmp [Pipeline] { [Pipeline] sh 05:00:22 + set +x 05:00:22 + curl -s https://codecov.io/bash 05:00:22 + bash -s -- 05:00:23 05:00:23 _____ _ 05:00:23 / ____| | | 05:00:23 | | ___ __| | ___ ___ _____ __ 05:00:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:00:23 | |___| (_) | (_| | __/ (_| (_) \ V / 05:00:23 \_____\___/ \__,_|\___|\___\___/ \_/ 05:00:23 Bash-20210309-2b87ace 05:00:23 05:00:23 05:00:23 ==> git version 2.24.3 found 05:00:23 ==> 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 05:00:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:00:23 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:00:23 curl: option -sm: expected a proper numerical parameter 05:00:23 curl: try 'curl --help' or 'curl --manual' for more information 05:00:23 ==> Jenkins CI detected. 05:00:23 project root: . 05:00:23 --> token set from env 05:00:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:00:23 ==> Running gcov in . (disable via -X gcov) 05:00:23 ==> Python coveragepy not found 05:00:23 ==> Searching for coverage reports in: 05:00:23 + . 05:00:23 -> Found 1 reports 05:00:23 ==> Detecting git/mercurial file structure 05:00:23 ==> Reading reports 05:00:23 + ./coverage.out bytes=101416 05:00:23 ==> Appending adjustments 05:00:23 https://docs.codecov.io/docs/fixing-reports 05:00:23 + Found adjustments 05:00:23 ==> Gzipping contents 05:00:23 16K /tmp/codecov.RcYbwg.gz 05:00:23 ==> Uploading reports 05:00:23 url: https://codecov.io 05:00:23 query: branch=PR-829&commit=f82460527c0eb718fcf2dd97423294a8a45a7202&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-829%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=829&job=&cmd_args= 05:00:23 -> Pinging Codecov 05:00:23 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-829&commit=f82460527c0eb718fcf2dd97423294a8a45a7202&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-829%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=829&job=&cmd_args= 05:00:23 -> Uploading to 05:00:23 https://storage.googleapis.com/codecov/v4/raw/2021-03-29/7E55EF52A471D76F132DFD9A03CDDE97/f82460527c0eb718fcf2dd97423294a8a45a7202/1c70a279-f6e0-4c5d-b718-1a1bbd771b4c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210329T050023Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=368a111e0c9d8f077b915c983842d64707d651dff99a3194ee5e8a7f1f5b9dc4 05:00:23 % Total % Received % Xferd Average Speed Time Time Time Current 05:00:23 Dload Upload Total Spent Left Speed 05:00:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13698 0 0 100 13698 0 32838 --:--:-- --:--:-- --:--:-- 32927 05:00:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f82460527c0eb718fcf2dd97423294a8a45a7202 [Pipeline] } 05:00:24 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 05:00:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:00:27 ---> package-listing.sh 05:00:27 ++ facter osfamily 05:00:27 ++ tr '[:upper:]' '[:lower:]' 05:00:27 + OS_FAMILY=redhat 05:00:27 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-829 05:00:27 + START_PACKAGES=/tmp/packages_start.txt 05:00:27 + END_PACKAGES=/tmp/packages_end.txt 05:00:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:00:27 + PACKAGES=/tmp/packages_start.txt 05:00:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' 05:00:27 + PACKAGES=/tmp/packages_end.txt 05:00:27 + case "${OS_FAMILY}" in 05:00:27 + rpm -qa 05:00:27 + sort 05:00:32 + '[' -f /tmp/packages_start.txt ']' 05:00:32 + '[' -f /tmp/packages_end.txt ']' 05:00:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:00:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-829 ']' 05:00:32 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-829/archives/ 05:00:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-829/archives/ [Pipeline] echo 05:00:32 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-829/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:00:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:00:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:00:33 05:00:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:00:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:00:33 alpine: Pulling from edgex-lftools-log-publisher 05:00:33 df20fa9351a1: Pulling fs layer 05:00:33 36b3adc4ff6f: Pulling fs layer 05:00:33 8ad3a11d3b57: Pulling fs layer 05:00:33 46f8f816bc3b: Pulling fs layer 05:00:33 93b61091891f: Pulling fs layer 05:00:33 93b9cdb0e59b: Pulling fs layer 05:00:33 5e14af77c1be: Pulling fs layer 05:00:33 01666e4c0597: Pulling fs layer 05:00:33 aa168da1d23b: Pulling fs layer 05:00:33 93b9cdb0e59b: Waiting 05:00:33 5e14af77c1be: Waiting 05:00:33 01666e4c0597: Waiting 05:00:33 aa168da1d23b: Waiting 05:00:33 46f8f816bc3b: Waiting 05:00:33 93b61091891f: Waiting 05:00:33 36b3adc4ff6f: Verifying Checksum 05:00:33 36b3adc4ff6f: Download complete 05:00:33 46f8f816bc3b: Verifying Checksum 05:00:33 46f8f816bc3b: Download complete 05:00:33 df20fa9351a1: Verifying Checksum 05:00:33 df20fa9351a1: Download complete 05:00:33 93b9cdb0e59b: Verifying Checksum 05:00:33 93b9cdb0e59b: Download complete 05:00:33 93b61091891f: Download complete 05:00:33 5e14af77c1be: Verifying Checksum 05:00:33 5e14af77c1be: Download complete 05:00:33 01666e4c0597: Verifying Checksum 05:00:33 01666e4c0597: Download complete 05:00:33 8ad3a11d3b57: Verifying Checksum 05:00:33 8ad3a11d3b57: Download complete 05:00:34 df20fa9351a1: Pull complete 05:00:34 36b3adc4ff6f: Pull complete 05:00:35 aa168da1d23b: Verifying Checksum 05:00:35 aa168da1d23b: Download complete 05:00:36 8ad3a11d3b57: Pull complete 05:00:36 46f8f816bc3b: Pull complete 05:00:36 93b61091891f: Pull complete 05:00:36 93b9cdb0e59b: Pull complete 05:00:37 5e14af77c1be: Pull complete 05:00:37 01666e4c0597: Pull complete 05:00:43 aa168da1d23b: Pull complete 05:00:43 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:00:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:00:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:00:44 prd-centos7-docker-4c-2g-31664 does not seem to be running inside a container 05:00:44 $ 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-829/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-829 -v /w/workspace/dgexfoundry_device-sdk-go_PR-829:/w/workspace/dgexfoundry_device-sdk-go_PR-829:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-829@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 05:00:48 $ docker top a999e7dde813d5ce35e3a46a1c73a897fac407e4fd2ce913633ae84c230ca609 -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:49 + touch /tmp/pre-build-complete [Pipeline] sh 05:00:49 + mkdir -p /var/log/sa [Pipeline] sh 05:00:49 + ls /var/log/sa-host 05:00:49 + sadf -c /var/log/sa-host/sa23 05:00:49 file_magic: OK 05:00:49 HZ: Using current value: 100 05:00:49 file_header: OK 05:00:49 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 05:00:49 Statistics: 05:00:49 Hnuu...uuuununununu... 05:00:49 File successfully converted to sysstat format version 12.2.1 05:00:49 + sadf -c /var/log/sa-host/sa29 05:00:49 file_magic: OK 05:00:49 HZ: Using current value: 100 05:00:49 file_header: OK 05:00:49 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 05:00:49 Statistics: 05:00:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:00:49 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:00:50 provisioning config files... 05:00:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-829@tmp/config6007514866195489538tmp [Pipeline] { [Pipeline] echo 05:00:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:00:50 ---> create-netrc.sh [Pipeline] } 05:00:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:00:50 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:00:51 ---> python-tools-install.sh [Pipeline] echo 05:00:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:00:51 ---> sudo-logs.sh 05:00:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:00:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:00:51 ---> job-cost.sh 05:00:51 lf-activate-venv: SKIPPING 05:00:51 DEBUG: total: 0.20999999344348907 05:00:51 INFO: Retrieving Stack Cost... 05:00:53 INFO: Retrieving Pricing Info for: v1-standard-2 05:00:53 INFO: Archiving Costs [Pipeline] echo 05:00:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:00:53 ---> logs-deploy.sh 05:00:53 lf-activate-venv: SKIPPING 05:00:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-829/9 05:00:53 INFO: archiving workspace using pattern(s): 05:00:55 Archives upload complete. 05:00:55 INFO: archiving logs to Nexus 05:00:56 ---> uname -a: 05:00:56 Linux prd-centos7-docker-4c-2g-31664.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 05:00:56 05:00:56