Pull request #728 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cd316ea49cf9d9825da6145ca8d2532e8c2e8a42+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (3134a170af97341800efe3ce64ccc12395fb7c21) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23535 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [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-728 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 Merge succeeded, producing 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed Checking out Revision 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed (PR-728) > 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/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 # 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 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed # timeout=10 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 12edb075caf98c30606ec6f896fc87f7cb3d60f9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:11:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:11:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:11:02 ========================================================= 00:11:02 EdgeX Global Pipelines Version Info 00:11:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:11:03 ------------------- 00:11:03 stable info: 00:11:03 ------------------- 00:11:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:11:03 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:11:03 Message: update stable to v1.0.179 00:11:04 ------------------- 00:11:04 experimental info: 00:11:04 ------------------- 00:11:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:11:04 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:11:04 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:11:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:11:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:11:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:11:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:11:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:11:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:11:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:11:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:11:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:11:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:11:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:11:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-728 [Pipeline] echo 00:11:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-728 [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-728 [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f85aae [Pipeline] echo 00:11:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:11:08 provisioning config files... 00:11:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config8977536035501827563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:08 ---> docker-login.sh 00:11:08 nexus3.edgexfoundry.org:10001 00:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:09 Configure a credential helper to remove this warning. See 00:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:09 00:11:09 Login Succeeded 00:11:09 nexus3.edgexfoundry.org:10002 00:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:09 Configure a credential helper to remove this warning. See 00:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:09 00:11:09 Login Succeeded 00:11:09 nexus3.edgexfoundry.org:10003 00:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:09 Configure a credential helper to remove this warning. See 00:11:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:09 00:11:09 Login Succeeded 00:11:09 nexus3.edgexfoundry.org:10004 00:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:10 Configure a credential helper to remove this warning. See 00:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:10 00:11:10 Login Succeeded 00:11:10 docker.io 00:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:10 Configure a credential helper to remove this warning. See 00:11:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:10 00:11:10 Login Succeeded 00:11:10 ---> docker-login.sh ends [Pipeline] } 00:11:10 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 00:11:11 + git log --format=format:%s -1 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed [Pipeline] echo 00:11:11 GIT_COMMIT: 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed, Commit Message: Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD [Pipeline] echo 00:11:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:11:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:11:12 00:11:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:11:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:11:12 latest: Pulling from edgex-devops/git-semver 00:11:12 31603596830f: Pulling fs layer 00:11:12 2a8b12db71e7: Pulling fs layer 00:11:12 6ca5941a6612: Pulling fs layer 00:11:12 ecc8261a40a4: Pulling fs layer 00:11:12 ecc8261a40a4: Waiting 00:11:12 2a8b12db71e7: Verifying Checksum 00:11:12 2a8b12db71e7: Download complete 00:11:12 31603596830f: Download complete 00:11:12 ecc8261a40a4: Verifying Checksum 00:11:12 ecc8261a40a4: Download complete 00:11:12 6ca5941a6612: Verifying Checksum 00:11:12 6ca5941a6612: Download complete 00:11:13 31603596830f: Pull complete 00:11:13 2a8b12db71e7: Pull complete 00:11:14 6ca5941a6612: Pull complete 00:11:14 ecc8261a40a4: Pull complete 00:11:14 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:11:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:11:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:11:14 prd-centos7-docker-4c-2g-23535 does not seem to be running inside a container 00:11:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:11:17 $ docker top bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:11:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:17 [ssh-agent] Looking for ssh-agent implementation... 00:11:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:17 $ docker exec bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 ssh-agent 00:11:17 SSH_AUTH_SOCK=/tmp/ssh-5eNgRpwV7ZYl/agent.12 00:11:17 SSH_AGENT_PID=17 00:11:17 Running ssh-add (command line suppressed) 00:11:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_812925483414640941.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_812925483414640941.key) 00:11:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:18 + git tag --points-at HEAD [Pipeline] } 00:11:18 $ docker exec --env ******** --env ******** bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 ssh-agent -k 00:11:18 unset SSH_AUTH_SOCK; 00:11:18 unset SSH_AGENT_PID; 00:11:18 echo Agent pid 17 killed; 00:11:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:11:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:11:18 [ssh-agent] Looking for ssh-agent implementation... 00:11:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:11:19 $ docker exec bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 ssh-agent 00:11:19 SSH_AUTH_SOCK=/tmp/ssh-ZnGinXa7kOGW/agent.46 00:11:19 SSH_AGENT_PID=51 00:11:19 Running ssh-add (command line suppressed) 00:11:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_286290009935467286.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_286290009935467286.key) 00:11:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:11:19 + git semver init 00:11:19 # -> Open(): unable to determine branch for HEAD 00:11:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.git 00:11:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-728 00:11:19 # $SEMVER_REMOTE_NAME = origin 00:11:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:11:19 # $SEMVER_USER_NAME = edgex-jenkins 00:11:19 # $SEMVER_BRANCH = PR-728 00:11:19 # $SEMVER_TEMP = /tmp/semver-794690751 00:11:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 00:11:20 # '/tmp/semver-794690751' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver' 00:11:20 # -> Force: false 00:11:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver [Pipeline] } 00:11:20 $ docker exec --env ******** --env ******** bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 ssh-agent -k 00:11:20 unset SSH_AUTH_SOCK; 00:11:20 unset SSH_AGENT_PID; 00:11:20 echo Agent pid 51 killed; 00:11:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:11:21 + git semver [Pipeline] } 00:11:21 $ docker stop --time=1 bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 00:11:22 $ docker rm -f bf67aaa40a479cf5854ca55331817fe971f72cc2776c8a229d72b7d8c13bb253 [Pipeline] // withDockerContainer [Pipeline] sh 00:11:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:11:23 Stashed 1 file(s) [Pipeline] echo 00:11:23 [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 00:11:39 Still waiting to schedule task 00:11:39 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-23531’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23526’ is offline; ‘prd-centos7-docker-4c-2g-23528’ is offline; ‘prd-centos7-docker-4c-2g-23537’ is offline; ‘prd-centos7-docker-4c-2g-23539’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23538’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23529’ doesn’t have label ‘centos7-docker-4c-2g’ 00:11:39 Still waiting to schedule task 00:11:39 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:12:37 Running on prd-centos7-docker-4c-2g-23540 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws 00:12:37 Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout 00:12:40 using credential edgex-jenkins-ssh 00:12:40 Cloning the remote Git repository 00:12:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:12:40 > git init /w/workspace/device-sdk-go/12 # timeout=10 00:12:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:12:40 > git --version # timeout=10 00:12:40 > git --version # 'git version 2.24.3' 00:12:40 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:12:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:12:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:12:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:12:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:12:42 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:12:42 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 00:12:42 Merge succeeded, producing af8faaf87db4c07c32879cf2e0c668d2d3dae46e 00:12:42 Checking out Revision af8faaf87db4c07c32879cf2e0c668d2d3dae46e (PR-728) 00:12:42 > git config core.sparsecheckout # timeout=10 00:12:42 > git checkout -f cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 # timeout=10 00:12:42 > git remote # timeout=10 00:12:42 > git config --get remote.origin.url # timeout=10 00:12:42 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:42 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 00:12:42 > git rev-parse HEAD^{commit} # timeout=10 00:12:42 > git config core.sparsecheckout # timeout=10 00:12:42 > git checkout -f af8faaf87db4c07c32879cf2e0c668d2d3dae46e # timeout=10 00:12:46 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" 00:12:46 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:12:46 > git rev-list --no-walk 12edb075caf98c30606ec6f896fc87f7cb3d60f9 # timeout=10 00:12:47 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:12:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:12:48 + sudo service docker restart 00:12:48 + true 00:12:48 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:12:50 provisioning config files... 00:12:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/12@tmp/config1571973954251398830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:50 ---> docker-login.sh 00:12:50 nexus3.edgexfoundry.org:10001 00:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:50 Configure a credential helper to remove this warning. See 00:12:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:50 00:12:50 Login Succeeded 00:12:50 nexus3.edgexfoundry.org:10002 00:12:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:51 Configure a credential helper to remove this warning. See 00:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:51 00:12:51 Login Succeeded 00:12:51 nexus3.edgexfoundry.org:10003 00:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:51 Configure a credential helper to remove this warning. See 00:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:51 00:12:51 Login Succeeded 00:12:51 nexus3.edgexfoundry.org:10004 00:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:51 Configure a credential helper to remove this warning. See 00:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:51 00:12:51 Login Succeeded 00:12:51 docker.io 00:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:51 Configure a credential helper to remove this warning. See 00:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:51 00:12:51 Login Succeeded 00:12:51 ---> docker-login.sh ends [Pipeline] } 00:12:51 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:12:52 ========================================================= 00:12:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:12:52 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:12:52 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 00:12:52 Sending build context to Docker daemon 2.57MB 00:12:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:12:52 Step 2/8 : FROM ${BASE} 00:12:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:12:52 188c0c94c7c5: Pulling fs layer 00:12:52 0ef7d3d256c8: Pulling fs layer 00:12:52 de9db76c5a1d: Pulling fs layer 00:12:52 bca2f99d35d6: Pulling fs layer 00:12:52 93359f2a8cfa: Pulling fs layer 00:12:52 7c6f9722023f: Pulling fs layer 00:12:52 a35cf1a2eb13: Pulling fs layer 00:12:52 93359f2a8cfa: Waiting 00:12:52 7c6f9722023f: Waiting 00:12:52 bca2f99d35d6: Waiting 00:12:52 a35cf1a2eb13: Waiting 00:12:52 de9db76c5a1d: Verifying Checksum 00:12:52 de9db76c5a1d: Download complete 00:12:53 0ef7d3d256c8: Verifying Checksum 00:12:53 0ef7d3d256c8: Download complete 00:12:53 93359f2a8cfa: Verifying Checksum 00:12:53 93359f2a8cfa: Download complete 00:12:53 7c6f9722023f: Verifying Checksum 00:12:53 7c6f9722023f: Download complete 00:12:53 188c0c94c7c5: Verifying Checksum 00:12:53 188c0c94c7c5: Download complete 00:12:53 188c0c94c7c5: Pull complete 00:12:54 0ef7d3d256c8: Pull complete 00:12:54 de9db76c5a1d: Pull complete 00:12:55 a35cf1a2eb13: Download complete 00:12:56 bca2f99d35d6: Verifying Checksum 00:12:56 bca2f99d35d6: Download complete 00:13:01 bca2f99d35d6: Pull complete 00:13:01 93359f2a8cfa: Pull complete 00:13:01 7c6f9722023f: Pull complete 00:13:05 a35cf1a2eb13: Pull complete 00:13:05 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:13:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:13:05 ---> a62c8e92a672 00:13:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:13:05 ---> Running in db3671265971 00:13:05 Removing intermediate container db3671265971 00:13:05 ---> a7ae8d456b62 00:13:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:13:05 ---> Running in 6d876a5b2ddf 00:13:07 Removing intermediate container 6d876a5b2ddf 00:13:07 ---> 6d3016f30044 00:13:07 Step 5/8 : RUN apk add --update --no-cache make git 00:13:07 ---> Running in 02aa5f65fb2d 00:13:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:13:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:13:09 OK: 166 MiB in 39 packages 00:13:09 Removing intermediate container 02aa5f65fb2d 00:13:09 ---> b136a93e3ad2 00:13:09 Step 6/8 : WORKDIR /device-sdk-go 00:13:09 ---> Running in 8ab410c4d4e4 00:13:09 Removing intermediate container 8ab410c4d4e4 00:13:09 ---> 527d79584f44 00:13:09 Step 7/8 : COPY . . 00:13:11 ---> 8baf4f30f481 00:13:11 Step 8/8 : RUN go mod download 00:13:11 ---> Running in 65feabae93c9 00:13:29 Removing intermediate container 65feabae93c9 00:13:29 ---> 3d4a41c0f58b 00:13:29 Successfully built 3d4a41c0f58b 00:13:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:13:29 + docker inspect -f . ci-base-image-x86_64 00:13:29 . [Pipeline] withDockerContainer 00:13:30 prd-centos7-docker-4c-2g-23540 does not seem to be running inside a container 00:13:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 ******** ci-base-image-x86_64 cat 00:13:30 $ docker top e5372487b5e0ec1415dd118cb709fedb399e7811522a80f5d2718e49bbf40b59 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:31 + go version 00:13:31 go version go1.15.5 linux/amd64 [Pipeline] } 00:13:31 $ docker stop --time=1 e5372487b5e0ec1415dd118cb709fedb399e7811522a80f5d2718e49bbf40b59 00:13:33 $ docker rm -f e5372487b5e0ec1415dd118cb709fedb399e7811522a80f5d2718e49bbf40b59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:13:34 + docker inspect -f . ci-base-image-x86_64 00:13:34 . [Pipeline] withDockerContainer 00:13:34 prd-centos7-docker-4c-2g-23540 does not seem to be running inside a container 00:13:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 ******** ci-base-image-x86_64 cat 00:13:35 $ docker top f5d8f722c8f59448229913506568f018adceee3b4981047d33b83aee7f044cd7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:35 + make test 00:13:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:13:44 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 00:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 00:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 00:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 00:13:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 19.4% of statements 00:14:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.446s coverage: 97.1% of statements 00:14:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23544 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws 00:14:28 Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout 00:14:33 using credential edgex-jenkins-ssh 00:14:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.056s coverage: 9.4% of statements 00:14:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.064s coverage: 21.7% of statements 00:14:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 00:14:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.223s coverage: 43.2% of statements 00:14:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 00:14:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.270s coverage: 68.9% of statements 00:14:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 00:14:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 00:14:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 00:14:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 00:14:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.072s coverage: 53.8% of statements 00:14:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 00:14:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 00:14:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.083s coverage: 26.8% of statements 00:14:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.432s coverage: 83.5% of statements 00:14:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 4.2% of statements 00:14:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 00:14:33 GO111MODULE=on go vet ./... 00:14:33 Cloning the remote Git repository 00:14:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:14:33 > git init /w/workspace/device-sdk-go/12 # timeout=10 00:14:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:14:33 > git --version # timeout=10 00:14:33 > git --version # 'git version 2.17.1' 00:14:33 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:14:35 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 00:14:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:14:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:14:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:14:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:14:35 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:14:35 > git config core.sparsecheckout # timeout=10 00:14:35 > git checkout -f cd316ea49cf9d9825da6145ca8d2532e8c2e8a42 # timeout=10 00:14:35 Merge succeeded, producing b2a97819a2da009d95df3c10528f93f8f52a9fa8 00:14:35 Checking out Revision b2a97819a2da009d95df3c10528f93f8f52a9fa8 (PR-728) 00:14:35 > git remote # timeout=10 00:14:35 > git config --get remote.origin.url # timeout=10 00:14:35 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:35 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 00:14:35 > git rev-parse HEAD^{commit} # timeout=10 00:14:35 > git config core.sparsecheckout # timeout=10 00:14:35 > git checkout -f b2a97819a2da009d95df3c10528f93f8f52a9fa8 # timeout=10 00:14:40 Commit message: "Merge commit 'd510da1b257a72a1ecadf2ee4e04e7d54b2df89d' into HEAD" 00:14:40 gofmt -l . 00:14:40 [ "`gofmt -l .`" = "" ] 00:14:40 First time build. Skipping changelog. 00:14:40 ./bin/test-attribution-txt.sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:14:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:14:41 $ docker stop --time=1 f5d8f722c8f59448229913506568f018adceee3b4981047d33b83aee7f044cd7 00:14:40 > git rev-list --no-walk 12edb075caf98c30606ec6f896fc87f7cb3d60f9 # timeout=10 00:14:41 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 00:14:43 $ docker rm -f f5d8f722c8f59448229913506568f018adceee3b4981047d33b83aee7f044cd7 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 00:14:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:14:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:14:44 Stashed 1 file(s) [Pipeline] } 00:14:44 + sudo service docker restart 00:14:44 + true [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:14:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:14:45 + ls -al . 00:14:45 total 216 00:14:45 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 00:14 . 00:14:45 drwxrwxr-x. 4 jenkins jenkins 30 Jan 28 00:12 .. 00:14:45 drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 00:12 bin 00:14:45 -rw-r--r--. 1 jenkins jenkins 136842 Jan 28 00:14 coverage.out 00:14:45 -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 00:12 Dockerfile.build 00:14:45 -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 00:12 .dockerignore 00:14:45 drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 00:12 example 00:14:45 drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 00:12 .git 00:14:45 drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 00:12 .github 00:14:45 -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 00:12 .gitignore 00:14:45 -rw-r--r--. 1 jenkins jenkins 514 Jan 28 00:14 go.mod 00:14:45 -rw-r--r--. 1 jenkins jenkins 14191 Jan 28 00:14 go.sum 00:14:45 drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 00:12 internal 00:14:45 -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 00:12 Jenkinsfile 00:14:45 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 00:12 LICENSE 00:14:45 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 00:12 Makefile 00:14:45 drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 00:12 openapi 00:14:45 drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 00:12 pkg 00:14:45 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 00:12 README.md 00:14:45 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 00:12 RELEASE-NOTES.txt 00:14:45 drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 00:12 snap 00:14:45 -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 00:11 VERSION 00:14:45 -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 00:12 version.go [Pipeline] isUnix [Pipeline] sh 00:14:46 + 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=6f85aae79f154fd1ef9fe61c0d26e972f4d920ed --label arch=amd64 --label version=0.0.0 . 00:14:46 Sending build context to Docker daemon 2.707MB 00:14:46 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 00:14:46 Step 2/24 : FROM ${BASE} AS builder 00:14:46 ---> 3d4a41c0f58b 00:14:46 Step 3/24 : ARG MAKE='make build' 00:14:46 ---> Running in 9d65cabbb157 00:14:46 Removing intermediate container 9d65cabbb157 00:14:46 ---> 9b83176d6a16 00:14:46 Step 4/24 : WORKDIR /device-sdk-go [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:14:47 provisioning config files... 00:14:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/12@tmp/config4231192584206570675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:47 ---> Running in 6cab4ec0b540 00:14:47 Removing intermediate container 6cab4ec0b540 00:14:47 ---> 8b3691a91e39 00:14:47 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:14:47 ---> Running in 3ba054037cff 00:14:47 Removing intermediate container 3ba054037cff 00:14:47 ---> 2a325bd91363 00:14:47 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:14:47 ---> Running in acce54f62e47 00:14:47 ---> docker-login.sh 00:14:47 nexus3.edgexfoundry.org:10001 00:14:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:48 Configure a credential helper to remove this warning. See 00:14:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:48 00:14:48 Login Succeeded 00:14:48 nexus3.edgexfoundry.org:10002 00:14:48 Removing intermediate container acce54f62e47 00:14:48 ---> 9e9dd24e1bb5 00:14:48 Step 7/24 : RUN apk add --update --no-cache make git 00:14:48 ---> Running in 9c68b86a2d65 00:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:49 Configure a credential helper to remove this warning. See 00:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:49 00:14:49 Login Succeeded 00:14:49 nexus3.edgexfoundry.org:10003 00:14:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:49 Configure a credential helper to remove this warning. See 00:14:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:49 00:14:49 Login Succeeded 00:14:49 nexus3.edgexfoundry.org:10004 00:14:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:50 Configure a credential helper to remove this warning. See 00:14:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:50 00:14:50 Login Succeeded 00:14:50 docker.io 00:14:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:14:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:50 OK: 166 MiB in 39 packages 00:14:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:50 Configure a credential helper to remove this warning. See 00:14:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:50 00:14:50 Login Succeeded 00:14:50 ---> docker-login.sh ends [Pipeline] } 00:14:50 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 00:14:50 Removing intermediate container 9c68b86a2d65 00:14:50 ---> 322cdf196841 00:14:50 Step 8/24 : COPY . . [Pipeline] echo 00:14:51 ========================================================= 00:14:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:14:51 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:14:51 + 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 . 00:14:51 ---> 1a06790c7586 00:14:51 Step 9/24 : RUN ${MAKE} 00:14:52 Sending build context to Docker daemon 2.567MB 00:14:52 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:14:52 Step 2/8 : FROM ${BASE} 00:14:52 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:14:52 5f621e34cdf4: Pulling fs layer 00:14:52 a4357932f1b6: Pulling fs layer 00:14:52 18c013af1878: Pulling fs layer 00:14:52 00ac8860ef70: Pulling fs layer 00:14:52 63d7cb157983: Pulling fs layer 00:14:52 b116817d02f9: Pulling fs layer 00:14:52 745a02a5169b: Pulling fs layer 00:14:52 63d7cb157983: Waiting 00:14:52 b116817d02f9: Waiting 00:14:52 745a02a5169b: Waiting 00:14:52 18c013af1878: Verifying Checksum 00:14:52 18c013af1878: Download complete 00:14:52 a4357932f1b6: Verifying Checksum 00:14:52 a4357932f1b6: Download complete 00:14:52 63d7cb157983: Verifying Checksum 00:14:52 63d7cb157983: Download complete 00:14:52 b116817d02f9: Verifying Checksum 00:14:52 b116817d02f9: Download complete 00:14:52 5f621e34cdf4: Verifying Checksum 00:14:52 5f621e34cdf4: Download complete 00:14:52 ---> Running in 4264896b7dc5 00:14:52 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 00:14:53 5f621e34cdf4: Pull complete 00:14:53 a4357932f1b6: Pull complete 00:14:54 18c013af1878: Pull complete 00:14:54 745a02a5169b: Verifying Checksum 00:14:54 745a02a5169b: Download complete 00:14:55 00ac8860ef70: Verifying Checksum 00:14:55 00ac8860ef70: Download complete 00:15:01 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 00:15:04 Removing intermediate container 4264896b7dc5 00:15:04 ---> e78015644e1e 00:15:04 Step 10/24 : FROM scratch 00:15:04 ---> 00:15:04 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:15:04 ---> Running in f58d16fbb08c 00:15:04 Removing intermediate container f58d16fbb08c 00:15:04 ---> 00fb52ea425c 00:15:04 Step 12/24 : ENV APP_PORT=49990 00:15:04 ---> Running in 080da7aa763b 00:15:04 Removing intermediate container 080da7aa763b 00:15:04 ---> 65ad3c5dbb66 00:15:04 Step 13/24 : EXPOSE $APP_PORT 00:15:04 ---> Running in 1dd9d03f6fd2 00:15:04 Removing intermediate container 1dd9d03f6fd2 00:15:04 ---> 467edc823dcc 00:15:04 Step 14/24 : WORKDIR / 00:15:04 ---> Running in 0c5378f9aa70 00:15:04 Removing intermediate container 0c5378f9aa70 00:15:04 ---> cd04a15bd7e3 00:15:04 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 00:15:05 ---> 83812bcb791f 00:15:05 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 00:15:05 ---> 0ded47909822 00:15:05 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 00:15:05 ---> 69a8a39e5124 00:15:05 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 00:15:05 ---> ab4af8c488ed 00:15:05 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 00:15:06 ---> 9ce58e7776df 00:15:06 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 00:15:06 ---> Running in 61db4261610d 00:15:06 Removing intermediate container 61db4261610d 00:15:06 ---> 2ee78e6009cc 00:15:06 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:15:06 ---> Running in 5bbc848973e4 00:15:06 Removing intermediate container 5bbc848973e4 00:15:06 ---> 9b81930e39b3 00:15:06 Step 22/24 : LABEL arch=amd64 00:15:06 ---> Running in 1606d6a3116d 00:15:06 Removing intermediate container 1606d6a3116d 00:15:06 ---> 235479c2b34c 00:15:06 Step 23/24 : LABEL git_sha=6f85aae79f154fd1ef9fe61c0d26e972f4d920ed 00:15:06 ---> Running in 89b09ddd57f1 00:15:07 Removing intermediate container 89b09ddd57f1 00:15:07 ---> 95c41f581674 00:15:07 Step 24/24 : LABEL version=0.0.0 00:15:07 ---> Running in fc9d6751a608 00:15:07 Removing intermediate container fc9d6751a608 00:15:07 ---> 9cee9fd4f4de 00:15:07 [Warning] One or more build-args [ARCH] were not consumed 00:15:07 Successfully built 9cee9fd4f4de 00:15:07 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 00:15:08 00ac8860ef70: Pull complete 00:15:08 63d7cb157983: Pull complete 00:15:08 b116817d02f9: Pull complete [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:15:10 745a02a5169b: Pull complete 00:15:10 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:15:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:15:10 ---> b7e6874047d6 00:15:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:15:13 ---> Running in 98bf83a5e10f 00:15:13 Removing intermediate container 98bf83a5e10f 00:15:13 ---> 32d0a89e4b79 00:15:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:15:13 ---> Running in 66ffdc0f6f7e 00:15:16 Removing intermediate container 66ffdc0f6f7e 00:15:16 ---> c24a064830f0 00:15:16 Step 5/8 : RUN apk add --update --no-cache make git 00:15:16 ---> Running in 353e9115b7ce 00:15:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:15:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:15:19 OK: 142 MiB in 39 packages 00:15:20 Removing intermediate container 353e9115b7ce 00:15:20 ---> d88edee695c8 00:15:20 Step 6/8 : WORKDIR /device-sdk-go 00:15:21 ---> Running in d20941d554da 00:15:21 Removing intermediate container d20941d554da 00:15:21 ---> a8bec8b13ce2 00:15:21 Step 7/8 : COPY . . 00:15:22 ---> 284608931d5e 00:15:22 Step 8/8 : RUN go mod download 00:15:23 ---> Running in ae6d3b79c4eb 00:15:45 Removing intermediate container ae6d3b79c4eb 00:15:45 ---> c0ae28028a9e 00:15:45 Successfully built c0ae28028a9e 00:15:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:15:45 + docker inspect -f . ci-base-image-arm64 00:15:45 . [Pipeline] withDockerContainer 00:15:45 prd-ubuntu18.04-docker-arm64-4c-16g-23544 does not seem to be running inside a container 00:15:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 ******** ci-base-image-arm64 cat 00:15:47 $ docker top f9491957ed2904d95ff0a62c4c88b4f58c2be6c9fef7054eacb529d2826d446a -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:48 + go version 00:15:48 go version go1.15.5 linux/arm64 [Pipeline] } 00:15:48 $ docker stop --time=1 f9491957ed2904d95ff0a62c4c88b4f58c2be6c9fef7054eacb529d2826d446a 00:15:50 $ docker rm -f f9491957ed2904d95ff0a62c4c88b4f58c2be6c9fef7054eacb529d2826d446a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:15:51 + docker inspect -f . ci-base-image-arm64 00:15:51 . [Pipeline] withDockerContainer 00:15:51 prd-ubuntu18.04-docker-arm64-4c-16g-23544 does not seem to be running inside a container 00:15:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 ******** ci-base-image-arm64 cat 00:15:53 $ docker top 31f7020d7667a55a8ec8e8f2e3b429616e697c757b530facac0d2c664f2c66f5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:54 + make test 00:15:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:16:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 00:16:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 00:16:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 00:16:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 00:16:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.180s coverage: 19.4% of statements 00:17:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.169s coverage: 97.1% of statements 00:17:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.137s coverage: 9.4% of statements 00:17:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.132s coverage: 21.7% of statements 00:17:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 00:17:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.603s coverage: 43.2% of statements 00:17:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 00:17:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.784s coverage: 68.9% of statements 00:17:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 00:17:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 00:17:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 00:17:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 00:17:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.192s coverage: 53.8% of statements 00:17:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 00:17:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 00:17:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.168s coverage: 26.8% of statements 00:17:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.807s coverage: 83.5% of statements 00:17:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.132s coverage: 4.2% of statements 00:17:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 00:17:29 GO111MODULE=on go vet ./... 00:18:03 gofmt -l . 00:18:03 [ "`gofmt -l .`" = "" ] 00:18:03 ./bin/test-attribution-txt.sh 00:18:03 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:18:04 $ docker stop --time=1 31f7020d7667a55a8ec8e8f2e3b429616e697c757b530facac0d2c664f2c66f5 00:18:06 $ docker rm -f 31f7020d7667a55a8ec8e8f2e3b429616e697c757b530facac0d2c664f2c66f5 [Pipeline] // withDockerContainer [Pipeline] sh 00:18:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:18:07 Warning: overwriting stash ‘coverage-report’ 00:18:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:18:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:18:09 + ls -al . 00:18:09 total 252 00:18:09 drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 00:18 . 00:18:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:14 .. 00:18:09 -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 00:14 .dockerignore 00:18:09 drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 00:14 .git 00:18:09 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:14 .github 00:18:09 -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 00:14 .gitignore 00:18:09 -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 00:14 Dockerfile.build 00:18:09 -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 00:14 Jenkinsfile 00:18:09 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 00:14 LICENSE 00:18:09 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 00:14 Makefile 00:18:09 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 00:14 README.md 00:18:09 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 00:14 RELEASE-NOTES.txt 00:18:09 -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 00:11 VERSION 00:18:09 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:14 bin 00:18:09 -rw-r--r-- 1 jenkins jenkins 136842 Jan 28 00:17 coverage.out 00:18:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:14 example 00:18:09 -rw-r--r-- 1 jenkins jenkins 514 Jan 28 00:18 go.mod 00:18:09 -rw-r--r-- 1 jenkins jenkins 14191 Jan 28 00:18 go.sum 00:18:09 drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 00:14 internal 00:18:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:14 openapi 00:18:09 drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 00:14 pkg 00:18:09 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:14 snap 00:18:09 -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 00:14 version.go [Pipeline] isUnix [Pipeline] sh 00:18:10 + 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=6f85aae79f154fd1ef9fe61c0d26e972f4d920ed --label arch=arm64 --label version=0.0.0 . 00:18:10 Sending build context to Docker daemon 2.705MB 00:18:10 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 00:18:10 Step 2/24 : FROM ${BASE} AS builder 00:18:10 ---> c0ae28028a9e 00:18:10 Step 3/24 : ARG MAKE='make build' 00:18:11 ---> Running in 2393c290796b 00:18:11 Removing intermediate container 2393c290796b 00:18:11 ---> 90a2dbb4cb96 00:18:11 Step 4/24 : WORKDIR /device-sdk-go 00:18:11 ---> Running in 92c478dc40f1 00:18:12 Removing intermediate container 92c478dc40f1 00:18:12 ---> 6941c3581037 00:18:12 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:18:12 ---> Running in cd28892f2904 00:18:12 Removing intermediate container cd28892f2904 00:18:12 ---> 8baecbbf9336 00:18:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:18:12 ---> Running in fe698e95a8a5 00:18:15 Removing intermediate container fe698e95a8a5 00:18:15 ---> 6ff0dd201ac1 00:18:15 Step 7/24 : RUN apk add --update --no-cache make git 00:18:15 ---> Running in 86bb7bd2f35a 00:18:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:18:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:18:17 OK: 142 MiB in 39 packages 00:18:19 Removing intermediate container 86bb7bd2f35a 00:18:19 ---> 696489078338 00:18:19 Step 8/24 : COPY . . 00:18:20 ---> 60ff50c06dc6 00:18:20 Step 9/24 : RUN ${MAKE} 00:18:20 ---> Running in ef87114a999d 00:18:21 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 00:18:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 00:18:48 Removing intermediate container ef87114a999d 00:18:48 ---> 3f238b3f5525 00:18:48 Step 10/24 : FROM scratch 00:18:48 ---> 00:18:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:18:49 ---> Running in 5b990bf16855 00:18:49 Removing intermediate container 5b990bf16855 00:18:49 ---> 2275195b4363 00:18:49 Step 12/24 : ENV APP_PORT=49990 00:18:49 ---> Running in 770bf9a531ed 00:18:50 Removing intermediate container 770bf9a531ed 00:18:50 ---> cdc41cd2e3dc 00:18:50 Step 13/24 : EXPOSE $APP_PORT 00:18:50 ---> Running in a5f0918db6cd 00:18:50 Removing intermediate container a5f0918db6cd 00:18:50 ---> a6d1f2fa1436 00:18:50 Step 14/24 : WORKDIR / 00:18:50 ---> Running in f93b4d8b0e07 00:18:51 Removing intermediate container f93b4d8b0e07 00:18:51 ---> dda5f0a61d6c 00:18:51 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 00:18:52 ---> a04c04039fbc 00:18:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 00:18:53 ---> 166720903128 00:18:53 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 00:18:54 ---> d1209d84484b 00:18:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 00:18:54 ---> c0a6db0fefc8 00:18:54 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 00:18:55 ---> 6137df708665 00:18:55 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 00:18:55 ---> Running in c38801ea5c79 00:18:55 Removing intermediate container c38801ea5c79 00:18:55 ---> 63fc9e98d4b3 00:18:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:18:56 ---> Running in 4272528a3e91 00:18:56 Removing intermediate container 4272528a3e91 00:18:56 ---> 04f8522afea5 00:18:56 Step 22/24 : LABEL arch=arm64 00:18:56 ---> Running in a37dd3cd87bd 00:18:57 Removing intermediate container a37dd3cd87bd 00:18:57 ---> c6f46b085864 00:18:57 Step 23/24 : LABEL git_sha=6f85aae79f154fd1ef9fe61c0d26e972f4d920ed 00:18:57 ---> Running in 72b7069ef38d 00:18:57 Removing intermediate container 72b7069ef38d 00:18:57 ---> 92c1adba9b1a 00:18:57 Step 24/24 : LABEL version=0.0.0 00:18:57 ---> Running in 0aa9efb51270 00:18:58 Removing intermediate container 0aa9efb51270 00:18:58 ---> 86d13f574091 00:18:58 [Warning] One or more build-args [ARCH] were not consumed 00:18:58 Successfully built 86d13f574091 00:18:58 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 00:18:59 provisioning config files... 00:18:59 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config4251768011393821954tmp [Pipeline] { [Pipeline] sh 00:19:00 + set +x 00:19:00 + curl -s https://codecov.io/bash 00:19:00 + bash -s -- 00:19:00 00:19:00 _____ _ 00:19:00 / ____| | | 00:19:00 | | ___ __| | ___ ___ _____ __ 00:19:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:19:00 | |___| (_) | (_| | __/ (_| (_) \ V / 00:19:00 \_____\___/ \__,_|\___|\___\___/ \_/ 00:19:00 Bash-20210115-cec3c92 00:19:00 00:19:00 00:19:00 ==> git version 2.24.3 found 00:19:00 ==> 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 00:19:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:19:00 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:19:00 ==> Jenkins CI detected. 00:19:00 project root: . 00:19:00 --> token set from env 00:19:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:19:00 ==> Running gcov in . (disable via -X gcov) 00:19:00 ==> Python coveragepy not found 00:19:00 ==> Searching for coverage reports in: 00:19:00 + . 00:19:00 -> Found 1 reports 00:19:00 ==> Detecting git/mercurial file structure 00:19:00 ==> Reading reports 00:19:00 + ./coverage.out bytes=136842 00:19:00 ==> Appending adjustments 00:19:00 https://docs.codecov.io/docs/fixing-reports 00:19:01 + Found adjustments 00:19:01 ==> Gzipping contents 00:19:01 24K /tmp/codecov.4hjFAN.gz 00:19:01 ==> Uploading reports 00:19:01 url: https://codecov.io 00:19:01 query: branch=PR-728&commit=6f85aae79f154fd1ef9fe61c0d26e972f4d920ed&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= 00:19:01 -> Pinging Codecov 00:19:01 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-728&commit=6f85aae79f154fd1ef9fe61c0d26e972f4d920ed&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= 00:19:01 -> Uploading to 00:19:01 https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/6f85aae79f154fd1ef9fe61c0d26e972f4d920ed/4ddb6642-7b7a-4d42-9e20-c3f1d7185851.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T001901Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d4657fe6b043383a1493271eb25a8efb3ef2db23b1fac18d0107b755775a5d8f 00:19:01 % Total % Received % Xferd Average Speed Time Time Time Current 00:19:01 Dload Upload Total Spent Left Speed 00:19:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21510 0 0 100 21510 0 52323 --:--:-- --:--:-- --:--:-- 52463 00:19:02 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6f85aae79f154fd1ef9fe61c0d26e972f4d920ed [Pipeline] } 00:19:02 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 00:19:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:19:05 ---> package-listing.sh 00:19:05 ++ facter osfamily 00:19:05 ++ tr '[:upper:]' '[:lower:]' 00:19:05 + OS_FAMILY=redhat 00:19:05 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-728 00:19:05 + START_PACKAGES=/tmp/packages_start.txt 00:19:05 + END_PACKAGES=/tmp/packages_end.txt 00:19:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:19:05 + PACKAGES=/tmp/packages_start.txt 00:19:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' 00:19:05 + PACKAGES=/tmp/packages_end.txt 00:19:05 + case "${OS_FAMILY}" in 00:19:05 + rpm -qa 00:19:05 + sort 00:19:10 + '[' -f /tmp/packages_start.txt ']' 00:19:10 + '[' -f /tmp/packages_end.txt ']' 00:19:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:19:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' 00:19:10 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ 00:19:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [Pipeline] echo 00:19:10 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-728/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:19:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:19:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:19:11 00:19:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:19:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:19:11 alpine: Pulling from edgex-lftools-log-publisher 00:19:11 df20fa9351a1: Pulling fs layer 00:19:11 36b3adc4ff6f: Pulling fs layer 00:19:11 8ad3a11d3b57: Pulling fs layer 00:19:11 46f8f816bc3b: Pulling fs layer 00:19:11 93b61091891f: Pulling fs layer 00:19:11 93b9cdb0e59b: Pulling fs layer 00:19:11 5e14af77c1be: Pulling fs layer 00:19:11 01666e4c0597: Pulling fs layer 00:19:11 aa168da1d23b: Pulling fs layer 00:19:11 93b9cdb0e59b: Waiting 00:19:11 5e14af77c1be: Waiting 00:19:11 01666e4c0597: Waiting 00:19:11 aa168da1d23b: Waiting 00:19:11 46f8f816bc3b: Waiting 00:19:11 93b61091891f: Waiting 00:19:11 36b3adc4ff6f: Verifying Checksum 00:19:11 36b3adc4ff6f: Download complete 00:19:11 46f8f816bc3b: Download complete 00:19:11 df20fa9351a1: Download complete 00:19:11 93b9cdb0e59b: Verifying Checksum 00:19:11 93b9cdb0e59b: Download complete 00:19:11 93b61091891f: Verifying Checksum 00:19:11 93b61091891f: Download complete 00:19:11 5e14af77c1be: Download complete 00:19:11 01666e4c0597: Verifying Checksum 00:19:11 01666e4c0597: Download complete 00:19:11 8ad3a11d3b57: Verifying Checksum 00:19:11 8ad3a11d3b57: Download complete 00:19:12 df20fa9351a1: Pull complete 00:19:12 36b3adc4ff6f: Pull complete 00:19:13 8ad3a11d3b57: Pull complete 00:19:13 46f8f816bc3b: Pull complete 00:19:13 93b61091891f: Pull complete 00:19:14 93b9cdb0e59b: Pull complete 00:19:14 5e14af77c1be: Pull complete 00:19:14 01666e4c0597: Pull complete 00:19:15 aa168da1d23b: Verifying Checksum 00:19:15 aa168da1d23b: Download complete 00:19:24 aa168da1d23b: Pull complete 00:19:24 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:19:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:19:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:19:24 prd-centos7-docker-4c-2g-23535 does not seem to be running inside a container 00:19:24 $ 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-728/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-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@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:10003/edgex-lftools-log-publisher:alpine cat 00:19:28 $ docker top 7a64131638beb7097b6f4d33fd27d671a2c676e2e241741cc6e37326e88e40b6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:19:28 + touch /tmp/pre-build-complete [Pipeline] sh 00:19:28 + mkdir -p /var/log/sa [Pipeline] sh 00:19:29 + ls /var/log/sa-host 00:19:29 + sadf -c /var/log/sa-host/sa23 00:19:29 file_magic: OK 00:19:29 HZ: Using current value: 100 00:19:29 file_header: OK 00:19:29 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 00:19:29 Statistics: 00:19:29 Hnuu...uuuununununu... 00:19:29 File successfully converted to sysstat format version 12.2.1 00:19:29 + sadf -c /var/log/sa-host/sa28 00:19:29 file_magic: OK 00:19:29 HZ: Using current value: 100 00:19:29 file_header: OK 00:19:29 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 00:19:29 Statistics: 00:19:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:19:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:19:29 provisioning config files... 00:19:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config2318844679498848839tmp [Pipeline] { [Pipeline] echo 00:19:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:19:29 ---> create-netrc.sh [Pipeline] } 00:19:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:19:29 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:19:30 ---> python-tools-install.sh [Pipeline] echo 00:19:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:19:30 ---> sudo-logs.sh 00:19:30 Archiving 'sudo' log.. [Pipeline] echo 00:19:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:19:30 ---> job-cost.sh 00:19:30 lf-activate-venv: SKIPPING 00:19:30 INFO: No Stack... 00:19:31 INFO: Retrieving Pricing Info for: v1-standard-2 00:19:32 INFO: Archiving Costs [Pipeline] echo 00:19:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:19:32 ---> logs-deploy.sh 00:19:32 lf-activate-venv: SKIPPING 00:19:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-728/12 00:19:32 INFO: archiving workspace using pattern(s): 00:19:34 Archives upload complete. 00:19:34 INFO: archiving logs to Nexus 00:19:35 ---> uname -a: 00:19:35 Linux prd-centos7-docker-4c-2g-23535.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 00:19:35 00:19:35 00:19:35 ---> lscpu: 00:19:35 Architecture: x86_64 00:19:35 CPU op-mode(s): 32-bit, 64-bit 00:19:35 Byte Order: Little Endian 00:19:35 Address sizes: 40 bits physical, 48 bits virtual 00:19:35 CPU(s): 4 00:19:35 On-line CPU(s) list: 0-3 00:19:35 Thread(s) per core: 1 00:19:35 Core(s) per socket: 1 00:19:35 Socket(s): 4 00:19:35 NUMA node(s): 1 00:19:35 Vendor ID: GenuineIntel 00:19:35 CPU family: 6 00:19:35 Model: 44 00:19:35 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:19:35 Stepping: 1 00:19:35 CPU MHz: 2933.442 00:19:35 BogoMIPS: 5866.88 00:19:35 Virtualization: VT-x 00:19:35 Hypervisor vendor: KVM 00:19:35 Virtualization type: full 00:19:35 L1d cache: 128 KiB 00:19:35 L1i cache: 128 KiB 00:19:35 L2 cache: 16 MiB 00:19:35 L3 cache: 64 MiB 00:19:35 NUMA node0 CPU(s): 0-3 00:19:35 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:19:35 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:19:35 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:19:35 Vulnerability Meltdown: Mitigation; PTI 00:19:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:19:35 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:19:35 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:19:35 Vulnerability Srbds: Not affected 00:19:35 Vulnerability Tsx async abort: Not affected 00:19: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 00:19:35 00:19:35 00:19:35 ---> nproc: 00:19:35 4 00:19:35 00:19:35 00:19:35 ---> df -h: 00:19:35 Filesystem Size Used Available Use% Mounted on 00:19:35 overlay 50.0G 7.3G 42.7G 15% / 00:19:35 tmpfs 64.0M 0 64.0M 0% /dev 00:19:35 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 00:19:35 shm 64.0M 0 64.0M 0% /dev/shm 00:19:35 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 00:19:35 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 00:19:35 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 00:19:35 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 00:19:35 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 00:19:35 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-728 00:19:35 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp 00:19:35 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 00:19:35 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 00:19:35 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 00:19:35 00:19:35 00:19:35 ---> free -m: 00:19:35 total used free shared buff/cache available 00:19:35 Mem: 1837 703 109 0 1024 1029 00:19:35 Swap: 1023 0 1023 00:19:35 00:19:35 00:19:35 ---> ip addr: 00:19:35 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:19:35 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:19:35 inet 127.0.0.1/8 scope host lo 00:19:35 valid_lft forever preferred_lft forever 00:19:35 inet6 ::1/128 scope host 00:19:35 valid_lft forever preferred_lft forever 00:19:35 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:19:35 link/ether fa:16:3e:5c:ce:13 brd ff:ff:ff:ff:ff:ff 00:19:35 inet 10.30.122.86/23 brd 10.30.123.255 scope global dynamic eth0 00:19:35 valid_lft 85853sec preferred_lft 85853sec 00:19:35 inet6 fe80::f816:3eff:fe5c:ce13/64 scope link 00:19:35 valid_lft forever preferred_lft forever 00:19:35 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:19:35 link/ether 02:42:4e:b9:43:bd brd ff:ff:ff:ff:ff:ff 00:19:35 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:19:35 valid_lft forever preferred_lft forever 00:19:35 inet6 fe80::42:4eff:feb9:43bd/64 scope link 00:19:35 valid_lft forever preferred_lft forever 00:19:35 00:19:35 00:19:35 ---> sar -b -r -n DEV: 00:19:35 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) 00:19:35 00:19:35 00:10:17 LINUX RESTART (4 CPU) 00:19:35 00:19:35 00:11:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:19:35 00:12:01 33.03 12.24 20.79 0.00 4462.66 2970.32 0.00 00:19:35 00:13:01 1.07 0.00 1.07 0.00 0.00 24.23 0.00 00:19:35 00:14:01 0.32 0.00 0.32 0.00 0.00 3.41 0.00 00:19:35 00:15:01 0.30 0.00 0.30 0.00 0.00 4.00 0.00 00:19:35 00:16:01 0.20 0.00 0.20 0.00 0.00 2.79 0.00 00:19:35 00:17:01 0.27 0.00 0.27 0.00 0.00 3.13 0.00 00:19:35 00:18:01 0.28 0.00 0.28 0.00 0.00 3.20 0.00 00:19:35 00:19:01 0.32 0.10 0.22 0.00 11.06 2.31 0.00 00:19:35 Average: 4.48 1.55 2.94 0.00 560.56 377.57 0.00 00:19:35 00:19:35 00:11:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:19:35 00:12:01 157336 0 603252 32.06 2620 1118336 1127692 38.49 411148 1113352 20 00:19:35 00:13:01 162324 0 598260 31.80 2620 1118340 1098336 37.48 410132 1110828 8 00:19:35 00:14:01 162440 0 598136 31.79 2620 1118348 1096256 37.41 417712 1102944 8 00:19:35 00:15:01 161204 0 599372 31.86 2620 1118348 1096460 37.42 419940 1102444 8 00:19:35 00:16:01 161732 0 598836 31.83 2620 1118356 1096476 37.42 427160 1094844 8 00:19:35 00:17:01 162136 0 598428 31.81 2620 1118360 1095424 37.39 427012 1094768 8 00:19:35 00:18:01 162712 0 597848 31.77 2620 1118364 1086172 37.07 426800 1094200 8 00:19:35 00:19:01 156904 0 602916 32.04 2620 1119104 1099280 37.52 431504 1094448 376 00:19:35 Average: 160848 0 599631 31.87 2620 1118444 1099512 37.52 421426 1100978 56 00:19:35 00:19:35 00:11:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:19:35 00:12:01 eth0 186.62 141.34 479.00 49.04 0.00 0.00 0.00 0.00 00:19:35 00:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:12:01 docker0 11.65 9.07 1.49 23.56 0.00 0.00 0.00 0.00 00:19:35 00:13:01 eth0 3.35 0.75 0.98 0.58 0.00 0.00 0.00 0.00 00:19:35 00:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:14:01 eth0 3.45 0.50 0.81 0.36 0.00 0.00 0.00 0.00 00:19:35 00:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:15:01 eth0 2.96 0.82 0.93 0.62 0.00 0.00 0.00 0.00 00:19:35 00:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:16:01 eth0 1.29 0.42 0.47 0.24 0.00 0.00 0.00 0.00 00:19:35 00:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:17:01 eth0 0.60 0.33 0.28 0.23 0.00 0.00 0.00 0.00 00:19:35 00:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:18:01 eth0 0.63 0.08 0.06 0.01 0.00 0.00 0.00 0.00 00:19:35 00:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:19:01 eth0 4.18 2.46 3.73 1.16 0.00 0.00 0.00 0.00 00:19:35 00:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 00:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 Average: eth0 25.44 18.38 60.93 6.54 0.00 0.00 0.00 0.00 00:19:35 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:19:35 Average: docker0 1.46 1.14 0.19 2.95 0.00 0.00 0.00 0.00 00:19:35 00:19:35 00:19:35 ---> sar -P ALL: 00:19:35 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) 00:19:35 00:19:35 00:10:17 LINUX RESTART (4 CPU) 00:19:35 00:19:35 00:11:01 CPU %user %nice %system %iowait %steal %idle 00:19:35 00:12:01 all 3.61 0.00 2.39 0.66 0.03 93.30 00:19:35 00:12:01 0 4.16 0.00 2.59 1.62 0.03 91.60 00:19:35 00:12:01 1 3.57 0.00 1.90 0.23 0.03 94.26 00:19:35 00:12:01 2 3.82 0.00 2.54 0.52 0.02 93.10 00:19:35 00:12:01 3 2.90 0.00 2.52 0.29 0.05 94.24 00:19:35 00:13:01 all 0.18 0.00 0.05 0.00 0.00 99.77 00:19:35 00:13:01 0 0.50 0.00 0.07 0.00 0.00 99.43 00:19:35 00:13:01 1 0.05 0.00 0.05 0.00 0.00 99.90 00:19:35 00:13:01 2 0.07 0.00 0.05 0.00 0.00 99.88 00:19:35 00:13:01 3 0.12 0.00 0.03 0.00 0.00 99.85 00:19:35 00:14:01 all 0.18 0.00 0.08 0.00 0.01 99.74 00:19:35 00:14:01 0 0.53 0.00 0.03 0.00 0.00 99.43 00:19:35 00:14:01 1 0.05 0.00 0.05 0.00 0.02 99.88 00:19:35 00:14:01 2 0.07 0.00 0.13 0.00 0.00 99.80 00:19:35 00:14:01 3 0.05 0.00 0.08 0.00 0.02 99.85 00:19:35 00:15:01 all 0.16 0.00 0.05 0.00 0.00 99.79 00:19:35 00:15:01 0 0.07 0.00 0.02 0.00 0.00 99.92 00:19:35 00:15:01 1 0.05 0.00 0.03 0.00 0.02 99.90 00:19:35 00:15:01 2 0.43 0.00 0.10 0.00 0.00 99.47 00:19:35 00:15:01 3 0.08 0.00 0.03 0.00 0.00 99.88 00:19:35 00:16:01 all 0.12 0.00 0.08 0.00 0.01 99.80 00:19:35 00:16:01 0 0.05 0.00 0.02 0.00 0.02 99.92 00:19:35 00:16:01 1 0.07 0.00 0.07 0.00 0.00 99.86 00:19:35 00:16:01 2 0.03 0.00 0.17 0.00 0.02 99.78 00:19:35 00:16:01 3 0.32 0.00 0.05 0.00 0.00 99.63 00:19:35 00:17:01 all 0.15 0.00 0.03 0.00 0.00 99.82 00:19:35 00:17:01 0 0.02 0.00 0.02 0.00 0.00 99.97 00:19:35 00:17:01 1 0.07 0.00 0.07 0.00 0.00 99.87 00:19:35 00:17:01 2 0.02 0.00 0.02 0.00 0.00 99.97 00:19:35 00:17:01 3 0.52 0.00 0.02 0.00 0.00 99.47 00:19:35 00:18:01 all 0.12 0.00 0.04 0.00 0.00 99.85 00:19:35 00:18:01 0 0.02 0.00 0.02 0.00 0.00 99.97 00:19:35 00:18:01 1 0.05 0.00 0.05 0.00 0.00 99.90 00:19:35 00:18:01 2 0.05 0.00 0.05 0.00 0.00 99.90 00:19:35 00:18:01 3 0.35 0.00 0.03 0.00 0.00 99.62 00:19:35 00:19:01 all 0.37 0.00 0.23 0.00 0.00 99.40 00:19:35 00:19:01 0 0.23 0.00 0.18 0.00 0.00 99.58 00:19:35 00:19:01 1 0.45 0.00 0.28 0.00 0.02 99.25 00:19:35 00:19:01 2 0.23 0.00 0.20 0.00 0.00 99.57 00:19:35 00:19:01 3 0.55 0.00 0.23 0.02 0.00 99.20 00:19:35 Average: all 0.61 0.00 0.36 0.08 0.01 98.94 00:19:35 Average: 0 0.69 0.00 0.37 0.20 0.01 98.73 00:19:35 Average: 1 0.54 0.00 0.31 0.03 0.01 99.11 00:19:35 Average: 2 0.59 0.00 0.41 0.06 0.00 98.94 00:19:35 Average: 3 0.61 0.00 0.37 0.04 0.01 98.97 00:19:35 00:19:35 00:19:35