Pull request #753 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 judehung for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 84ea4a05cef1466ee67975698004463005cbf340 rather than d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad Obtained Jenkinsfile from 84ea4a05cef1466ee67975698004463005cbf340 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 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-24198 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [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-753 # 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 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad Merge succeeded, producing d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad Checking out Revision d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad (PR-753) > 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/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad # 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 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad # timeout=10 Commit message: "Merge branch 'master' into issue-352" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:46:36 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 0f4f88d354fa9b05affb3ac65eeb7a72eee63ad3 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:46:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:46:37 ========================================================= 15:46:37 EdgeX Global Pipelines Version Info 15:46:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:46:38 ------------------- 15:46:38 stable info: 15:46:38 ------------------- 15:46:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:46:38 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 15:46:38 Message: update stable to v1.0.179 15:46:39 ------------------- 15:46:39 experimental info: 15:46:39 ------------------- 15:46:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:46:39 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 15:46:39 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:46:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:46:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:46:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:46:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:46:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:46:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:46:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:46:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:46:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:46:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:46:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:46:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 15:46:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:46:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:46:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:46:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:46:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:46:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:46:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:46:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:46:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:46:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 15:46:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:46:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:46:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:46:43 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 15:46:43 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 15:46:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-753 [Pipeline] echo 15:46:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-753 [Pipeline] echo 15:46:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-753 [Pipeline] echo 15:46:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad [Pipeline] echo 15:46:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d9bdd16 [Pipeline] echo 15:46:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:46:43 provisioning config files... 15:46:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config4799345130146451294tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:46:44 ---> docker-login.sh 15:46:44 nexus3.edgexfoundry.org:10001 15:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:44 Configure a credential helper to remove this warning. See 15:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:44 15:46:44 Login Succeeded 15:46:44 nexus3.edgexfoundry.org:10002 15:46:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:44 Configure a credential helper to remove this warning. See 15:46:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:44 15:46:44 Login Succeeded 15:46:44 nexus3.edgexfoundry.org:10003 15:46:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:45 Configure a credential helper to remove this warning. See 15:46:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:45 15:46:45 Login Succeeded 15:46:45 nexus3.edgexfoundry.org:10004 15:46:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:45 Configure a credential helper to remove this warning. See 15:46:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:45 15:46:45 Login Succeeded 15:46:45 docker.io 15:46:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:45 Configure a credential helper to remove this warning. See 15:46:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:45 15:46:45 Login Succeeded 15:46:45 ---> docker-login.sh ends [Pipeline] } 15:46:45 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 15:46:46 + git log --format=format:%s -1 d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad [Pipeline] echo 15:46:46 GIT_COMMIT: d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad, Commit Message: Merge branch 'master' into issue-352 [Pipeline] echo 15:46:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:46:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:46:47 15:46:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:46:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:46:47 latest: Pulling from edgex-devops/git-semver 15:46:47 31603596830f: Pulling fs layer 15:46:47 2a8b12db71e7: Pulling fs layer 15:46:47 6ca5941a6612: Pulling fs layer 15:46:47 ecc8261a40a4: Pulling fs layer 15:46:47 ecc8261a40a4: Waiting 15:46:47 2a8b12db71e7: Verifying Checksum 15:46:47 2a8b12db71e7: Download complete 15:46:48 31603596830f: Download complete 15:46:48 ecc8261a40a4: Verifying Checksum 15:46:48 ecc8261a40a4: Download complete 15:46:48 6ca5941a6612: Verifying Checksum 15:46:48 6ca5941a6612: Download complete 15:46:48 31603596830f: Pull complete 15:46:48 2a8b12db71e7: Pull complete 15:46:49 6ca5941a6612: Pull complete 15:46:49 ecc8261a40a4: Pull complete 15:46:49 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:46:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:46:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:46:49 prd-centos7-docker-4c-2g-24198 does not seem to be running inside a container 15:46:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-753 -v /w/workspace/dgexfoundry_device-sdk-go_PR-753:/w/workspace/dgexfoundry_device-sdk-go_PR-753:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-753@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:46:52 $ docker top 913ff301e5729a8b544f7234f8737f0084ee0a6e29bb259b992e05f01d77acd0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:46:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:46:52 [ssh-agent] Looking for ssh-agent implementation... 15:46:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:46:52 $ docker exec 913ff301e5729a8b544f7234f8737f0084ee0a6e29bb259b992e05f01d77acd0 ssh-agent 15:46:52 SSH_AUTH_SOCK=/tmp/ssh-w2s48f3YKWGq/agent.11 15:46:52 SSH_AGENT_PID=16 15:46:52 Running ssh-add (command line suppressed) 15:46:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_4367549991445180911.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_4367549991445180911.key) 15:46:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:46:53 + git tag --points-at HEAD [Pipeline] } 15:46:53 $ docker exec --env ******** --env ******** 913ff301e5729a8b544f7234f8737f0084ee0a6e29bb259b992e05f01d77acd0 ssh-agent -k 15:46:53 unset SSH_AUTH_SOCK; 15:46:53 unset SSH_AGENT_PID; 15:46:53 echo Agent pid 16 killed; 15:46:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:46:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:46:53 [ssh-agent] Looking for ssh-agent implementation... 15:46:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:46:53 $ docker exec 913ff301e5729a8b544f7234f8737f0084ee0a6e29bb259b992e05f01d77acd0 ssh-agent 15:46:54 SSH_AUTH_SOCK=/tmp/ssh-Bqw3ndyBvVm2/agent.44 15:46:54 SSH_AGENT_PID=50 15:46:54 Running ssh-add (command line suppressed) 15:46:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_1490218215064810184.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_1490218215064810184.key) 15:46:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:46:54 + git semver init 15:46:54 # -> Open(): unable to determine branch for HEAD 15:46:54 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.git 15:46:54 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-753 15:46:54 # $SEMVER_REMOTE_NAME = origin 15:46:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:46:54 # $SEMVER_USER_NAME = edgex-jenkins 15:46:54 # $SEMVER_BRANCH = PR-753 15:46:54 # $SEMVER_TEMP = /tmp/semver-897424010 15:46:54 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:46:55 # '/tmp/semver-897424010' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver' 15:46:55 # -> Force: false 15:46:55 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver [Pipeline] } 15:46:55 $ docker exec --env ******** --env ******** 913ff301e5729a8b544f7234f8737f0084ee0a6e29bb259b992e05f01d77acd0 ssh-agent -k 15:46:55 unset SSH_AUTH_SOCK; 15:46:55 unset SSH_AGENT_PID; 15:46:55 echo Agent pid 50 killed; 15:46:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:46:55 + git semver [Pipeline] } 15:46:55 $ docker stop --time=1 913ff301e5729a8b544f7234f8737f0084ee0a6e29bb259b992e05f01d77acd0 15:46:57 $ docker rm -f 913ff301e5729a8b544f7234f8737f0084ee0a6e29bb259b992e05f01d77acd0 [Pipeline] // withDockerContainer [Pipeline] sh 15:46:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:46:58 Stashed 1 file(s) [Pipeline] echo 15:46:58 [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 15:47:13 Still waiting to schedule task 15:47:13 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-24198’ 15:47:13 Still waiting to schedule task 15:47:13 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:48:54 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24199 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws 15:48:54 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 15:48:59 using credential edgex-jenkins-ssh 15:48:59 Cloning the remote Git repository 15:49:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:49:00 > git init /w/workspace/device-sdk-go/5 # timeout=10 15:49:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:49:00 > git --version # timeout=10 15:49:00 > git --version # 'git version 2.17.1' 15:49:00 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:00 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:49:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:49:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:49:01 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:49:02 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad 15:49:02 Merge succeeded, producing d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad 15:49:02 Checking out Revision d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad (PR-753) 15:49:02 > git config core.sparsecheckout # timeout=10 15:49:02 > git checkout -f d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad # timeout=10 15:49:02 > git remote # timeout=10 15:49:02 > git config --get remote.origin.url # timeout=10 15:49:02 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:02 > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 15:49:02 > git rev-parse HEAD^{commit} # timeout=10 15:49:02 > git config core.sparsecheckout # timeout=10 15:49:02 > git checkout -f d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad # timeout=10 15:49:07 Commit message: "Merge branch 'master' into issue-352" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:49:09 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 15:49:09 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:49:09 + sudo service docker restart 15:49:09 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:49:12 provisioning config files... 15:49:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5704486130448046029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:13 ---> docker-login.sh 15:49:13 nexus3.edgexfoundry.org:10001 15:49:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:14 Configure a credential helper to remove this warning. See 15:49:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:14 15:49:14 Login Succeeded 15:49:14 nexus3.edgexfoundry.org:10002 15:49:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:14 Configure a credential helper to remove this warning. See 15:49:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:14 15:49:14 Login Succeeded 15:49:14 nexus3.edgexfoundry.org:10003 15:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:15 Configure a credential helper to remove this warning. See 15:49:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:15 15:49:15 Login Succeeded 15:49:15 nexus3.edgexfoundry.org:10004 15:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:16 Configure a credential helper to remove this warning. See 15:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:16 15:49:16 Login Succeeded 15:49:16 docker.io 15:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:16 Configure a credential helper to remove this warning. See 15:49:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:16 15:49:16 Login Succeeded 15:49:16 ---> docker-login.sh ends [Pipeline] } 15:49:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:49:17 ========================================================= 15:49:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:49:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:49:17 + 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 . 15:49:18 Sending build context to Docker daemon 2.523MB 15:49:18 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 15:49:18 Step 2/8 : FROM ${BASE} 15:49:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:49:18 5f621e34cdf4: Pulling fs layer 15:49:18 a4357932f1b6: Pulling fs layer 15:49:18 18c013af1878: Pulling fs layer 15:49:18 00ac8860ef70: Pulling fs layer 15:49:18 63d7cb157983: Pulling fs layer 15:49:18 b116817d02f9: Pulling fs layer 15:49:18 745a02a5169b: Pulling fs layer 15:49:18 00ac8860ef70: Waiting 15:49:18 63d7cb157983: Waiting 15:49:18 b116817d02f9: Waiting 15:49:18 745a02a5169b: Waiting 15:49:18 18c013af1878: Verifying Checksum 15:49:18 18c013af1878: Download complete 15:49:18 a4357932f1b6: Verifying Checksum 15:49:18 a4357932f1b6: Download complete 15:49:18 63d7cb157983: Verifying Checksum 15:49:18 63d7cb157983: Download complete 15:49:18 b116817d02f9: Verifying Checksum 15:49:18 b116817d02f9: Download complete 15:49:18 5f621e34cdf4: Verifying Checksum 15:49:18 5f621e34cdf4: Download complete 15:49:19 5f621e34cdf4: Pull complete 15:49:19 a4357932f1b6: Pull complete 15:49:20 18c013af1878: Pull complete 15:49:21 745a02a5169b: Download complete 15:49:22 00ac8860ef70: Verifying Checksum 15:49:22 00ac8860ef70: Download complete 15:49:32 00ac8860ef70: Pull complete 15:49:32 63d7cb157983: Pull complete 15:49:32 b116817d02f9: Pull complete 15:49:37 745a02a5169b: Pull complete 15:49:37 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 15:49:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:49:37 ---> b7e6874047d6 15:49:37 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:49:38 Running on prd-centos7-docker-4c-2g-24200 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws 15:49:38 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 15:49:39 ---> Running in 8711386fe700 15:49:39 Removing intermediate container 8711386fe700 15:49:39 ---> 925f3f34168f 15:49:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:49:39 ---> Running in 4a43032c1818 15:49:40 using credential edgex-jenkins-ssh 15:49:41 Cloning the remote Git repository 15:49:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:49:41 > git init /w/workspace/device-sdk-go/5 # timeout=10 15:49:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:49:41 > git --version # timeout=10 15:49:41 > git --version # 'git version 2.24.3' 15:49:41 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:49:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:49:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:49:41 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:49:42 Merging remotes/origin/master commit 84ea4a05cef1466ee67975698004463005cbf340 into PR head commit d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad 15:49:42 Merge succeeded, producing d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad 15:49:42 Checking out Revision d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad (PR-753) 15:49:42 Removing intermediate container 4a43032c1818 15:49:42 ---> aa7e43b63de2 15:49:42 Step 5/8 : RUN apk add --update --no-cache make git 15:49:42 ---> Running in 5d35f23e4490 15:49:42 > git config core.sparsecheckout # timeout=10 15:49:42 > git checkout -f d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad # timeout=10 15:49:42 > git remote # timeout=10 15:49:42 > git config --get remote.origin.url # timeout=10 15:49:42 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:42 > git merge 84ea4a05cef1466ee67975698004463005cbf340 # timeout=10 15:49:42 > git rev-parse HEAD^{commit} # timeout=10 15:49:42 > git config core.sparsecheckout # timeout=10 15:49:42 > git checkout -f d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad # timeout=10 15:49:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:49:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:49:44 OK: 142 MiB in 39 packages 15:49:45 Removing intermediate container 5d35f23e4490 15:49:45 ---> 63d355c12b8c 15:49:45 Step 6/8 : WORKDIR /device-sdk-go 15:49:46 ---> Running in f2ecb7751797 15:49:46 Commit message: "Merge branch 'master' into issue-352" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 15:49:46 Removing intermediate container f2ecb7751797 15:49:46 ---> 09d27e8f4965 15:49:46 Step 7/8 : COPY . . [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:49:47 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 15:49:47 ---> 3f6fb3359037 15:49:47 Step 8/8 : RUN go mod download 15:49:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:49:47 ---> Running in 0cba155cbd87 15:49:48 + true 15:49:48 + sudo service docker restart 15:49:48 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:49:49 provisioning config files... 15:49:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5606515796167568637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:49 ---> docker-login.sh 15:49:49 nexus3.edgexfoundry.org:10001 15:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:50 Configure a credential helper to remove this warning. See 15:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:50 15:49:50 Login Succeeded 15:49:50 nexus3.edgexfoundry.org:10002 15:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:50 Configure a credential helper to remove this warning. See 15:49:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:50 15:49:50 Login Succeeded 15:49:50 nexus3.edgexfoundry.org:10003 15:49:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:51 Configure a credential helper to remove this warning. See 15:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:51 15:49:51 Login Succeeded 15:49:51 nexus3.edgexfoundry.org:10004 15:49:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:51 Configure a credential helper to remove this warning. See 15:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:51 15:49:51 Login Succeeded 15:49:51 docker.io 15:49:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:51 Configure a credential helper to remove this warning. See 15:49:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:51 15:49:51 Login Succeeded 15:49:51 ---> docker-login.sh ends [Pipeline] } 15:49:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:49:51 ========================================================= 15:49:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:49:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:49:52 + 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 . 15:49:52 Sending build context to Docker daemon 2.524MB 15:49:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 15:49:52 Step 2/8 : FROM ${BASE} 15:49:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:49:52 188c0c94c7c5: Pulling fs layer 15:49:52 0ef7d3d256c8: Pulling fs layer 15:49:52 de9db76c5a1d: Pulling fs layer 15:49:52 bca2f99d35d6: Pulling fs layer 15:49:52 93359f2a8cfa: Pulling fs layer 15:49:52 7c6f9722023f: Pulling fs layer 15:49:52 a35cf1a2eb13: Pulling fs layer 15:49:52 bca2f99d35d6: Waiting 15:49:52 93359f2a8cfa: Waiting 15:49:52 7c6f9722023f: Waiting 15:49:52 a35cf1a2eb13: Waiting 15:49:52 de9db76c5a1d: Verifying Checksum 15:49:52 de9db76c5a1d: Download complete 15:49:52 0ef7d3d256c8: Download complete 15:49:52 93359f2a8cfa: Verifying Checksum 15:49:52 93359f2a8cfa: Download complete 15:49:53 7c6f9722023f: Verifying Checksum 15:49:53 7c6f9722023f: Download complete 15:49:53 188c0c94c7c5: Verifying Checksum 15:49:53 188c0c94c7c5: Download complete 15:49:53 188c0c94c7c5: Pull complete 15:49:53 0ef7d3d256c8: Pull complete 15:49:53 de9db76c5a1d: Pull complete 15:49:55 a35cf1a2eb13: Verifying Checksum 15:49:55 a35cf1a2eb13: Download complete 15:49:56 bca2f99d35d6: Verifying Checksum 15:49:56 bca2f99d35d6: Download complete 15:50:01 bca2f99d35d6: Pull complete 15:50:01 93359f2a8cfa: Pull complete 15:50:01 7c6f9722023f: Pull complete 15:50:08 a35cf1a2eb13: Pull complete 15:50:08 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 15:50:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:50:08 ---> a62c8e92a672 15:50:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:50:09 ---> Running in 2e677d583883 15:50:09 Removing intermediate container 2e677d583883 15:50:09 ---> 77153aa742a6 15:50:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:50:09 ---> Running in fb23f5cf7f10 15:50:10 Removing intermediate container 0cba155cbd87 15:50:10 ---> cacbc23bcff8 15:50:10 Successfully built cacbc23bcff8 15:50:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:50:10 + docker inspect -f . ci-base-image-arm64 15:50:10 . [Pipeline] withDockerContainer 15:50:10 prd-ubuntu18.04-docker-arm64-4c-16g-24199 does not seem to be running inside a container 15:50:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:50:10 Removing intermediate container fb23f5cf7f10 15:50:10 ---> 8df248d242cc 15:50:10 Step 5/8 : RUN apk add --update --no-cache make git 15:50:10 ---> Running in 7363aa5b8634 15:50:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:50:12 $ docker top 87f819a45f40b2abb72cc87d53cd8e76cfeb9b882feb010079de03575595aeec -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:50:13 OK: 166 MiB in 39 packages 15:50:13 + go version 15:50:13 go version go1.15.5 linux/arm64 [Pipeline] } 15:50:13 $ docker stop --time=1 87f819a45f40b2abb72cc87d53cd8e76cfeb9b882feb010079de03575595aeec 15:50:13 Removing intermediate container 7363aa5b8634 15:50:13 ---> b411319c9143 15:50:13 Step 6/8 : WORKDIR /device-sdk-go 15:50:13 ---> Running in 10a5803596e6 15:50:13 Removing intermediate container 10a5803596e6 15:50:13 ---> f9e863bdbfa2 15:50:13 Step 7/8 : COPY . . 15:50:15 $ docker rm -f 87f819a45f40b2abb72cc87d53cd8e76cfeb9b882feb010079de03575595aeec 15:50:15 ---> 4e3308616feb 15:50:15 Step 8/8 : RUN go mod download 15:50:15 ---> Running in addba9982cc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:50:16 + docker inspect -f . ci-base-image-arm64 15:50:16 . [Pipeline] withDockerContainer 15:50:16 prd-ubuntu18.04-docker-arm64-4c-16g-24199 does not seem to be running inside a container 15:50:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:50:18 $ docker top 0ffcba973e52ac2cc53c357e8d464c97e75ae6d543f0095146d586fe04235031 -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:19 + make test 15:50:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:50:37 Removing intermediate container addba9982cc4 15:50:37 ---> 27882a1122a6 15:50:37 Successfully built 27882a1122a6 15:50:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:50:37 + docker inspect -f . ci-base-image-x86_64 15:50:37 . [Pipeline] withDockerContainer 15:50:38 prd-centos7-docker-4c-2g-24200 does not seem to be running inside a container 15:50:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 15:50:39 $ docker top 842660509bd2ac7c0b61dbe0ee67b294134732c2cdba1c0195443d673cc96bbb -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:39 + go version 15:50:39 go version go1.15.5 linux/amd64 [Pipeline] } 15:50:39 $ docker stop --time=1 842660509bd2ac7c0b61dbe0ee67b294134732c2cdba1c0195443d673cc96bbb 15:50:41 $ docker rm -f 842660509bd2ac7c0b61dbe0ee67b294134732c2cdba1c0195443d673cc96bbb 15:50:41 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:50:42 + docker inspect -f . ci-base-image-x86_64 15:50:42 . [Pipeline] withDockerContainer 15:50:42 prd-centos7-docker-4c-2g-24200 does not seem to be running inside a container 15:50:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 15:50:43 $ docker top 6013f630468baa9383c20cef52db1d9e958d2f399f604770be24cd5307b41e6a -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:43 + make test 15:50:43 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:50:51 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:51:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:51:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:51:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:51:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 19.4% of statements 15:51:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.510s coverage: 97.1% of statements 15:51:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:51:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:51:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:51:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.114s coverage: 19.4% of statements 15:51:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.331s coverage: 97.1% of statements 15:51:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.064s coverage: 9.4% of statements 15:51:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.057s coverage: 21.7% of statements 15:51:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:51:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.234s coverage: 43.6% of statements 15:51:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 15:51:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.277s coverage: 68.9% of statements 15:51:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 15:51:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 15:51:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:51:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:51:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.066s coverage: 53.8% of statements 15:51:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 15:51:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 15:51:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.071s coverage: 25.2% of statements 15:51:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.446s coverage: 83.5% of statements 15:51:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.065s coverage: 4.2% of statements 15:51:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:51:39 GO111MODULE=on go vet ./... 15:51:52 gofmt -l . 15:51:52 [ "`gofmt -l .`" = "" ] 15:51:52 ./bin/test-attribution-txt.sh 15:51:52 ./bin/test-go-mod-tidy.sh [Pipeline] } 15:51:52 $ docker stop --time=1 6013f630468baa9383c20cef52db1d9e958d2f399f604770be24cd5307b41e6a 15:51:54 $ docker rm -f 6013f630468baa9383c20cef52db1d9e958d2f399f604770be24cd5307b41e6a [Pipeline] // withDockerContainer [Pipeline] sh 15:51:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:51:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 15:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.193s coverage: 9.4% of statements 15:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.123s coverage: 21.7% of statements 15:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.628s coverage: 43.6% of statements 15:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 15:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.757s coverage: 68.9% of statements 15:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 15:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 15:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.226s coverage: 53.8% of statements 15:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 15:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 15:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.195s coverage: 25.2% of statements 15:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.896s coverage: 83.5% of statements 15:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 4.2% of statements 15:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:51:56 GO111MODULE=on go vet ./... [Pipeline] sh 15:51:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:51:59 + ls -al . 15:51:59 total 216 15:51:59 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 31 15:51 . 15:51:59 drwxrwxr-x. 4 jenkins jenkins 28 Jan 31 15:49 .. 15:51:59 drwxrwxr-x. 2 jenkins jenkins 64 Jan 31 15:49 bin 15:51:59 -rw-r--r--. 1 jenkins jenkins 137332 Jan 31 15:51 coverage.out 15:51:59 -rw-rw-r--. 1 jenkins jenkins 949 Jan 31 15:49 Dockerfile.build 15:51:59 -rw-rw-r--. 1 jenkins jenkins 140 Jan 31 15:49 .dockerignore 15:51:59 drwxrwxr-x. 4 jenkins jenkins 48 Jan 31 15:49 example 15:51:59 drwxrwxr-x. 8 jenkins jenkins 179 Jan 31 15:49 .git 15:51:59 drwxrwxr-x. 2 jenkins jenkins 103 Jan 31 15:49 .github 15:51:59 -rw-rw-r--. 1 jenkins jenkins 138 Jan 31 15:49 .gitignore 15:51:59 -rw-r--r--. 1 jenkins jenkins 514 Jan 31 15:51 go.mod 15:51:59 -rw-r--r--. 1 jenkins jenkins 14191 Jan 31 15:51 go.sum 15:51:59 drwxrwxr-x. 15 jenkins jenkins 211 Jan 31 15:49 internal 15:51:59 -rw-rw-r--. 1 jenkins jenkins 901 Jan 31 15:49 Jenkinsfile 15:51:59 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 31 15:49 LICENSE 15:51:59 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 31 15:49 Makefile 15:51:59 drwxrwxr-x. 4 jenkins jenkins 26 Jan 31 15:49 openapi 15:51:59 drwxrwxr-x. 5 jenkins jenkins 50 Jan 31 15:49 pkg 15:51:59 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 31 15:49 README.md 15:51:59 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 31 15:49 RELEASE-NOTES.txt 15:51:59 drwxrwxr-x. 4 jenkins jenkins 54 Jan 31 15:49 snap 15:51:59 -rw-rw-r--. 1 jenkins jenkins 5 Jan 31 15:46 VERSION 15:51:59 -rw-rw-r--. 1 jenkins jenkins 222 Jan 31 15:49 version.go [Pipeline] isUnix [Pipeline] sh 15:51:59 + 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=d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad --label arch=amd64 --label version=0.0.0 . 15:51:59 Sending build context to Docker daemon 2.662MB 15:51:59 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 15:51:59 Step 2/24 : FROM ${BASE} AS builder 15:51:59 ---> 27882a1122a6 15:51:59 Step 3/24 : ARG MAKE='make build' 15:52:00 ---> Running in 77c5d0bcde84 15:52:00 Removing intermediate container 77c5d0bcde84 15:52:00 ---> 47dd43b98766 15:52:00 Step 4/24 : WORKDIR /device-sdk-go 15:52:00 ---> Running in 0f97bda9dbb3 15:52:00 Removing intermediate container 0f97bda9dbb3 15:52:00 ---> c419aae11170 15:52:00 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:52:00 ---> Running in 236b8ebb085b 15:52:00 Removing intermediate container 236b8ebb085b 15:52:00 ---> b455f0b5dc95 15:52:00 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:52:00 ---> Running in ad16bce6ddf4 15:52:02 Removing intermediate container ad16bce6ddf4 15:52:02 ---> 1fcf8f259f6a 15:52:02 Step 7/24 : RUN apk add --update --no-cache make git 15:52:02 ---> Running in 8639b8ccfa88 15:52:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:52:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:52:04 OK: 166 MiB in 39 packages 15:52:04 Removing intermediate container 8639b8ccfa88 15:52:04 ---> 157cdf58f4a1 15:52:04 Step 8/24 : COPY . . 15:52:05 ---> 30d8a85f2950 15:52:05 Step 9/24 : RUN ${MAKE} 15:52:05 ---> Running in fb08172949fe 15:52:06 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 15:52:16 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:52:17 Removing intermediate container fb08172949fe 15:52:17 ---> 12b5854fbdff 15:52:17 Step 10/24 : FROM scratch 15:52:17 ---> 15:52:17 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:52:17 ---> Running in 253b7309c86b 15:52:17 Removing intermediate container 253b7309c86b 15:52:17 ---> cc8600699d6f 15:52:17 Step 12/24 : ENV APP_PORT=49990 15:52:17 ---> Running in 396f3ea513a7 15:52:17 Removing intermediate container 396f3ea513a7 15:52:17 ---> c9736264138d 15:52:17 Step 13/24 : EXPOSE $APP_PORT 15:52:17 ---> Running in d983e4fb3a29 15:52:18 Removing intermediate container d983e4fb3a29 15:52:18 ---> 58eba9b24ae7 15:52:18 Step 14/24 : WORKDIR / 15:52:18 ---> Running in 50675f41cff9 15:52:18 Removing intermediate container 50675f41cff9 15:52:18 ---> 78d97991dd7b 15:52:18 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:52:19 ---> c73d5aca8c6c 15:52:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:52:19 ---> 2eba6d27b4ae 15:52:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:52:19 ---> e30111aed3e0 15:52:19 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:52:19 ---> a0977bea78dc 15:52:19 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:52:19 ---> 255ffd606da0 15:52:19 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 15:52:19 ---> Running in 9f9901707ca8 15:52:20 Removing intermediate container 9f9901707ca8 15:52:20 ---> eaf2c4e9a89d 15:52:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:52:20 ---> Running in b7d3fedccf4b 15:52:20 Removing intermediate container b7d3fedccf4b 15:52:20 ---> 9b6cfdfb71d9 15:52:20 Step 22/24 : LABEL arch=amd64 15:52:20 ---> Running in 0fa3346faf61 15:52:20 Removing intermediate container 0fa3346faf61 15:52:20 ---> f492f3b41064 15:52:20 Step 23/24 : LABEL git_sha=d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad 15:52:20 ---> Running in ec58a5e35c1c 15:52:20 Removing intermediate container ec58a5e35c1c 15:52:20 ---> 9e76a73928c0 15:52:20 Step 24/24 : LABEL version=0.0.0 15:52:20 ---> Running in f10112bbccc0 15:52:20 Removing intermediate container f10112bbccc0 15:52:20 ---> 58a8b2da651f 15:52:20 [Warning] One or more build-args [ARCH] were not consumed 15:52:20 Successfully built 58a8b2da651f 15:52:20 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:52:28 gofmt -l . 15:52:28 [ "`gofmt -l .`" = "" ] 15:52:28 ./bin/test-attribution-txt.sh 15:52:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 15:52:29 $ docker stop --time=1 0ffcba973e52ac2cc53c357e8d464c97e75ae6d543f0095146d586fe04235031 15:52:32 $ docker rm -f 0ffcba973e52ac2cc53c357e8d464c97e75ae6d543f0095146d586fe04235031 [Pipeline] // withDockerContainer [Pipeline] sh 15:52:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:52:33 Warning: overwriting stash ‘coverage-report’ 15:52:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:52:35 + ls -al . 15:52:35 total 252 15:52:35 drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 15:52 . 15:52:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:49 .. 15:52:35 -rw-rw-r-- 1 jenkins jenkins 140 Jan 31 15:49 .dockerignore 15:52:35 drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 15:49 .git 15:52:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 15:49 .github 15:52:35 -rw-rw-r-- 1 jenkins jenkins 138 Jan 31 15:49 .gitignore 15:52:35 -rw-rw-r-- 1 jenkins jenkins 949 Jan 31 15:49 Dockerfile.build 15:52:35 -rw-rw-r-- 1 jenkins jenkins 901 Jan 31 15:49 Jenkinsfile 15:52:35 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 31 15:49 LICENSE 15:52:35 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 31 15:49 Makefile 15:52:35 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 31 15:49 README.md 15:52:35 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 31 15:49 RELEASE-NOTES.txt 15:52:35 -rw-rw-r-- 1 jenkins jenkins 5 Jan 31 15:46 VERSION 15:52:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 15:49 bin 15:52:35 -rw-r--r-- 1 jenkins jenkins 137332 Jan 31 15:51 coverage.out 15:52:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:49 example 15:52:35 -rw-r--r-- 1 jenkins jenkins 514 Jan 31 15:52 go.mod 15:52:35 -rw-r--r-- 1 jenkins jenkins 14191 Jan 31 15:52 go.sum 15:52:35 drwxrwxr-x 15 jenkins jenkins 4096 Jan 31 15:49 internal 15:52:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:49 openapi 15:52:35 drwxrwxr-x 5 jenkins jenkins 4096 Jan 31 15:49 pkg 15:52:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:49 snap 15:52:35 -rw-rw-r-- 1 jenkins jenkins 222 Jan 31 15:49 version.go [Pipeline] isUnix [Pipeline] sh 15:52:35 + 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=d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad --label arch=arm64 --label version=0.0.0 . 15:52:36 Sending build context to Docker daemon 2.661MB 15:52:36 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 15:52:36 Step 2/24 : FROM ${BASE} AS builder 15:52:36 ---> cacbc23bcff8 15:52:36 Step 3/24 : ARG MAKE='make build' 15:52:36 ---> Running in 497ebeeccaaa 15:52:36 Removing intermediate container 497ebeeccaaa 15:52:36 ---> b9c0e9a518b0 15:52:36 Step 4/24 : WORKDIR /device-sdk-go 15:52:36 ---> Running in cab02de65d0a 15:52:37 Removing intermediate container cab02de65d0a 15:52:37 ---> 76ebed262df9 15:52:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:52:37 ---> Running in 766e5c254683 15:52:38 Removing intermediate container 766e5c254683 15:52:38 ---> 26c2c3f518a0 15:52:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:52:38 ---> Running in 543efc24db9b 15:52:40 Removing intermediate container 543efc24db9b 15:52:40 ---> d13fad9fcac4 15:52:40 Step 7/24 : RUN apk add --update --no-cache make git 15:52:40 ---> Running in 6a8dd5204e45 15:52:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:52:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:52:42 OK: 142 MiB in 39 packages 15:52:43 Removing intermediate container 6a8dd5204e45 15:52:43 ---> cfc171db0b3b 15:52:43 Step 8/24 : COPY . . 15:52:45 ---> f124428fd7bd 15:52:45 Step 9/24 : RUN ${MAKE} 15:52:45 ---> Running in fa346ce19353 15:52:46 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:53:13 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 15:53:13 Removing intermediate container fa346ce19353 15:53:13 ---> 49b43ad35ed8 15:53:13 Step 10/24 : FROM scratch 15:53:13 ---> 15:53:13 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:53:13 ---> Running in 886823c587aa 15:53:13 Removing intermediate container 886823c587aa 15:53:13 ---> 7a4f52434ecb 15:53:13 Step 12/24 : ENV APP_PORT=49990 15:53:13 ---> Running in cec3b7910582 15:53:13 Removing intermediate container cec3b7910582 15:53:13 ---> d618271522f6 15:53:13 Step 13/24 : EXPOSE $APP_PORT 15:53:14 ---> Running in ccdd904be0d8 15:53:14 Removing intermediate container ccdd904be0d8 15:53:14 ---> bd5ba74f8ad0 15:53:14 Step 14/24 : WORKDIR / 15:53:14 ---> Running in f50df8f58863 15:53:14 Removing intermediate container f50df8f58863 15:53:14 ---> bb41c6e2c63c 15:53:14 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 15:53:15 ---> c36e2d78315f 15:53:15 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 15:53:16 ---> db6f430aee68 15:53:16 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 15:53:17 ---> ca5b7976794b 15:53:17 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 15:53:18 ---> 14f9707beb3d 15:53:18 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 15:53:18 ---> efd91f5702a8 15:53:18 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 15:53:18 ---> Running in 185beccf2306 15:53:19 Removing intermediate container 185beccf2306 15:53:19 ---> 84647dd66413 15:53:19 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:53:19 ---> Running in d91b63025c32 15:53:19 Removing intermediate container d91b63025c32 15:53:19 ---> 9b12b9247be3 15:53:19 Step 22/24 : LABEL arch=arm64 15:53:20 ---> Running in 0c630304339f 15:53:20 Removing intermediate container 0c630304339f 15:53:20 ---> d6703c32a3f9 15:53:20 Step 23/24 : LABEL git_sha=d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad 15:53:20 ---> Running in c33b909ffd58 15:53:20 Removing intermediate container c33b909ffd58 15:53:20 ---> 307d104dd1fa 15:53:20 Step 24/24 : LABEL version=0.0.0 15:53:21 ---> Running in 496ca756ca0e 15:53:21 Removing intermediate container 496ca756ca0e 15:53:21 ---> 81dae2e87434 15:53:21 [Warning] One or more build-args [ARCH] were not consumed 15:53:21 Successfully built 81dae2e87434 15:53:21 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 15:53:23 provisioning config files... 15:53:23 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config3166209264957155552tmp [Pipeline] { [Pipeline] sh 15:53:23 + set +x 15:53:23 + curl -s https://codecov.io/bash 15:53:23 + bash -s -- 15:53:24 15:53:24 _____ _ 15:53:24 / ____| | | 15:53:24 | | ___ __| | ___ ___ _____ __ 15:53:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:53:24 | |___| (_) | (_| | __/ (_| (_) \ V / 15:53:24 \_____\___/ \__,_|\___|\___\___/ \_/ 15:53:24 Bash-20210129-7c25fce 15:53:24 15:53:24 15:53:24 ==> git version 2.24.3 found 15:53:24 ==> 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 15:53:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:53:24 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:53:24 ==> Jenkins CI detected. 15:53:24 project root: . 15:53:24 --> token set from env 15:53:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:53:24 ==> Running gcov in . (disable via -X gcov) 15:53:24 ==> Python coveragepy not found 15:53:24 ==> Searching for coverage reports in: 15:53:24 + . 15:53:24 -> Found 1 reports 15:53:24 ==> Detecting git/mercurial file structure 15:53:24 ==> Reading reports 15:53:24 + ./coverage.out bytes=137332 15:53:24 ==> Appending adjustments 15:53:24 https://docs.codecov.io/docs/fixing-reports 15:53:24 + Found adjustments 15:53:24 ==> Gzipping contents 15:53:24 24K /tmp/codecov.i6luEk.gz 15:53:24 ==> Uploading reports 15:53:24 url: https://codecov.io 15:53:24 query: branch=PR-753&commit=d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= 15:53:24 -> Pinging Codecov 15:53:24 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-753&commit=d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= 15:53:25 -> Uploading to 15:53:25 https://storage.googleapis.com/codecov/v4/raw/2021-01-31/7E55EF52A471D76F132DFD9A03CDDE97/d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad/b3f09fc5-7e5b-4d62-8c44-22b87f558e87.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210131%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210131T155324Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=372de3bbd8f7e75e308f144f3d943c18f1feebc2c5a40467cd3795b32c09d7d5 15:53:25 % Total % Received % Xferd Average Speed Time Time Time Current 15:53:25 Dload Upload Total Spent Left Speed 15:53:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21645 0 0 100 21645 0 46524 --:--:-- --:--:-- --:--:-- 46548 15:53:25 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d9bdd163bf0fae80be7d6bdc4acbadaf4b13cbad [Pipeline] } 15:53:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 15:53:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:53:28 ---> package-listing.sh 15:53:28 ++ facter osfamily 15:53:28 ++ tr '[:upper:]' '[:lower:]' 15:53:28 + OS_FAMILY=redhat 15:53:28 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-753 15:53:28 + START_PACKAGES=/tmp/packages_start.txt 15:53:28 + END_PACKAGES=/tmp/packages_end.txt 15:53:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:53:28 + PACKAGES=/tmp/packages_start.txt 15:53:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' 15:53:28 + PACKAGES=/tmp/packages_end.txt 15:53:28 + case "${OS_FAMILY}" in 15:53:28 + rpm -qa 15:53:28 + sort 15:53:33 + '[' -f /tmp/packages_start.txt ']' 15:53:33 + '[' -f /tmp/packages_end.txt ']' 15:53:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:53:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' 15:53:33 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-753/archives/ 15:53:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-753/archives/ [Pipeline] echo 15:53:33 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-753/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:53:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:53:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:53:34 15:53:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:53:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:53:34 alpine: Pulling from edgex-lftools-log-publisher 15:53:34 df20fa9351a1: Pulling fs layer 15:53:34 36b3adc4ff6f: Pulling fs layer 15:53:34 8ad3a11d3b57: Pulling fs layer 15:53:34 46f8f816bc3b: Pulling fs layer 15:53:34 93b61091891f: Pulling fs layer 15:53:34 93b9cdb0e59b: Pulling fs layer 15:53:34 5e14af77c1be: Pulling fs layer 15:53:34 01666e4c0597: Pulling fs layer 15:53:34 aa168da1d23b: Pulling fs layer 15:53:34 93b9cdb0e59b: Waiting 15:53:34 46f8f816bc3b: Waiting 15:53:34 5e14af77c1be: Waiting 15:53:34 aa168da1d23b: Waiting 15:53:34 93b61091891f: Waiting 15:53:34 36b3adc4ff6f: Verifying Checksum 15:53:34 36b3adc4ff6f: Download complete 15:53:35 46f8f816bc3b: Verifying Checksum 15:53:35 46f8f816bc3b: Download complete 15:53:35 df20fa9351a1: Verifying Checksum 15:53:35 df20fa9351a1: Download complete 15:53:35 93b9cdb0e59b: Verifying Checksum 15:53:35 93b9cdb0e59b: Download complete 15:53:35 5e14af77c1be: Verifying Checksum 15:53:35 5e14af77c1be: Download complete 15:53:35 93b61091891f: Verifying Checksum 15:53:35 93b61091891f: Download complete 15:53:35 01666e4c0597: Verifying Checksum 15:53:35 01666e4c0597: Download complete 15:53:35 df20fa9351a1: Pull complete 15:53:35 36b3adc4ff6f: Pull complete 15:53:35 8ad3a11d3b57: Verifying Checksum 15:53:35 8ad3a11d3b57: Download complete 15:53:36 8ad3a11d3b57: Pull complete 15:53:37 46f8f816bc3b: Pull complete 15:53:37 aa168da1d23b: Verifying Checksum 15:53:37 aa168da1d23b: Download complete 15:53:37 93b61091891f: Pull complete 15:53:38 93b9cdb0e59b: Pull complete 15:53:38 5e14af77c1be: Pull complete 15:53:38 01666e4c0597: Pull complete 15:53:45 aa168da1d23b: Pull complete 15:53:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:53:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:53:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:53:45 prd-centos7-docker-4c-2g-24198 does not seem to be running inside a container 15:53:45 $ 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-753/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-753 -v /w/workspace/dgexfoundry_device-sdk-go_PR-753:/w/workspace/dgexfoundry_device-sdk-go_PR-753:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:53:49 $ docker top dbc080b5cb50ec949b5eb3cce2f518a1bd3cbd68ec40212f78b54948ce9bca65 -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:50 + touch /tmp/pre-build-complete [Pipeline] sh 15:53:50 + mkdir -p /var/log/sa [Pipeline] sh 15:53:50 + ls /var/log/sa-host 15:53:50 + sadf -c /var/log/sa-host/sa23 15:53:50 file_magic: OK 15:53:50 HZ: Using current value: 100 15:53:50 file_header: OK 15:53:50 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 15:53:50 Statistics: 15:53:50 Hnuu...uuuununununu... 15:53:50 File successfully converted to sysstat format version 12.2.1 15:53:50 + sadf -c /var/log/sa-host/sa31 15:53:50 file_magic: OK 15:53:50 HZ: Using current value: 100 15:53:50 file_header: OK 15:53:50 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 15:53:50 Statistics: 15:53:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:53:50 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:53:51 provisioning config files... 15:53:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config2485484265766919869tmp [Pipeline] { [Pipeline] echo 15:53:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:53:51 ---> create-netrc.sh [Pipeline] } 15:53:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:53:51 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:53:52 ---> python-tools-install.sh [Pipeline] echo 15:53:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:53:52 ---> sudo-logs.sh 15:53:52 Archiving 'sudo' log.. [Pipeline] echo 15:53:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:53:52 ---> job-cost.sh 15:53:52 lf-activate-venv: SKIPPING 15:53:52 INFO: No Stack... 15:53:53 INFO: Retrieving Pricing Info for: v1-standard-2 15:53:54 INFO: Archiving Costs [Pipeline] echo 15:53:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:53:54 ---> logs-deploy.sh 15:53:54 lf-activate-venv: SKIPPING 15:53:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-753/5 15:53:54 INFO: archiving workspace using pattern(s): 15:53:56 Archives upload complete. 15:53:56 INFO: archiving logs to Nexus 15:53:57 ---> uname -a: 15:53:57 Linux prd-centos7-docker-4c-2g-24198.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 15:53:57 15:53:57 15:53:57 ---> lscpu: 15:53:57 Architecture: x86_64 15:53:57 CPU op-mode(s): 32-bit, 64-bit 15:53:57 Byte Order: Little Endian 15:53:57 Address sizes: 40 bits physical, 48 bits virtual 15:53:57 CPU(s): 4 15:53:57 On-line CPU(s) list: 0-3 15:53:57 Thread(s) per core: 1 15:53:57 Core(s) per socket: 1 15:53:57 Socket(s): 4 15:53:57 NUMA node(s): 1 15:53:57 Vendor ID: GenuineIntel 15:53:57 CPU family: 6 15:53:57 Model: 44 15:53:57 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 15:53:57 Stepping: 1 15:53:57 CPU MHz: 2933.438 15:53:57 BogoMIPS: 5866.87 15:53:57 Virtualization: VT-x 15:53:57 Hypervisor vendor: KVM 15:53:57 Virtualization type: full 15:53:57 L1d cache: 128 KiB 15:53:57 L1i cache: 128 KiB 15:53:57 L2 cache: 16 MiB 15:53:57 L3 cache: 64 MiB 15:53:57 NUMA node0 CPU(s): 0-3 15:53:57 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 15:53:57 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 15:53:57 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 15:53:57 Vulnerability Meltdown: Mitigation; PTI 15:53:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:53:57 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 15:53:57 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 15:53:57 Vulnerability Srbds: Not affected 15:53:57 Vulnerability Tsx async abort: Not affected 15:53:57 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 15:53:57 15:53:57 15:53:57 ---> nproc: 15:53:57 4 15:53:57 15:53:57 15:53:57 ---> df -h: 15:53:57 Filesystem Size Used Available Use% Mounted on 15:53:57 overlay 50.0G 7.3G 42.7G 15% / 15:53:57 tmpfs 64.0M 0 64.0M 0% /dev 15:53:57 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 15:53:57 shm 64.0M 0 64.0M 0% /dev/shm 15:53:57 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 15:53:57 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 15:53:57 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 15:53:57 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 15:53:57 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 15:53:57 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-753 15:53:57 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 15:53:57 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp 15:53:57 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 15:53:57 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 15:53:57 15:53:57 15:53:57 ---> free -m: 15:53:57 total used free shared buff/cache available 15:53:57 Mem: 1837 712 102 0 1022 1019 15:53:57 Swap: 1023 1 1022 15:53:57 15:53:57 15:53:57 ---> ip addr: 15:53:57 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 15:53:57 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 15:53:57 inet 127.0.0.1/8 scope host lo 15:53:57 valid_lft forever preferred_lft forever 15:53:57 inet6 ::1/128 scope host 15:53:57 valid_lft forever preferred_lft forever 15:53:57 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 15:53:57 link/ether fa:16:3e:30:7c:66 brd ff:ff:ff:ff:ff:ff 15:53:57 inet 10.30.122.112/23 brd 10.30.123.255 scope global dynamic eth0 15:53:57 valid_lft 85926sec preferred_lft 85926sec 15:53:57 inet6 fe80::f816:3eff:fe30:7c66/64 scope link 15:53:57 valid_lft forever preferred_lft forever 15:53:57 3: docker0: mtu 1500 qdisc noqueue state DOWN 15:53:57 link/ether 02:42:e5:c8:83:be brd ff:ff:ff:ff:ff:ff 15:53:57 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 15:53:57 valid_lft forever preferred_lft forever 15:53:57 inet6 fe80::42:e5ff:fec8:83be/64 scope link 15:53:57 valid_lft forever preferred_lft forever 15:53:57 15:53:57 15:53:57 ---> sar -b -r -n DEV: 15:53:57 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/31/21 _x86_64_ (4 CPU) 15:53:57 15:53:57 15:45:51 LINUX RESTART (4 CPU) 15:53:57 15:53:57 15:47:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 15:53:57 15:48:01 3.33 0.00 3.33 0.00 0.00 112.89 0.00 15:53:57 15:49:01 0.38 0.00 0.38 0.00 0.00 5.94 0.00 15:53:57 15:50:01 0.30 0.00 0.30 0.00 0.00 4.06 0.00 15:53:57 15:51:01 0.28 0.00 0.28 0.00 0.00 3.21 0.00 15:53:57 15:52:01 0.37 0.00 0.37 0.00 0.00 5.23 0.00 15:53:57 15:53:01 0.27 0.00 0.27 0.00 0.00 2.73 0.00 15:53:57 Average: 0.82 0.00 0.82 0.00 0.00 22.40 0.00 15:53:57 15:53:57 15:47:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:53:57 15:48:01 146076 0 603964 32.10 2620 1128884 1073556 36.64 419344 1117784 16 15:53:57 15:49:01 145952 0 604080 32.11 2620 1128892 1073700 36.64 419796 1118096 20 15:53:57 15:50:01 144008 0 606020 32.21 2620 1128896 1073664 36.64 429392 1110144 12 15:53:57 15:51:01 144628 0 605400 32.18 2620 1128896 1073556 36.64 427248 1111680 8 15:53:57 15:52:01 139772 0 610248 32.43 2620 1128904 1073640 36.64 437164 1106504 8 15:53:57 15:53:01 140452 0 609564 32.40 2620 1128908 1073556 36.64 436620 1106500 8 15:53:57 Average: 143481 0 606546 32.24 2620 1128897 1073612 36.64 428261 1111785 12 15:53:57 15:53:57 15:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:53:57 15:48:01 eth0 0.60 0.07 0.04 0.01 0.00 0.00 0.00 0.00 15:53:57 15:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 15:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 15:49:01 eth0 4.55 2.25 3.48 0.30 0.00 0.00 0.00 0.00 15:53:57 15:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 15:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 15:50:01 eth0 0.76 0.27 0.30 0.23 0.00 0.00 0.00 0.00 15:53:57 15:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 15:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 15:51:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 15:53:57 15:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 15:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 15:52:01 eth0 0.28 0.15 0.14 0.07 0.00 0.00 0.00 0.00 15:53:57 15:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 15:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 15:53:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 15:53:57 15:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 15:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 Average: eth0 1.06 0.48 0.66 0.10 0.00 0.00 0.00 0.00 15:53:57 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:53:57 15:53:57 15:53:57 ---> sar -P ALL: 15:53:57 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/31/21 _x86_64_ (4 CPU) 15:53:57 15:53:57 15:45:51 LINUX RESTART (4 CPU) 15:53:57 15:53:57 15:47:01 CPU %user %nice %system %iowait %steal %idle 15:53:57 15:48:01 all 0.19 0.00 0.05 0.00 0.00 99.76 15:53:57 15:48:01 0 0.05 0.00 0.07 0.00 0.00 99.88 15:53:57 15:48:01 1 0.55 0.00 0.05 0.00 0.00 99.40 15:53:57 15:48:01 2 0.05 0.00 0.03 0.00 0.00 99.92 15:53:57 15:48:01 3 0.10 0.00 0.07 0.00 0.00 99.83 15:53:57 15:49:01 all 0.19 0.00 0.04 0.00 0.00 99.77 15:53:57 15:49:01 0 0.08 0.00 0.05 0.00 0.00 99.87 15:53:57 15:49:01 1 0.60 0.00 0.07 0.00 0.00 99.33 15:53:57 15:49:01 2 0.03 0.00 0.02 0.00 0.00 99.95 15:53:57 15:49:01 3 0.05 0.00 0.03 0.00 0.00 99.92 15:53:57 15:50:01 all 0.17 0.00 0.05 0.00 0.01 99.77 15:53:57 15:50:01 0 0.05 0.00 0.05 0.00 0.02 99.88 15:53:57 15:50:01 1 0.56 0.00 0.08 0.00 0.00 99.36 15:53:57 15:50:01 2 0.03 0.00 0.02 0.00 0.00 99.95 15:53:57 15:50:01 3 0.05 0.00 0.03 0.00 0.02 99.90 15:53:57 15:51:01 all 0.15 0.00 0.03 0.00 0.00 99.82 15:53:57 15:51:01 0 0.03 0.00 0.03 0.00 0.00 99.93 15:53:57 15:51:01 1 0.53 0.00 0.05 0.00 0.00 99.42 15:53:57 15:51:01 2 0.02 0.00 0.02 0.00 0.00 99.97 15:53:57 15:51:01 3 0.02 0.00 0.02 0.00 0.00 99.97 15:53:57 15:52:01 all 0.15 0.00 0.07 0.00 0.00 99.78 15:53:57 15:52:01 0 0.07 0.00 0.08 0.00 0.00 99.85 15:53:57 15:52:01 1 0.07 0.00 0.08 0.00 0.00 99.85 15:53:57 15:52:01 2 0.03 0.00 0.05 0.00 0.00 99.92 15:53:57 15:52:01 3 0.45 0.00 0.05 0.00 0.00 99.50 15:53:57 15:53:01 all 0.05 0.00 0.05 0.00 0.00 99.90 15:53:57 15:53:01 0 0.02 0.00 0.02 0.00 0.00 99.97 15:53:57 15:53:01 1 0.05 0.00 0.02 0.00 0.00 99.93 15:53:57 15:53:01 2 0.05 0.00 0.07 0.00 0.00 99.88 15:53:57 15:53:01 3 0.08 0.00 0.10 0.00 0.00 99.82 15:53:57 Average: all 0.15 0.00 0.05 0.00 0.00 99.80 15:53:57 Average: 0 0.05 0.00 0.05 0.00 0.00 99.90 15:53:57 Average: 1 0.39 0.00 0.06 0.00 0.00 99.55 15:53:57 Average: 2 0.04 0.00 0.03 0.00 0.00 99.93 15:53:57 Average: 3 0.13 0.00 0.05 0.00 0.00 99.82 15:53:57 15:53:57 15:53:57