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 d287bb3ce6a94d14e4d2165212ab30520b5c1b35+372098887a6a7d5d9395bdaf9d03a023308f69fd (1efffdd18e28b302967cceae9c7244ff180cd1b0) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18264 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 > 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 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit d287bb3ce6a94d14e4d2165212ab30520b5c1b35 Merge succeeded, producing 9769038447d1e7dbe0e78e49c82136956adeffd1 Checking out Revision 9769038447d1e7dbe0e78e49c82136956adeffd1 (PR-707) > git config core.sparsecheckout # timeout=10 > git checkout -f d287bb3ce6a94d14e4d2165212ab30520b5c1b35 # 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 9769038447d1e7dbe0e78e49c82136956adeffd1 # timeout=10 Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:23:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:23:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:23:32 ========================================================= 20:23:32 EdgeX Global Pipelines Version Info 20:23:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1daa9d280e2cecd45d00b52ea95bc76d17849c91 # timeout=10 20:23:34 ------------------- 20:23:34 stable info: 20:23:34 ------------------- 20:23:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:23:34 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 20:23:34 Message: update stable to v1.0.173 20:23:35 ------------------- 20:23:35 experimental info: 20:23:35 ------------------- 20:23:35 Commited By: **** collab-it+edgex@linuxfoundation.org 20:23:35 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 20:23:35 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:23:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:23:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:23:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:23:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:23:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:23:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:23:35 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:23:36 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:23:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:23:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:23:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:23:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 20:23:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:23:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:23:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:23:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:23:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:23:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:23:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:23:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:23:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:23:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 20:23:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:23:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:23:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:23:37 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 20:23:37 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 20:23:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-707 [Pipeline] echo 20:23:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-707 [Pipeline] echo 20:23:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-707 [Pipeline] echo 20:23:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9769038447d1e7dbe0e78e49c82136956adeffd1 [Pipeline] echo 20:23:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9769038 [Pipeline] echo 20:23:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:23:38 provisioning config files... 20:23:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config7539230451011595588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:23:38 ---> docker-login.sh 20:23:38 nexus3.edgexfoundry.org:10001 20:23:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:39 Configure a credential helper to remove this warning. See 20:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:39 20:23:39 Login Succeeded 20:23:39 nexus3.edgexfoundry.org:10002 20:23:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:39 Configure a credential helper to remove this warning. See 20:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:39 20:23:39 Login Succeeded 20:23:39 nexus3.edgexfoundry.org:10003 20:23:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:39 Configure a credential helper to remove this warning. See 20:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:39 20:23:39 Login Succeeded 20:23:39 nexus3.edgexfoundry.org:10004 20:23:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:39 Configure a credential helper to remove this warning. See 20:23:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:39 20:23:39 Login Succeeded 20:23:39 docker.io 20:23:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:40 Configure a credential helper to remove this warning. See 20:23:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:40 20:23:40 Login Succeeded 20:23:40 ---> docker-login.sh ends [Pipeline] } 20:23:40 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 20:23:41 + git log --format=format:%s -1 9769038447d1e7dbe0e78e49c82136956adeffd1 [Pipeline] echo 20:23:41 GIT_COMMIT: 9769038447d1e7dbe0e78e49c82136956adeffd1, Commit Message: Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD [Pipeline] echo 20:23:41 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:23:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:42 20:23:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:23:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:42 latest: Pulling from edgex-devops/git-semver 20:23:42 31603596830f: Pulling fs layer 20:23:42 2a8b12db71e7: Pulling fs layer 20:23:42 6ca5941a6612: Pulling fs layer 20:23:42 ecc8261a40a4: Pulling fs layer 20:23:42 ecc8261a40a4: Waiting 20:23:42 2a8b12db71e7: Verifying Checksum 20:23:42 2a8b12db71e7: Download complete 20:23:42 31603596830f: Verifying Checksum 20:23:42 31603596830f: Download complete 20:23:42 ecc8261a40a4: Verifying Checksum 20:23:42 ecc8261a40a4: Download complete 20:23:42 6ca5941a6612: Verifying Checksum 20:23:42 6ca5941a6612: Download complete 20:23:42 31603596830f: Pull complete 20:23:42 2a8b12db71e7: Pull complete 20:23:43 6ca5941a6612: Pull complete 20:23:43 ecc8261a40a4: Pull complete 20:23:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:23:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:23:44 prd-centos7-docker-4c-2g-18264 does not seem to be running inside a container 20:23:44 $ 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 20:23:46 $ docker top 65cf25b0506da86442a44897ef32c6084ee441e00dda68efb516b7f641bd1812 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:23:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:23:46 [ssh-agent] Looking for ssh-agent implementation... 20:23:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:23:46 $ docker exec 65cf25b0506da86442a44897ef32c6084ee441e00dda68efb516b7f641bd1812 ssh-agent 20:23:47 SSH_AUTH_SOCK=/tmp/ssh-cFHLbexJBl1S/agent.11 20:23:47 SSH_AGENT_PID=16 20:23:47 Running ssh-add (command line suppressed) 20:23:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_273057030438470706.key (/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_273057030438470706.key) 20:23:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:23:47 + git tag --points-at HEAD [Pipeline] } 20:23:47 $ docker exec --env ******** --env ******** 65cf25b0506da86442a44897ef32c6084ee441e00dda68efb516b7f641bd1812 ssh-agent -k 20:23:47 unset SSH_AUTH_SOCK; 20:23:47 unset SSH_AGENT_PID; 20:23:47 echo Agent pid 16 killed; 20:23:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:23:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:23:47 [ssh-agent] Looking for ssh-agent implementation... 20:23:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:23:48 $ docker exec 65cf25b0506da86442a44897ef32c6084ee441e00dda68efb516b7f641bd1812 ssh-agent 20:23:48 SSH_AUTH_SOCK=/tmp/ssh-BuO5zb6H9cEg/agent.44 20:23:48 SSH_AGENT_PID=50 20:23:48 Running ssh-add (command line suppressed) 20:23:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_4526102721256123512.key (/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_4526102721256123512.key) 20:23:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:23:48 + git semver init 20:23:48 # -> Open(): unable to determine branch for HEAD 20:23:48 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-707/.git 20:23:48 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-707 20:23:48 # $SEMVER_REMOTE_NAME = origin 20:23:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:23:48 # $SEMVER_USER_NAME = edgex-jenkins 20:23:48 # $SEMVER_BRANCH = PR-707 20:23:48 # $SEMVER_TEMP = /tmp/semver-835878507 20:23:48 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 20:23:49 # '/tmp/semver-835878507' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-707/.semver' 20:23:49 # -> Force: false 20:23:49 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-707/.semver [Pipeline] } 20:23:49 $ docker exec --env ******** --env ******** 65cf25b0506da86442a44897ef32c6084ee441e00dda68efb516b7f641bd1812 ssh-agent -k 20:23:49 unset SSH_AUTH_SOCK; 20:23:49 unset SSH_AGENT_PID; 20:23:49 echo Agent pid 50 killed; 20:23:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:23:50 + git semver [Pipeline] } 20:23:50 $ docker stop --time=1 65cf25b0506da86442a44897ef32c6084ee441e00dda68efb516b7f641bd1812 20:23:51 $ docker rm -f 65cf25b0506da86442a44897ef32c6084ee441e00dda68efb516b7f641bd1812 [Pipeline] // withDockerContainer [Pipeline] sh 20:23:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:23:52 Stashed 1 file(s) [Pipeline] echo 20:23:52 [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 20:24:08 Still waiting to schedule task 20:24:08 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:24:08 Still waiting to schedule task 20:24:08 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:26:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18268 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [Pipeline] { [Pipeline] ws 20:26:03 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 20:26:09 using credential edgex-jenkins-ssh 20:26:09 Cloning the remote Git repository 20:26:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:26:09 > git init /w/workspace/device-sdk-go/5 # timeout=10 20:26:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:26:09 > git --version # timeout=10 20:26:09 > git --version # 'git version 2.17.1' 20:26:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:26:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:26:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:26:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:26:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:26:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:26:10 using GIT_SSH to set credentials SSH Credentials for GitHub 20:26:10 > 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 20:26:11 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit d287bb3ce6a94d14e4d2165212ab30520b5c1b35 20:26:12 Merge succeeded, producing 1e682f39947de7aa3ca8d576c36d917f093cbb5a 20:26:12 Checking out Revision 1e682f39947de7aa3ca8d576c36d917f093cbb5a (PR-707) 20:26:11 > git config core.sparsecheckout # timeout=10 20:26:11 > git checkout -f d287bb3ce6a94d14e4d2165212ab30520b5c1b35 # timeout=10 20:26:12 > git remote # timeout=10 20:26:12 > git config --get remote.origin.url # timeout=10 20:26:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:26:12 > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 20:26:12 > git rev-parse HEAD^{commit} # timeout=10 20:26:12 > git config core.sparsecheckout # timeout=10 20:26:12 > git checkout -f 1e682f39947de7aa3ca8d576c36d917f093cbb5a # timeout=10 20:26:16 Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" 20:26:16 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:26:16 > git rev-list --no-walk 1daa9d280e2cecd45d00b52ea95bc76d17849c91 # timeout=10 20:26:18 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:26:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:26:18 + + sudo service docker restart 20:26:18 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:26:21 provisioning config files... 20:26:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config1524177213566210436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:22 ---> docker-login.sh 20:26:22 nexus3.edgexfoundry.org:10001 20:26:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:23 Configure a credential helper to remove this warning. See 20:26:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:23 20:26:23 Login Succeeded 20:26:23 nexus3.edgexfoundry.org:10002 20:26:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:24 Configure a credential helper to remove this warning. See 20:26:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:24 20:26:24 Login Succeeded 20:26:24 nexus3.edgexfoundry.org:10003 20:26:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:24 Configure a credential helper to remove this warning. See 20:26:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:24 20:26:24 Login Succeeded 20:26:24 nexus3.edgexfoundry.org:10004 20:26:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:25 Configure a credential helper to remove this warning. See 20:26:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:25 20:26:25 Login Succeeded 20:26:25 docker.io 20:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:26 Configure a credential helper to remove this warning. See 20:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:26 20:26:26 Login Succeeded 20:26:26 ---> docker-login.sh ends [Pipeline] } 20:26:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:26:26 ========================================================= 20:26:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:26:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:26:27 + 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 . 20:26:27 Sending build context to Docker daemon 2.515MB 20:26:27 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:26:27 Step 2/8 : FROM ${BASE} 20:26:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:26:27 5f621e34cdf4: Pulling fs layer 20:26:27 a4357932f1b6: Pulling fs layer 20:26:27 18c013af1878: Pulling fs layer 20:26:27 00ac8860ef70: Pulling fs layer 20:26:27 63d7cb157983: Pulling fs layer 20:26:27 b116817d02f9: Pulling fs layer 20:26:27 745a02a5169b: Pulling fs layer 20:26:27 00ac8860ef70: Waiting 20:26:27 63d7cb157983: Waiting 20:26:27 b116817d02f9: Waiting 20:26:27 745a02a5169b: Waiting 20:26:27 18c013af1878: Verifying Checksum 20:26:27 18c013af1878: Download complete 20:26:27 a4357932f1b6: Verifying Checksum 20:26:27 a4357932f1b6: Download complete 20:26:27 63d7cb157983: Verifying Checksum 20:26:27 63d7cb157983: Download complete 20:26:27 b116817d02f9: Verifying Checksum 20:26:27 b116817d02f9: Download complete 20:26:27 5f621e34cdf4: Verifying Checksum 20:26:27 5f621e34cdf4: Download complete 20:26:28 5f621e34cdf4: Pull complete 20:26:29 a4357932f1b6: Pull complete 20:26:29 18c013af1878: Pull complete 20:26:30 745a02a5169b: Verifying Checksum 20:26:30 745a02a5169b: Download complete 20:26:31 00ac8860ef70: Verifying Checksum 20:26:31 00ac8860ef70: Download complete 20:26:41 00ac8860ef70: Pull complete 20:26:41 63d7cb157983: Pull complete 20:26:41 b116817d02f9: Pull complete 20:26:46 745a02a5169b: Pull complete 20:26:46 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 20:26:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:26:46 ---> b7e6874047d6 20:26:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:26:48 ---> Running in d27350cbdab7 20:26:49 Removing intermediate container d27350cbdab7 20:26:49 ---> 8a7d19e6490a 20:26:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:26:49 ---> Running in 9eda10dd7e5b 20:26:52 Removing intermediate container 9eda10dd7e5b 20:26:52 ---> 9b22b1155476 20:26:52 Step 5/8 : RUN apk add --update --no-cache make git 20:26:52 ---> Running in 994fd34859e3 20:26:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:26:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:26:55 OK: 142 MiB in 39 packages 20:26:56 Removing intermediate container 994fd34859e3 20:26:56 ---> 1fc2d98e5149 20:26:56 Step 6/8 : WORKDIR /device-sdk-go 20:26:56 ---> Running in 96459776e4a5 20:26:57 Removing intermediate container 96459776e4a5 20:26:57 ---> 02f4a6208716 20:26:57 Step 7/8 : COPY . . 20:26:58 ---> c5f709f71077 20:26:58 Step 8/8 : RUN go mod download 20:26:58 ---> Running in cf2489730be3 20:27:25 Removing intermediate container cf2489730be3 20:27:25 ---> f08dd3d80c93 20:27:25 Successfully built f08dd3d80c93 20:27:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:27:25 + docker inspect -f . ci-base-image-arm64 20:27:25 . [Pipeline] withDockerContainer 20:27:26 prd-ubuntu18.04-docker-arm64-4c-16g-18268 does not seem to be running inside a container 20:27:26 $ 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-arm64 cat 20:27:27 $ docker top 63ce51312eb61f6508b0cb6a77836cc86e8ceb0b869b66d498f8e1e744045d53 -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:29 + go version 20:27:29 go version go1.15.5 linux/arm64 [Pipeline] } 20:27:29 $ docker stop --time=1 63ce51312eb61f6508b0cb6a77836cc86e8ceb0b869b66d498f8e1e744045d53 20:27:31 $ docker rm -f 63ce51312eb61f6508b0cb6a77836cc86e8ceb0b869b66d498f8e1e744045d53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:27:32 + docker inspect -f . ci-base-image-arm64 20:27:32 . [Pipeline] withDockerContainer 20:27:32 prd-ubuntu18.04-docker-arm64-4c-16g-18268 does not seem to be running inside a container 20:27:32 $ 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-arm64 cat 20:27:34 $ docker top aaa137d04e1c74722f078828bc28752a8fb864c17f61fecff236b1659246ab06 -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:35 + make test 20:27:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:27:47 Running on prd-centos7-docker-4c-2g-18271 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [Pipeline] { [Pipeline] ws 20:27:47 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 20:27:50 using credential edgex-jenkins-ssh 20:27:50 Cloning the remote Git repository 20:27:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:27:50 > git init /w/workspace/device-sdk-go/5 # timeout=10 20:27:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:27:50 > git --version # timeout=10 20:27:50 > git --version # 'git version 2.24.3' 20:27:50 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:27:52 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit d287bb3ce6a94d14e4d2165212ab30520b5c1b35 20:27:52 Merge succeeded, producing 77ad87e376d7d7fece6560529927f59243e10929 20:27:52 Checking out Revision 77ad87e376d7d7fece6560529927f59243e10929 (PR-707) 20:27:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:27:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:27:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:27:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:27:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:51 > 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 20:27:52 > git config core.sparsecheckout # timeout=10 20:27:52 > git checkout -f d287bb3ce6a94d14e4d2165212ab30520b5c1b35 # timeout=10 20:27:52 > git remote # timeout=10 20:27:52 > git config --get remote.origin.url # timeout=10 20:27:52 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:52 > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 20:27:52 > git rev-parse HEAD^{commit} # timeout=10 20:27:52 > git config core.sparsecheckout # timeout=10 20:27:52 > git checkout -f 77ad87e376d7d7fece6560529927f59243e10929 # timeout=10 20:27:56 Commit message: "Merge commit '372098887a6a7d5d9395bdaf9d03a023308f69fd' into HEAD" 20:27:56 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 20:27:56 > git rev-list --no-walk 1daa9d280e2cecd45d00b52ea95bc76d17849c91 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:27:57 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:27:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:27:57 + sudo service docker restart 20:27:57 + true 20:27:57 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:27:58 provisioning config files... 20:27:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3233374158786080578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:59 ---> docker-login.sh 20:27:59 nexus3.edgexfoundry.org:10001 20:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:59 Configure a credential helper to remove this warning. See 20:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:59 20:27:59 Login Succeeded 20:27:59 nexus3.edgexfoundry.org:10002 20:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:59 Configure a credential helper to remove this warning. See 20:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:59 20:27:59 Login Succeeded 20:27:59 nexus3.edgexfoundry.org:10003 20:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:00 Configure a credential helper to remove this warning. See 20:28:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:00 20:28:00 Login Succeeded 20:28:00 nexus3.edgexfoundry.org:10004 20:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:00 Configure a credential helper to remove this warning. See 20:28:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:00 20:28:00 Login Succeeded 20:28:00 docker.io 20:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:00 Configure a credential helper to remove this warning. See 20:28:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:00 20:28:00 Login Succeeded 20:28:00 ---> docker-login.sh ends [Pipeline] } 20:28:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:28:01 ========================================================= 20:28:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:28:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:28:01 + 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 . 20:28:01 Sending build context to Docker daemon 2.518MB 20:28:01 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:28:01 Step 2/8 : FROM ${BASE} 20:28:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 20:28:01 188c0c94c7c5: Pulling fs layer 20:28:01 0ef7d3d256c8: Pulling fs layer 20:28:01 de9db76c5a1d: Pulling fs layer 20:28:01 bca2f99d35d6: Pulling fs layer 20:28:01 93359f2a8cfa: Pulling fs layer 20:28:01 7c6f9722023f: Pulling fs layer 20:28:01 a35cf1a2eb13: Pulling fs layer 20:28:01 bca2f99d35d6: Waiting 20:28:01 7c6f9722023f: Waiting 20:28:01 a35cf1a2eb13: Waiting 20:28:01 93359f2a8cfa: Waiting 20:28:01 de9db76c5a1d: Download complete 20:28:01 0ef7d3d256c8: Verifying Checksum 20:28:01 0ef7d3d256c8: Download complete 20:28:01 93359f2a8cfa: Download complete 20:28:01 7c6f9722023f: Download complete 20:28:01 188c0c94c7c5: Verifying Checksum 20:28:01 188c0c94c7c5: Download complete 20:28:02 188c0c94c7c5: Pull complete 20:28:02 0ef7d3d256c8: Pull complete 20:28:02 ? github.com/edgexfoundry/device-sdk-go [no test files] 20:28:02 de9db76c5a1d: Pull complete 20:28:03 a35cf1a2eb13: Verifying Checksum 20:28:03 a35cf1a2eb13: Download complete 20:28:04 bca2f99d35d6: Verifying Checksum 20:28:04 bca2f99d35d6: Download complete 20:28:11 bca2f99d35d6: Pull complete 20:28:11 93359f2a8cfa: Pull complete 20:28:11 7c6f9722023f: Pull complete 20:28:15 a35cf1a2eb13: Pull complete 20:28:15 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 20:28:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 20:28:15 ---> a62c8e92a672 20:28:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:28:15 ---> Running in 59b232ab2bb5 20:28:15 Removing intermediate container 59b232ab2bb5 20:28:15 ---> 880e25436f59 20:28:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:28:15 ---> Running in 4e29fe6a5ce8 20:28:17 Removing intermediate container 4e29fe6a5ce8 20:28:17 ---> 58ae82c8c6a5 20:28:17 Step 5/8 : RUN apk add --update --no-cache make git 20:28:17 ---> Running in 06844e2a9bb0 20:28:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:28:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:28:19 OK: 166 MiB in 39 packages 20:28:20 Removing intermediate container 06844e2a9bb0 20:28:20 ---> 2aa861e9bd18 20:28:20 Step 6/8 : WORKDIR /device-sdk-go 20:28:20 ---> Running in 4b7d104600cc 20:28:20 Removing intermediate container 4b7d104600cc 20:28:20 ---> d35133948164 20:28:20 Step 7/8 : COPY . . 20:28:21 ---> 4c44006f974d 20:28:21 Step 8/8 : RUN go mod download 20:28:21 ---> Running in 2a6c48ccb01d 20:28:40 Removing intermediate container 2a6c48ccb01d 20:28:40 ---> ad5ac17b39fc 20:28:40 Successfully built ad5ac17b39fc 20:28:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:28:40 + docker inspect -f . ci-base-image-x86_64 20:28:40 . [Pipeline] withDockerContainer 20:28:40 prd-centos7-docker-4c-2g-18271 does not seem to be running inside a container 20:28:40 $ 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 ******** ci-base-image-x86_64 cat 20:28:41 $ docker top f7c0ad376c4ec9b103849228d8e3b6f7d4b0ad557091434f5cee595836670a06 -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:42 + go version 20:28:42 go version go1.15.5 linux/amd64 [Pipeline] } 20:28:42 $ docker stop --time=1 f7c0ad376c4ec9b103849228d8e3b6f7d4b0ad557091434f5cee595836670a06 20:28:43 $ docker rm -f f7c0ad376c4ec9b103849228d8e3b6f7d4b0ad557091434f5cee595836670a06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:28:44 + docker inspect -f . ci-base-image-x86_64 20:28:44 . [Pipeline] withDockerContainer 20:28:44 prd-centos7-docker-4c-2g-18271 does not seem to be running inside a container 20:28:44 $ 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 ******** ci-base-image-x86_64 cat 20:28:45 $ docker top 6701d6a0b095f3ae23a8c3425517d7ad8a82e87a04a1aa06aa30253f067004c9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:46 + make test 20:28:46 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:28:49 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 20:28:49 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 20:28:49 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 20:28:49 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.129s coverage: 19.4% of statements 20:28:50 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.452s coverage: 97.1% of statements 20:28:54 ? github.com/edgexfoundry/device-sdk-go [no test files] 20:29:12 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 20:29:12 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 20:29:12 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 20:29:12 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.058s coverage: 19.4% of statements 20:29:12 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.488s coverage: 97.1% of statements 20:29:22 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.142s coverage: 9.4% of statements 20:29:22 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.155s coverage: 21.7% of statements 20:29:22 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 20:29:22 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.606s coverage: 42.5% of statements 20:29:22 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 20:29:22 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.755s coverage: 68.9% of statements 20:29:22 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 20:29:22 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 20:29:22 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 20:29:22 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 20:29:22 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.228s coverage: 53.8% of statements 20:29:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 20:29:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 20:29:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 20:29:22 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.059s coverage: 68.9% of statements 20:29:22 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.153s coverage: 4.2% of statements 20:29:22 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 20:29:22 GO111MODULE=on go vet ./... 20:29:44 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 9.4% of statements 20:29:44 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.7% of statements 20:29:44 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 20:29:44 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.233s coverage: 42.5% of statements 20:29:44 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 20:29:44 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.306s coverage: 68.9% of statements 20:29:44 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 20:29:44 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 20:29:44 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 20:29:44 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 20:29:44 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.076s coverage: 53.8% of statements 20:29:44 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 20:29:44 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 20:29:44 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 20:29:44 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.467s coverage: 68.9% of statements 20:29:44 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.066s coverage: 4.2% of statements 20:29:44 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 20:29:44 GO111MODULE=on go vet ./... 20:29:55 gofmt -l . 20:29:55 [ "`gofmt -l .`" = "" ] 20:29:55 ./bin/test-attribution-txt.sh 20:29:55 gofmt -l . 20:29:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 20:29:55 $ docker stop --time=1 6701d6a0b095f3ae23a8c3425517d7ad8a82e87a04a1aa06aa30253f067004c9 20:29:55 [ "`gofmt -l .`" = "" ] 20:29:56 ./bin/test-attribution-txt.sh 20:29:57 ./bin/test-go-mod-tidy.sh 20:29:57 $ docker rm -f 6701d6a0b095f3ae23a8c3425517d7ad8a82e87a04a1aa06aa30253f067004c9 [Pipeline] // withDockerContainer [Pipeline] } 20:29:57 $ docker stop --time=1 aaa137d04e1c74722f078828bc28752a8fb864c17f61fecff236b1659246ab06 20:30:00 $ docker rm -f aaa137d04e1c74722f078828bc28752a8fb864c17f61fecff236b1659246ab06 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] sh 20:30:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:30:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:30:01 Warning: overwriting stash ‘coverage-report’ 20:30:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 20:30:02 Stashed 1 file(s) [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } 20:30:03 + sudo chown -R jenkins:jenkins . [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:30:04 + ls -al . 20:30:04 total 208 20:30:04 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 4 20:29 . 20:30:04 drwxrwxr-x. 4 jenkins jenkins 28 Jan 4 20:27 .. 20:30:04 drwxrwxr-x. 2 jenkins jenkins 64 Jan 4 20:27 bin 20:30:04 -rw-r--r--. 1 jenkins jenkins 130605 Jan 4 20:29 coverage.out 20:30:04 -rw-rw-r--. 1 jenkins jenkins 949 Jan 4 20:27 Dockerfile.build 20:30:04 -rw-rw-r--. 1 jenkins jenkins 140 Jan 4 20:27 .dockerignore 20:30:04 drwxrwxr-x. 4 jenkins jenkins 48 Jan 4 20:27 example 20:30:04 drwxrwxr-x. 8 jenkins jenkins 179 Jan 4 20:27 .git 20:30:04 drwxrwxr-x. 2 jenkins jenkins 103 Jan 4 20:27 .github 20:30:04 -rw-rw-r--. 1 jenkins jenkins 138 Jan 4 20:27 .gitignore 20:30:04 -rw-r--r--. 1 jenkins jenkins 488 Jan 4 20:29 go.mod 20:30:04 -rw-r--r--. 1 jenkins jenkins 13929 Jan 4 20:29 go.sum 20:30:04 drwxrwxr-x. 15 jenkins jenkins 211 Jan 4 20:27 internal 20:30:04 -rw-rw-r--. 1 jenkins jenkins 901 Jan 4 20:27 Jenkinsfile 20:30:04 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 4 20:27 LICENSE 20:30:04 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 4 20:27 Makefile 20:30:04 drwxrwxr-x. 4 jenkins jenkins 26 Jan 4 20:27 openapi 20:30:04 drwxrwxr-x. 5 jenkins jenkins 50 Jan 4 20:27 pkg 20:30:04 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 4 20:27 README.md 20:30:04 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 4 20:27 RELEASE-NOTES.txt 20:30:04 drwxrwxr-x. 4 jenkins jenkins 54 Jan 4 20:27 snap 20:30:04 -rw-rw-r--. 1 jenkins jenkins 5 Jan 4 20:23 VERSION 20:30:04 -rw-rw-r--. 1 jenkins jenkins 222 Jan 4 20:27 version.go [Pipeline] isUnix [Pipeline] sh 20:30:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:30:04 + 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=9769038447d1e7dbe0e78e49c82136956adeffd1 --label arch=amd64 --label version=0.0.0 . 20:30:04 Sending build context to Docker daemon 2.649MB 20:30:04 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 20:30:04 Step 2/24 : FROM ${BASE} AS builder 20:30:04 ---> ad5ac17b39fc 20:30:04 Step 3/24 : ARG MAKE='make build' 20:30:04 + ls -al . 20:30:04 total 244 20:30:04 drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 20:29 . 20:30:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 20:26 .. 20:30:04 -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 20:26 .dockerignore 20:30:04 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 20:26 .git 20:30:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 20:26 .github 20:30:04 -rw-rw-r-- 1 jenkins jenkins 138 Jan 4 20:26 .gitignore 20:30:04 -rw-rw-r-- 1 jenkins jenkins 949 Jan 4 20:26 Dockerfile.build 20:30:04 -rw-rw-r-- 1 jenkins jenkins 901 Jan 4 20:26 Jenkinsfile 20:30:04 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 4 20:26 LICENSE 20:30:04 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 4 20:26 Makefile 20:30:04 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 4 20:26 README.md 20:30:04 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 4 20:26 RELEASE-NOTES.txt 20:30:04 -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 20:23 VERSION 20:30:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 20:26 bin 20:30:04 -rw-r--r-- 1 jenkins jenkins 130605 Jan 4 20:29 coverage.out 20:30:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 20:26 example 20:30:04 -rw-r--r-- 1 jenkins jenkins 488 Jan 4 20:29 go.mod 20:30:04 -rw-r--r-- 1 jenkins jenkins 13929 Jan 4 20:29 go.sum 20:30:04 drwxrwxr-x 15 jenkins jenkins 4096 Jan 4 20:26 internal 20:30:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 20:26 openapi 20:30:04 drwxrwxr-x 5 jenkins jenkins 4096 Jan 4 20:26 pkg 20:30:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 20:26 snap 20:30:04 -rw-rw-r-- 1 jenkins jenkins 222 Jan 4 20:26 version.go [Pipeline] isUnix [Pipeline] sh 20:30:05 + 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=9769038447d1e7dbe0e78e49c82136956adeffd1 --label arch=arm64 --label version=0.0.0 . 20:30:05 ---> Running in 191953c481a2 20:30:05 Removing intermediate container 191953c481a2 20:30:05 ---> 4178504bf897 20:30:05 Step 4/24 : WORKDIR /device-sdk-go 20:30:05 ---> Running in d385621f1025 20:30:05 Sending build context to Docker daemon 2.647MB 20:30:05 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 20:30:05 Step 2/24 : FROM ${BASE} AS builder 20:30:05 ---> f08dd3d80c93 20:30:05 Step 3/24 : ARG MAKE='make build' 20:30:05 Removing intermediate container d385621f1025 20:30:05 ---> 44612d7914b3 20:30:05 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:30:05 ---> Running in bea5b992359d 20:30:05 Removing intermediate container bea5b992359d 20:30:05 ---> 03840cdfe009 20:30:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:30:06 ---> Running in 91b84df187a2 20:30:06 ---> Running in cfc8e802c70d 20:30:06 Removing intermediate container 91b84df187a2 20:30:06 ---> 4aebc705feb9 20:30:06 Step 4/24 : WORKDIR /device-sdk-go 20:30:06 ---> Running in d49e2cbc044f 20:30:06 Removing intermediate container d49e2cbc044f 20:30:06 ---> c353ed4f8f55 20:30:06 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:30:07 Removing intermediate container cfc8e802c70d 20:30:07 ---> 2aa0c4133d41 20:30:07 Step 7/24 : RUN apk add --update --no-cache make git 20:30:07 ---> Running in ff501c4bc026 20:30:07 ---> Running in d69403b2ea4d 20:30:07 Removing intermediate container ff501c4bc026 20:30:07 ---> 9adcbffa1a00 20:30:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:30:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:30:07 ---> Running in 958fb3b8faa4 20:30:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:30:08 OK: 166 MiB in 39 packages 20:30:09 Removing intermediate container 958fb3b8faa4 20:30:09 ---> 69a6c4efa252 20:30:09 Step 7/24 : RUN apk add --update --no-cache make git 20:30:09 ---> Running in ea4ad6e3dd66 20:30:09 Removing intermediate container d69403b2ea4d 20:30:09 ---> d9aa3d0cc23c 20:30:09 Step 8/24 : COPY . . 20:30:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:30:11 ---> b9bf4c9c1ea8 20:30:11 Step 9/24 : RUN ${MAKE} 20:30:11 ---> Running in d5587c200bb6 20:30:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:30:11 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 20:30:12 OK: 142 MiB in 39 packages 20:30:13 Removing intermediate container ea4ad6e3dd66 20:30:13 ---> ac78e6c56667 20:30:13 Step 8/24 : COPY . . 20:30:15 ---> 62a83dd6b3ee 20:30:15 Step 9/24 : RUN ${MAKE} 20:30:15 ---> Running in b65146fe7c62 20:30:16 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 20:30:22 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 20:30:23 Removing intermediate container d5587c200bb6 20:30:23 ---> dd5223f21114 20:30:23 Step 10/24 : FROM scratch 20:30:23 ---> 20:30:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:30:23 ---> Running in f792033ea65d 20:30:23 Removing intermediate container f792033ea65d 20:30:23 ---> 8d285d03e381 20:30:23 Step 12/24 : ENV APP_PORT=49990 20:30:23 ---> Running in acafb7895414 20:30:23 Removing intermediate container acafb7895414 20:30:23 ---> c32cae0d3c84 20:30:23 Step 13/24 : EXPOSE $APP_PORT 20:30:23 ---> Running in 35da710b534d 20:30:23 Removing intermediate container 35da710b534d 20:30:23 ---> aeb2cd847c8e 20:30:23 Step 14/24 : WORKDIR / 20:30:23 ---> Running in 9dc21fa1bf37 20:30:23 Removing intermediate container 9dc21fa1bf37 20:30:23 ---> 6b94b177b880 20:30:23 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 20:30:24 ---> 7425735ca48d 20:30:24 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 20:30:24 ---> 6b981d9add14 20:30:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 20:30:25 ---> 1df8bcbeaf6c 20:30:25 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 20:30:25 ---> 954a55a735a8 20:30:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 20:30:25 ---> bab2f6466486 20:30:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 20:30:25 ---> Running in 50902eb14c6f 20:30:25 Removing intermediate container 50902eb14c6f 20:30:25 ---> 135715374e34 20:30:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:30:25 ---> Running in 6c03c9174894 20:30:25 Removing intermediate container 6c03c9174894 20:30:25 ---> 7a59350600f7 20:30:25 Step 22/24 : LABEL arch=amd64 20:30:25 ---> Running in c0fbe383f20e 20:30:26 Removing intermediate container c0fbe383f20e 20:30:26 ---> f4ba00075fad 20:30:26 Step 23/24 : LABEL git_sha=9769038447d1e7dbe0e78e49c82136956adeffd1 20:30:26 ---> Running in fd4d26997143 20:30:26 Removing intermediate container fd4d26997143 20:30:26 ---> cba8db891104 20:30:26 Step 24/24 : LABEL version=0.0.0 20:30:26 ---> Running in df4724c7b4e5 20:30:26 Removing intermediate container df4724c7b4e5 20:30:26 ---> c80fe8ee4bc9 20:30:26 [Warning] One or more build-args [ARCH] were not consumed 20:30:26 Successfully built c80fe8ee4bc9 20:30:26 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] } 20:30:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 20:30:48 Removing intermediate container b65146fe7c62 20:30:48 ---> f81e79f0eb6d 20:30:48 Step 10/24 : FROM scratch 20:30:48 ---> 20:30:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:30:48 ---> Running in b26c0e032db8 20:30:48 Removing intermediate container b26c0e032db8 20:30:48 ---> 724ac1318ffa 20:30:48 Step 12/24 : ENV APP_PORT=49990 20:30:48 ---> Running in ef6b5f8d8645 20:30:48 Removing intermediate container ef6b5f8d8645 20:30:48 ---> 8f74f56d21cf 20:30:48 Step 13/24 : EXPOSE $APP_PORT 20:30:48 ---> Running in 44857efd3816 20:30:49 Removing intermediate container 44857efd3816 20:30:49 ---> 2154adddae20 20:30:49 Step 14/24 : WORKDIR / 20:30:49 ---> Running in 27405e4b19f8 20:30:49 Removing intermediate container 27405e4b19f8 20:30:49 ---> 29ca5888fd80 20:30:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 20:30:51 ---> 1444ad1aab39 20:30:51 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 20:30:51 ---> c9bc932ebc66 20:30:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 20:30:52 ---> 7961a8cbad6b 20:30:52 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 20:30:53 ---> 29a63637c4bd 20:30:53 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 20:30:54 ---> 5777a91f9ad7 20:30:54 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 20:30:54 ---> Running in 7248ca3e01fc 20:30:54 Removing intermediate container 7248ca3e01fc 20:30:54 ---> 6624467ef472 20:30:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:30:54 ---> Running in 796e03685848 20:30:55 Removing intermediate container 796e03685848 20:30:55 ---> 2d8a861ca180 20:30:55 Step 22/24 : LABEL arch=arm64 20:30:55 ---> Running in 62046f0bb4ae 20:30:56 Removing intermediate container 62046f0bb4ae 20:30:56 ---> 97d9b0859837 20:30:56 Step 23/24 : LABEL git_sha=9769038447d1e7dbe0e78e49c82136956adeffd1 20:30:56 ---> Running in 9862b554efb0 20:30:56 Removing intermediate container 9862b554efb0 20:30:56 ---> 545a96ccd17c 20:30:56 Step 24/24 : LABEL version=0.0.0 20:30:56 ---> Running in 1144b45a2b5c 20:30:57 Removing intermediate container 1144b45a2b5c 20:30:57 ---> 097a8fbcdcd0 20:30:57 [Warning] One or more build-args [ARCH] were not consumed 20:30:57 Successfully built 097a8fbcdcd0 20:30:57 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 20:30:58 provisioning config files... 20:30:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config2713792941583590274tmp [Pipeline] { [Pipeline] sh 20:31:00 + set +x 20:31:00 + curl -s https://codecov.io/bash 20:31:00 + bash -s -- 20:31:01 20:31:01 _____ _ 20:31:01 / ____| | | 20:31:01 | | ___ __| | ___ ___ _____ __ 20:31:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:31:01 | |___| (_) | (_| | __/ (_| (_) \ V / 20:31:01 \_____\___/ \__,_|\___|\___\___/ \_/ 20:31:01 Bash-20201231-23d4836 20:31:01 20:31:01 20:31:01 ==> git version 2.24.3 found 20:31:01 ==> 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 20:31:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:31:01 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:31:01 ==> Jenkins CI detected. 20:31:01 project root: . 20:31:01 --> token set from env 20:31:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:31:01 ==> Running gcov in . (disable via -X gcov) 20:31:01 ==> Python coveragepy not found 20:31:01 ==> Searching for coverage reports in: 20:31:01 + . 20:31:01 -> Found 1 reports 20:31:01 ==> Detecting git/mercurial file structure 20:31:01 ==> Reading reports 20:31:01 + ./coverage.out bytes=130605 20:31:01 ==> Appending adjustments 20:31:01 https://docs.codecov.io/docs/fixing-reports 20:31:01 + Found adjustments 20:31:01 ==> Gzipping contents 20:31:01 24K /tmp/codecov.3WQ3FK.gz 20:31:01 ==> Uploading reports 20:31:01 url: https://codecov.io 20:31:01 query: branch=PR-707&commit=9769038447d1e7dbe0e78e49c82136956adeffd1&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-707%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=707&job=&cmd_args= 20:31:01 -> Pinging Codecov 20:31:01 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-707&commit=9769038447d1e7dbe0e78e49c82136956adeffd1&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-707%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=707&job=&cmd_args= 20:31:03 -> Uploading to 20:31:03 https://storage.googleapis.com/codecov/v4/raw/2021-01-04/7E55EF52A471D76F132DFD9A03CDDE97/9769038447d1e7dbe0e78e49c82136956adeffd1/8f9f75cb-c8fe-462b-bd39-6160c2bc7d46.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T203103Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b207be38f10772ddccbcdced042d76621e00203438d483b8bd4c5b6b96c8059 20:31:03 % Total % Received % Xferd Average Speed Time Time Time Current 20:31:03 Dload Upload Total Spent Left Speed 20:31:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21274 0 0 100 21274 0 48843 --:--:-- --:--:-- --:--:-- 48905 20:31:03 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9769038447d1e7dbe0e78e49c82136956adeffd1 [Pipeline] } 20:31:03 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 20:31:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:31:07 ---> package-listing.sh 20:31:07 ++ facter osfamily 20:31:07 ++ tr '[:upper:]' '[:lower:]' 20:31:07 + OS_FAMILY=redhat 20:31:07 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-707 20:31:07 + START_PACKAGES=/tmp/packages_start.txt 20:31:07 + END_PACKAGES=/tmp/packages_end.txt 20:31:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:31:07 + PACKAGES=/tmp/packages_start.txt 20:31:07 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-707 ']' 20:31:07 + PACKAGES=/tmp/packages_end.txt 20:31:07 + case "${OS_FAMILY}" in 20:31:07 + rpm -qa 20:31:07 + sort 20:31:11 + '[' -f /tmp/packages_start.txt ']' 20:31:11 + '[' -f /tmp/packages_end.txt ']' 20:31:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:31:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-707 ']' 20:31:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-707/archives/ 20:31:11 + 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 20:31:11 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 20:31:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:31:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:31:12 20:31:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:31:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:31:12 alpine: Pulling from edgex-lftools-log-publisher 20:31:12 df20fa9351a1: Pulling fs layer 20:31:12 36b3adc4ff6f: Pulling fs layer 20:31:12 8ad3a11d3b57: Pulling fs layer 20:31:12 46f8f816bc3b: Pulling fs layer 20:31:12 93b61091891f: Pulling fs layer 20:31:12 93b9cdb0e59b: Pulling fs layer 20:31:12 5e14af77c1be: Pulling fs layer 20:31:12 01666e4c0597: Pulling fs layer 20:31:12 aa168da1d23b: Pulling fs layer 20:31:12 46f8f816bc3b: Waiting 20:31:12 93b61091891f: Waiting 20:31:12 93b9cdb0e59b: Waiting 20:31:12 5e14af77c1be: Waiting 20:31:12 01666e4c0597: Waiting 20:31:12 aa168da1d23b: Waiting 20:31:12 36b3adc4ff6f: Download complete 20:31:12 46f8f816bc3b: Verifying Checksum 20:31:12 46f8f816bc3b: Download complete 20:31:12 df20fa9351a1: Verifying Checksum 20:31:12 df20fa9351a1: Download complete 20:31:12 93b9cdb0e59b: Verifying Checksum 20:31:12 93b9cdb0e59b: Download complete 20:31:12 5e14af77c1be: Download complete 20:31:12 01666e4c0597: Verifying Checksum 20:31:12 01666e4c0597: Download complete 20:31:12 93b61091891f: Verifying Checksum 20:31:13 df20fa9351a1: Pull complete 20:31:13 8ad3a11d3b57: Verifying Checksum 20:31:13 8ad3a11d3b57: Download complete 20:31:13 36b3adc4ff6f: Pull complete 20:31:14 8ad3a11d3b57: Pull complete 20:31:14 46f8f816bc3b: Pull complete 20:31:14 93b61091891f: Pull complete 20:31:14 93b9cdb0e59b: Pull complete 20:31:15 aa168da1d23b: Verifying Checksum 20:31:15 aa168da1d23b: Download complete 20:31:15 5e14af77c1be: Pull complete 20:31:15 01666e4c0597: Pull complete 20:31:23 aa168da1d23b: Pull complete 20:31:23 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:31:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:31:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:31:23 prd-centos7-docker-4c-2g-18264 does not seem to be running inside a container 20:31:23 $ 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 20:31:26 $ docker top e40941645d87824481ca815b308eb4a7d1dd2347eb95b58bee8370b0f793dc35 -eo pid,comm [Pipeline] { [Pipeline] sh 20:31:27 + touch /tmp/pre-build-complete [Pipeline] sh 20:31:27 + mkdir -p /var/log/sa [Pipeline] sh 20:31:28 + ls /var/log/sa-host 20:31:28 + sadf -c /var/log/sa-host/sa04 20:31:28 file_magic: OK 20:31:28 HZ: Using current value: 100 20:31:28 file_header: OK 20:31:28 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 20:31:28 Statistics: 20:31:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:31:28 File successfully converted to sysstat format version 12.2.1 20:31:28 + sadf -c /var/log/sa-host/sa23 20:31:28 file_magic: OK 20:31:28 HZ: Using current value: 100 20:31:28 file_header: OK 20:31:28 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 20:31:28 Statistics: 20:31:28 Hnuu...uuuununununu... 20:31:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:28 provisioning config files... 20:31:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config5393874966131288176tmp [Pipeline] { [Pipeline] echo 20:31:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:31:29 ---> create-netrc.sh [Pipeline] } 20:31:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:31:29 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:31:29 ---> python-tools-install.sh [Pipeline] echo 20:31:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:31:29 ---> sudo-logs.sh 20:31:29 Archiving 'sudo' log.. [Pipeline] echo 20:31:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:31:30 ---> job-cost.sh 20:31:30 lf-activate-venv: SKIPPING 20:31:30 INFO: No Stack... 20:31:31 INFO: Retrieving Pricing Info for: v1-standard-2 20:31:31 INFO: Archiving Costs [Pipeline] echo 20:31:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:31:31 ---> logs-deploy.sh 20:31:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-707/5 20:31:31 INFO: archiving workspace using pattern(s): 20:31:33 Archives upload complete. 20:31:33 INFO: archiving logs to Nexus 20:31:35 ---> uname -a: 20:31:35 Linux prd-centos7-docker-4c-2g-18264.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 20:31:35 20:31:35 20:31:35 ---> lscpu: 20:31:35 Architecture: x86_64 20:31:35 CPU op-mode(s): 32-bit, 64-bit 20:31:35 Byte Order: Little Endian 20:31:35 Address sizes: 40 bits physical, 48 bits virtual 20:31:35 CPU(s): 4 20:31:35 On-line CPU(s) list: 0-3 20:31:35 Thread(s) per core: 1 20:31:35 Core(s) per socket: 1 20:31:35 Socket(s): 4 20:31:35 NUMA node(s): 1 20:31:35 Vendor ID: GenuineIntel 20:31:35 CPU family: 6 20:31:35 Model: 44 20:31:35 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:31:35 Stepping: 1 20:31:35 CPU MHz: 2933.438 20:31:35 BogoMIPS: 5866.87 20:31:35 Virtualization: VT-x 20:31:35 Hypervisor vendor: KVM 20:31:35 Virtualization type: full 20:31:35 L1d cache: 128 KiB 20:31:35 L1i cache: 128 KiB 20:31:35 L2 cache: 16 MiB 20:31:35 L3 cache: 64 MiB 20:31:35 NUMA node0 CPU(s): 0-3 20:31:35 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 20:31:35 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 20:31:35 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 20:31:35 Vulnerability Meltdown: Mitigation; PTI 20:31:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:31:35 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 20:31:35 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 20:31:35 Vulnerability Srbds: Not affected 20:31:35 Vulnerability Tsx async abort: Not affected 20:31:35 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 20:31:35 20:31:35 20:31:35 ---> nproc: 20:31:35 4 20:31:35 20:31:35 20:31:35 ---> df -h: 20:31:35 Filesystem Size Used Available Use% Mounted on 20:31:35 overlay 50.0G 7.3G 42.7G 15% / 20:31:35 tmpfs 64.0M 0 64.0M 0% /dev 20:31:35 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 20:31:35 shm 64.0M 0 64.0M 0% /dev/shm 20:31:35 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 20:31:35 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 20:31:35 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 20:31:35 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 20:31:35 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-707 20:31:35 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp 20:31:35 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 20:31:35 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 20:31:35 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 20:31:35 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 20:31:35 20:31:35 20:31:35 ---> free -m: 20:31:35 total used free shared buff/cache available 20:31:35 Mem: 1837 703 111 0 1022 1029 20:31:35 Swap: 1023 1 1022 20:31:35 20:31:35 20:31:35 ---> ip addr: 20:31:35 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:31:35 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:31:35 inet 127.0.0.1/8 scope host lo 20:31:35 valid_lft forever preferred_lft forever 20:31:35 inet6 ::1/128 scope host 20:31:35 valid_lft forever preferred_lft forever 20:31:35 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 20:31:35 link/ether fa:16:3e:b8:fe:30 brd ff:ff:ff:ff:ff:ff 20:31:35 inet 10.30.123.188/23 brd 10.30.123.255 scope global dynamic eth0 20:31:35 valid_lft 85887sec preferred_lft 85887sec 20:31:35 inet6 fe80::f816:3eff:feb8:fe30/64 scope link 20:31:35 valid_lft forever preferred_lft forever 20:31:35 3: docker0: mtu 1500 qdisc noqueue state DOWN 20:31:35 link/ether 02:42:41:d3:e2:85 brd ff:ff:ff:ff:ff:ff 20:31:35 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 20:31:35 valid_lft forever preferred_lft forever 20:31:35 inet6 fe80::42:41ff:fed3:e285/64 scope link 20:31:35 valid_lft forever preferred_lft forever 20:31:35 20:31:35 20:31:35 ---> sar -b -r -n DEV: 20:31:35 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 20:31:35 20:31:35 20:22:51 LINUX RESTART (4 CPU) 20:31:35 20:31:35 20:24:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:31:35 20:25:01 2.25 0.00 2.25 0.00 0.00 53.71 0.00 20:31:35 20:26:01 0.42 0.00 0.42 0.00 0.00 5.84 0.00 20:31:35 20:27:01 0.32 0.00 0.32 0.00 0.00 3.63 0.00 20:31:35 20:28:01 0.22 0.00 0.22 0.00 0.00 3.10 0.00 20:31:35 20:29:01 0.27 0.00 0.27 0.00 0.00 3.81 0.00 20:31:35 20:30:01 0.28 0.00 0.28 0.00 0.00 3.13 0.00 20:31:35 20:31:01 0.27 0.05 0.22 0.00 3.60 1.75 0.00 20:31:35 Average: 0.57 0.01 0.57 0.00 0.51 10.71 0.00 20:31:35 20:31:35 20:24:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:31:35 20:25:01 156796 0 594388 31.59 2620 1127740 1079452 36.84 443176 1082520 28 20:31:35 20:26:01 155992 0 595240 31.64 2620 1127692 1069304 36.49 453488 1073532 8 20:31:35 20:27:01 154192 0 597036 31.73 2620 1127696 1069340 36.49 455624 1073428 8 20:31:35 20:28:01 152808 0 598420 31.80 2620 1127696 1069364 36.50 464624 1065856 8 20:31:35 20:29:01 152760 0 598460 31.81 2620 1127704 1069304 36.49 461040 1069000 8 20:31:35 20:30:01 154092 0 597124 31.74 2620 1127708 1069172 36.49 460236 1069044 8 20:31:35 20:31:01 149648 0 601180 31.95 2620 1128096 1072152 36.59 463456 1069200 296 20:31:35 Average: 153755 0 597407 31.75 2620 1127762 1071155 36.56 457378 1071797 52 20:31:35 20:31:35 20:24:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:31:35 20:25:01 eth0 1.50 0.35 0.34 0.20 0.00 0.00 0.00 0.00 20:31:35 20:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:26:01 eth0 1.28 0.32 0.33 0.17 0.00 0.00 0.00 0.00 20:31:35 20:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:27:01 eth0 1.62 0.32 0.38 0.23 0.00 0.00 0.00 0.00 20:31:35 20:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:28:01 eth0 2.07 0.73 0.86 0.55 0.00 0.00 0.00 0.00 20:31:35 20:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:29:01 eth0 1.10 0.47 0.45 0.30 0.00 0.00 0.00 0.00 20:31:35 20:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:30:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 20:31:35 20:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:31:01 eth0 3.10 2.05 3.44 0.92 0.00 0.00 0.00 0.00 20:31:35 20:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 Average: eth0 1.54 0.62 0.83 0.34 0.00 0.00 0.00 0.00 20:31:35 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:31:35 20:31:35 20:31:35 ---> sar -P ALL: 20:31:35 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 20:31:35 20:31:35 20:22:51 LINUX RESTART (4 CPU) 20:31:35 20:31:35 20:24:01 CPU %user %nice %system %iowait %steal %idle 20:31:35 20:25:01 all 0.18 0.00 0.05 0.00 0.00 99.77 20:31:35 20:25:01 0 0.13 0.00 0.08 0.00 0.00 99.78 20:31:35 20:25:01 1 0.08 0.00 0.02 0.00 0.00 99.90 20:31:35 20:25:01 2 0.45 0.00 0.03 0.00 0.00 99.52 20:31:35 20:25:01 3 0.05 0.00 0.07 0.00 0.00 99.88 20:31:35 20:26:01 all 0.12 0.00 0.05 0.00 0.01 99.82 20:31:35 20:26:01 0 0.37 0.00 0.07 0.00 0.02 99.55 20:31:35 20:26:01 1 0.05 0.00 0.05 0.00 0.02 99.88 20:31:35 20:26:01 2 0.05 0.00 0.05 0.00 0.00 99.90 20:31:35 20:26:01 3 0.02 0.00 0.05 0.00 0.00 99.93 20:31:35 20:27:01 all 0.17 0.00 0.04 0.00 0.00 99.79 20:31:35 20:27:01 0 0.35 0.00 0.05 0.00 0.02 99.58 20:31:35 20:27:01 1 0.05 0.00 0.03 0.00 0.00 99.92 20:31:35 20:27:01 2 0.23 0.00 0.05 0.00 0.00 99.72 20:31:35 20:27:01 3 0.03 0.00 0.03 0.00 0.00 99.93 20:31:35 20:28:01 all 0.18 0.00 0.06 0.00 0.00 99.76 20:31:35 20:28:01 0 0.08 0.00 0.03 0.00 0.00 99.88 20:31:35 20:28:01 1 0.03 0.00 0.05 0.00 0.00 99.92 20:31:35 20:28:01 2 0.45 0.00 0.05 0.00 0.02 99.48 20:31:35 20:28:01 3 0.13 0.00 0.10 0.00 0.00 99.77 20:31:35 20:29:01 all 0.15 0.00 0.04 0.00 0.01 99.80 20:31:35 20:29:01 0 0.07 0.00 0.05 0.00 0.02 99.87 20:31:35 20:29:01 1 0.05 0.00 0.03 0.00 0.00 99.92 20:31:35 20:29:01 2 0.03 0.00 0.02 0.00 0.00 99.95 20:31:35 20:29:01 3 0.43 0.00 0.07 0.00 0.02 99.48 20:31:35 20:30:01 all 0.05 0.00 0.04 0.00 0.00 99.91 20:31:35 20:30:01 0 0.03 0.00 0.03 0.00 0.00 99.93 20:31:35 20:30:01 1 0.03 0.00 0.05 0.00 0.00 99.92 20:31:35 20:30:01 2 0.02 0.00 0.02 0.00 0.00 99.97 20:31:35 20:30:01 3 0.10 0.00 0.07 0.00 0.00 99.83 20:31:35 20:31:01 all 0.55 0.00 0.23 0.00 0.03 99.19 20:31:35 20:31:01 0 0.37 0.00 0.17 0.00 0.07 99.40 20:31:35 20:31:01 1 0.38 0.00 0.38 0.00 0.02 99.22 20:31:35 20:31:01 2 0.23 0.00 0.15 0.02 0.03 99.57 20:31:35 20:31:01 3 1.22 0.00 0.20 0.00 0.02 98.57 20:31:35 Average: all 0.20 0.00 0.07 0.00 0.01 99.72 20:31:35 Average: 0 0.20 0.00 0.07 0.00 0.02 99.71 20:31:35 Average: 1 0.10 0.00 0.09 0.00 0.00 99.81 20:31:35 Average: 2 0.21 0.00 0.05 0.00 0.01 99.73 20:31:35 Average: 3 0.28 0.00 0.08 0.00 0.00 99.63 20:31:35 20:31:35 20:31:35