Pull request #763 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 862efaa6fb370de0353a6ab70a9abf0deac6fae9+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (2c220c7066cbf59c232dfd1644b55afa7f4c5c49) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-23706 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [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-763 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 862efaa6fb370de0353a6ab70a9abf0deac6fae9 Merge succeeded, producing 0193f5eabba245e8bfdb43525716dd55d9eed079 Checking out Revision 0193f5eabba245e8bfdb43525716dd55d9eed079 (PR-763) 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/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 862efaa6fb370de0353a6ab70a9abf0deac6fae9 # 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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0193f5eabba245e8bfdb43525716dd55d9eed079 # timeout=10 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk dce881673ae14da553cd551a3485f5b83744404b # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:36:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:36:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:36:44 ========================================================= 06:36:44 EdgeX Global Pipelines Version Info 06:36:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:36:45 ------------------- 06:36:45 stable info: 06:36:45 ------------------- 06:36:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:36:45 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:36:45 Message: update stable to v1.0.179 06:36:46 ------------------- 06:36:46 experimental info: 06:36:46 ------------------- 06:36:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:36:46 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 06:36:46 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:36:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:36:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:36:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:36:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:36:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:36:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:36:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:36:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:36:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:36:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:36:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:36:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:36:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:36:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:36:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:36:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:36:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:36:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:36:49 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:36:49 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:36:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-763 [Pipeline] echo 06:36:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-763 [Pipeline] echo 06:36:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-763 [Pipeline] echo 06:36:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0193f5eabba245e8bfdb43525716dd55d9eed079 [Pipeline] echo 06:36:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0193f5e [Pipeline] echo 06:36:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:36:50 provisioning config files... 06:36:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config5266561476940788904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:50 ---> docker-login.sh 06:36:50 nexus3.edgexfoundry.org:10001 06:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:51 Configure a credential helper to remove this warning. See 06:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:51 06:36:51 Login Succeeded 06:36:51 nexus3.edgexfoundry.org:10002 06:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:51 Configure a credential helper to remove this warning. See 06:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:51 06:36:51 Login Succeeded 06:36:51 nexus3.edgexfoundry.org:10003 06:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:51 Configure a credential helper to remove this warning. See 06:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:51 06:36:51 Login Succeeded 06:36:51 nexus3.edgexfoundry.org:10004 06:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:51 Configure a credential helper to remove this warning. See 06:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:51 06:36:51 Login Succeeded 06:36:51 docker.io 06:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:52 Configure a credential helper to remove this warning. See 06:36:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:52 06:36:52 Login Succeeded 06:36:52 ---> docker-login.sh ends [Pipeline] } 06:36:52 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 06:36:52 + git log --format=format:%s -1 0193f5eabba245e8bfdb43525716dd55d9eed079 [Pipeline] echo 06:36:53 GIT_COMMIT: 0193f5eabba245e8bfdb43525716dd55d9eed079, Commit Message: Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD [Pipeline] echo 06:36:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:36:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:36:54 06:36:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:36:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:36:54 latest: Pulling from edgex-devops/git-semver 06:36:54 31603596830f: Pulling fs layer 06:36:54 2a8b12db71e7: Pulling fs layer 06:36:54 6ca5941a6612: Pulling fs layer 06:36:54 ecc8261a40a4: Pulling fs layer 06:36:54 ecc8261a40a4: Waiting 06:36:54 2a8b12db71e7: Verifying Checksum 06:36:54 2a8b12db71e7: Download complete 06:36:54 31603596830f: Verifying Checksum 06:36:54 31603596830f: Download complete 06:36:54 6ca5941a6612: Verifying Checksum 06:36:54 6ca5941a6612: Download complete 06:36:54 ecc8261a40a4: Verifying Checksum 06:36:54 ecc8261a40a4: Download complete 06:36:55 31603596830f: Pull complete 06:36:55 2a8b12db71e7: Pull complete 06:36:56 6ca5941a6612: Pull complete 06:36:56 ecc8261a40a4: Pull complete 06:36:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:36:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:36:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:36:56 prd-centos7-docker-4c-2g-23706 does not seem to be running inside a container 06:36:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:36:58 $ docker top 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:36:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:36:58 [ssh-agent] Looking for ssh-agent implementation... 06:36:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:36:59 $ docker exec 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 ssh-agent 06:36:59 SSH_AUTH_SOCK=/tmp/ssh-1phaNzLXpA65/agent.12 06:36:59 SSH_AGENT_PID=17 06:36:59 Running ssh-add (command line suppressed) 06:36:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_8162902860095435037.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_8162902860095435037.key) 06:36:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:36:59 + git tag --points-at HEAD [Pipeline] } 06:36:59 $ docker exec --env ******** --env ******** 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 ssh-agent -k 06:36:59 unset SSH_AUTH_SOCK; 06:36:59 unset SSH_AGENT_PID; 06:36:59 echo Agent pid 17 killed; 06:37:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:37:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:37:00 [ssh-agent] Looking for ssh-agent implementation... 06:37:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:37:00 $ docker exec 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 ssh-agent 06:37:00 SSH_AUTH_SOCK=/tmp/ssh-MnUFAvHFfKc7/agent.46 06:37:00 SSH_AGENT_PID=52 06:37:00 Running ssh-add (command line suppressed) 06:37:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_1173140688113577999.key (/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/private_key_1173140688113577999.key) 06:37:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:37:01 + git semver init 06:37:01 # -> Open(): unable to determine branch for HEAD 06:37:01 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.git 06:37:01 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-763 06:37:01 # $SEMVER_REMOTE_NAME = origin 06:37:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:37:01 # $SEMVER_USER_NAME = edgex-jenkins 06:37:01 # $SEMVER_BRANCH = PR-763 06:37:01 # $SEMVER_TEMP = /tmp/semver-667859006 06:37:01 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:37:02 # '/tmp/semver-667859006' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver' 06:37:02 # -> Force: false 06:37:02 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-763/.semver [Pipeline] } 06:37:02 $ docker exec --env ******** --env ******** 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 ssh-agent -k 06:37:02 unset SSH_AUTH_SOCK; 06:37:02 unset SSH_AGENT_PID; 06:37:02 echo Agent pid 52 killed; 06:37:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:37:02 + git semver [Pipeline] } 06:37:02 $ docker stop --time=1 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 06:37:04 $ docker rm -f 231f5775445060362de406ca70e4d940d2e9df3e1bd9fd9c31960c117b9550d6 [Pipeline] // withDockerContainer [Pipeline] sh 06:37:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:37:05 Stashed 1 file(s) [Pipeline] echo 06:37:05 [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 06:37:20 Still waiting to schedule task 06:37:20 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:37:20 Still waiting to schedule task 06:37:20 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:39:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23707 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 06:39:07 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 06:39:12 using credential edgex-jenkins-ssh 06:39:12 Cloning the remote Git repository 06:39:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:39:13 > git init /w/workspace/device-sdk-go/5 # timeout=10 06:39:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:39:13 > git --version # timeout=10 06:39:13 > git --version # 'git version 2.17.1' 06:39:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:39:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:39:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:39:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:39:15 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 862efaa6fb370de0353a6ab70a9abf0deac6fae9 06:39:15 Merge succeeded, producing f7a58d63080d6da7d9a146b6817998bc0bf7b27f 06:39:15 Checking out Revision f7a58d63080d6da7d9a146b6817998bc0bf7b27f (PR-763) 06:39:15 > git config core.sparsecheckout # timeout=10 06:39:15 > git checkout -f 862efaa6fb370de0353a6ab70a9abf0deac6fae9 # timeout=10 06:39:15 > git remote # timeout=10 06:39:15 > git config --get remote.origin.url # timeout=10 06:39:15 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:15 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 06:39:15 > git rev-parse HEAD^{commit} # timeout=10 06:39:15 > git config core.sparsecheckout # timeout=10 06:39:15 > git checkout -f f7a58d63080d6da7d9a146b6817998bc0bf7b27f # timeout=10 06:39:19 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" 06:39:19 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:39:19 > git rev-list --no-walk dce881673ae14da553cd551a3485f5b83744404b # timeout=10 06:39:21 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:39:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:39:22 + true 06:39:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:39:25 provisioning config files... 06:39:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3095791728564309930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:25 ---> docker-login.sh 06:39:25 nexus3.edgexfoundry.org:10001 06:39:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:26 Configure a credential helper to remove this warning. See 06:39:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:26 06:39:26 Login Succeeded 06:39:26 nexus3.edgexfoundry.org:10002 06:39:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:27 Configure a credential helper to remove this warning. See 06:39:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:27 06:39:27 Login Succeeded 06:39:27 nexus3.edgexfoundry.org:10003 06:39:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:27 Configure a credential helper to remove this warning. See 06:39:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:27 06:39:27 Login Succeeded 06:39:27 nexus3.edgexfoundry.org:10004 06:39:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:28 Configure a credential helper to remove this warning. See 06:39:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:28 06:39:28 Login Succeeded 06:39:28 docker.io 06:39:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:29 Configure a credential helper to remove this warning. See 06:39:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:29 06:39:29 Login Succeeded 06:39:29 ---> docker-login.sh ends [Pipeline] } 06:39:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:39:29 ========================================================= 06:39:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:39:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:39:29 + 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 . 06:39:30 Sending build context to Docker daemon 2.572MB 06:39:30 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:39:30 Step 2/8 : FROM ${BASE} 06:39:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:39:30 5f621e34cdf4: Pulling fs layer 06:39:30 a4357932f1b6: Pulling fs layer 06:39:30 18c013af1878: Pulling fs layer 06:39:30 00ac8860ef70: Pulling fs layer 06:39:30 63d7cb157983: Pulling fs layer 06:39:30 b116817d02f9: Pulling fs layer 06:39:30 745a02a5169b: Pulling fs layer 06:39:30 00ac8860ef70: Waiting 06:39:30 63d7cb157983: Waiting 06:39:30 b116817d02f9: Waiting 06:39:30 745a02a5169b: Waiting 06:39:30 18c013af1878: Verifying Checksum 06:39:30 18c013af1878: Download complete 06:39:30 a4357932f1b6: Verifying Checksum 06:39:30 a4357932f1b6: Download complete 06:39:30 63d7cb157983: Download complete 06:39:30 b116817d02f9: Verifying Checksum 06:39:30 b116817d02f9: Download complete 06:39:30 5f621e34cdf4: Verifying Checksum 06:39:30 5f621e34cdf4: Download complete 06:39:31 5f621e34cdf4: Pull complete 06:39:32 a4357932f1b6: Pull complete 06:39:32 18c013af1878: Pull complete 06:39:33 745a02a5169b: Verifying Checksum 06:39:33 745a02a5169b: Download complete 06:39:34 00ac8860ef70: Verifying Checksum 06:39:34 00ac8860ef70: Download complete 06:39:44 00ac8860ef70: Pull complete 06:39:44 63d7cb157983: Pull complete 06:39:45 b116817d02f9: Pull complete 06:39:48 745a02a5169b: Pull complete 06:39:48 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:39:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:39:48 ---> b7e6874047d6 06:39:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:39:51 ---> Running in dd1b937f965e 06:39:51 Removing intermediate container dd1b937f965e 06:39:51 ---> 0a8f033a1554 06:39:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:39:51 ---> Running in 7f20a210702b 06:39:53 Removing intermediate container 7f20a210702b 06:39:53 ---> 7f170bd74962 06:39:53 Step 5/8 : RUN apk add --update --no-cache make git 06:39:54 ---> Running in 914f39fe0bd2 06:39:54 Running on prd-centos7-docker-4c-2g-23708 in /w/workspace/dgexfoundry_device-sdk-go_PR-763 [Pipeline] { [Pipeline] ws 06:39:54 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 06:39:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:39:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:39:56 OK: 142 MiB in 39 packages 06:39:57 using credential edgex-jenkins-ssh 06:39:57 Cloning the remote Git repository 06:39:57 Removing intermediate container 914f39fe0bd2 06:39:57 ---> f2c93cbc3de4 06:39:57 Step 6/8 : WORKDIR /device-sdk-go 06:39:57 ---> Running in 88674e1605dd 06:39:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:39:56 > git init /w/workspace/device-sdk-go/5 # timeout=10 06:39:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:39:56 > git --version # timeout=10 06:39:56 > git --version # 'git version 2.24.3' 06:39:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:39:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:39:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:39:57 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/763/head:refs/remotes/origin/PR-763 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:39:58 Removing intermediate container 88674e1605dd 06:39:58 ---> d3582c259de7 06:39:58 Step 7/8 : COPY . . 06:39:58 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit 862efaa6fb370de0353a6ab70a9abf0deac6fae9 06:39:58 Merge succeeded, producing 9c7ee0f15ddae3c29ec85d49abccfc45d3eef38a 06:39:58 Checking out Revision 9c7ee0f15ddae3c29ec85d49abccfc45d3eef38a (PR-763) 06:39:58 > git config core.sparsecheckout # timeout=10 06:39:58 > git checkout -f 862efaa6fb370de0353a6ab70a9abf0deac6fae9 # timeout=10 06:39:58 > git remote # timeout=10 06:39:58 > git config --get remote.origin.url # timeout=10 06:39:58 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:58 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 06:39:58 > git rev-parse HEAD^{commit} # timeout=10 06:39:58 > git config core.sparsecheckout # timeout=10 06:39:58 > git checkout -f 9c7ee0f15ddae3c29ec85d49abccfc45d3eef38a # timeout=10 06:39:59 ---> fe85434f8b8f 06:39:59 Step 8/8 : RUN go mod download 06:39:59 ---> Running in d4520c9aef8e 06:40:02 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" 06:40:02 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 06:40:01 > git rev-list --no-walk dce881673ae14da553cd551a3485f5b83744404b # timeout=10 [Pipeline] { [Pipeline] sh 06:40:03 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:40:03 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:40:04 + sudo service docker restart 06:40:04 + true 06:40:04 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:40:05 provisioning config files... 06:40:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5944008469689452443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:40:05 ---> docker-login.sh 06:40:05 nexus3.edgexfoundry.org:10001 06:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:06 Configure a credential helper to remove this warning. See 06:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:06 06:40:06 Login Succeeded 06:40:06 nexus3.edgexfoundry.org:10002 06:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:06 Configure a credential helper to remove this warning. See 06:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:06 06:40:06 Login Succeeded 06:40:06 nexus3.edgexfoundry.org:10003 06:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:06 Configure a credential helper to remove this warning. See 06:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:06 06:40:06 Login Succeeded 06:40:06 nexus3.edgexfoundry.org:10004 06:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:06 Configure a credential helper to remove this warning. See 06:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:06 06:40:06 Login Succeeded 06:40:06 docker.io 06:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:07 Configure a credential helper to remove this warning. See 06:40:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:07 06:40:07 Login Succeeded 06:40:07 ---> docker-login.sh ends [Pipeline] } 06:40:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:40:07 ========================================================= 06:40:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:40:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:40:07 + 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 . 06:40:07 Sending build context to Docker daemon 2.573MB 06:40:07 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:40:07 Step 2/8 : FROM ${BASE} 06:40:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:40:08 188c0c94c7c5: Pulling fs layer 06:40:08 0ef7d3d256c8: Pulling fs layer 06:40:08 de9db76c5a1d: Pulling fs layer 06:40:08 bca2f99d35d6: Pulling fs layer 06:40:08 93359f2a8cfa: Pulling fs layer 06:40:08 7c6f9722023f: Pulling fs layer 06:40:08 a35cf1a2eb13: Pulling fs layer 06:40:08 93359f2a8cfa: Waiting 06:40:08 7c6f9722023f: Waiting 06:40:08 a35cf1a2eb13: Waiting 06:40:08 bca2f99d35d6: Waiting 06:40:08 de9db76c5a1d: Download complete 06:40:08 0ef7d3d256c8: Download complete 06:40:08 93359f2a8cfa: Verifying Checksum 06:40:08 93359f2a8cfa: Download complete 06:40:08 188c0c94c7c5: Verifying Checksum 06:40:08 188c0c94c7c5: Download complete 06:40:08 7c6f9722023f: Verifying Checksum 06:40:08 7c6f9722023f: Download complete 06:40:08 188c0c94c7c5: Pull complete 06:40:08 0ef7d3d256c8: Pull complete 06:40:09 de9db76c5a1d: Pull complete 06:40:09 a35cf1a2eb13: Verifying Checksum 06:40:09 a35cf1a2eb13: Download complete 06:40:10 bca2f99d35d6: Verifying Checksum 06:40:10 bca2f99d35d6: Download complete 06:40:16 bca2f99d35d6: Pull complete 06:40:16 93359f2a8cfa: Pull complete 06:40:16 7c6f9722023f: Pull complete 06:40:21 Removing intermediate container d4520c9aef8e 06:40:21 ---> cddc78b2dae2 06:40:21 Successfully built cddc78b2dae2 06:40:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:40:22 + docker inspect -f . ci-base-image-arm64 06:40:22 . [Pipeline] withDockerContainer 06:40:22 prd-ubuntu18.04-docker-arm64-4c-16g-23707 does not seem to be running inside a container 06:40:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:40:24 $ docker top c8b5aca12bf9d6cae75caa894a49016e9386117072e6b01694490ca714526a2a -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:25 + go version 06:40:25 go version go1.15.5 linux/arm64 [Pipeline] } 06:40:25 $ docker stop --time=1 c8b5aca12bf9d6cae75caa894a49016e9386117072e6b01694490ca714526a2a 06:40:26 a35cf1a2eb13: Pull complete 06:40:26 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:40:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:40:26 ---> a62c8e92a672 06:40:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:40:26 ---> Running in c35b8a4a3b68 06:40:26 Removing intermediate container c35b8a4a3b68 06:40:26 ---> 23e1ccb99f06 06:40:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:40:26 ---> Running in d1e08b93f66f 06:40:26 Removing intermediate container d1e08b93f66f 06:40:26 ---> 87e5a2ef4795 06:40:26 Step 5/8 : RUN apk add --update --no-cache make git 06:40:26 ---> Running in 00900dd8d27c 06:40:27 $ docker rm -f c8b5aca12bf9d6cae75caa894a49016e9386117072e6b01694490ca714526a2a 06:40:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:40:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:40:28 + docker inspect -f . ci-base-image-arm64 06:40:28 . [Pipeline] withDockerContainer 06:40:28 prd-ubuntu18.04-docker-arm64-4c-16g-23707 does not seem to be running inside a container 06:40:28 OK: 166 MiB in 39 packages 06:40:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:40:28 Removing intermediate container 00900dd8d27c 06:40:28 ---> 9ffcd6b5f7c4 06:40:28 Step 6/8 : WORKDIR /device-sdk-go 06:40:28 ---> Running in 1418d063f8ae 06:40:28 Removing intermediate container 1418d063f8ae 06:40:28 ---> 9c43c0e3d24e 06:40:28 Step 7/8 : COPY . . 06:40:29 $ docker top cd03e09c9a4c2f74a216e6bb33c9f55be793c846fc59d0d045ee562ea7ea9c47 -eo pid,comm [Pipeline] { 06:40:30 ---> c3ec9afd2008 06:40:30 Step 8/8 : RUN go mod download 06:40:30 ---> Running in 6088c19f76f7 [Pipeline] sh 06:40:30 + make test 06:40:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:40:48 Removing intermediate container 6088c19f76f7 06:40:48 ---> 54b5bffd21ba 06:40:48 Successfully built 54b5bffd21ba 06:40:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:40:48 + docker inspect -f . ci-base-image-x86_64 06:40:48 . [Pipeline] withDockerContainer 06:40:49 prd-centos7-docker-4c-2g-23708 does not seem to be running inside a container 06:40:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:40:49 $ docker top 53c227e674390d90a7c297f16360a638b453d03284c9c0f2ddf9b2fe5ff2764f -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:50 + go version 06:40:50 go version go1.15.5 linux/amd64 [Pipeline] } 06:40:50 $ docker stop --time=1 53c227e674390d90a7c297f16360a638b453d03284c9c0f2ddf9b2fe5ff2764f 06:40:51 $ docker rm -f 53c227e674390d90a7c297f16360a638b453d03284c9c0f2ddf9b2fe5ff2764f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:40:52 + docker inspect -f . ci-base-image-x86_64 06:40:52 . [Pipeline] withDockerContainer 06:40:52 prd-centos7-docker-4c-2g-23708 does not seem to be running inside a container 06:40:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:40:53 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:40:53 $ docker top ffc6c7c45c8cd1774402d2f6564ba13037ed35c12433ba0fd09be4e73a2ac802 -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:54 + make test 06:40:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:41:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:41:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:41:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:41:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:41:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.049s coverage: 19.4% of statements 06:41:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.448s coverage: 97.1% of statements 06:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:41:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:41:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.115s coverage: 19.4% of statements 06:41:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.224s coverage: 97.1% of statements 06:41:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.058s coverage: 9.4% of statements 06:41:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.059s coverage: 21.7% of statements 06:41:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:41:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.222s coverage: 43.6% of statements 06:41:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:41:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.268s coverage: 68.9% of statements 06:41:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:41:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:41:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:41:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:41:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.065s coverage: 53.8% of statements 06:41:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:41:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:41:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.065s coverage: 25.2% of statements 06:41:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.356s coverage: 83.5% of statements 06:41:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.2% of statements 06:41:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:41:46 GO111MODULE=on go vet ./... 06:41:59 gofmt -l . 06:41:59 [ "`gofmt -l .`" = "" ] 06:41:59 ./bin/test-attribution-txt.sh 06:41:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:41:59 $ docker stop --time=1 ffc6c7c45c8cd1774402d2f6564ba13037ed35c12433ba0fd09be4e73a2ac802 06:42:01 $ docker rm -f ffc6c7c45c8cd1774402d2f6564ba13037ed35c12433ba0fd09be4e73a2ac802 [Pipeline] // withDockerContainer [Pipeline] sh 06:42:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:42:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:42:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:42:05 + ls -al . 06:42:05 total 216 06:42:05 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 06:41 . 06:42:05 drwxrwxr-x. 4 jenkins jenkins 28 Jan 28 06:39 .. 06:42:05 drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 06:39 bin 06:42:05 -rw-r--r--. 1 jenkins jenkins 137332 Jan 28 06:41 coverage.out 06:42:05 -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 06:39 Dockerfile.build 06:42:05 -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 06:39 .dockerignore 06:42:05 drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 06:39 example 06:42:05 drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 06:40 .git 06:42:05 drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 06:39 .github 06:42:05 -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 06:39 .gitignore 06:42:05 -rw-r--r--. 1 jenkins jenkins 514 Jan 28 06:41 go.mod 06:42:05 -rw-r--r--. 1 jenkins jenkins 14191 Jan 28 06:41 go.sum 06:42:05 drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 06:39 internal 06:42:05 -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 06:39 Jenkinsfile 06:42:05 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 06:39 LICENSE 06:42:05 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 06:39 Makefile 06:42:05 drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 06:39 openapi 06:42:05 drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 06:39 pkg 06:42:05 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 06:39 README.md 06:42:05 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 06:39 RELEASE-NOTES.txt 06:42:05 drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 06:39 snap 06:42:05 -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 06:37 VERSION 06:42:05 -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 06:39 version.go [Pipeline] isUnix [Pipeline] sh 06:42:05 + 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=0193f5eabba245e8bfdb43525716dd55d9eed079 --label arch=amd64 --label version=0.0.0 . 06:42:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.140s coverage: 9.4% of statements 06:42:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 21.7% of statements 06:42:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:42:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.625s coverage: 43.6% of statements 06:42:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 06:42:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.726s coverage: 68.9% of statements 06:42:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 06:42:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 06:42:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:42:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:42:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.176s coverage: 53.8% of statements 06:42:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 06:42:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 06:42:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.163s coverage: 25.2% of statements 06:42:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.976s coverage: 83.5% of statements 06:42:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 4.2% of statements 06:42:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:42:06 Sending build context to Docker daemon 2.712MB 06:42:06 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:42:06 Step 2/24 : FROM ${BASE} AS builder 06:42:06 ---> 54b5bffd21ba 06:42:06 Step 3/24 : ARG MAKE='make build' 06:42:06 GO111MODULE=on go vet ./... 06:42:06 ---> Running in a0ff5bbb7158 06:42:06 Removing intermediate container a0ff5bbb7158 06:42:06 ---> 8615e144ad3e 06:42:06 Step 4/24 : WORKDIR /device-sdk-go 06:42:06 ---> Running in 2e77aedc5ea3 06:42:06 Removing intermediate container 2e77aedc5ea3 06:42:06 ---> 5339f455e628 06:42:06 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:42:07 ---> Running in bc76492c45da 06:42:07 Removing intermediate container bc76492c45da 06:42:07 ---> 071e3b38905f 06:42:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:42:07 ---> Running in 303d4d908de6 06:42:08 Removing intermediate container 303d4d908de6 06:42:08 ---> 74d74bf9b671 06:42:08 Step 7/24 : RUN apk add --update --no-cache make git 06:42:08 ---> Running in 0f9ac7dee9a3 06:42:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:42:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:42:09 OK: 166 MiB in 39 packages 06:42:10 Removing intermediate container 0f9ac7dee9a3 06:42:10 ---> 1a86faedd254 06:42:10 Step 8/24 : COPY . . 06:42:11 ---> dada6d554f8d 06:42:11 Step 9/24 : RUN ${MAKE} 06:42:11 ---> Running in a00d6ff4adc6 06:42:12 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:42:20 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:42:22 Removing intermediate container a00d6ff4adc6 06:42:22 ---> 38de1b2383e9 06:42:22 Step 10/24 : FROM scratch 06:42:22 ---> 06:42:22 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:42:23 ---> Running in 444263c1d70c 06:42:23 Removing intermediate container 444263c1d70c 06:42:23 ---> 3758a5f55eb4 06:42:23 Step 12/24 : ENV APP_PORT=49990 06:42:23 ---> Running in fd163641ffac 06:42:23 Removing intermediate container fd163641ffac 06:42:23 ---> d09cd9f8b7bd 06:42:23 Step 13/24 : EXPOSE $APP_PORT 06:42:23 ---> Running in 00090a70f72d 06:42:23 Removing intermediate container 00090a70f72d 06:42:23 ---> 595b022f383e 06:42:23 Step 14/24 : WORKDIR / 06:42:23 ---> Running in 572b828a3eef 06:42:24 Removing intermediate container 572b828a3eef 06:42:24 ---> 9a371368fdba 06:42:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:42:24 ---> 18a521785c70 06:42:24 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:42:24 ---> ee9df65ca615 06:42:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:42:24 ---> 2695ca01cf3b 06:42:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:42:25 ---> 06daa510c307 06:42:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:42:25 ---> 08b421384bcb 06:42:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:42:25 ---> Running in 0082c5f77aff 06:42:25 Removing intermediate container 0082c5f77aff 06:42:25 ---> 9b429fe1dbe9 06:42:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:42:25 ---> Running in c32d83625dd3 06:42:25 Removing intermediate container c32d83625dd3 06:42:25 ---> 8f81c478be81 06:42:25 Step 22/24 : LABEL arch=amd64 06:42:25 ---> Running in d2926aef0420 06:42:25 Removing intermediate container d2926aef0420 06:42:25 ---> b8eb2cf1da64 06:42:25 Step 23/24 : LABEL git_sha=0193f5eabba245e8bfdb43525716dd55d9eed079 06:42:26 ---> Running in d05323e06fc0 06:42:26 Removing intermediate container d05323e06fc0 06:42:26 ---> 8a7336cf2af4 06:42:26 Step 24/24 : LABEL version=0.0.0 06:42:26 ---> Running in 37b75ecdb6d4 06:42:26 Removing intermediate container 37b75ecdb6d4 06:42:26 ---> 38d26971bf25 06:42:26 [Warning] One or more build-args [ARCH] were not consumed 06:42:26 Successfully built 38d26971bf25 06:42: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] } 06:42:45 gofmt -l . 06:42:45 [ "`gofmt -l .`" = "" ] 06:42:45 ./bin/test-attribution-txt.sh 06:42:45 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:42:45 $ docker stop --time=1 cd03e09c9a4c2f74a216e6bb33c9f55be793c846fc59d0d045ee562ea7ea9c47 06:42:47 $ docker rm -f cd03e09c9a4c2f74a216e6bb33c9f55be793c846fc59d0d045ee562ea7ea9c47 [Pipeline] // withDockerContainer [Pipeline] sh 06:42:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:42:48 Warning: overwriting stash ‘coverage-report’ 06:42:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:42:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:42:51 + ls -al . 06:42:51 total 252 06:42:51 drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 06:42 . 06:42:51 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 06:39 .. 06:42:51 -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 06:39 .dockerignore 06:42:51 drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 06:39 .git 06:42:51 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 06:39 .github 06:42:51 -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 06:39 .gitignore 06:42:51 -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 06:39 Dockerfile.build 06:42:51 -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 06:39 Jenkinsfile 06:42:51 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 06:39 LICENSE 06:42:51 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 06:39 Makefile 06:42:51 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 06:39 README.md 06:42:51 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 06:39 RELEASE-NOTES.txt 06:42:51 -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 06:37 VERSION 06:42:51 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 06:39 bin 06:42:51 -rw-r--r-- 1 jenkins jenkins 137332 Jan 28 06:42 coverage.out 06:42:51 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 06:39 example 06:42:51 -rw-r--r-- 1 jenkins jenkins 514 Jan 28 06:42 go.mod 06:42:51 -rw-r--r-- 1 jenkins jenkins 14191 Jan 28 06:42 go.sum 06:42:51 drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 06:39 internal 06:42:51 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 06:39 openapi 06:42:51 drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 06:39 pkg 06:42:51 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 06:39 snap 06:42:51 -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 06:39 version.go [Pipeline] isUnix [Pipeline] sh 06:42:51 + 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=0193f5eabba245e8bfdb43525716dd55d9eed079 --label arch=arm64 --label version=0.0.0 . 06:42:51 Sending build context to Docker daemon 2.711MB 06:42:51 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:42:51 Step 2/24 : FROM ${BASE} AS builder 06:42:51 ---> cddc78b2dae2 06:42:51 Step 3/24 : ARG MAKE='make build' 06:42:52 ---> Running in e6efe38bb81c 06:42:52 Removing intermediate container e6efe38bb81c 06:42:52 ---> 6dc19c2f786d 06:42:52 Step 4/24 : WORKDIR /device-sdk-go 06:42:52 ---> Running in 5f8d96e947d4 06:42:53 Removing intermediate container 5f8d96e947d4 06:42:53 ---> a1af9f83df20 06:42:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:42:53 ---> Running in d94329201309 06:42:54 Removing intermediate container d94329201309 06:42:54 ---> ff31e25f3a21 06:42:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:42:54 ---> Running in ba94b337371c 06:42:56 Removing intermediate container ba94b337371c 06:42:56 ---> 753682f5a18c 06:42:56 Step 7/24 : RUN apk add --update --no-cache make git 06:42:56 ---> Running in d2b2e27a8cc2 06:42:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:42:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:42:58 OK: 142 MiB in 39 packages 06:42:59 Removing intermediate container d2b2e27a8cc2 06:42:59 ---> f36d3d3b085c 06:42:59 Step 8/24 : COPY . . 06:43:01 ---> ce23ebb452c0 06:43:01 Step 9/24 : RUN ${MAKE} 06:43:01 ---> Running in f80880718761 06:43:02 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:43:29 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:43:29 Removing intermediate container f80880718761 06:43:29 ---> a3cbe0535fe2 06:43:29 Step 10/24 : FROM scratch 06:43:29 ---> 06:43:29 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:43:30 ---> Running in 153a9ff4fc8e 06:43:30 Removing intermediate container 153a9ff4fc8e 06:43:30 ---> 883f5dac12cb 06:43:30 Step 12/24 : ENV APP_PORT=49990 06:43:30 ---> Running in 61cf12fdc11e 06:43:31 Removing intermediate container 61cf12fdc11e 06:43:31 ---> 237e14d7907b 06:43:31 Step 13/24 : EXPOSE $APP_PORT 06:43:31 ---> Running in 63a32616b362 06:43:31 Removing intermediate container 63a32616b362 06:43:31 ---> 03d3832d6a3c 06:43:31 Step 14/24 : WORKDIR / 06:43:31 ---> Running in fc7e941febe7 06:43:32 Removing intermediate container fc7e941febe7 06:43:32 ---> c8ee9e775afb 06:43:32 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:43:33 ---> 4a801c0dbfa1 06:43:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:43:33 ---> b7c6faecfb50 06:43:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:43:34 ---> 8841a1d7393c 06:43:34 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:43:35 ---> 80332d171727 06:43:35 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:43:35 ---> 49eba6625d1f 06:43:35 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:43:36 ---> Running in bc4b8c0feb2e 06:43:36 Removing intermediate container bc4b8c0feb2e 06:43:36 ---> ac5b8ad3b39c 06:43:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:43:36 ---> Running in 43a37b11324a 06:43:37 Removing intermediate container 43a37b11324a 06:43:37 ---> 597e194b1a78 06:43:37 Step 22/24 : LABEL arch=arm64 06:43:37 ---> Running in e5b60b0b860b 06:43:37 Removing intermediate container e5b60b0b860b 06:43:37 ---> 057ca05bbdac 06:43:37 Step 23/24 : LABEL git_sha=0193f5eabba245e8bfdb43525716dd55d9eed079 06:43:37 ---> Running in 2e36c1c9d7f0 06:43:38 Removing intermediate container 2e36c1c9d7f0 06:43:38 ---> af74ee8c89cb 06:43:38 Step 24/24 : LABEL version=0.0.0 06:43:38 ---> Running in ce82ba3cbbfb 06:43:39 Removing intermediate container ce82ba3cbbfb 06:43:39 ---> 943e949a512b 06:43:39 [Warning] One or more build-args [ARCH] were not consumed 06:43:39 Successfully built 943e949a512b 06:43:39 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 06:43:40 provisioning config files... 06:43:40 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config4522550683347307516tmp [Pipeline] { [Pipeline] sh 06:43:41 + set +x 06:43:41 + curl -s https://codecov.io/bash 06:43:41 + bash -s -- 06:43:41 06:43:41 _____ _ 06:43:41 / ____| | | 06:43:41 | | ___ __| | ___ ___ _____ __ 06:43:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:43:41 | |___| (_) | (_| | __/ (_| (_) \ V / 06:43:41 \_____\___/ \__,_|\___|\___\___/ \_/ 06:43:41 Bash-20210128-d4071a2 06:43:41 06:43:41 06:43:41 ==> git version 2.24.3 found 06:43:41 ==> 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 06:43:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:43:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:43:41 ==> Jenkins CI detected. 06:43:41 project root: . 06:43:41 --> token set from env 06:43:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:43:41 ==> Running gcov in . (disable via -X gcov) 06:43:41 ==> Python coveragepy not found 06:43:41 ==> Searching for coverage reports in: 06:43:41 + . 06:43:41 -> Found 1 reports 06:43:41 ==> Detecting git/mercurial file structure 06:43:41 ==> Reading reports 06:43:41 + ./coverage.out bytes=137332 06:43:41 ==> Appending adjustments 06:43:41 https://docs.codecov.io/docs/fixing-reports 06:43:42 + Found adjustments 06:43:42 ==> Gzipping contents 06:43:42 24K /tmp/codecov.Ps45sO.gz 06:43:42 ==> Uploading reports 06:43:42 url: https://codecov.io 06:43:42 query: branch=PR-763&commit=0193f5eabba245e8bfdb43525716dd55d9eed079&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= 06:43:42 -> Pinging Codecov 06:43:42 https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-763&commit=0193f5eabba245e8bfdb43525716dd55d9eed079&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-763%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=763&job=&cmd_args= 06:43:43 -> Uploading to 06:43:43 https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/0193f5eabba245e8bfdb43525716dd55d9eed079/baeda95e-8624-4f8d-bab9-10c13c2368b3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T064342Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b650e2fa50511a51b4ef414766ada8eb010917a881d654edfde79d628cae47d2 06:43:43 % Total % Received % Xferd Average Speed Time Time Time Current 06:43:43 Dload Upload Total Spent Left Speed 06:43:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21633 0 0 100 21633 0 52766 --:--:-- --:--:-- --:--:-- 52892 06:43:43 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0193f5eabba245e8bfdb43525716dd55d9eed079 [Pipeline] } 06:43:43 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 06:43:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:43:46 ---> package-listing.sh 06:43:46 ++ tr '[:upper:]' '[:lower:]' 06:43:46 ++ facter osfamily 06:43:46 + OS_FAMILY=redhat 06:43:46 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-763 06:43:46 + START_PACKAGES=/tmp/packages_start.txt 06:43:46 + END_PACKAGES=/tmp/packages_end.txt 06:43:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:43:46 + PACKAGES=/tmp/packages_start.txt 06:43:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 06:43:46 + PACKAGES=/tmp/packages_end.txt 06:43:46 + case "${OS_FAMILY}" in 06:43:46 + rpm -qa 06:43:46 + sort 06:43:53 + '[' -f /tmp/packages_start.txt ']' 06:43:53 + '[' -f /tmp/packages_end.txt ']' 06:43:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:43:53 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-763 ']' 06:43:53 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ 06:43:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-763/archives/ [Pipeline] echo 06:43:53 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-763/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:43:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:43:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:43:53 06:43:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:43:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:43:54 alpine: Pulling from edgex-lftools-log-publisher 06:43:54 df20fa9351a1: Pulling fs layer 06:43:54 36b3adc4ff6f: Pulling fs layer 06:43:54 8ad3a11d3b57: Pulling fs layer 06:43:54 46f8f816bc3b: Pulling fs layer 06:43:54 93b61091891f: Pulling fs layer 06:43:54 93b9cdb0e59b: Pulling fs layer 06:43:54 5e14af77c1be: Pulling fs layer 06:43:54 01666e4c0597: Pulling fs layer 06:43:54 aa168da1d23b: Pulling fs layer 06:43:54 93b9cdb0e59b: Waiting 06:43:54 5e14af77c1be: Waiting 06:43:54 46f8f816bc3b: Waiting 06:43:54 01666e4c0597: Waiting 06:43:54 93b61091891f: Waiting 06:43:54 aa168da1d23b: Waiting 06:43:54 36b3adc4ff6f: Verifying Checksum 06:43:54 36b3adc4ff6f: Download complete 06:43:54 46f8f816bc3b: Verifying Checksum 06:43:54 46f8f816bc3b: Download complete 06:43:54 df20fa9351a1: Verifying Checksum 06:43:54 df20fa9351a1: Download complete 06:43:54 93b9cdb0e59b: Verifying Checksum 06:43:54 93b9cdb0e59b: Download complete 06:43:54 93b61091891f: Download complete 06:43:54 5e14af77c1be: Verifying Checksum 06:43:54 5e14af77c1be: Download complete 06:43:54 01666e4c0597: Verifying Checksum 06:43:54 01666e4c0597: Download complete 06:43:54 df20fa9351a1: Pull complete 06:43:54 36b3adc4ff6f: Pull complete 06:43:55 8ad3a11d3b57: Download complete 06:43:56 8ad3a11d3b57: Pull complete 06:43:56 46f8f816bc3b: Pull complete 06:43:56 aa168da1d23b: Verifying Checksum 06:43:56 aa168da1d23b: Download complete 06:43:57 93b61091891f: Pull complete 06:43:57 93b9cdb0e59b: Pull complete 06:43:57 5e14af77c1be: Pull complete 06:43:57 01666e4c0597: Pull complete 06:44:05 aa168da1d23b: Pull complete 06:44:05 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:44:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:44:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:44:06 prd-centos7-docker-4c-2g-23706 does not seem to be running inside a container 06:44:06 $ 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-763/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-763 -v /w/workspace/dgexfoundry_device-sdk-go_PR-763:/w/workspace/dgexfoundry_device-sdk-go_PR-763:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:44:09 $ docker top b720444340f4267024a795f749a43d7ef690a8f4e8c892d253ad4668b6f62467 -eo pid,comm [Pipeline] { [Pipeline] sh 06:44:10 + touch /tmp/pre-build-complete [Pipeline] sh 06:44:10 + mkdir -p /var/log/sa [Pipeline] sh 06:44:10 + ls /var/log/sa-host 06:44:10 + sadf -c /var/log/sa-host/sa23 06:44:10 file_magic: OK 06:44:10 HZ: Using current value: 100 06:44:10 file_header: OK 06:44:10 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 06:44:10 Statistics: 06:44:10 Hnuu...uuuununununu... 06:44:10 File successfully converted to sysstat format version 12.2.1 06:44:10 + sadf -c /var/log/sa-host/sa28 06:44:10 file_magic: OK 06:44:10 HZ: Using current value: 100 06:44:10 file_header: OK 06:44:10 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 06:44:10 Statistics: 06:44:10 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:44:10 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:44:11 provisioning config files... 06:44:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp/config3563977620731769860tmp [Pipeline] { [Pipeline] echo 06:44:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:44:11 ---> create-netrc.sh [Pipeline] } 06:44:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:44:12 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:44:12 ---> python-tools-install.sh [Pipeline] echo 06:44:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:44:12 ---> sudo-logs.sh 06:44:12 Archiving 'sudo' log.. [Pipeline] echo 06:44:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:44:12 ---> job-cost.sh 06:44:12 lf-activate-venv: SKIPPING 06:44:12 INFO: No Stack... 06:44:13 INFO: Retrieving Pricing Info for: v1-standard-2 06:44:14 INFO: Archiving Costs [Pipeline] echo 06:44:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:44:14 ---> logs-deploy.sh 06:44:14 lf-activate-venv: SKIPPING 06:44:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-763/5 06:44:14 INFO: archiving workspace using pattern(s): 06:44:16 Archives upload complete. 06:44:16 INFO: archiving logs to Nexus 06:44:17 ---> uname -a: 06:44:17 Linux prd-centos7-docker-4c-2g-23706.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:44:17 06:44:17 06:44:17 ---> lscpu: 06:44:17 Architecture: x86_64 06:44:17 CPU op-mode(s): 32-bit, 64-bit 06:44:17 Byte Order: Little Endian 06:44:17 Address sizes: 40 bits physical, 48 bits virtual 06:44:17 CPU(s): 4 06:44:17 On-line CPU(s) list: 0-3 06:44:17 Thread(s) per core: 1 06:44:17 Core(s) per socket: 1 06:44:17 Socket(s): 4 06:44:17 NUMA node(s): 1 06:44:17 Vendor ID: GenuineIntel 06:44:17 CPU family: 6 06:44:17 Model: 44 06:44:17 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:44:17 Stepping: 1 06:44:17 CPU MHz: 2933.436 06:44:17 BogoMIPS: 5866.87 06:44:17 Virtualization: VT-x 06:44:17 Hypervisor vendor: KVM 06:44:17 Virtualization type: full 06:44:17 L1d cache: 128 KiB 06:44:17 L1i cache: 128 KiB 06:44:17 L2 cache: 16 MiB 06:44:17 L3 cache: 64 MiB 06:44:17 NUMA node0 CPU(s): 0-3 06:44:17 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:44:17 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:44:17 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:44:17 Vulnerability Meltdown: Mitigation; PTI 06:44:17 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:44:17 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:44:17 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:44:17 Vulnerability Srbds: Not affected 06:44:17 Vulnerability Tsx async abort: Not affected 06:44:17 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 06:44:17 06:44:17 06:44:17 ---> nproc: 06:44:17 4 06:44:17 06:44:17 06:44:17 ---> df -h: 06:44:17 Filesystem Size Used Available Use% Mounted on 06:44:17 overlay 50.0G 7.3G 42.7G 15% / 06:44:17 tmpfs 64.0M 0 64.0M 0% /dev 06:44:17 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:44:17 shm 64.0M 0 64.0M 0% /dev/shm 06:44:17 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:44:17 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:44:17 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:44:17 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:44:17 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:44:17 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:44:17 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763 06:44:17 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-763@tmp 06:44:17 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:44:17 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:44:17 06:44:17 06:44:17 ---> free -m: 06:44:17 total used free shared buff/cache available 06:44:17 Mem: 1837 690 99 0 1047 1042 06:44:17 Swap: 1023 1 1022 06:44:17 06:44:17 06:44:17 ---> ip addr: 06:44:17 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:44:17 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:44:17 inet 127.0.0.1/8 scope host lo 06:44:17 valid_lft forever preferred_lft forever 06:44:17 inet6 ::1/128 scope host 06:44:17 valid_lft forever preferred_lft forever 06:44:17 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:44:17 link/ether fa:16:3e:74:03:ab brd ff:ff:ff:ff:ff:ff 06:44:17 inet 10.30.123.177/23 brd 10.30.123.255 scope global dynamic eth0 06:44:17 valid_lft 85916sec preferred_lft 85916sec 06:44:17 inet6 fe80::f816:3eff:fe74:3ab/64 scope link 06:44:17 valid_lft forever preferred_lft forever 06:44:17 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:44:17 link/ether 02:42:e5:cf:0a:04 brd ff:ff:ff:ff:ff:ff 06:44:17 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:44:17 valid_lft forever preferred_lft forever 06:44:17 inet6 fe80::42:e5ff:fecf:a04/64 scope link 06:44:17 valid_lft forever preferred_lft forever 06:44:17 06:44:17 06:44:17 ---> sar -b -r -n DEV: 06:44:17 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/28/21 _x86_64_ (4 CPU) 06:44:17 06:44:17 06:36:02 LINUX RESTART (4 CPU) 06:44:17 06:44:17 06:37:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:44:17 06:38:01 6.36 1.45 4.91 0.00 88.98 198.63 0.00 06:44:17 06:39:01 1.22 0.00 1.22 0.00 0.00 23.13 0.00 06:44:17 06:40:01 0.28 0.00 0.28 0.00 0.00 4.73 0.00 06:44:17 06:41:01 0.32 0.00 0.32 0.00 0.00 5.45 0.00 06:44:17 06:42:01 0.27 0.00 0.27 0.00 0.00 4.46 0.00 06:44:17 06:43:02 0.38 0.00 0.38 0.00 0.00 5.41 0.00 06:44:17 06:44:01 77.59 49.86 27.73 0.00 4169.27 7809.71 0.00 06:44:17 Average: 12.22 7.25 4.97 0.00 601.29 1137.07 0.00 06:44:17 06:44:17 06:37:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:44:17 06:38:01 156752 0 590880 31.40 2620 1131292 1091892 37.26 401852 1123532 20 06:44:17 06:39:01 160252 0 587372 31.22 2620 1131300 1067504 36.43 404004 1118624 20 06:44:17 06:40:01 160092 0 587528 31.23 2620 1131304 1067588 36.44 408980 1114232 20 06:44:17 06:41:01 160116 0 587504 31.22 2620 1131304 1067420 36.43 412292 1111140 16 06:44:17 06:42:01 159336 0 588276 31.27 2620 1131312 1067504 36.43 426636 1097236 8 06:44:17 06:43:02 159624 0 587984 31.25 2620 1131316 1067596 36.44 427040 1097232 20 06:44:17 06:44:01 73360 0 690312 36.69 2620 1115252 1503548 51.31 558328 1023352 88112 06:44:17 Average: 147076 0 602837 32.04 2620 1129011 1133293 38.68 434162 1097907 12602 06:44:17 06:44:17 06:37:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:44:17 06:38:01 eth0 15.42 12.77 10.21 15.44 0.00 0.00 0.00 0.00 06:44:17 06:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:38:01 docker0 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:39:01 eth0 3.65 1.58 3.04 0.11 0.00 0.00 0.00 0.00 06:44:17 06:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:40:01 eth0 1.35 0.63 0.58 0.36 0.00 0.00 0.00 0.00 06:44:17 06:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:41:01 eth0 0.12 0.10 0.01 0.04 0.00 0.00 0.00 0.00 06:44:17 06:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:42:01 eth0 0.25 0.17 0.14 0.07 0.00 0.00 0.00 0.00 06:44:17 06:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:43:02 eth0 0.48 0.35 0.27 0.17 0.00 0.00 0.00 0.00 06:44:17 06:43:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:43:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:44:01 eth0 205.57 173.30 2202.55 18.79 0.00 0.00 0.00 0.00 06:44:17 06:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 Average: eth0 32.06 26.70 312.96 4.97 0.00 0.00 0.00 0.00 06:44:17 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:44:17 06:44:17 06:44:17 ---> sar -P ALL: 06:44:17 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/28/21 _x86_64_ (4 CPU) 06:44:17 06:44:17 06:36:02 LINUX RESTART (4 CPU) 06:44:17 06:44:17 06:37:01 CPU %user %nice %system %iowait %steal %idle 06:44:17 06:38:01 all 0.72 0.00 0.30 0.04 0.00 98.93 06:44:17 06:38:01 0 0.50 0.00 0.38 0.02 0.02 99.08 06:44:17 06:38:01 1 1.03 0.00 0.23 0.02 0.00 98.72 06:44:17 06:38:01 2 0.60 0.00 0.30 0.07 0.00 99.03 06:44:17 06:38:01 3 0.73 0.00 0.30 0.07 0.00 98.90 06:44:17 06:39:01 all 0.16 0.00 0.05 0.00 0.00 99.79 06:44:17 06:39:01 0 0.07 0.00 0.07 0.00 0.00 99.87 06:44:17 06:39:01 1 0.48 0.00 0.05 0.00 0.00 99.47 06:44:17 06:39:01 2 0.05 0.00 0.05 0.00 0.00 99.90 06:44:17 06:39:01 3 0.05 0.00 0.03 0.00 0.00 99.92 06:44:17 06:40:01 all 0.15 0.00 0.16 0.00 0.03 99.66 06:44:17 06:40:01 0 0.05 0.00 0.22 0.00 0.00 99.73 06:44:17 06:40:01 1 0.42 0.00 0.13 0.00 0.02 99.43 06:44:17 06:40:01 2 0.10 0.00 0.17 0.00 0.03 99.70 06:44:17 06:40:01 3 0.05 0.00 0.12 0.00 0.05 99.78 06:44:17 06:41:01 all 0.14 0.00 0.04 0.00 0.00 99.82 06:44:17 06:41:01 0 0.03 0.00 0.02 0.00 0.02 99.93 06:44:17 06:41:01 1 0.42 0.00 0.03 0.00 0.00 99.55 06:44:17 06:41:01 2 0.05 0.00 0.05 0.00 0.00 99.90 06:44:17 06:41:01 3 0.05 0.00 0.05 0.00 0.00 99.90 06:44:17 06:42:01 all 0.16 0.00 0.06 0.00 0.01 99.77 06:44:17 06:42:01 0 0.05 0.00 0.03 0.00 0.00 99.92 06:44:17 06:42:01 1 0.47 0.00 0.05 0.00 0.02 99.47 06:44:17 06:42:01 2 0.05 0.00 0.05 0.00 0.02 99.88 06:44:17 06:42:01 3 0.07 0.00 0.12 0.00 0.00 99.82 06:44:17 06:43:02 all 0.17 0.00 0.03 0.00 0.00 99.79 06:44:17 06:43:02 0 0.03 0.00 0.03 0.00 0.00 99.93 06:44:17 06:43:02 1 0.60 0.00 0.02 0.00 0.00 99.38 06:44:17 06:43:02 2 0.02 0.00 0.03 0.00 0.00 99.95 06:44:17 06:43:02 3 0.05 0.00 0.05 0.00 0.00 99.90 06:44:17 06:44:01 all 4.45 0.00 2.52 1.97 0.03 91.04 06:44:17 06:44:01 0 3.82 0.00 2.54 0.78 0.03 92.82 06:44:17 06:44:01 1 4.02 0.00 2.32 0.26 0.02 93.39 06:44:17 06:44:01 2 4.65 0.00 2.54 1.86 0.03 90.92 06:44:17 06:44:01 3 5.30 0.00 2.68 4.98 0.03 87.00 06:44:17 Average: all 0.84 0.00 0.45 0.28 0.01 98.42 06:44:17 Average: 0 0.64 0.00 0.46 0.11 0.01 98.77 06:44:17 Average: 1 1.05 0.00 0.40 0.04 0.01 98.50 06:44:17 Average: 2 0.78 0.00 0.45 0.27 0.01 98.49 06:44:17 Average: 3 0.89 0.00 0.47 0.71 0.01 97.92 06:44:17 06:44:17 06:44:17