Pull request #707 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33+372098887a6a7d5d9395bdaf9d03a023308f69fd (bb6fe98291eb1f7f3f7f9d1626c8ec569fcdee81) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-19122 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [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-707 # 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 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 Merge succeeded, producing c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 Checking out Revision c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 (PR-707) > 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/707/head:refs/remotes/origin/PR-707 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 # 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 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 # timeout=10 Commit message: "feat: Updates from PR review." > git rev-list --no-walk bcd0eefbe4e2a47357e05891bdb625cf1d17cfca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:32:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:32:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:32:13 ========================================================= 18:32:13 EdgeX Global Pipelines Version Info 18:32:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:32:14 ------------------- 18:32:14 stable info: 18:32:14 ------------------- 18:32:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:32:14 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 18:32:14 Message: update stable to v1.0.173 18:32:15 ------------------- 18:32:15 experimental info: 18:32:15 ------------------- 18:32:15 Commited By: **** collab-it+edgex@linuxfoundation.org 18:32:15 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 18:32:15 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:32:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:32:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:32:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:32:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:32:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:32:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:32:16 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:32:16 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:32:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:32:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:32:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:32:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 18:32:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:32:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:32:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:32:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:32:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:32:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:32:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:32:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:32:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:32:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 18:32:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:32:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:32:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:32:18 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 18:32:18 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 18:32:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-707 [Pipeline] echo 18:32:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-707 [Pipeline] echo 18:32:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-707 [Pipeline] echo 18:32:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 [Pipeline] echo 18:32:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4cbbed [Pipeline] echo 18:32:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:32:19 provisioning config files... 18:32:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config4298455327451092733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:32:19 ---> docker-login.sh 18:32:19 nexus3.edgexfoundry.org:10001 18:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:20 Configure a credential helper to remove this warning. See 18:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:20 18:32:20 Login Succeeded 18:32:20 nexus3.edgexfoundry.org:10002 18:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:20 Configure a credential helper to remove this warning. See 18:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:20 18:32:20 Login Succeeded 18:32:20 nexus3.edgexfoundry.org:10003 18:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:20 Configure a credential helper to remove this warning. See 18:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:20 18:32:20 Login Succeeded 18:32:20 nexus3.edgexfoundry.org:10004 18:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:20 Configure a credential helper to remove this warning. See 18:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:20 18:32:20 Login Succeeded 18:32:20 docker.io 18:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:32:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:32:21 Configure a credential helper to remove this warning. See 18:32:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:32:21 18:32:21 Login Succeeded 18:32:21 ---> docker-login.sh ends [Pipeline] } 18:32:21 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 18:32:22 + git log --format=format:%s -1 c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 [Pipeline] echo 18:32:22 GIT_COMMIT: c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33, Commit Message: feat: Updates from PR review. [Pipeline] echo 18:32:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:32:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:32:23 18:32:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:32:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:32:23 latest: Pulling from edgex-devops/git-semver 18:32:23 31603596830f: Pulling fs layer 18:32:23 2a8b12db71e7: Pulling fs layer 18:32:23 6ca5941a6612: Pulling fs layer 18:32:23 ecc8261a40a4: Pulling fs layer 18:32:23 2a8b12db71e7: Verifying Checksum 18:32:23 2a8b12db71e7: Download complete 18:32:23 31603596830f: Verifying Checksum 18:32:23 31603596830f: Download complete 18:32:23 ecc8261a40a4: Verifying Checksum 18:32:23 ecc8261a40a4: Download complete 18:32:23 6ca5941a6612: Verifying Checksum 18:32:23 6ca5941a6612: Download complete 18:32:23 31603596830f: Pull complete 18:32:23 2a8b12db71e7: Pull complete 18:32:24 6ca5941a6612: Pull complete 18:32:24 ecc8261a40a4: Pull complete 18:32:24 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:32:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:32:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:32:25 prd-centos7-docker-4c-2g-19122 does not seem to be running inside a container 18:32:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-707 -v /w/workspace/dgexfoundry_device-sdk-go_PR-707:/w/workspace/dgexfoundry_device-sdk-go_PR-707:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-707@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 18:32:27 $ docker top d5c9e26ae7cb3226f191fb4d0bac269a12a33997e0c8a60f9daf349406df01a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:32:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:32:27 [ssh-agent] Looking for ssh-agent implementation... 18:32:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:32:27 $ docker exec d5c9e26ae7cb3226f191fb4d0bac269a12a33997e0c8a60f9daf349406df01a2 ssh-agent 18:32:27 SSH_AUTH_SOCK=/tmp/ssh-s0F6Pmd5k26l/agent.12 18:32:27 SSH_AGENT_PID=18 18:32:27 Running ssh-add (command line suppressed) 18:32:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_7080479896379227857.key (/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_7080479896379227857.key) 18:32:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:32:28 + git tag --points-at HEAD [Pipeline] } 18:32:28 $ docker exec --env ******** --env ******** d5c9e26ae7cb3226f191fb4d0bac269a12a33997e0c8a60f9daf349406df01a2 ssh-agent -k 18:32:28 unset SSH_AUTH_SOCK; 18:32:28 unset SSH_AGENT_PID; 18:32:28 echo Agent pid 18 killed; 18:32:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:32:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:32:28 [ssh-agent] Looking for ssh-agent implementation... 18:32:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:32:28 $ docker exec d5c9e26ae7cb3226f191fb4d0bac269a12a33997e0c8a60f9daf349406df01a2 ssh-agent 18:32:28 SSH_AUTH_SOCK=/tmp/ssh-PB0jPuWxGRcP/agent.48 18:32:28 SSH_AGENT_PID=54 18:32:28 Running ssh-add (command line suppressed) 18:32:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_5614460355316769043.key (/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_5614460355316769043.key) 18:32:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:32:29 + git semver init 18:32:29 # -> Open(): unable to determine branch for HEAD 18:32:29 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-707/.git 18:32:29 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-707 18:32:29 # $SEMVER_REMOTE_NAME = origin 18:32:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:32:29 # $SEMVER_USER_NAME = edgex-jenkins 18:32:29 # $SEMVER_BRANCH = PR-707 18:32:29 # $SEMVER_TEMP = /tmp/semver-601862128 18:32:29 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 18:32:30 # '/tmp/semver-601862128' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-707/.semver' 18:32:30 # -> Force: false 18:32:30 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-707/.semver [Pipeline] } 18:32:30 $ docker exec --env ******** --env ******** d5c9e26ae7cb3226f191fb4d0bac269a12a33997e0c8a60f9daf349406df01a2 ssh-agent -k 18:32:30 unset SSH_AUTH_SOCK; 18:32:30 unset SSH_AGENT_PID; 18:32:30 echo Agent pid 54 killed; 18:32:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:32:31 + git semver [Pipeline] } 18:32:31 $ docker stop --time=1 d5c9e26ae7cb3226f191fb4d0bac269a12a33997e0c8a60f9daf349406df01a2 18:32:32 $ docker rm -f d5c9e26ae7cb3226f191fb4d0bac269a12a33997e0c8a60f9daf349406df01a2 [Pipeline] // withDockerContainer [Pipeline] sh 18:32:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:32:33 Stashed 1 file(s) [Pipeline] echo 18:32:33 [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 18:32:48 Still waiting to schedule task 18:32:48 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:32:48 Still waiting to schedule task 18:32:48 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 18:34:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19123 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [Pipeline] { [Pipeline] ws 18:34:36 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 18:34:41 using credential edgex-jenkins-ssh 18:34:41 Cloning the remote Git repository 18:34:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:34:41 > git init /w/workspace/device-sdk-go/7 # timeout=10 18:34:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:34:41 > git --version # timeout=10 18:34:41 > git --version # 'git version 2.17.1' 18:34:41 using GIT_SSH to set credentials SSH Credentials for GitHub 18:34:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:34:43 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 18:34:43 Merge succeeded, producing c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 18:34:43 Checking out Revision c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 (PR-707) 18:34:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:34:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:34:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:34:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:34:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:34:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/707/head:refs/remotes/origin/PR-707 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:34:43 > git config core.sparsecheckout # timeout=10 18:34:43 > git checkout -f c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 # timeout=10 18:34:43 > git remote # timeout=10 18:34:43 > git config --get remote.origin.url # timeout=10 18:34:43 using GIT_SSH to set credentials SSH Credentials for GitHub 18:34:43 > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 18:34:43 > git rev-parse HEAD^{commit} # timeout=10 18:34:43 > git config core.sparsecheckout # timeout=10 18:34:43 > git checkout -f c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 # timeout=10 18:34:48 Commit message: "feat: Updates from PR review." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:34:49 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:34:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:34:50 + true 18:34:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 18:34:53 provisioning config files... 18:34:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config5344603450987523129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:34:53 ---> docker-login.sh 18:34:53 nexus3.edgexfoundry.org:10001 18:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:54 Configure a credential helper to remove this warning. See 18:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:54 18:34:54 Login Succeeded 18:34:54 nexus3.edgexfoundry.org:10002 18:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:55 Configure a credential helper to remove this warning. See 18:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:55 18:34:55 Login Succeeded 18:34:55 nexus3.edgexfoundry.org:10003 18:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:55 Configure a credential helper to remove this warning. See 18:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:55 18:34:55 Login Succeeded 18:34:55 nexus3.edgexfoundry.org:10004 18:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:56 Configure a credential helper to remove this warning. See 18:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:56 18:34:56 Login Succeeded 18:34:56 docker.io 18:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:56 Configure a credential helper to remove this warning. See 18:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:56 18:34:56 Login Succeeded 18:34:57 ---> docker-login.sh ends [Pipeline] } 18:34:57 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:34:57 ========================================================= 18:34:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:34:57 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:34:58 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 18:34:58 Sending build context to Docker daemon 2.529MB 18:34:58 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:34:58 Step 2/8 : FROM ${BASE} 18:34:58 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:34:58 5f621e34cdf4: Pulling fs layer 18:34:58 a4357932f1b6: Pulling fs layer 18:34:58 18c013af1878: Pulling fs layer 18:34:58 00ac8860ef70: Pulling fs layer 18:34:58 63d7cb157983: Pulling fs layer 18:34:58 b116817d02f9: Pulling fs layer 18:34:58 745a02a5169b: Pulling fs layer 18:34:58 00ac8860ef70: Waiting 18:34:58 b116817d02f9: Waiting 18:34:58 63d7cb157983: Waiting 18:34:58 18c013af1878: Verifying Checksum 18:34:58 18c013af1878: Download complete 18:34:58 a4357932f1b6: Verifying Checksum 18:34:58 a4357932f1b6: Download complete 18:34:58 63d7cb157983: Verifying Checksum 18:34:58 63d7cb157983: Download complete 18:34:58 b116817d02f9: Verifying Checksum 18:34:58 b116817d02f9: Download complete 18:34:58 5f621e34cdf4: Verifying Checksum 18:34:58 5f621e34cdf4: Download complete 18:34:59 5f621e34cdf4: Pull complete 18:34:59 a4357932f1b6: Pull complete 18:35:00 18c013af1878: Pull complete 18:35:01 745a02a5169b: Verifying Checksum 18:35:01 745a02a5169b: Download complete 18:35:02 00ac8860ef70: Verifying Checksum 18:35:02 00ac8860ef70: Download complete 18:35:12 00ac8860ef70: Pull complete 18:35:13 63d7cb157983: Pull complete 18:35:13 b116817d02f9: Pull complete 18:35:14 Running on prd-centos7-docker-4c-2g-19124 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [Pipeline] { [Pipeline] ws 18:35:14 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 18:35:17 using credential edgex-jenkins-ssh 18:35:17 745a02a5169b: Pull complete 18:35:17 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 18:35:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:35:17 ---> b7e6874047d6 18:35:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:35:17 Cloning the remote Git repository 18:35:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:35:17 > git init /w/workspace/device-sdk-go/7 # timeout=10 18:35:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:35:17 > git --version # timeout=10 18:35:17 > git --version # 'git version 2.24.3' 18:35:17 using GIT_SSH to set credentials SSH Credentials for GitHub 18:35:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:35:18 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 18:35:18 Merge succeeded, producing c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 18:35:18 Checking out Revision c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 (PR-707) 18:35:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:35:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:35:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:35:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:35:18 using GIT_SSH to set credentials SSH Credentials for GitHub 18:35:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/707/head:refs/remotes/origin/PR-707 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:35:18 > git config core.sparsecheckout # timeout=10 18:35:18 > git checkout -f c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 # timeout=10 18:35:18 > git remote # timeout=10 18:35:18 > git config --get remote.origin.url # timeout=10 18:35:18 using GIT_SSH to set credentials SSH Credentials for GitHub 18:35:18 > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 18:35:18 > git rev-parse HEAD^{commit} # timeout=10 18:35:18 > git config core.sparsecheckout # timeout=10 18:35:18 > git checkout -f c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 # timeout=10 18:35:20 ---> Running in 438b9b87a4a1 18:35:20 Removing intermediate container 438b9b87a4a1 18:35:20 ---> c4b7ebdaec53 18:35:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:35:20 ---> Running in c0bed0831362 18:35:22 Commit message: "feat: Updates from PR review." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:35:23 Removing intermediate container c0bed0831362 18:35:23 ---> 20e64bebfe81 18:35:23 Step 5/8 : RUN apk add --update --no-cache make git 18:35:23 ---> Running in 79916397216a 18:35:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:35:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:35:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:35:24 + true 18:35:24 + sudo service docker restart 18:35:24 Redirecting to /bin/systemctl restart docker.service 18:35:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { 18:35:25 OK: 142 MiB in 39 packages [Pipeline] wrap 18:35:25 provisioning config files... 18:35:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config1705151215364072666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:26 ---> docker-login.sh 18:35:26 nexus3.edgexfoundry.org:10001 18:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:26 Configure a credential helper to remove this warning. See 18:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:26 18:35:26 Login Succeeded 18:35:26 nexus3.edgexfoundry.org:10002 18:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:26 Configure a credential helper to remove this warning. See 18:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:26 18:35:26 Login Succeeded 18:35:26 nexus3.edgexfoundry.org:10003 18:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:26 Configure a credential helper to remove this warning. See 18:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:26 18:35:26 Login Succeeded 18:35:26 nexus3.edgexfoundry.org:10004 18:35:27 Removing intermediate container 79916397216a 18:35:27 ---> 46179ce34af0 18:35:27 Step 6/8 : WORKDIR /device-sdk-go 18:35:27 ---> Running in 6d6f5886dea3 18:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:27 Configure a credential helper to remove this warning. See 18:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:27 18:35:27 Login Succeeded 18:35:27 docker.io 18:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:35:27 Removing intermediate container 6d6f5886dea3 18:35:27 ---> 06ec802584b2 18:35:27 Step 7/8 : COPY . . 18:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:35:27 Configure a credential helper to remove this warning. See 18:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:35:27 18:35:27 Login Succeeded 18:35:27 ---> docker-login.sh ends [Pipeline] } 18:35:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:35:28 ========================================================= 18:35:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:35:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:35:28 + 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 . 18:35:28 Sending build context to Docker daemon 2.53MB 18:35:28 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 18:35:28 Step 2/8 : FROM ${BASE} 18:35:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:35:28 188c0c94c7c5: Pulling fs layer 18:35:28 0ef7d3d256c8: Pulling fs layer 18:35:28 de9db76c5a1d: Pulling fs layer 18:35:28 bca2f99d35d6: Pulling fs layer 18:35:28 93359f2a8cfa: Pulling fs layer 18:35:28 7c6f9722023f: Pulling fs layer 18:35:28 a35cf1a2eb13: Pulling fs layer 18:35:28 93359f2a8cfa: Waiting 18:35:28 7c6f9722023f: Waiting 18:35:28 bca2f99d35d6: Waiting 18:35:28 a35cf1a2eb13: Waiting 18:35:28 de9db76c5a1d: Verifying Checksum 18:35:28 de9db76c5a1d: Download complete 18:35:28 0ef7d3d256c8: Verifying Checksum 18:35:28 0ef7d3d256c8: Download complete 18:35:28 93359f2a8cfa: Verifying Checksum 18:35:28 93359f2a8cfa: Download complete 18:35:28 188c0c94c7c5: Download complete 18:35:28 7c6f9722023f: Verifying Checksum 18:35:28 7c6f9722023f: Download complete 18:35:29 188c0c94c7c5: Pull complete 18:35:29 ---> 34fc5a0bf7c0 18:35:29 Step 8/8 : RUN go mod download 18:35:29 ---> Running in 53558ad99abb 18:35:29 0ef7d3d256c8: Pull complete 18:35:29 de9db76c5a1d: Pull complete 18:35:30 a35cf1a2eb13: Verifying Checksum 18:35:30 a35cf1a2eb13: Download complete 18:35:31 bca2f99d35d6: Verifying Checksum 18:35:31 bca2f99d35d6: Download complete 18:35:36 bca2f99d35d6: Pull complete 18:35:36 93359f2a8cfa: Pull complete 18:35:36 7c6f9722023f: Pull complete 18:35:41 a35cf1a2eb13: Pull complete 18:35:41 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 18:35:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:35:41 ---> a62c8e92a672 18:35:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:35:41 ---> Running in 62d5af805004 18:35:41 Removing intermediate container 62d5af805004 18:35:41 ---> c3f96640ed25 18:35:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:35:41 ---> Running in 109bb616ca84 18:35:42 Removing intermediate container 109bb616ca84 18:35:42 ---> f525f86ca58b 18:35:42 Step 5/8 : RUN apk add --update --no-cache make git 18:35:42 ---> Running in 976d530e6f80 18:35:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:35:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:35:44 OK: 166 MiB in 39 packages 18:35:44 Removing intermediate container 976d530e6f80 18:35:44 ---> 724e7eaec666 18:35:44 Step 6/8 : WORKDIR /device-sdk-go 18:35:44 ---> Running in f968a01220eb 18:35:44 Removing intermediate container f968a01220eb 18:35:44 ---> 1515e33c8bbf 18:35:44 Step 7/8 : COPY . . 18:35:46 ---> 754d17d5d7db 18:35:46 Step 8/8 : RUN go mod download 18:35:46 ---> Running in 946d41a89ded 18:35:51 Removing intermediate container 53558ad99abb 18:35:51 ---> 6c5ae7187573 18:35:51 Successfully built 6c5ae7187573 18:35:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:35:51 + docker inspect -f . ci-base-image-arm64 18:35:51 . [Pipeline] withDockerContainer 18:35:52 prd-ubuntu18.04-docker-arm64-4c-16g-19123 does not seem to be running inside a container 18:35:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 18:35:53 $ docker top 227b81713dacb863cc2658d352d7a91a5b5f0e6f517b813f4728e2add070cad5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:35:54 + go version 18:35:54 go version go1.15.5 linux/arm64 [Pipeline] } 18:35:54 $ docker stop --time=1 227b81713dacb863cc2658d352d7a91a5b5f0e6f517b813f4728e2add070cad5 18:35:56 $ docker rm -f 227b81713dacb863cc2658d352d7a91a5b5f0e6f517b813f4728e2add070cad5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:35:57 + docker inspect -f . ci-base-image-arm64 18:35:57 . [Pipeline] withDockerContainer 18:35:58 prd-ubuntu18.04-docker-arm64-4c-16g-19123 does not seem to be running inside a container 18:35:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 18:35:59 $ docker top 3fb2d534cec1c23c64853fb3ae5b64a7c901d16e3308d14ccaec9f346c81f210 -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:00 + make test 18:36:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:36:04 Removing intermediate container 946d41a89ded 18:36:04 ---> a9ed9550191b 18:36:04 Successfully built a9ed9550191b 18:36:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:36:04 + docker inspect -f . ci-base-image-x86_64 18:36:04 . [Pipeline] withDockerContainer 18:36:04 prd-centos7-docker-4c-2g-19124 does not seem to be running inside a container 18:36:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 18:36:05 $ docker top ddcdde6fc6a14187e27094f1cfb6050d7d8e28b8aaaf7b6d3a8d78941b57facd -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:06 + go version 18:36:06 go version go1.15.5 linux/amd64 [Pipeline] } 18:36:06 $ docker stop --time=1 ddcdde6fc6a14187e27094f1cfb6050d7d8e28b8aaaf7b6d3a8d78941b57facd 18:36:08 $ docker rm -f ddcdde6fc6a14187e27094f1cfb6050d7d8e28b8aaaf7b6d3a8d78941b57facd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:36:09 + docker inspect -f . ci-base-image-x86_64 18:36:09 . [Pipeline] withDockerContainer 18:36:09 prd-centos7-docker-4c-2g-19124 does not seem to be running inside a container 18:36:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 18:36:10 $ docker top d61e4cfb595a0e4af4088b10c0833a5a6d1dbcfc7491ed66b3b3b0f0fb12556e -eo pid,comm [Pipeline] { [Pipeline] sh 18:36:10 + make test 18:36:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:36:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:36:22 ? github.com/edgexfoundry/device-sdk-go [no test files] 18:36:37 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:36:37 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:36:37 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:36:37 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.055s coverage: 19.4% of statements 18:36:39 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.513s coverage: 97.1% of statements 18:37:01 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 18:37:01 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 18:37:01 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 18:37:01 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.199s coverage: 19.4% of statements 18:37:05 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.176s coverage: 97.1% of statements 18:37:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.064s coverage: 9.4% of statements 18:37:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.067s coverage: 21.7% of statements 18:37:06 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:37:06 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.242s coverage: 42.5% of statements 18:37:06 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:37:06 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.277s coverage: 68.9% of statements 18:37:06 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:37:06 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:37:06 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:37:06 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 18:37:06 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 53.8% of statements 18:37:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 18:37:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 18:37:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 18:37:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.757s coverage: 68.9% of statements 18:37:06 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.2% of statements 18:37:06 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:37:06 GO111MODULE=on go vet ./... 18:37:18 gofmt -l . 18:37:18 [ "`gofmt -l .`" = "" ] 18:37:18 ./bin/test-attribution-txt.sh 18:37:18 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:37:18 $ docker stop --time=1 d61e4cfb595a0e4af4088b10c0833a5a6d1dbcfc7491ed66b3b3b0f0fb12556e 18:37:20 $ docker rm -f d61e4cfb595a0e4af4088b10c0833a5a6d1dbcfc7491ed66b3b3b0f0fb12556e [Pipeline] // withDockerContainer [Pipeline] sh 18:37:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:37:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:37:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:37:24 + ls -al . 18:37:24 total 208 18:37:24 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 8 18:37 . 18:37:24 drwxrwxr-x. 4 jenkins jenkins 28 Jan 8 18:35 .. 18:37:24 drwxrwxr-x. 2 jenkins jenkins 64 Jan 8 18:35 bin 18:37:24 -rw-r--r--. 1 jenkins jenkins 130605 Jan 8 18:37 coverage.out 18:37:24 -rw-rw-r--. 1 jenkins jenkins 949 Jan 8 18:35 Dockerfile.build 18:37:24 -rw-rw-r--. 1 jenkins jenkins 140 Jan 8 18:35 .dockerignore 18:37:24 drwxrwxr-x. 4 jenkins jenkins 48 Jan 8 18:35 example 18:37:24 drwxrwxr-x. 8 jenkins jenkins 179 Jan 8 18:35 .git 18:37:24 drwxrwxr-x. 2 jenkins jenkins 103 Jan 8 18:35 .github 18:37:24 -rw-rw-r--. 1 jenkins jenkins 138 Jan 8 18:35 .gitignore 18:37:24 -rw-r--r--. 1 jenkins jenkins 488 Jan 8 18:37 go.mod 18:37:24 -rw-r--r--. 1 jenkins jenkins 13929 Jan 8 18:37 go.sum 18:37:24 drwxrwxr-x. 15 jenkins jenkins 211 Jan 8 18:35 internal 18:37:24 -rw-rw-r--. 1 jenkins jenkins 901 Jan 8 18:35 Jenkinsfile 18:37:24 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 8 18:35 LICENSE 18:37:24 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 8 18:35 Makefile 18:37:24 drwxrwxr-x. 4 jenkins jenkins 26 Jan 8 18:35 openapi 18:37:24 drwxrwxr-x. 5 jenkins jenkins 50 Jan 8 18:35 pkg 18:37:24 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 8 18:35 README.md 18:37:24 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 8 18:35 RELEASE-NOTES.txt 18:37:24 drwxrwxr-x. 4 jenkins jenkins 54 Jan 8 18:35 snap 18:37:24 -rw-rw-r--. 1 jenkins jenkins 5 Jan 8 18:32 VERSION 18:37:24 -rw-rw-r--. 1 jenkins jenkins 222 Jan 8 18:35 version.go [Pipeline] isUnix [Pipeline] sh 18:37:24 + 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=c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 --label arch=amd64 --label version=0.0.0 . 18:37:25 Sending build context to Docker daemon 2.661MB 18:37:25 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 18:37:25 Step 2/24 : FROM ${BASE} AS builder 18:37:25 ---> a9ed9550191b 18:37:25 Step 3/24 : ARG MAKE='make build' 18:37:25 ---> Running in 6f157816badf 18:37:25 Removing intermediate container 6f157816badf 18:37:25 ---> cea5eea014b4 18:37:25 Step 4/24 : WORKDIR /device-sdk-go 18:37:25 ---> Running in b627aeda5a9a 18:37:26 Removing intermediate container b627aeda5a9a 18:37:26 ---> f852f2bb2a0c 18:37:26 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:37:26 ---> Running in 47584569d0c5 18:37:26 Removing intermediate container 47584569d0c5 18:37:26 ---> b6d67bd3bfaa 18:37:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:37:26 ---> Running in 7b8a55bf6f09 18:37:27 Removing intermediate container 7b8a55bf6f09 18:37:27 ---> 862c91d1624a 18:37:27 Step 7/24 : RUN apk add --update --no-cache make git 18:37:27 ---> Running in d71587cab420 18:37:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:37:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:37:29 OK: 166 MiB in 39 packages 18:37:29 Removing intermediate container d71587cab420 18:37:29 ---> ade905207915 18:37:29 Step 8/24 : COPY . . 18:37:30 ---> f00e68119d8c 18:37:30 Step 9/24 : RUN ${MAKE} 18:37:30 ---> Running in 7c94258aa7d0 18:37:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:37:37 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.131s coverage: 9.4% of statements 18:37:37 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.7% of statements 18:37:37 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 18:37:37 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.572s coverage: 42.5% of statements 18:37:37 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 18:37:37 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.739s coverage: 68.9% of statements 18:37:37 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 18:37:37 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 18:37:37 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 18:37:37 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 18:37:37 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.224s coverage: 53.8% of statements 18:37:37 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 18:37:37 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 18:37:37 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 18:37:37 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.913s coverage: 68.9% of statements 18:37:37 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.139s coverage: 4.2% of statements 18:37:37 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 18:37:37 GO111MODULE=on go vet ./... 18:37:41 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:37:42 Removing intermediate container 7c94258aa7d0 18:37:42 ---> cfe0f80a0498 18:37:42 Step 10/24 : FROM scratch 18:37:42 ---> 18:37:42 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:37:42 ---> Running in 9dcdaefc7076 18:37:42 Removing intermediate container 9dcdaefc7076 18:37:42 ---> 982fc7a0f7b4 18:37:42 Step 12/24 : ENV APP_PORT=49990 18:37:42 ---> Running in 62485adb1720 18:37:42 Removing intermediate container 62485adb1720 18:37:42 ---> c3b9f0974609 18:37:42 Step 13/24 : EXPOSE $APP_PORT 18:37:42 ---> Running in a4abdb97e9d6 18:37:42 Removing intermediate container a4abdb97e9d6 18:37:42 ---> 3a85ad8d673f 18:37:42 Step 14/24 : WORKDIR / 18:37:42 ---> Running in c889c411e71c 18:37:43 Removing intermediate container c889c411e71c 18:37:43 ---> ced38bd2db84 18:37:43 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:37:43 ---> a6bb51013194 18:37:43 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:37:43 ---> fa2ccc658276 18:37:43 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:37:43 ---> f17dbef56edf 18:37:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:37:44 ---> 4e584e5ac827 18:37:44 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:37:44 ---> f44e11ed7d39 18:37:44 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:37:44 ---> Running in 531bae114924 18:37:44 Removing intermediate container 531bae114924 18:37:44 ---> 19353667b929 18:37:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:37:44 ---> Running in 5acfb7c2adc5 18:37:44 Removing intermediate container 5acfb7c2adc5 18:37:44 ---> 37364148514b 18:37:44 Step 22/24 : LABEL arch=amd64 18:37:44 ---> Running in 33e33aaf42bd 18:37:44 Removing intermediate container 33e33aaf42bd 18:37:44 ---> 0b75f9cb06e2 18:37:44 Step 23/24 : LABEL git_sha=c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 18:37:45 ---> Running in 1c9488a1b5c9 18:37:45 Removing intermediate container 1c9488a1b5c9 18:37:45 ---> 559e02981c78 18:37:45 Step 24/24 : LABEL version=0.0.0 18:37:45 ---> Running in 38f354c872b0 18:37:45 Removing intermediate container 38f354c872b0 18:37:45 ---> 1f8c28921b7d 18:37:45 [Warning] One or more build-args [ARCH] were not consumed 18:37:45 Successfully built 1f8c28921b7d 18:37:45 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] } 18:38:10 gofmt -l . 18:38:10 [ "`gofmt -l .`" = "" ] 18:38:10 ./bin/test-attribution-txt.sh 18:38:10 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:38:10 $ docker stop --time=1 3fb2d534cec1c23c64853fb3ae5b64a7c901d16e3308d14ccaec9f346c81f210 18:38:12 $ docker rm -f 3fb2d534cec1c23c64853fb3ae5b64a7c901d16e3308d14ccaec9f346c81f210 [Pipeline] // withDockerContainer [Pipeline] sh 18:38:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:38:13 Warning: overwriting stash ‘coverage-report’ 18:38:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:38:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:38:15 + ls -al . 18:38:15 total 244 18:38:15 drwxrwxr-x 10 jenkins jenkins 4096 Jan 8 18:38 . 18:38:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 8 18:34 .. 18:38:15 -rw-rw-r-- 1 jenkins jenkins 140 Jan 8 18:34 .dockerignore 18:38:15 drwxrwxr-x 8 jenkins jenkins 4096 Jan 8 18:34 .git 18:38:15 drwxrwxr-x 2 jenkins jenkins 4096 Jan 8 18:34 .github 18:38:15 -rw-rw-r-- 1 jenkins jenkins 138 Jan 8 18:34 .gitignore 18:38:15 -rw-rw-r-- 1 jenkins jenkins 949 Jan 8 18:34 Dockerfile.build 18:38:15 -rw-rw-r-- 1 jenkins jenkins 901 Jan 8 18:34 Jenkinsfile 18:38:15 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 8 18:34 LICENSE 18:38:15 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 8 18:34 Makefile 18:38:15 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 8 18:34 README.md 18:38:15 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 8 18:34 RELEASE-NOTES.txt 18:38:15 -rw-rw-r-- 1 jenkins jenkins 5 Jan 8 18:32 VERSION 18:38:15 drwxrwxr-x 2 jenkins jenkins 4096 Jan 8 18:34 bin 18:38:15 -rw-r--r-- 1 jenkins jenkins 130605 Jan 8 18:37 coverage.out 18:38:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 8 18:34 example 18:38:15 -rw-r--r-- 1 jenkins jenkins 488 Jan 8 18:38 go.mod 18:38:15 -rw-r--r-- 1 jenkins jenkins 13929 Jan 8 18:38 go.sum 18:38:15 drwxrwxr-x 15 jenkins jenkins 4096 Jan 8 18:34 internal 18:38:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 8 18:34 openapi 18:38:15 drwxrwxr-x 5 jenkins jenkins 4096 Jan 8 18:34 pkg 18:38:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 8 18:34 snap 18:38:15 -rw-rw-r-- 1 jenkins jenkins 222 Jan 8 18:34 version.go [Pipeline] isUnix [Pipeline] sh 18:38:16 + 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=c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 --label arch=arm64 --label version=0.0.0 . 18:38:16 Sending build context to Docker daemon 2.66MB 18:38:16 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 18:38:16 Step 2/24 : FROM ${BASE} AS builder 18:38:16 ---> 6c5ae7187573 18:38:16 Step 3/24 : ARG MAKE='make build' 18:38:16 ---> Running in 3d3433bf97d5 18:38:17 Removing intermediate container 3d3433bf97d5 18:38:17 ---> da4324ead215 18:38:17 Step 4/24 : WORKDIR /device-sdk-go 18:38:17 ---> Running in 018c818191ff 18:38:18 Removing intermediate container 018c818191ff 18:38:18 ---> 38956a645db3 18:38:18 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:38:18 ---> Running in b226ec2f74a4 18:38:18 Removing intermediate container b226ec2f74a4 18:38:18 ---> 34c28a9be230 18:38:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:38:18 ---> Running in 8b7ba83adceb 18:38:20 Removing intermediate container 8b7ba83adceb 18:38:20 ---> ad63bae148ba 18:38:20 Step 7/24 : RUN apk add --update --no-cache make git 18:38:20 ---> Running in 55e2251e10d5 18:38:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:38:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:38:23 OK: 142 MiB in 39 packages 18:38:24 Removing intermediate container 55e2251e10d5 18:38:24 ---> e6fec0f226b5 18:38:24 Step 8/24 : COPY . . 18:38:26 ---> 3f73c669527e 18:38:26 Step 9/24 : RUN ${MAKE} 18:38:26 ---> Running in 2e10b93aa291 18:38:27 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:38:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:38:54 Removing intermediate container 2e10b93aa291 18:38:54 ---> dc1f9b7ee21c 18:38:54 Step 10/24 : FROM scratch 18:38:54 ---> 18:38:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:38:54 ---> Running in 7f745e2cd764 18:38:54 Removing intermediate container 7f745e2cd764 18:38:54 ---> 5e7046fd3793 18:38:54 Step 12/24 : ENV APP_PORT=49990 18:38:54 ---> Running in 49d1e56b3cd3 18:38:54 Removing intermediate container 49d1e56b3cd3 18:38:54 ---> b903ac9b0490 18:38:54 Step 13/24 : EXPOSE $APP_PORT 18:38:54 ---> Running in 0f4d678170b4 18:38:55 Removing intermediate container 0f4d678170b4 18:38:55 ---> 3ade0e7a6c72 18:38:55 Step 14/24 : WORKDIR / 18:38:55 ---> Running in 904bb899dab3 18:38:55 Removing intermediate container 904bb899dab3 18:38:55 ---> cbcf82ed73bd 18:38:55 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:38:56 ---> 265241815ded 18:38:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:38:57 ---> 93358627646e 18:38:57 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:38:57 ---> 43441c59ee3b 18:38:57 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:38:58 ---> d7e2bb0a5824 18:38:58 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:38:59 ---> ae5c6c59ff08 18:38:59 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:38:59 ---> Running in 4e173bb95a49 18:39:00 Removing intermediate container 4e173bb95a49 18:39:00 ---> cb4cc7656e01 18:39:00 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:39:00 ---> Running in 167fe4667f70 18:39:00 Removing intermediate container 167fe4667f70 18:39:00 ---> f9754701e88e 18:39:00 Step 22/24 : LABEL arch=arm64 18:39:00 ---> Running in 3d7ceb2c0143 18:39:01 Removing intermediate container 3d7ceb2c0143 18:39:01 ---> 15c609a742ee 18:39:01 Step 23/24 : LABEL git_sha=c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 18:39:01 ---> Running in 6e0b5b8cbcf2 18:39:01 Removing intermediate container 6e0b5b8cbcf2 18:39:01 ---> db53dc85460b 18:39:01 Step 24/24 : LABEL version=0.0.0 18:39:01 ---> Running in ade827bd500b 18:39:02 Removing intermediate container ade827bd500b 18:39:02 ---> 965c1950eb7c 18:39:02 [Warning] One or more build-args [ARCH] were not consumed 18:39:02 Successfully built 965c1950eb7c 18:39:02 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 18:39:04 provisioning config files... 18:39:04 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config5486206741740306464tmp [Pipeline] { [Pipeline] sh 18:39:04 + set +x 18:39:04 + curl -s https://codecov.io/bash 18:39:04 + bash -s -- 18:39:04 18:39:04 _____ _ 18:39:04 / ____| | | 18:39:04 | | ___ __| | ___ ___ _____ __ 18:39:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:39:04 | |___| (_) | (_| | __/ (_| (_) \ V / 18:39:04 \_____\___/ \__,_|\___|\___\___/ \_/ 18:39:04 Bash-20201231-23d4836 18:39:04 18:39:04 18:39:04 ==> git version 2.24.3 found 18:39:04 ==> 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 18:39:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:39:04 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:39:04 ==> Jenkins CI detected. 18:39:04 project root: . 18:39:04 --> token set from env 18:39:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:39:04 ==> Running gcov in . (disable via -X gcov) 18:39:04 ==> Python coveragepy not found 18:39:04 ==> Searching for coverage reports in: 18:39:04 + . 18:39:04 -> Found 1 reports 18:39:04 ==> Detecting git/mercurial file structure 18:39:04 ==> Reading reports 18:39:04 + ./coverage.out bytes=130605 18:39:04 ==> Appending adjustments 18:39:04 https://docs.codecov.io/docs/fixing-reports 18:39:05 + Found adjustments 18:39:05 ==> Gzipping contents 18:39:05 24K /tmp/codecov.XZhX02.gz 18:39:05 ==> Uploading reports 18:39:05 url: https://codecov.io 18:39:05 query: branch=PR-707&commit=c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-707%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=707&job=&cmd_args= 18:39:05 -> Pinging Codecov 18:39:05 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-707&commit=c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-707%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=707&job=&cmd_args= 18:39:06 -> Uploading to 18:39:06 https://storage.googleapis.com/codecov/v4/raw/2021-01-08/7E55EF52A471D76F132DFD9A03CDDE97/c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33/7e8e7e7d-3f28-48ef-93a6-f0ccf9c9177a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210108T183905Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8961cbff8a8459fe03fc15b7509680b37874d2da00314e2feee454b805dc7dd 18:39:06 % Total % Received % Xferd Average Speed Time Time Time Current 18:39:06 Dload Upload Total Spent Left Speed 18:39:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21327 0 0 100 21327 0 46792 --:--:-- --:--:-- --:--:-- 46769 18:39:06 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c4cbbed7ca1d0ebe0052bd3332a7f1b312e92c33 [Pipeline] } 18:39:06 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 18:39:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:39:09 ---> package-listing.sh 18:39:09 ++ facter osfamily 18:39:09 ++ tr '[:upper:]' '[:lower:]' 18:39:09 + OS_FAMILY=redhat 18:39:09 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-707 18:39:09 + START_PACKAGES=/tmp/packages_start.txt 18:39:09 + END_PACKAGES=/tmp/packages_end.txt 18:39:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:39:09 + PACKAGES=/tmp/packages_start.txt 18:39:09 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-707 ']' 18:39:09 + PACKAGES=/tmp/packages_end.txt 18:39:09 + case "${OS_FAMILY}" in 18:39:09 + rpm -qa 18:39:09 + sort 18:39:14 + '[' -f /tmp/packages_start.txt ']' 18:39:14 + '[' -f /tmp/packages_end.txt ']' 18:39:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:39:14 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-707 ']' 18:39:14 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-707/archives/ 18:39:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-707/archives/ [Pipeline] echo 18:39:14 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-707/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:39:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:39:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:39:15 18:39:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:39:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:39:15 alpine: Pulling from edgex-lftools-log-publisher 18:39:15 df20fa9351a1: Pulling fs layer 18:39:15 36b3adc4ff6f: Pulling fs layer 18:39:15 8ad3a11d3b57: Pulling fs layer 18:39:15 46f8f816bc3b: Pulling fs layer 18:39:15 93b61091891f: Pulling fs layer 18:39:15 93b9cdb0e59b: Pulling fs layer 18:39:15 5e14af77c1be: Pulling fs layer 18:39:15 01666e4c0597: Pulling fs layer 18:39:15 aa168da1d23b: Pulling fs layer 18:39:15 46f8f816bc3b: Waiting 18:39:15 93b61091891f: Waiting 18:39:15 93b9cdb0e59b: Waiting 18:39:15 5e14af77c1be: Waiting 18:39:15 01666e4c0597: Waiting 18:39:15 aa168da1d23b: Waiting 18:39:15 36b3adc4ff6f: Download complete 18:39:15 46f8f816bc3b: Verifying Checksum 18:39:15 46f8f816bc3b: Download complete 18:39:15 df20fa9351a1: Verifying Checksum 18:39:15 93b9cdb0e59b: Verifying Checksum 18:39:15 93b9cdb0e59b: Download complete 18:39:15 5e14af77c1be: Verifying Checksum 18:39:15 5e14af77c1be: Download complete 18:39:15 93b61091891f: Verifying Checksum 18:39:15 93b61091891f: Download complete 18:39:15 01666e4c0597: Verifying Checksum 18:39:15 01666e4c0597: Download complete 18:39:16 df20fa9351a1: Pull complete 18:39:16 8ad3a11d3b57: Verifying Checksum 18:39:16 8ad3a11d3b57: Download complete 18:39:16 36b3adc4ff6f: Pull complete 18:39:16 8ad3a11d3b57: Pull complete 18:39:17 46f8f816bc3b: Pull complete 18:39:18 aa168da1d23b: Verifying Checksum 18:39:18 aa168da1d23b: Download complete 18:39:18 93b61091891f: Pull complete 18:39:18 93b9cdb0e59b: Pull complete 18:39:18 5e14af77c1be: Pull complete 18:39:18 01666e4c0597: Pull complete 18:39:27 aa168da1d23b: Pull complete 18:39:27 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:39:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:39:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:39:27 prd-centos7-docker-4c-2g-19122 does not seem to be running inside a container 18:39:27 $ 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-707/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-707 -v /w/workspace/dgexfoundry_device-sdk-go_PR-707:/w/workspace/dgexfoundry_device-sdk-go_PR-707:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-707@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 18:39:30 $ docker top 629adbee55933be1207766794b40500c8c44ab2498111015b36e563611000704 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:31 + touch /tmp/pre-build-complete [Pipeline] sh 18:39:31 + mkdir -p /var/log/sa [Pipeline] sh 18:39:31 + ls /var/log/sa-host 18:39:31 + sadf -c /var/log/sa-host/sa08 18:39:31 file_magic: OK 18:39:31 HZ: Using current value: 100 18:39:31 file_header: OK 18:39:31 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 18:39:31 Statistics: 18:39:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:39:31 File successfully converted to sysstat format version 12.2.1 18:39:31 + sadf -c /var/log/sa-host/sa23 18:39:31 file_magic: OK 18:39:31 HZ: Using current value: 100 18:39:31 file_header: OK 18:39:31 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 18:39:31 Statistics: 18:39:31 Hnuu...uuuununununu... 18:39:31 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:39:32 provisioning config files... 18:39:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config430269155127303855tmp [Pipeline] { [Pipeline] echo 18:39:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:39:32 ---> create-netrc.sh [Pipeline] } 18:39:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:39:32 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:39:33 ---> python-tools-install.sh [Pipeline] echo 18:39:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:39:33 ---> sudo-logs.sh 18:39:33 Archiving 'sudo' log.. [Pipeline] echo 18:39:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:39:33 ---> job-cost.sh 18:39:33 lf-activate-venv: SKIPPING 18:39:33 INFO: No Stack... 18:39:35 INFO: Retrieving Pricing Info for: v1-standard-2 18:39:35 INFO: Archiving Costs [Pipeline] echo 18:39:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:39:35 ---> logs-deploy.sh 18:39:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-707/7 18:39:35 INFO: archiving workspace using pattern(s): 18:39:37 Archives upload complete. 18:39:37 INFO: archiving logs to Nexus 18:39:38 ---> uname -a: 18:39:38 Linux prd-centos7-docker-4c-2g-19122.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 18:39:38 18:39:38 18:39:38 ---> lscpu: 18:39:38 Architecture: x86_64 18:39:38 CPU op-mode(s): 32-bit, 64-bit 18:39:38 Byte Order: Little Endian 18:39:38 Address sizes: 40 bits physical, 48 bits virtual 18:39:38 CPU(s): 4 18:39:38 On-line CPU(s) list: 0-3 18:39:38 Thread(s) per core: 1 18:39:38 Core(s) per socket: 1 18:39:38 Socket(s): 4 18:39:38 NUMA node(s): 1 18:39:38 Vendor ID: GenuineIntel 18:39:38 CPU family: 6 18:39:38 Model: 44 18:39:38 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 18:39:38 Stepping: 1 18:39:38 CPU MHz: 2933.438 18:39:38 BogoMIPS: 5866.87 18:39:38 Virtualization: VT-x 18:39:38 Hypervisor vendor: KVM 18:39:38 Virtualization type: full 18:39:38 L1d cache: 128 KiB 18:39:38 L1i cache: 128 KiB 18:39:38 L2 cache: 16 MiB 18:39:38 L3 cache: 64 MiB 18:39:38 NUMA node0 CPU(s): 0-3 18:39:38 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 18:39:38 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 18:39:38 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 18:39:38 Vulnerability Meltdown: Mitigation; PTI 18:39:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:39:38 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 18:39:38 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 18:39:38 Vulnerability Srbds: Not affected 18:39:38 Vulnerability Tsx async abort: Not affected 18:39:38 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 18:39:38 18:39:38 18:39:38 ---> nproc: 18:39:38 4 18:39:38 18:39:38 18:39:38 ---> df -h: 18:39:38 Filesystem Size Used Available Use% Mounted on 18:39:38 overlay 50.0G 7.3G 42.7G 15% / 18:39:38 tmpfs 64.0M 0 64.0M 0% /dev 18:39:38 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 18:39:38 shm 64.0M 0 64.0M 0% /dev/shm 18:39:38 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 18:39:38 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 18:39:38 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 18:39:38 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 18:39:38 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 18:39:38 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 18:39:38 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 18:39:38 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 18:39:38 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-707 18:39:38 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp 18:39:38 18:39:38 18:39:38 ---> free -m: 18:39:38 total used free shared buff/cache available 18:39:38 Mem: 1837 719 96 0 1020 1013 18:39:38 Swap: 1023 1 1022 18:39:38 18:39:38 18:39:38 ---> ip addr: 18:39:38 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 18:39:38 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:39:38 inet 127.0.0.1/8 scope host lo 18:39:38 valid_lft forever preferred_lft forever 18:39:38 inet6 ::1/128 scope host 18:39:38 valid_lft forever preferred_lft forever 18:39:38 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 18:39:38 link/ether fa:16:3e:af:64:ad brd ff:ff:ff:ff:ff:ff 18:39:38 inet 10.30.122.90/23 brd 10.30.123.255 scope global dynamic eth0 18:39:38 valid_lft 85922sec preferred_lft 85922sec 18:39:38 inet6 fe80::f816:3eff:feaf:64ad/64 scope link 18:39:38 valid_lft forever preferred_lft forever 18:39:38 3: docker0: mtu 1500 qdisc noqueue state DOWN 18:39:38 link/ether 02:42:dd:10:7c:47 brd ff:ff:ff:ff:ff:ff 18:39:38 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:39:38 valid_lft forever preferred_lft forever 18:39:38 inet6 fe80::42:ddff:fe10:7c47/64 scope link 18:39:38 valid_lft forever preferred_lft forever 18:39:38 18:39:38 18:39:38 ---> sar -b -r -n DEV: 18:39:38 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/08/21 _x86_64_ (4 CPU) 18:39:38 18:39:38 18:31:30 LINUX RESTART (4 CPU) 18:39:38 18:39:38 18:32:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:39:38 18:33:01 54.41 16.90 37.51 0.00 5033.90 3340.24 0.00 18:39:38 18:34:01 1.93 0.00 1.93 0.00 0.00 40.84 0.00 18:39:38 18:35:01 0.15 0.00 0.15 0.00 0.00 1.75 0.00 18:39:38 18:36:01 0.20 0.00 0.20 0.00 0.00 1.88 0.00 18:39:38 18:37:01 0.28 0.00 0.28 0.00 0.00 3.43 0.00 18:39:38 18:38:01 0.33 0.00 0.33 0.00 0.00 4.86 0.00 18:39:38 18:39:01 0.27 0.00 0.27 0.00 0.00 3.60 0.00 18:39:38 Average: 8.23 2.41 5.81 0.00 719.35 485.38 0.00 18:39:38 18:39:38 18:32:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:39:38 18:33:01 164376 0 600632 31.92 2620 1113916 1118436 38.17 411148 1106544 128 18:39:38 18:34:01 173828 0 591028 31.41 2620 1114068 1073884 36.65 411560 1097844 20 18:39:38 18:35:01 171488 0 593364 31.54 2620 1114072 1073920 36.65 407812 1103720 12 18:39:38 18:36:01 171500 0 593352 31.54 2620 1114072 1073968 36.65 419892 1091816 12 18:39:38 18:37:01 170928 0 593916 31.57 2620 1114080 1073788 36.65 418400 1094304 8 18:39:38 18:38:01 167064 0 597776 31.77 2620 1114084 1073872 36.65 430996 1085708 16 18:39:38 18:39:01 167120 0 597716 31.77 2620 1114088 1073800 36.65 430692 1085708 8 18:39:38 Average: 169472 0 595398 31.64 2620 1114054 1080238 36.87 418643 1095092 29 18:39:38 18:39:38 18:32:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:39:38 18:33:01 eth0 584.75 363.69 1071.28 96.48 0.00 0.00 0.00 0.00 18:39:38 18:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 18:33:01 docker0 9.54 6.64 1.45 20.81 0.00 0.00 0.00 0.00 18:39:38 18:34:01 eth0 3.63 1.50 3.13 0.12 0.00 0.00 0.00 0.00 18:39:38 18:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 18:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 18:35:01 eth0 1.00 0.35 0.32 0.17 0.00 0.00 0.00 0.00 18:39:38 18:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 18:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 18:36:01 eth0 0.50 0.33 0.27 0.23 0.00 0.00 0.00 0.00 18:39:38 18:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 18:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 18:37:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:39:38 18:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 18:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 18:38:01 eth0 0.30 0.25 0.14 0.08 0.00 0.00 0.00 0.00 18:39:38 18:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 18:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 18:39:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:39:38 18:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 18:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 Average: eth0 84.36 52.34 153.64 13.87 0.00 0.00 0.00 0.00 18:39:38 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:39:38 Average: docker0 1.36 0.95 0.21 2.97 0.00 0.00 0.00 0.00 18:39:38 18:39:38 18:39:38 ---> sar -P ALL: 18:39:38 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/08/21 _x86_64_ (4 CPU) 18:39:38 18:39:38 18:31:30 LINUX RESTART (4 CPU) 18:39:38 18:39:38 18:32:01 CPU %user %nice %system %iowait %steal %idle 18:39:38 18:33:01 all 9.96 0.00 2.61 1.04 0.03 86.36 18:39:38 18:33:01 0 8.49 0.00 3.11 0.30 0.02 88.09 18:39:38 18:33:01 1 11.36 0.00 2.25 1.81 0.02 84.57 18:39:38 18:33:01 2 9.41 0.00 2.47 0.44 0.02 87.67 18:39:38 18:33:01 3 10.59 0.00 2.62 1.61 0.05 85.13 18:39:38 18:34:01 all 0.19 0.00 0.05 0.00 0.00 99.75 18:39:38 18:34:01 0 0.07 0.00 0.08 0.00 0.02 99.83 18:39:38 18:34:01 1 0.08 0.00 0.03 0.00 0.00 99.88 18:39:38 18:34:01 2 0.07 0.00 0.05 0.00 0.00 99.88 18:39:38 18:34:01 3 0.53 0.00 0.05 0.00 0.00 99.42 18:39:38 18:35:01 all 0.19 0.00 0.07 0.00 0.00 99.74 18:39:38 18:35:01 0 0.05 0.00 0.08 0.00 0.00 99.87 18:39:38 18:35:01 1 0.07 0.00 0.12 0.00 0.00 99.82 18:39:38 18:35:01 2 0.07 0.00 0.05 0.00 0.00 99.88 18:39:38 18:35:01 3 0.57 0.00 0.05 0.00 0.00 99.38 18:39:38 18:36:01 all 0.11 0.00 0.02 0.00 0.00 99.87 18:39:38 18:36:01 0 0.03 0.00 0.03 0.00 0.00 99.93 18:39:38 18:36:01 1 0.03 0.00 0.02 0.00 0.00 99.95 18:39:38 18:36:01 2 0.03 0.00 0.02 0.00 0.00 99.95 18:39:38 18:36:01 3 0.35 0.00 0.02 0.00 0.00 99.63 18:39:38 18:37:01 all 0.16 0.00 0.03 0.00 0.00 99.80 18:39:38 18:37:01 0 0.03 0.00 0.05 0.00 0.00 99.92 18:39:38 18:37:01 1 0.05 0.00 0.05 0.00 0.00 99.90 18:39:38 18:37:01 2 0.03 0.00 0.02 0.00 0.02 99.93 18:39:38 18:37:01 3 0.52 0.00 0.02 0.00 0.00 99.47 18:39:38 18:38:01 all 0.16 0.00 0.04 0.00 0.00 99.80 18:39:38 18:38:01 0 0.05 0.00 0.08 0.00 0.00 99.87 18:39:38 18:38:01 1 0.05 0.00 0.03 0.00 0.00 99.92 18:39:38 18:38:01 2 0.03 0.00 0.02 0.00 0.00 99.95 18:39:38 18:38:01 3 0.52 0.00 0.03 0.00 0.00 99.45 18:39:38 18:39:01 all 0.16 0.00 0.03 0.00 0.00 99.80 18:39:38 18:39:01 0 0.03 0.00 0.07 0.00 0.00 99.90 18:39:38 18:39:01 1 0.02 0.00 0.03 0.00 0.00 99.95 18:39:38 18:39:01 2 0.07 0.00 0.02 0.00 0.02 99.90 18:39:38 18:39:01 3 0.53 0.00 0.00 0.00 0.00 99.47 18:39:38 Average: all 1.55 0.00 0.41 0.15 0.01 97.89 18:39:38 Average: 0 1.24 0.00 0.50 0.04 0.00 98.21 18:39:38 Average: 1 1.66 0.00 0.36 0.26 0.00 97.72 18:39:38 Average: 2 1.38 0.00 0.37 0.06 0.01 98.18 18:39:38 Average: 3 1.94 0.00 0.40 0.23 0.01 97.43 18:39:38 18:39:38 18:39:38