Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9+93569aefbcf2dcd4d18a31fcf2c190494ae30d88 (0e2e23c7f68227f324ef6d62472865e352b13802) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-17160 in /w/workspace/dgexfoundry_device-sdk-go_PR-696 [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-696 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/696/head:refs/remotes/origin/PR-696 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 Merge succeeded, producing d15e0049513cde2bd987de6e1cdcb787a4afd018 Checking out Revision d15e0049513cde2bd987de6e1cdcb787a4afd018 (PR-696) > git config core.sparsecheckout # timeout=10 > git checkout -f 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # 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 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d15e0049513cde2bd987de6e1cdcb787a4afd018 # timeout=10 Commit message: "Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 2d947eead06e92078eaba158de24189ef51e4a03 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:41:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:41:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:41:41 ========================================================= 02:41:41 EdgeX Global Pipelines Version Info 02:41:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:41:43 ------------------- 02:41:43 stable info: 02:41:43 ------------------- 02:41:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:43 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:41:43 Message: update stable to v1.0.173 02:41:44 ------------------- 02:41:44 experimental info: 02:41:44 ------------------- 02:41:44 Commited By: **** collab-it+edgex@linuxfoundation.org 02:41:44 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:41:44 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:41:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:41:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:41:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:41:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:41:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:41:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:41:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:41:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:41:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:41:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:41:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:41:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:41:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:41:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:41:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:41:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:41:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:41:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:41:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:41:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:41:47 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:41:47 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:41:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-696 [Pipeline] echo 02:41:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-696 [Pipeline] echo 02:41:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-696 [Pipeline] echo 02:41:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d15e0049513cde2bd987de6e1cdcb787a4afd018 [Pipeline] echo 02:41:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d15e004 [Pipeline] echo 02:41:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:41:48 provisioning config files... 02:41:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/config4568897894724985260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:48 ---> docker-login.sh 02:41:48 nexus3.edgexfoundry.org:10001 02:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:49 Configure a credential helper to remove this warning. See 02:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:49 02:41:49 Login Succeeded 02:41:49 nexus3.edgexfoundry.org:10002 02:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:49 Configure a credential helper to remove this warning. See 02:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:49 02:41:49 Login Succeeded 02:41:49 nexus3.edgexfoundry.org:10003 02:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:49 Configure a credential helper to remove this warning. See 02:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:49 02:41:49 Login Succeeded 02:41:49 nexus3.edgexfoundry.org:10004 02:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:49 Configure a credential helper to remove this warning. See 02:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:49 02:41:49 Login Succeeded 02:41:49 docker.io 02:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:49 Configure a credential helper to remove this warning. See 02:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:49 02:41:49 Login Succeeded 02:41:49 ---> docker-login.sh ends [Pipeline] } 02:41:49 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 02:41:50 + git log --format=format:%s -1 d15e0049513cde2bd987de6e1cdcb787a4afd018 [Pipeline] echo 02:41:50 GIT_COMMIT: d15e0049513cde2bd987de6e1cdcb787a4afd018, Commit Message: Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD [Pipeline] echo 02:41:50 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:41:51 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:51 02:41:51 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:41:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:52 latest: Pulling from edgex-devops/git-semver 02:41:52 31603596830f: Pulling fs layer 02:41:52 2a8b12db71e7: Pulling fs layer 02:41:52 6ca5941a6612: Pulling fs layer 02:41:52 ecc8261a40a4: Pulling fs layer 02:41:52 ecc8261a40a4: Waiting 02:41:52 2a8b12db71e7: Verifying Checksum 02:41:52 2a8b12db71e7: Download complete 02:41:52 31603596830f: Download complete 02:41:52 6ca5941a6612: Verifying Checksum 02:41:52 6ca5941a6612: Download complete 02:41:52 ecc8261a40a4: Verifying Checksum 02:41:52 ecc8261a40a4: Download complete 02:41:52 31603596830f: Pull complete 02:41:52 2a8b12db71e7: Pull complete 02:41:53 6ca5941a6612: Pull complete 02:41:53 ecc8261a40a4: Pull complete 02:41:53 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:41:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:53 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:41:54 prd-centos7-docker-4c-2g-17160 does not seem to be running inside a container 02:41:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-696 -v /w/workspace/dgexfoundry_device-sdk-go_PR-696:/w/workspace/dgexfoundry_device-sdk-go_PR-696:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:41:56 $ docker top c2ce58c3b60cf7cdcd2eb1632c83eada7b9e515eeb39cbe98bd1609b7a1eb0b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:41:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:56 [ssh-agent] Looking for ssh-agent implementation... 02:41:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:56 $ docker exec c2ce58c3b60cf7cdcd2eb1632c83eada7b9e515eeb39cbe98bd1609b7a1eb0b2 ssh-agent 02:41:56 SSH_AUTH_SOCK=/tmp/ssh-5z8KAFp1Xwyv/agent.13 02:41:56 SSH_AGENT_PID=18 02:41:56 Running ssh-add (command line suppressed) 02:41:56 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/private_key_4732538911493161674.key (/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/private_key_4732538911493161674.key) 02:41:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:57 + git tag --points-at HEAD [Pipeline] } 02:41:57 $ docker exec --env ******** --env ******** c2ce58c3b60cf7cdcd2eb1632c83eada7b9e515eeb39cbe98bd1609b7a1eb0b2 ssh-agent -k 02:41:57 unset SSH_AUTH_SOCK; 02:41:57 unset SSH_AGENT_PID; 02:41:57 echo Agent pid 18 killed; 02:41:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:41:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:57 [ssh-agent] Looking for ssh-agent implementation... 02:41:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:57 $ docker exec c2ce58c3b60cf7cdcd2eb1632c83eada7b9e515eeb39cbe98bd1609b7a1eb0b2 ssh-agent 02:41:58 SSH_AUTH_SOCK=/tmp/ssh-u7pEkie93Ctd/agent.47 02:41:58 SSH_AGENT_PID=52 02:41:58 Running ssh-add (command line suppressed) 02:41:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/private_key_8131453247185095676.key (/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/private_key_8131453247185095676.key) 02:41:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:58 + git semver init 02:41:58 # -> Open(): unable to determine branch for HEAD 02:41:58 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-696/.git 02:41:58 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-696 02:41:58 # $SEMVER_REMOTE_NAME = origin 02:41:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:41:58 # $SEMVER_USER_NAME = edgex-jenkins 02:41:58 # $SEMVER_BRANCH = PR-696 02:41:58 # $SEMVER_TEMP = /tmp/semver-269610881 02:41:58 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:41:59 # '/tmp/semver-269610881' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-696/.semver' 02:41:59 # -> Force: false 02:41:59 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-696/.semver [Pipeline] } 02:41:59 $ docker exec --env ******** --env ******** c2ce58c3b60cf7cdcd2eb1632c83eada7b9e515eeb39cbe98bd1609b7a1eb0b2 ssh-agent -k 02:41:59 unset SSH_AUTH_SOCK; 02:41:59 unset SSH_AGENT_PID; 02:41:59 echo Agent pid 52 killed; 02:41:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:41:59 + git semver [Pipeline] } 02:41:59 $ docker stop --time=1 c2ce58c3b60cf7cdcd2eb1632c83eada7b9e515eeb39cbe98bd1609b7a1eb0b2 02:42:01 $ docker rm -f c2ce58c3b60cf7cdcd2eb1632c83eada7b9e515eeb39cbe98bd1609b7a1eb0b2 [Pipeline] // withDockerContainer [Pipeline] sh 02:42:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:02 Stashed 1 file(s) [Pipeline] echo 02:42:02 [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 02:42:17 Still waiting to schedule task 02:42:17 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17161’ is offline; ‘prd-centos7-docker-4c-2g-17162’ is offline 02:42:17 Still waiting to schedule task 02:42:17 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:43:18 Running on prd-centos7-docker-4c-2g-17163 in /w/workspace/dgexfoundry_device-sdk-go_PR-696 [Pipeline] { [Pipeline] ws 02:43:18 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 02:43:26 using credential edgex-jenkins-ssh 02:43:26 Cloning the remote Git repository 02:43:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:43:26 > git init /w/workspace/device-sdk-go/3 # timeout=10 02:43:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:26 > git --version # timeout=10 02:43:26 > git --version # 'git version 2.24.3' 02:43:26 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:43:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:43:27 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/696/head:refs/remotes/origin/PR-696 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:43:28 Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 02:43:28 Merge succeeded, producing 4db0c9a1f2b91700b083341c5ba6e80ba591611c 02:43:28 Checking out Revision 4db0c9a1f2b91700b083341c5ba6e80ba591611c (PR-696) 02:43:28 > git config core.sparsecheckout # timeout=10 02:43:28 > git checkout -f 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # timeout=10 02:43:28 > git remote # timeout=10 02:43:28 > git config --get remote.origin.url # timeout=10 02:43:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:28 > git merge 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 02:43:28 > git rev-parse HEAD^{commit} # timeout=10 02:43:28 > git config core.sparsecheckout # timeout=10 02:43:28 > git checkout -f 4db0c9a1f2b91700b083341c5ba6e80ba591611c # timeout=10 02:43:33 Commit message: "Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD" 02:43:33 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:33 > git rev-list --no-walk 2d947eead06e92078eaba158de24189ef51e4a03 # timeout=10 02:43:35 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:43:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:43:36 + sudo service docker restart 02:43:36 + true 02:43:36 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:38 provisioning config files... 02:43:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config6382890352803296640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:38 ---> docker-login.sh 02:43:38 nexus3.edgexfoundry.org:10001 02:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:39 Configure a credential helper to remove this warning. See 02:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:39 02:43:39 Login Succeeded 02:43:39 nexus3.edgexfoundry.org:10002 02:43:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:40 Configure a credential helper to remove this warning. See 02:43:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:40 02:43:40 Login Succeeded 02:43:40 nexus3.edgexfoundry.org:10003 02:43:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:41 Configure a credential helper to remove this warning. See 02:43:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:41 02:43:41 Login Succeeded 02:43:41 nexus3.edgexfoundry.org:10004 02:43:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:41 Configure a credential helper to remove this warning. See 02:43:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:41 02:43:41 Login Succeeded 02:43:41 docker.io 02:43:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:42 Configure a credential helper to remove this warning. See 02:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:42 02:43:42 Login Succeeded 02:43:42 ---> docker-login.sh ends [Pipeline] } 02:43:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:43:42 ========================================================= 02:43:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:43:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:43:43 + 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 . 02:43:43 Sending build context to Docker daemon 2.451MB 02:43:43 Step 1/8 : ARG BASE=golang:1.15-alpine 02:43:43 Step 2/8 : FROM ${BASE} 02:43:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:43:43 188c0c94c7c5: Pulling fs layer 02:43:43 0ef7d3d256c8: Pulling fs layer 02:43:43 de9db76c5a1d: Pulling fs layer 02:43:43 bca2f99d35d6: Pulling fs layer 02:43:43 93359f2a8cfa: Pulling fs layer 02:43:43 7c6f9722023f: Pulling fs layer 02:43:43 a35cf1a2eb13: Pulling fs layer 02:43:43 93359f2a8cfa: Waiting 02:43:43 7c6f9722023f: Waiting 02:43:43 a35cf1a2eb13: Waiting 02:43:43 bca2f99d35d6: Waiting 02:43:43 de9db76c5a1d: Verifying Checksum 02:43:43 de9db76c5a1d: Download complete 02:43:43 0ef7d3d256c8: Verifying Checksum 02:43:43 0ef7d3d256c8: Download complete 02:43:43 93359f2a8cfa: Download complete 02:43:43 7c6f9722023f: Verifying Checksum 02:43:43 7c6f9722023f: Download complete 02:43:43 188c0c94c7c5: Verifying Checksum 02:43:43 188c0c94c7c5: Download complete 02:43:44 188c0c94c7c5: Pull complete 02:43:44 0ef7d3d256c8: Pull complete 02:43:44 de9db76c5a1d: Pull complete 02:43:48 a35cf1a2eb13: Verifying Checksum 02:43:48 a35cf1a2eb13: Download complete 02:43:50 bca2f99d35d6: Verifying Checksum 02:43:50 bca2f99d35d6: Download complete 02:44:02 bca2f99d35d6: Pull complete 02:44:02 93359f2a8cfa: Pull complete 02:44:02 7c6f9722023f: Pull complete 02:44:08 a35cf1a2eb13: Pull complete 02:44:08 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:08 ---> a62c8e92a672 02:44:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:08 ---> Running in d638eb7654f7 02:44:08 Removing intermediate container d638eb7654f7 02:44:08 ---> 64be94e3db14 02:44:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:08 ---> Running in 855c2233842c 02:44:10 Removing intermediate container 855c2233842c 02:44:10 ---> 7bd0e05f91e1 02:44:10 Step 5/8 : RUN apk add --no-cache make git 02:44:10 ---> Running in 1c10ea2b1b38 02:44:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17166 in /w/workspace/dgexfoundry_device-sdk-go_PR-696 [Pipeline] { [Pipeline] ws 02:44:11 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 02:44:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:13 OK: 166 MiB in 39 packages 02:44:14 Removing intermediate container 1c10ea2b1b38 02:44:14 ---> 77f16cc292ee 02:44:14 Step 6/8 : WORKDIR /device-sdk-go 02:44:14 ---> Running in 974f2ed22e53 02:44:14 Removing intermediate container 974f2ed22e53 02:44:14 ---> b6d8af1d608c 02:44:14 Step 7/8 : COPY . . 02:44:16 ---> 8ae9f22a34ab 02:44:16 Step 8/8 : RUN go mod download 02:44:16 ---> Running in 12c48bb28e6f 02:44:16 using credential edgex-jenkins-ssh 02:44:16 Cloning the remote Git repository 02:44:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:16 > git init /w/workspace/device-sdk-go/3 # timeout=10 02:44:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:16 > git --version # timeout=10 02:44:16 > git --version # 'git version 2.17.1' 02:44:16 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:19 Merging remotes/origin/master commit 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 into PR head commit 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 02:44:20 Merge succeeded, producing 1300af9b12ecbd393314dd50b7039f95f957f332 02:44:20 Checking out Revision 1300af9b12ecbd393314dd50b7039f95f957f332 (PR-696) 02:44:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:19 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/696/head:refs/remotes/origin/PR-696 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:19 > git config core.sparsecheckout # timeout=10 02:44:19 > git checkout -f 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # timeout=10 02:44:19 > git remote # timeout=10 02:44:19 > git config --get remote.origin.url # timeout=10 02:44:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:19 > git merge 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 02:44:20 > git rev-parse HEAD^{commit} # timeout=10 02:44:20 > git config core.sparsecheckout # timeout=10 02:44:20 > git checkout -f 1300af9b12ecbd393314dd50b7039f95f957f332 # timeout=10 02:44:24 Commit message: "Merge commit '93569aefbcf2dcd4d18a31fcf2c190494ae30d88' into HEAD" 02:44:24 First time build. Skipping changelog. 02:44:24 > git rev-list --no-walk 2d947eead06e92078eaba158de24189ef51e4a03 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:25 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:44:26 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:26 + sudo service docker restart 02:44:26 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:28 provisioning config files... 02:44:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config9012708241861234950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:28 ---> docker-login.sh 02:44:28 nexus3.edgexfoundry.org:10001 02:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:30 Configure a credential helper to remove this warning. See 02:44:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:30 02:44:30 Login Succeeded 02:44:30 nexus3.edgexfoundry.org:10002 02:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:31 Configure a credential helper to remove this warning. See 02:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:31 02:44:31 Login Succeeded 02:44:31 nexus3.edgexfoundry.org:10003 02:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:31 Configure a credential helper to remove this warning. See 02:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:31 02:44:31 Login Succeeded 02:44:31 nexus3.edgexfoundry.org:10004 02:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:32 Configure a credential helper to remove this warning. See 02:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:32 02:44:32 Login Succeeded 02:44:32 docker.io 02:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:32 Configure a credential helper to remove this warning. See 02:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:32 02:44:32 Login Succeeded 02:44:32 ---> docker-login.sh ends [Pipeline] } 02:44:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:33 ========================================================= 02:44:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:44:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:33 + 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 . 02:44:34 Sending build context to Docker daemon 2.451MB 02:44:34 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:34 Step 2/8 : FROM ${BASE} 02:44:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:44:34 5f621e34cdf4: Pulling fs layer 02:44:34 a4357932f1b6: Pulling fs layer 02:44:34 18c013af1878: Pulling fs layer 02:44:34 00ac8860ef70: Pulling fs layer 02:44:34 63d7cb157983: Pulling fs layer 02:44:34 b116817d02f9: Pulling fs layer 02:44:34 745a02a5169b: Pulling fs layer 02:44:34 00ac8860ef70: Waiting 02:44:34 63d7cb157983: Waiting 02:44:34 b116817d02f9: Waiting 02:44:34 745a02a5169b: Waiting 02:44:34 18c013af1878: Verifying Checksum 02:44:34 18c013af1878: Download complete 02:44:34 a4357932f1b6: Download complete 02:44:34 63d7cb157983: Verifying Checksum 02:44:34 63d7cb157983: Download complete 02:44:34 b116817d02f9: Download complete 02:44:34 5f621e34cdf4: Verifying Checksum 02:44:34 5f621e34cdf4: Download complete 02:44:35 5f621e34cdf4: Pull complete 02:44:35 a4357932f1b6: Pull complete 02:44:35 18c013af1878: Pull complete 02:44:36 745a02a5169b: Download complete 02:44:37 00ac8860ef70: Download complete 02:44:43 Removing intermediate container 12c48bb28e6f 02:44:43 ---> ba3d8b1d983c 02:44:43 Successfully built ba3d8b1d983c 02:44:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:44:43 + docker inspect -f . ci-base-image-x86_64 02:44:44 . [Pipeline] withDockerContainer 02:44:44 prd-centos7-docker-4c-2g-17163 does not seem to be running inside a container 02:44:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:46 $ docker top 0c7c882de87ee2b6920e4d1ee3926bff328c8c766c9377d870fde29bc60e520a -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:47 + go version 02:44:47 go version go1.15.5 linux/amd64 [Pipeline] } 02:44:47 $ docker stop --time=1 0c7c882de87ee2b6920e4d1ee3926bff328c8c766c9377d870fde29bc60e520a 02:44:48 00ac8860ef70: Pull complete 02:44:48 63d7cb157983: Pull complete 02:44:48 b116817d02f9: Pull complete 02:44:49 $ docker rm -f 0c7c882de87ee2b6920e4d1ee3926bff328c8c766c9377d870fde29bc60e520a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:44:50 + docker inspect -f . ci-base-image-x86_64 02:44:50 . [Pipeline] withDockerContainer 02:44:51 prd-centos7-docker-4c-2g-17163 does not seem to be running inside a container 02:44:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:52 $ docker top 7c41769cfd3ee13bf96ece7de47bc0a03c169ccd74fb0b615d433b6920e8944d -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:53 745a02a5169b: Pull complete 02:44:53 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:44:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:44:53 ---> b7e6874047d6 02:44:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:53 + make test 02:44:53 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:44:55 ---> Running in f68da3388335 02:44:55 Removing intermediate container f68da3388335 02:44:55 ---> 233669f86430 02:44:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:56 ---> Running in f887172724bc 02:44:58 Removing intermediate container f887172724bc 02:44:58 ---> 2569e2786255 02:44:58 Step 5/8 : RUN apk add --no-cache make git 02:44:58 ---> Running in d6972129c3d3 02:44:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:45:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:45:01 OK: 142 MiB in 39 packages 02:45:02 Removing intermediate container d6972129c3d3 02:45:02 ---> eec36a35fe38 02:45:02 Step 6/8 : WORKDIR /device-sdk-go 02:45:02 ---> Running in f9db5abc0c0d 02:45:02 Removing intermediate container f9db5abc0c0d 02:45:02 ---> 1e78f716ae0e 02:45:02 Step 7/8 : COPY . . 02:45:04 ---> 9c9dfffe409a 02:45:04 Step 8/8 : RUN go mod download 02:45:04 ---> Running in be00a74b3f68 02:45:12 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:45:26 Removing intermediate container be00a74b3f68 02:45:26 ---> 55b2b223ae24 02:45:26 Successfully built 55b2b223ae24 02:45:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:45:26 + docker inspect -f . ci-base-image-arm64 02:45:26 . [Pipeline] withDockerContainer 02:45:27 prd-ubuntu18.04-docker-arm64-4c-16g-17166 does not seem to be running inside a container 02:45:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:28 $ docker top 51a96b982446d37948c67a8942a5e221ff6e04f4526a20657b2a5d248566869b -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:29 + go version 02:45:29 go version go1.15.5 linux/arm64 [Pipeline] } 02:45:29 $ docker stop --time=1 51a96b982446d37948c67a8942a5e221ff6e04f4526a20657b2a5d248566869b 02:45:31 $ docker rm -f 51a96b982446d37948c67a8942a5e221ff6e04f4526a20657b2a5d248566869b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:32 + docker inspect -f . ci-base-image-arm64 02:45:32 . [Pipeline] withDockerContainer 02:45:32 prd-ubuntu18.04-docker-arm64-4c-16g-17166 does not seem to be running inside a container 02:45:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:34 $ docker top fc21285828f3f38ccc25ff192cdf40e10880fba06cbf92ceb22eb9996e302925 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:35 + make test 02:45:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:45 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:45:45 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:45:45 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:45:45 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.102s coverage: 19.4% of statements 02:45:47 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.998s coverage: 97.1% of statements 02:45:58 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:15 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.146s coverage: 9.4% of statements 02:46:15 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.133s coverage: 21.9% of statements 02:46:15 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:46:15 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.599s coverage: 42.5% of statements 02:46:15 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:46:15 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.685s coverage: 68.9% of statements 02:46:15 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:46:15 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:46:15 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:46:15 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:46:15 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.168s coverage: 53.8% of statements 02:46:15 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:46:15 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:46:15 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:46:15 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.486s coverage: 68.9% of statements 02:46:15 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.184s coverage: 4.2% of statements 02:46:15 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:46:15 GO111MODULE=on go vet ./... 02:46:37 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:37 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:37 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:37 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.143s coverage: 19.4% of statements 02:46:42 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.269s coverage: 97.1% of statements 02:46:42 gofmt -l . 02:46:42 [ "`gofmt -l .`" = "" ] 02:46:42 ./bin/test-attribution-txt.sh 02:46:43 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:44 $ docker stop --time=1 7c41769cfd3ee13bf96ece7de47bc0a03c169ccd74fb0b615d433b6920e8944d 02:46:46 $ docker rm -f 7c41769cfd3ee13bf96ece7de47bc0a03c169ccd74fb0b615d433b6920e8944d [Pipeline] // withDockerContainer [Pipeline] sh 02:46:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:50 + ls -al . 02:46:50 total 208 02:46:50 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 22 02:46 . 02:46:50 drwxrwxr-x. 4 jenkins jenkins 28 Dec 22 02:43 .. 02:46:50 drwxrwxr-x. 2 jenkins jenkins 64 Dec 22 02:43 bin 02:46:50 -rw-r--r--. 1 jenkins jenkins 130527 Dec 22 02:46 coverage.out 02:46:50 -rw-rw-r--. 1 jenkins jenkins 936 Dec 22 02:43 Dockerfile.build 02:46:50 -rw-rw-r--. 1 jenkins jenkins 140 Dec 22 02:43 .dockerignore 02:46:50 drwxrwxr-x. 4 jenkins jenkins 48 Dec 22 02:43 example 02:46:50 drwxrwxr-x. 8 jenkins jenkins 179 Dec 22 02:43 .git 02:46:50 drwxrwxr-x. 2 jenkins jenkins 103 Dec 22 02:43 .github 02:46:50 -rw-rw-r--. 1 jenkins jenkins 138 Dec 22 02:43 .gitignore 02:46:50 -rw-r--r--. 1 jenkins jenkins 488 Dec 22 02:46 go.mod 02:46:50 -rw-r--r--. 1 jenkins jenkins 13631 Dec 22 02:46 go.sum 02:46:50 drwxrwxr-x. 15 jenkins jenkins 211 Dec 22 02:43 internal 02:46:50 -rw-rw-r--. 1 jenkins jenkins 901 Dec 22 02:43 Jenkinsfile 02:46:50 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 22 02:43 LICENSE 02:46:50 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 22 02:43 Makefile 02:46:50 drwxrwxr-x. 4 jenkins jenkins 26 Dec 22 02:43 openapi 02:46:50 drwxrwxr-x. 5 jenkins jenkins 50 Dec 22 02:43 pkg 02:46:50 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 22 02:43 README.md 02:46:50 -rw-rw-r--. 1 jenkins jenkins 6616 Dec 22 02:43 RELEASE-NOTES.txt 02:46:50 drwxrwxr-x. 4 jenkins jenkins 54 Dec 22 02:43 snap 02:46:50 -rw-rw-r--. 1 jenkins jenkins 5 Dec 22 02:42 VERSION 02:46:50 -rw-rw-r--. 1 jenkins jenkins 222 Dec 22 02:43 version.go [Pipeline] isUnix [Pipeline] sh 02:46:51 + 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=d15e0049513cde2bd987de6e1cdcb787a4afd018 --label arch=amd64 --label version=0.0.0 . 02:46:52 Sending build context to Docker daemon 2.582MB 02:46:52 Step 1/24 : ARG BASE=golang:1.15-alpine 02:46:52 Step 2/24 : FROM ${BASE} AS builder 02:46:52 ---> ba3d8b1d983c 02:46:52 Step 3/24 : ARG MAKE='make build' 02:46:53 ---> Running in ee979aef7282 02:46:53 Removing intermediate container ee979aef7282 02:46:53 ---> 5f5b649a9edb 02:46:53 Step 4/24 : WORKDIR /device-sdk-go 02:46:53 ---> Running in 8c22fd6a8243 02:46:54 Removing intermediate container 8c22fd6a8243 02:46:54 ---> 23b744fac50d 02:46:54 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:54 ---> Running in 99259440f961 02:46:54 Removing intermediate container 99259440f961 02:46:54 ---> 5b290e7a119b 02:46:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:54 ---> Running in 2507d5186250 02:46:57 Removing intermediate container 2507d5186250 02:46:57 ---> 7b4d507912fd 02:46:57 Step 7/24 : RUN apk add --update --no-cache make git 02:46:57 ---> Running in 80d214075154 02:46:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:00 OK: 166 MiB in 39 packages 02:47:01 Removing intermediate container 80d214075154 02:47:01 ---> 92593540a3d9 02:47:01 Step 8/24 : COPY . . 02:47:03 ---> 1a56123f73ea 02:47:03 Step 9/24 : RUN ${MAKE} 02:47:03 ---> Running in 618ad21267d0 02:47:04 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:47:09 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.135s coverage: 9.4% of statements 02:47:09 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.110s coverage: 21.9% of statements 02:47:09 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:47:09 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.611s coverage: 42.5% of statements 02:47:09 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:09 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.851s coverage: 68.9% of statements 02:47:09 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:09 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:09 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:09 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:47:09 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.170s coverage: 53.8% of statements 02:47:09 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:47:09 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:47:09 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:47:09 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.737s coverage: 68.9% of statements 02:47:09 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.140s coverage: 4.2% of statements 02:47:09 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:09 GO111MODULE=on go vet ./... 02:47:28 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:31 Removing intermediate container 618ad21267d0 02:47:31 ---> 24a65308cf4e 02:47:31 Step 10/24 : FROM scratch 02:47:31 ---> 02:47:31 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:31 ---> Running in ceabc2c7ced3 02:47:31 Removing intermediate container ceabc2c7ced3 02:47:31 ---> 129de98e00b2 02:47:31 Step 12/24 : ENV APP_PORT=49990 02:47:32 ---> Running in 525d0cd0c195 02:47:32 Removing intermediate container 525d0cd0c195 02:47:32 ---> a02917bad3d4 02:47:32 Step 13/24 : EXPOSE $APP_PORT 02:47:32 ---> Running in 5c66555123a6 02:47:33 Removing intermediate container 5c66555123a6 02:47:33 ---> eca6177fe68c 02:47:33 Step 14/24 : WORKDIR / 02:47:33 ---> Running in 05bda9bbe29c 02:47:33 Removing intermediate container 05bda9bbe29c 02:47:33 ---> f18b935d46e6 02:47:33 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:34 ---> 95c2c7fdae32 02:47:34 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:35 ---> 7fc37ff354d5 02:47:35 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:35 ---> 70ab78bc553d 02:47:35 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:36 ---> 1c4b42019e6c 02:47:36 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:37 ---> e485ac9b8340 02:47:37 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:37 ---> Running in b51dd90ec11a 02:47:37 Removing intermediate container b51dd90ec11a 02:47:37 ---> 71efc22b100b 02:47:37 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:37 ---> Running in 40525c970787 02:47:37 Removing intermediate container 40525c970787 02:47:37 ---> a9ae3810f19c 02:47:37 Step 22/24 : LABEL arch=amd64 02:47:38 ---> Running in 6916f634af46 02:47:38 Removing intermediate container 6916f634af46 02:47:38 ---> 4d4615302685 02:47:38 Step 23/24 : LABEL git_sha=d15e0049513cde2bd987de6e1cdcb787a4afd018 02:47:38 ---> Running in 53e536567609 02:47:39 Removing intermediate container 53e536567609 02:47:39 ---> 6ee86617188a 02:47:39 Step 24/24 : LABEL version=0.0.0 02:47:39 ---> Running in 74ee5caf080c 02:47:40 Removing intermediate container 74ee5caf080c 02:47:40 ---> a348ad861813 02:47:40 [Warning] One or more build-args [ARCH] were not consumed 02:47:40 Successfully built a348ad861813 02:47:40 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:47:41 gofmt -l . 02:47:42 [ "`gofmt -l .`" = "" ] 02:47:42 ./bin/test-attribution-txt.sh 02:47:43 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:44 $ docker stop --time=1 fc21285828f3f38ccc25ff192cdf40e10880fba06cbf92ceb22eb9996e302925 02:47:46 $ docker rm -f fc21285828f3f38ccc25ff192cdf40e10880fba06cbf92ceb22eb9996e302925 [Pipeline] // withDockerContainer [Pipeline] sh 02:47:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:47 Warning: overwriting stash ‘coverage-report’ 02:47:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:49 + ls -al . 02:47:49 total 244 02:47:49 drwxrwxr-x 10 jenkins jenkins 4096 Dec 22 02:47 . 02:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 22 02:44 .. 02:47:49 -rw-rw-r-- 1 jenkins jenkins 140 Dec 22 02:44 .dockerignore 02:47:49 drwxrwxr-x 8 jenkins jenkins 4096 Dec 22 02:44 .git 02:47:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 22 02:44 .github 02:47:49 -rw-rw-r-- 1 jenkins jenkins 138 Dec 22 02:44 .gitignore 02:47:49 -rw-rw-r-- 1 jenkins jenkins 936 Dec 22 02:44 Dockerfile.build 02:47:49 -rw-rw-r-- 1 jenkins jenkins 901 Dec 22 02:44 Jenkinsfile 02:47:49 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 22 02:44 LICENSE 02:47:49 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 22 02:44 Makefile 02:47:49 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 22 02:44 README.md 02:47:49 -rw-rw-r-- 1 jenkins jenkins 6616 Dec 22 02:44 RELEASE-NOTES.txt 02:47:49 -rw-rw-r-- 1 jenkins jenkins 5 Dec 22 02:42 VERSION 02:47:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 22 02:44 bin 02:47:49 -rw-r--r-- 1 jenkins jenkins 130526 Dec 22 02:47 coverage.out 02:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 22 02:44 example 02:47:49 -rw-r--r-- 1 jenkins jenkins 488 Dec 22 02:47 go.mod 02:47:49 -rw-r--r-- 1 jenkins jenkins 13631 Dec 22 02:47 go.sum 02:47:49 drwxrwxr-x 15 jenkins jenkins 4096 Dec 22 02:44 internal 02:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 22 02:44 openapi 02:47:49 drwxrwxr-x 5 jenkins jenkins 4096 Dec 22 02:44 pkg 02:47:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 22 02:44 snap 02:47:49 -rw-rw-r-- 1 jenkins jenkins 222 Dec 22 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:47:49 + 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=d15e0049513cde2bd987de6e1cdcb787a4afd018 --label arch=arm64 --label version=0.0.0 . 02:47:50 Sending build context to Docker daemon 2.583MB 02:47:50 Step 1/24 : ARG BASE=golang:1.15-alpine 02:47:50 Step 2/24 : FROM ${BASE} AS builder 02:47:50 ---> 55b2b223ae24 02:47:50 Step 3/24 : ARG MAKE='make build' 02:47:50 ---> Running in 92c2b410be28 02:47:51 Removing intermediate container 92c2b410be28 02:47:51 ---> 6eb3297ae0cc 02:47:51 Step 4/24 : WORKDIR /device-sdk-go 02:47:51 ---> Running in 420e655454d6 02:47:51 Removing intermediate container 420e655454d6 02:47:51 ---> e158c4d00994 02:47:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:51 ---> Running in 7d0395da5e45 02:47:52 Removing intermediate container 7d0395da5e45 02:47:52 ---> 094be598316c 02:47:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:52 ---> Running in 47d13b448704 02:47:55 Removing intermediate container 47d13b448704 02:47:55 ---> 5f09dbedd14b 02:47:55 Step 7/24 : RUN apk add --update --no-cache make git 02:47:55 ---> Running in b34d085a559f 02:47:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:57 OK: 142 MiB in 39 packages 02:47:58 Removing intermediate container b34d085a559f 02:47:58 ---> eec081954ace 02:47:58 Step 8/24 : COPY . . 02:48:00 ---> 1614917512af 02:48:00 Step 9/24 : RUN ${MAKE} 02:48:00 ---> Running in b1bef4dadde7 02:48:01 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:48:28 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:30 Removing intermediate container b1bef4dadde7 02:48:30 ---> f1c04ec16080 02:48:30 Step 10/24 : FROM scratch 02:48:30 ---> 02:48:30 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:30 ---> Running in 36eca7411051 02:48:30 Removing intermediate container 36eca7411051 02:48:30 ---> 8e624247944d 02:48:30 Step 12/24 : ENV APP_PORT=49990 02:48:30 ---> Running in 22e8e90a5ee2 02:48:31 Removing intermediate container 22e8e90a5ee2 02:48:31 ---> 8de4f2629e08 02:48:31 Step 13/24 : EXPOSE $APP_PORT 02:48:31 ---> Running in 6c2e48009174 02:48:31 Removing intermediate container 6c2e48009174 02:48:31 ---> 685178f080d7 02:48:31 Step 14/24 : WORKDIR / 02:48:31 ---> Running in 5788ead8ed69 02:48:32 Removing intermediate container 5788ead8ed69 02:48:32 ---> ac76d5059081 02:48:32 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:33 ---> 8e95b16e187f 02:48:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:34 ---> 902fe32faf38 02:48:34 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:34 ---> 1418e97dfb7d 02:48:34 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:35 ---> a025d1ecaf95 02:48:35 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:36 ---> 40ee14c0dfd2 02:48:36 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:36 ---> Running in e376365745df 02:48:36 Removing intermediate container e376365745df 02:48:36 ---> ab7ef28d2c92 02:48:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:37 ---> Running in 74f611e52961 02:48:37 Removing intermediate container 74f611e52961 02:48:37 ---> b6929b327fd0 02:48:37 Step 22/24 : LABEL arch=arm64 02:48:37 ---> Running in 6f88232ba14c 02:48:38 Removing intermediate container 6f88232ba14c 02:48:38 ---> 15b9f34d971f 02:48:38 Step 23/24 : LABEL git_sha=d15e0049513cde2bd987de6e1cdcb787a4afd018 02:48:38 ---> Running in 19a6c64d8f7c 02:48:38 Removing intermediate container 19a6c64d8f7c 02:48:38 ---> f44501240af8 02:48:38 Step 24/24 : LABEL version=0.0.0 02:48:38 ---> Running in 5dab672175ca 02:48:39 Removing intermediate container 5dab672175ca 02:48:39 ---> 302d8e0e4fdd 02:48:39 [Warning] One or more build-args [ARCH] were not consumed 02:48:39 Successfully built 302d8e0e4fdd 02:48:39 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:48:41 provisioning config files... 02:48:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/config3090766120481880040tmp [Pipeline] { [Pipeline] sh 02:48:41 + set +x 02:48:41 + curl -s https://codecov.io/bash 02:48:41 + bash -s -- 02:48:41 02:48:41 _____ _ 02:48:41 / ____| | | 02:48:41 | | ___ __| | ___ ___ _____ __ 02:48:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:48:41 | |___| (_) | (_| | __/ (_| (_) \ V / 02:48:41 \_____\___/ \__,_|\___|\___\___/ \_/ 02:48:41 Bash-20201217-3d3df35 02:48:41 02:48:41 02:48:41 git version 2.24.3 found 02:48:41 curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:48:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:48:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found 02:48:41 ==> Jenkins CI detected. 02:48:41 project root: . 02:48:41 --> token set from env 02:48:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:48:41 ==> Running gcov in . (disable via -X gcov) 02:48:41 ==> Python coveragepy not found 02:48:41 ==> Searching for coverage reports in: 02:48:41 + . 02:48:41 -> Found 1 reports 02:48:41 ==> Detecting git/mercurial file structure 02:48:41 ==> Reading reports 02:48:41 + ./coverage.out bytes=130526 02:48:41 ==> Appending adjustments 02:48:41 https://docs.codecov.io/docs/fixing-reports 02:48:42 + Found adjustments 02:48:42 ==> Gzipping contents 02:48:42 24K /tmp/codecov.2eKAc9.gz 02:48:42 ==> Uploading reports 02:48:42 url: https://codecov.io 02:48:42 query: branch=PR-696&commit=d15e0049513cde2bd987de6e1cdcb787a4afd018&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-696%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=696&job=&cmd_args= 02:48:42 -> Pinging Codecov 02:48:42 https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-696&commit=d15e0049513cde2bd987de6e1cdcb787a4afd018&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-696%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=696&job=&cmd_args= 02:48:42 -> Uploading to 02:48:42 https://storage.googleapis.com/codecov/v4/raw/2020-12-22/7E55EF52A471D76F132DFD9A03CDDE97/d15e0049513cde2bd987de6e1cdcb787a4afd018/d39b29d9-b1a2-4d6a-ac38-e7e47a38434a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201222T024842Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=99865ca190a9158ee4d8ef71eff770d56fed31a2697883e13a41803d05918e90 02:48:42 % Total % Received % Xferd Average Speed Time Time Time Current 02:48:42 Dload Upload Total Spent Left Speed 02:48:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21235 0 0 100 21235 0 46284 --:--:-- --:--:-- --:--:-- 46263 02:48:43 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d15e0049513cde2bd987de6e1cdcb787a4afd018 [Pipeline] } 02:48:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 02:48:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:48:46 ---> package-listing.sh 02:48:46 ++ facter osfamily 02:48:46 ++ tr '[:upper:]' '[:lower:]' 02:48:46 + OS_FAMILY=redhat 02:48:46 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-696 02:48:46 + START_PACKAGES=/tmp/packages_start.txt 02:48:46 + END_PACKAGES=/tmp/packages_end.txt 02:48:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:48:46 + PACKAGES=/tmp/packages_start.txt 02:48:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-696 ']' 02:48:46 + PACKAGES=/tmp/packages_end.txt 02:48:46 + case "${OS_FAMILY}" in 02:48:46 + rpm -qa 02:48:46 + sort 02:48:51 + '[' -f /tmp/packages_start.txt ']' 02:48:51 + '[' -f /tmp/packages_end.txt ']' 02:48:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:48:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-696 ']' 02:48:51 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-696/archives/ 02:48:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-696/archives/ [Pipeline] echo 02:48:51 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-696/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:48:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:48:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:52 02:48:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:48:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:52 alpine: Pulling from edgex-lftools-log-publisher 02:48:52 df20fa9351a1: Pulling fs layer 02:48:52 36b3adc4ff6f: Pulling fs layer 02:48:52 8ad3a11d3b57: Pulling fs layer 02:48:52 46f8f816bc3b: Pulling fs layer 02:48:52 93b61091891f: Pulling fs layer 02:48:52 93b9cdb0e59b: Pulling fs layer 02:48:52 5e14af77c1be: Pulling fs layer 02:48:52 01666e4c0597: Pulling fs layer 02:48:52 aa168da1d23b: Pulling fs layer 02:48:52 5e14af77c1be: Waiting 02:48:52 93b61091891f: Waiting 02:48:52 01666e4c0597: Waiting 02:48:52 aa168da1d23b: Waiting 02:48:52 93b9cdb0e59b: Waiting 02:48:52 46f8f816bc3b: Waiting 02:48:52 36b3adc4ff6f: Verifying Checksum 02:48:52 36b3adc4ff6f: Download complete 02:48:52 46f8f816bc3b: Verifying Checksum 02:48:52 46f8f816bc3b: Download complete 02:48:52 df20fa9351a1: Verifying Checksum 02:48:52 df20fa9351a1: Download complete 02:48:52 93b9cdb0e59b: Verifying Checksum 02:48:52 93b9cdb0e59b: Download complete 02:48:52 93b61091891f: Download complete 02:48:52 5e14af77c1be: Verifying Checksum 02:48:52 5e14af77c1be: Download complete 02:48:52 01666e4c0597: Verifying Checksum 02:48:52 01666e4c0597: Download complete 02:48:53 8ad3a11d3b57: Verifying Checksum 02:48:53 8ad3a11d3b57: Download complete 02:48:53 df20fa9351a1: Pull complete 02:48:53 36b3adc4ff6f: Pull complete 02:48:54 8ad3a11d3b57: Pull complete 02:48:54 46f8f816bc3b: Pull complete 02:48:54 aa168da1d23b: Verifying Checksum 02:48:54 aa168da1d23b: Download complete 02:48:54 93b61091891f: Pull complete 02:48:55 93b9cdb0e59b: Pull complete 02:48:55 5e14af77c1be: Pull complete 02:48:55 01666e4c0597: Pull complete 02:49:03 aa168da1d23b: Pull complete 02:49:03 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:49:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:49:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:49:03 prd-centos7-docker-4c-2g-17160 does not seem to be running inside a container 02:49:03 $ 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-696/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-696 -v /w/workspace/dgexfoundry_device-sdk-go_PR-696:/w/workspace/dgexfoundry_device-sdk-go_PR-696:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:49:06 $ docker top 2448b55fe268c29424bdbe7d66568757024aa2726aa497f0daed15586c37596c -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:06 + touch /tmp/pre-build-complete [Pipeline] sh 02:49:07 + mkdir -p /var/log/sa [Pipeline] sh 02:49:07 + ls /var/log/sa-host 02:49:07 + sadf -c /var/log/sa-host/sa22 02:49:07 file_magic: OK 02:49:07 HZ: Using current value: 100 02:49:07 file_header: OK 02:49:07 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 02:49:07 Statistics: 02:49:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:49:07 File successfully converted to sysstat format version 12.2.1 02:49:07 + sadf -c /var/log/sa-host/sa23 02:49:07 file_magic: OK 02:49:07 HZ: Using current value: 100 02:49:07 file_header: OK 02:49:07 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 02:49:07 Statistics: 02:49:07 Hnuu...uuuununununu... 02:49:07 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:08 provisioning config files... 02:49:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/config5895344554803324518tmp [Pipeline] { [Pipeline] echo 02:49:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:49:08 ---> create-netrc.sh [Pipeline] } 02:49:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:49:08 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:49:08 ---> python-tools-install.sh [Pipeline] echo 02:49:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:49:09 ---> sudo-logs.sh 02:49:09 Archiving 'sudo' log.. [Pipeline] echo 02:49:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:49:09 ---> job-cost.sh 02:49:09 lf-activate-venv: SKIPPING 02:49:09 INFO: No Stack... 02:49:10 INFO: Retrieving Pricing Info for: v1-standard-2 02:49:11 INFO: Archiving Costs [Pipeline] echo 02:49:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:49:11 ---> logs-deploy.sh 02:49:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-696/3 02:49:11 INFO: archiving workspace using pattern(s): 02:49:12 Archives upload complete. 02:49:13 INFO: archiving logs to Nexus 02:49:14 ---> uname -a: 02:49:14 Linux prd-centos7-docker-4c-2g-17160.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 02:49:14 02:49:14 02:49:14 ---> lscpu: 02:49:14 Architecture: x86_64 02:49:14 CPU op-mode(s): 32-bit, 64-bit 02:49:14 Byte Order: Little Endian 02:49:14 Address sizes: 40 bits physical, 48 bits virtual 02:49:14 CPU(s): 4 02:49:14 On-line CPU(s) list: 0-3 02:49:14 Thread(s) per core: 1 02:49:14 Core(s) per socket: 1 02:49:14 Socket(s): 4 02:49:14 NUMA node(s): 1 02:49:14 Vendor ID: GenuineIntel 02:49:14 CPU family: 6 02:49:14 Model: 44 02:49:14 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:49:14 Stepping: 1 02:49:14 CPU MHz: 2933.438 02:49:14 BogoMIPS: 5866.87 02:49:14 Virtualization: VT-x 02:49:14 Hypervisor vendor: KVM 02:49:14 Virtualization type: full 02:49:14 L1d cache: 128 KiB 02:49:14 L1i cache: 128 KiB 02:49:14 L2 cache: 16 MiB 02:49:14 L3 cache: 64 MiB 02:49:14 NUMA node0 CPU(s): 0-3 02:49:14 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:49:14 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:49:14 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:49:14 Vulnerability Meltdown: Mitigation; PTI 02:49:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:49:14 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:49:14 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:49:14 Vulnerability Srbds: Not affected 02:49:14 Vulnerability Tsx async abort: Not affected 02:49:14 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 02:49:14 02:49:14 02:49:14 ---> nproc: 02:49:14 4 02:49:14 02:49:14 02:49:14 ---> df -h: 02:49:14 Filesystem Size Used Available Use% Mounted on 02:49:14 overlay 50.0G 7.3G 42.7G 15% / 02:49:14 tmpfs 64.0M 0 64.0M 0% /dev 02:49:14 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:49:14 shm 64.0M 0 64.0M 0% /dev/shm 02:49:14 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:49:14 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:49:14 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:49:14 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:49:14 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:49:14 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:49:14 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-696 02:49:14 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp 02:49:14 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:49:14 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:49:14 02:49:14 02:49:14 ---> free -m: 02:49:14 total used free shared buff/cache available 02:49:14 Mem: 1837 721 111 0 1005 1011 02:49:14 Swap: 1023 1 1022 02:49:14 02:49:14 02:49:14 ---> ip addr: 02:49:14 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:49:14 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:49:14 inet 127.0.0.1/8 scope host lo 02:49:14 valid_lft forever preferred_lft forever 02:49:14 inet6 ::1/128 scope host 02:49:14 valid_lft forever preferred_lft forever 02:49:14 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:49:14 link/ether fa:16:3e:ae:f3:d6 brd ff:ff:ff:ff:ff:ff 02:49:14 inet 10.30.123.28/23 brd 10.30.123.255 scope global dynamic eth0 02:49:14 valid_lft 85915sec preferred_lft 85915sec 02:49:14 inet6 fe80::f816:3eff:feae:f3d6/64 scope link 02:49:14 valid_lft forever preferred_lft forever 02:49:14 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:49:14 link/ether 02:42:1a:ae:34:41 brd ff:ff:ff:ff:ff:ff 02:49:14 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:49:14 valid_lft forever preferred_lft forever 02:49:14 inet6 fe80::42:1aff:feae:3441/64 scope link 02:49:14 valid_lft forever preferred_lft forever 02:49:14 02:49:14 02:49:14 ---> sar -b -r -n DEV: 02:49:14 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/22/20 _x86_64_ (4 CPU) 02:49:14 02:49:14 02:40:57 LINUX RESTART (4 CPU) 02:49:14 02:49:14 02:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:49:14 02:43:01 10.44 1.51 8.92 0.00 139.95 132.26 0.00 02:49:14 02:44:01 0.23 0.00 0.23 0.00 0.00 2.75 0.00 02:49:14 02:45:01 0.23 0.00 0.23 0.00 0.00 2.58 0.00 02:49:14 02:46:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 02:49:14 02:47:01 0.28 0.00 0.28 0.00 0.00 4.01 0.00 02:49:14 02:48:01 0.32 0.00 0.32 0.00 0.00 3.76 0.00 02:49:14 02:49:02 111.46 68.07 43.39 0.00 4675.14 15668.82 0.00 02:49:14 Average: 17.61 9.95 7.67 0.00 688.27 2261.00 0.00 02:49:14 02:49:14 02:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:49:14 02:43:01 119420 0 624644 33.20 2620 1134860 1122516 38.31 458840 1103104 16 02:49:14 02:44:01 126008 0 618052 32.85 2620 1134864 1087728 37.12 455192 1101028 8 02:49:14 02:45:01 126396 0 617656 32.83 2620 1134872 1087804 37.12 452332 1103956 8 02:49:14 02:46:01 126524 0 617528 32.82 2620 1134872 1087816 37.13 452288 1103956 12 02:49:14 02:47:01 126572 0 617472 32.82 2620 1134880 1087816 37.13 452300 1103888 16 02:49:14 02:48:01 126588 0 617452 32.82 2620 1134884 1087868 37.13 452488 1103820 16 02:49:14 02:49:02 221460 0 709688 37.72 2620 947776 1282376 43.77 450396 955264 82844 02:49:14 Average: 138995 0 631785 33.58 2620 1108144 1120561 38.24 453405 1082145 11846 02:49:14 02:49:14 02:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:49:14 02:43:01 eth0 126.43 88.90 86.47 112.27 0.00 0.00 0.00 0.00 02:49:14 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:44:01 eth0 1.95 0.33 0.40 0.23 0.00 0.00 0.00 0.00 02:49:14 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:45:01 eth0 3.50 0.53 0.76 0.36 0.00 0.00 0.00 0.00 02:49:14 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:46:01 eth0 2.53 0.68 0.72 0.44 0.00 0.00 0.00 0.00 02:49:14 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:47:01 eth0 2.03 0.82 0.76 0.44 0.00 0.00 0.00 0.00 02:49:14 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:48:01 eth0 1.02 0.58 0.54 0.43 0.00 0.00 0.00 0.00 02:49:14 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:49:02 eth0 207.12 168.99 2170.41 18.05 0.00 0.00 0.00 0.00 02:49:14 02:49:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:49:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 Average: eth0 49.25 37.28 323.05 18.89 0.00 0.00 0.00 0.00 02:49:14 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:14 02:49:14 02:49:14 ---> sar -P ALL: 02:49:14 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/22/20 _x86_64_ (4 CPU) 02:49:14 02:49:14 02:40:57 LINUX RESTART (4 CPU) 02:49:14 02:49:14 02:42:01 CPU %user %nice %system %iowait %steal %idle 02:49:14 02:43:01 all 1.84 0.00 0.64 0.04 0.00 97.49 02:49:14 02:43:01 0 1.61 0.00 0.80 0.05 0.02 97.52 02:49:14 02:43:01 1 1.68 0.00 0.68 0.03 0.00 97.60 02:49:14 02:43:01 2 2.24 0.00 0.50 0.05 0.00 97.21 02:49:14 02:43:01 3 1.82 0.00 0.55 0.02 0.00 97.61 02:49:14 02:44:01 all 0.16 0.00 0.06 0.00 0.00 99.78 02:49:14 02:44:01 0 0.05 0.00 0.07 0.00 0.00 99.88 02:49:14 02:44:01 1 0.48 0.00 0.07 0.00 0.00 99.45 02:49:14 02:44:01 2 0.03 0.00 0.03 0.00 0.00 99.93 02:49:14 02:44:01 3 0.07 0.00 0.07 0.00 0.00 99.87 02:49:14 02:45:01 all 0.18 0.00 0.08 0.00 0.03 99.72 02:49:14 02:45:01 0 0.47 0.00 0.03 0.00 0.02 99.48 02:49:14 02:45:01 1 0.08 0.00 0.12 0.00 0.03 99.77 02:49:14 02:45:01 2 0.03 0.00 0.05 0.00 0.03 99.88 02:49:14 02:45:01 3 0.12 0.00 0.12 0.00 0.02 99.75 02:49:14 02:46:01 all 0.15 0.00 0.04 0.00 0.01 99.80 02:49:14 02:46:01 0 0.47 0.00 0.05 0.00 0.00 99.48 02:49:14 02:46:01 1 0.05 0.00 0.03 0.00 0.02 99.90 02:49:14 02:46:01 2 0.03 0.00 0.02 0.00 0.02 99.93 02:49:14 02:46:01 3 0.07 0.00 0.05 0.00 0.02 99.87 02:49:14 02:47:01 all 0.16 0.00 0.05 0.00 0.01 99.78 02:49:14 02:47:01 0 0.43 0.00 0.07 0.00 0.02 99.48 02:49:14 02:47:01 1 0.10 0.00 0.03 0.00 0.02 99.85 02:49:14 02:47:01 2 0.07 0.00 0.05 0.00 0.00 99.88 02:49:14 02:47:01 3 0.05 0.00 0.05 0.00 0.00 99.90 02:49:14 02:48:01 all 0.16 0.00 0.03 0.00 0.00 99.81 02:49:14 02:48:01 0 0.52 0.00 0.03 0.00 0.00 99.45 02:49:14 02:48:01 1 0.03 0.00 0.02 0.00 0.00 99.95 02:49:14 02:48:01 2 0.05 0.00 0.05 0.00 0.00 99.90 02:49:14 02:48:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:49:14 02:49:02 all 5.46 0.00 3.71 1.50 0.00 89.32 02:49:14 02:49:02 0 5.13 0.00 3.88 1.60 0.00 89.39 02:49:14 02:49:02 1 5.10 0.00 3.36 1.88 0.02 89.64 02:49:14 02:49:02 2 5.31 0.00 3.56 0.99 0.00 90.13 02:49:14 02:49:02 3 6.31 0.00 4.04 1.53 0.00 88.13 02:49:14 Average: all 1.15 0.00 0.65 0.22 0.01 97.97 02:49:14 Average: 0 1.23 0.00 0.70 0.23 0.01 97.82 02:49:14 Average: 1 1.07 0.00 0.61 0.27 0.01 98.03 02:49:14 Average: 2 1.10 0.00 0.61 0.15 0.01 98.14 02:49:14 Average: 3 1.20 0.00 0.70 0.22 0.00 97.88 02:49:14 02:49:14 02:49:14