Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b+42e5a1ea61e0adb23423a933a3224d1395f33e87 (7bf5bf9ce64358a7b3967532a6fe5b0ae871e1a0) 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-17567 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [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-692 # 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 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b Merge succeeded, producing 8f3c845238073ca07f74c2374786e97a0451ff5f Checking out Revision 8f3c845238073ca07f74c2374786e97a0451ff5f (PR-692) > 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/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # 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 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f3c845238073ca07f74c2374786e97a0451ff5f # timeout=10 Commit message: "Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 8c52c6dbefe03ddad9e683032218bb1ff7a74c6d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:46 ========================================================= 02:42:46 EdgeX Global Pipelines Version Info 02:42:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:42:47 ------------------- 02:42:47 stable info: 02:42:47 ------------------- 02:42:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:47 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:42:47 Message: update stable to v1.0.173 02:42:48 ------------------- 02:42:48 experimental info: 02:42:48 ------------------- 02:42:48 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:48 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 02:42:48 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-692 [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-692 [Pipeline] echo 02:42:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-692 [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f3c845238073ca07f74c2374786e97a0451ff5f [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f3c845 [Pipeline] echo 02:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:52 provisioning config files... 02:42:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config366895124084756907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:52 ---> docker-login.sh 02:42:52 nexus3.edgexfoundry.org:10001 02:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:53 Configure a credential helper to remove this warning. See 02:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:53 02:42:53 Login Succeeded 02:42:53 nexus3.edgexfoundry.org:10002 02:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:53 Configure a credential helper to remove this warning. See 02:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:53 02:42:53 Login Succeeded 02:42:53 nexus3.edgexfoundry.org:10003 02:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:53 Configure a credential helper to remove this warning. See 02:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:53 02:42:53 Login Succeeded 02:42:53 nexus3.edgexfoundry.org:10004 02:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:53 Configure a credential helper to remove this warning. See 02:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:53 02:42:53 Login Succeeded 02:42:53 docker.io 02:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:54 Configure a credential helper to remove this warning. See 02:42:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:54 02:42:54 Login Succeeded 02:42:54 ---> docker-login.sh ends [Pipeline] } 02:42:54 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:42:55 + git log --format=format:%s -1 8f3c845238073ca07f74c2374786e97a0451ff5f [Pipeline] echo 02:42:55 GIT_COMMIT: 8f3c845238073ca07f74c2374786e97a0451ff5f, Commit Message: Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD [Pipeline] echo 02:42:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:55 02:42:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:56 latest: Pulling from edgex-devops/git-semver 02:42:56 31603596830f: Pulling fs layer 02:42:56 2a8b12db71e7: Pulling fs layer 02:42:56 6ca5941a6612: Pulling fs layer 02:42:56 ecc8261a40a4: Pulling fs layer 02:42:56 ecc8261a40a4: Waiting 02:42:56 2a8b12db71e7: Verifying Checksum 02:42:56 2a8b12db71e7: Download complete 02:42:56 31603596830f: Verifying Checksum 02:42:56 31603596830f: Download complete 02:42:56 ecc8261a40a4: Verifying Checksum 02:42:56 ecc8261a40a4: Download complete 02:42:56 6ca5941a6612: Verifying Checksum 02:42:56 6ca5941a6612: Download complete 02:42:56 31603596830f: Pull complete 02:42:56 2a8b12db71e7: Pull complete 02:42:57 6ca5941a6612: Pull complete 02:42:57 ecc8261a40a4: Pull complete 02:42:57 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:58 prd-centos7-docker-4c-2g-17567 does not seem to be running inside a container 02:42:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-692 -v /w/workspace/dgexfoundry_device-sdk-go_PR-692:/w/workspace/dgexfoundry_device-sdk-go_PR-692:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-692@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 02:43:00 $ docker top e424d87e8dcce19ad76e45b3410a9c7eb0aa63fdf0ca6ca2ff081974fd340e73 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:00 [ssh-agent] Looking for ssh-agent implementation... 02:43:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:00 $ docker exec e424d87e8dcce19ad76e45b3410a9c7eb0aa63fdf0ca6ca2ff081974fd340e73 ssh-agent 02:43:00 SSH_AUTH_SOCK=/tmp/ssh-SNQE0zySSuYM/agent.12 02:43:00 SSH_AGENT_PID=17 02:43:01 Running ssh-add (command line suppressed) 02:43:01 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_7065317945280239663.key (/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_7065317945280239663.key) 02:43:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:01 + git tag --points-at HEAD [Pipeline] } 02:43:01 $ docker exec --env ******** --env ******** e424d87e8dcce19ad76e45b3410a9c7eb0aa63fdf0ca6ca2ff081974fd340e73 ssh-agent -k 02:43:01 unset SSH_AUTH_SOCK; 02:43:01 unset SSH_AGENT_PID; 02:43:01 echo Agent pid 17 killed; 02:43:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:01 [ssh-agent] Looking for ssh-agent implementation... 02:43:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:02 $ docker exec e424d87e8dcce19ad76e45b3410a9c7eb0aa63fdf0ca6ca2ff081974fd340e73 ssh-agent 02:43:02 SSH_AUTH_SOCK=/tmp/ssh-yfUW2SXCsmdA/agent.45 02:43:02 SSH_AGENT_PID=51 02:43:02 Running ssh-add (command line suppressed) 02:43:02 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_974893071988205118.key (/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/private_key_974893071988205118.key) 02:43:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:02 + git semver init 02:43:02 # -> Open(): unable to determine branch for HEAD 02:43:02 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-692/.git 02:43:02 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-692 02:43:02 # $SEMVER_REMOTE_NAME = origin 02:43:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:02 # $SEMVER_USER_NAME = edgex-jenkins 02:43:02 # $SEMVER_BRANCH = PR-692 02:43:02 # $SEMVER_TEMP = /tmp/semver-733638489 02:43:02 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:03 # '/tmp/semver-733638489' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-692/.semver' 02:43:03 # -> Force: false 02:43:03 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-692/.semver [Pipeline] } 02:43:03 $ docker exec --env ******** --env ******** e424d87e8dcce19ad76e45b3410a9c7eb0aa63fdf0ca6ca2ff081974fd340e73 ssh-agent -k 02:43:03 unset SSH_AUTH_SOCK; 02:43:03 unset SSH_AGENT_PID; 02:43:03 echo Agent pid 51 killed; 02:43:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:04 + git semver [Pipeline] } 02:43:04 $ docker stop --time=1 e424d87e8dcce19ad76e45b3410a9c7eb0aa63fdf0ca6ca2ff081974fd340e73 02:43:05 $ docker rm -f e424d87e8dcce19ad76e45b3410a9c7eb0aa63fdf0ca6ca2ff081974fd340e73 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:06 Stashed 1 file(s) [Pipeline] echo 02:43:06 [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:43:22 Still waiting to schedule task 02:43:22 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:43:22 Still waiting to schedule task 02:43:22 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:45:42 Running on prd-centos7-docker-4c-2g-17574 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [Pipeline] { [Pipeline] ws 02:45:42 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 02:45:51 using credential edgex-jenkins-ssh 02:45:51 Cloning the remote Git repository 02:45:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:51 > git init /w/workspace/device-sdk-go/8 # timeout=10 02:45:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:51 > git --version # timeout=10 02:45:51 > git --version # 'git version 2.24.3' 02:45:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:53 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b 02:45:54 Merge succeeded, producing fa8874b76eba6c001693b6ef7d400bfa46cf6961 02:45:54 Checking out Revision fa8874b76eba6c001693b6ef7d400bfa46cf6961 (PR-692) 02:45:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:53 > git config core.sparsecheckout # timeout=10 02:45:53 > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 02:45:53 > git remote # timeout=10 02:45:53 > git config --get remote.origin.url # timeout=10 02:45:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:53 > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 02:45:53 > git rev-parse HEAD^{commit} # timeout=10 02:45:54 > git config core.sparsecheckout # timeout=10 02:45:54 > git checkout -f fa8874b76eba6c001693b6ef7d400bfa46cf6961 # timeout=10 02:45:58 Commit message: "Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD" 02:45:58 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 02:45:58 > git rev-list --no-walk 8c52c6dbefe03ddad9e683032218bb1ff7a74c6d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:00 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:46:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:01 + sudo service docker restart 02:46:01 + true 02:46:01 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:03 provisioning config files... 02:46:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config2686949439017796862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:04 ---> docker-login.sh 02:46:04 nexus3.edgexfoundry.org:10001 02:46:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:05 Configure a credential helper to remove this warning. See 02:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:05 02:46:05 Login Succeeded 02:46:05 nexus3.edgexfoundry.org:10002 02:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:05 Configure a credential helper to remove this warning. See 02:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:05 02:46:05 Login Succeeded 02:46:05 nexus3.edgexfoundry.org:10003 02:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:06 Configure a credential helper to remove this warning. See 02:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:06 02:46:06 Login Succeeded 02:46:06 nexus3.edgexfoundry.org:10004 02:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:06 Configure a credential helper to remove this warning. See 02:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:06 02:46:06 Login Succeeded 02:46:06 docker.io 02:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:07 Configure a credential helper to remove this warning. See 02:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:07 02:46:07 Login Succeeded 02:46:07 ---> docker-login.sh ends [Pipeline] } 02:46:07 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:07 ========================================================= 02:46:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:46:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:08 + 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:46:09 Sending build context to Docker daemon 2.422MB 02:46:09 Step 1/8 : ARG BASE=golang:1.15-alpine 02:46:09 Step 2/8 : FROM ${BASE} 02:46:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:46:09 188c0c94c7c5: Pulling fs layer 02:46:09 0ef7d3d256c8: Pulling fs layer 02:46:09 de9db76c5a1d: Pulling fs layer 02:46:09 bca2f99d35d6: Pulling fs layer 02:46:09 93359f2a8cfa: Pulling fs layer 02:46:09 7c6f9722023f: Pulling fs layer 02:46:09 a35cf1a2eb13: Pulling fs layer 02:46:09 93359f2a8cfa: Waiting 02:46:09 7c6f9722023f: Waiting 02:46:09 a35cf1a2eb13: Waiting 02:46:09 bca2f99d35d6: Waiting 02:46:09 de9db76c5a1d: Verifying Checksum 02:46:09 de9db76c5a1d: Download complete 02:46:09 0ef7d3d256c8: Verifying Checksum 02:46:09 0ef7d3d256c8: Download complete 02:46:09 93359f2a8cfa: Verifying Checksum 02:46:09 93359f2a8cfa: Download complete 02:46:09 7c6f9722023f: Verifying Checksum 02:46:09 7c6f9722023f: Download complete 02:46:09 188c0c94c7c5: Download complete 02:46:10 188c0c94c7c5: Pull complete 02:46:11 0ef7d3d256c8: Pull complete 02:46:11 de9db76c5a1d: Pull complete 02:46:16 a35cf1a2eb13: Verifying Checksum 02:46:16 a35cf1a2eb13: Download complete 02:46:17 bca2f99d35d6: Verifying Checksum 02:46:17 bca2f99d35d6: Download complete 02:46:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17576 in /w/workspace/dgexfoundry_device-sdk-go_PR-692 [Pipeline] { [Pipeline] ws 02:46:27 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 02:46:30 bca2f99d35d6: Pull complete 02:46:30 93359f2a8cfa: Pull complete 02:46:30 7c6f9722023f: Pull complete 02:46:33 using credential edgex-jenkins-ssh 02:46:33 Cloning the remote Git repository 02:46:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:34 > git init /w/workspace/device-sdk-go/8 # timeout=10 02:46:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:34 > git --version # timeout=10 02:46:34 > git --version # 'git version 2.17.1' 02:46:34 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:35 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/692/head:refs/remotes/origin/PR-692 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:35 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b 02:46:36 Merge succeeded, producing beda38ab83c803470fb1e943c67abc35a4022d3c 02:46:36 Checking out Revision beda38ab83c803470fb1e943c67abc35a4022d3c (PR-692) 02:46:35 > git config core.sparsecheckout # timeout=10 02:46:35 > git checkout -f a6e7e57d4cbe6eae8cb1ba1b92014a5704ca128b # timeout=10 02:46:36 > git remote # timeout=10 02:46:36 > git config --get remote.origin.url # timeout=10 02:46:36 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:36 > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 02:46:36 > git rev-parse HEAD^{commit} # timeout=10 02:46:36 > git config core.sparsecheckout # timeout=10 02:46:36 > git checkout -f beda38ab83c803470fb1e943c67abc35a4022d3c # timeout=10 02:46:40 Commit message: "Merge commit '42e5a1ea61e0adb23423a933a3224d1395f33e87' into HEAD" 02:46:40 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 02:46:41 a35cf1a2eb13: Pull complete 02:46:41 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:41 ---> a62c8e92a672 02:46:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:41 ---> Running in 1dc03d6946ca 02:46:41 Removing intermediate container 1dc03d6946ca 02:46:41 ---> 1ad882783b8d 02:46:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:41 ---> Running in f4e37bde7b7c [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 02:46:40 > git rev-list --no-walk 8c52c6dbefe03ddad9e683032218bb1ff7a74c6d # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:42 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:46:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:42 Removing intermediate container f4e37bde7b7c 02:46:42 ---> e54a776a4e83 02:46:42 Step 5/8 : RUN apk add --no-cache make git 02:46:42 + true 02:46:42 + sudo service docker restart 02:46:43 ---> Running in 60bf4bb33ba5 02:46:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:45 provisioning config files... 02:46:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config4186831103261460551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:46 ---> docker-login.sh 02:46:46 nexus3.edgexfoundry.org:10001 02:46:46 OK: 166 MiB in 39 packages 02:46:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:47 Removing intermediate container 60bf4bb33ba5 02:46:47 ---> 784409e90b05 02:46:47 Step 6/8 : WORKDIR /device-sdk-go 02:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:47 Configure a credential helper to remove this warning. See 02:46:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:47 02:46:47 Login Succeeded 02:46:47 nexus3.edgexfoundry.org:10002 02:46:47 ---> Running in 07b82a1aefd9 02:46:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:47 Removing intermediate container 07b82a1aefd9 02:46:47 ---> 78e90c7b11c6 02:46:47 Step 7/8 : COPY . . 02:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:47 Configure a credential helper to remove this warning. See 02:46:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:47 02:46:47 Login Succeeded 02:46:47 nexus3.edgexfoundry.org:10003 02:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:48 Configure a credential helper to remove this warning. See 02:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:48 02:46:48 Login Succeeded 02:46:48 nexus3.edgexfoundry.org:10004 02:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:49 Configure a credential helper to remove this warning. See 02:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:49 02:46:49 Login Succeeded 02:46:49 docker.io 02:46:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:49 ---> 59c2a8615ac0 02:46:49 Step 8/8 : RUN go mod download 02:46:49 ---> Running in 0f819c2f540a 02:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:49 Configure a credential helper to remove this warning. See 02:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:49 02:46:49 Login Succeeded 02:46:49 ---> docker-login.sh ends [Pipeline] } 02:46:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:50 ========================================================= 02:46:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:50 + 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:46:51 Sending build context to Docker daemon 2.422MB 02:46:51 Step 1/8 : ARG BASE=golang:1.15-alpine 02:46:51 Step 2/8 : FROM ${BASE} 02:46:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:51 5f621e34cdf4: Pulling fs layer 02:46:51 a4357932f1b6: Pulling fs layer 02:46:51 18c013af1878: Pulling fs layer 02:46:51 00ac8860ef70: Pulling fs layer 02:46:51 63d7cb157983: Pulling fs layer 02:46:51 b116817d02f9: Pulling fs layer 02:46:51 745a02a5169b: Pulling fs layer 02:46:51 00ac8860ef70: Waiting 02:46:51 63d7cb157983: Waiting 02:46:51 b116817d02f9: Waiting 02:46:51 745a02a5169b: Waiting 02:46:51 18c013af1878: Verifying Checksum 02:46:51 18c013af1878: Download complete 02:46:51 a4357932f1b6: Verifying Checksum 02:46:51 a4357932f1b6: Download complete 02:46:51 63d7cb157983: Verifying Checksum 02:46:51 63d7cb157983: Download complete 02:46:51 b116817d02f9: Download complete 02:46:51 5f621e34cdf4: Verifying Checksum 02:46:51 5f621e34cdf4: Download complete 02:46:52 5f621e34cdf4: Pull complete 02:46:52 a4357932f1b6: Pull complete 02:46:53 18c013af1878: Pull complete 02:46:55 745a02a5169b: Verifying Checksum 02:46:55 745a02a5169b: Download complete 02:46:56 00ac8860ef70: Verifying Checksum 02:46:56 00ac8860ef70: Download complete 02:47:06 00ac8860ef70: Pull complete 02:47:06 63d7cb157983: Pull complete 02:47:07 b116817d02f9: Pull complete 02:47:10 745a02a5169b: Pull complete 02:47:10 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:47:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:10 ---> b7e6874047d6 02:47:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:14 ---> Running in b0007e2635aa 02:47:14 Removing intermediate container b0007e2635aa 02:47:14 ---> 8eeaf6c9232f 02:47:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:14 ---> Running in 1190b554a0ff 02:47:17 Removing intermediate container 1190b554a0ff 02:47:17 ---> 7fe9e638135f 02:47:17 Step 5/8 : RUN apk add --no-cache make git 02:47:17 ---> Running in a8101e5b78a9 02:47:17 Removing intermediate container 0f819c2f540a 02:47:17 ---> 9d08d7ba0e03 02:47:17 Successfully built 9d08d7ba0e03 02:47:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:47:17 + docker inspect -f . ci-base-image-x86_64 02:47:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:18 . [Pipeline] withDockerContainer 02:47:18 prd-centos7-docker-4c-2g-17574 does not seem to be running inside a container 02:47:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 02:47:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:19 $ docker top 056b4ee4c312f77b64a10234277e37655335481f7f6d41771934f53270e8ac9b -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:20 + go version 02:47:20 go version go1.15.5 linux/amd64 [Pipeline] } 02:47:20 $ docker stop --time=1 056b4ee4c312f77b64a10234277e37655335481f7f6d41771934f53270e8ac9b 02:47:21 OK: 142 MiB in 39 packages 02:47:22 Removing intermediate container a8101e5b78a9 02:47:22 ---> 49a0226e1c51 02:47:22 Step 6/8 : WORKDIR /device-sdk-go 02:47:22 ---> Running in 1b3fb904d733 02:47:22 $ docker rm -f 056b4ee4c312f77b64a10234277e37655335481f7f6d41771934f53270e8ac9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 02:47:22 Removing intermediate container 1b3fb904d733 02:47:22 ---> 286807b676d2 02:47:22 Step 7/8 : COPY . . [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:23 + docker inspect -f . ci-base-image-x86_64 02:47:23 . [Pipeline] withDockerContainer 02:47:23 prd-centos7-docker-4c-2g-17574 does not seem to be running inside a container 02:47:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 02:47:24 ---> 00b4beac514c 02:47:24 Step 8/8 : RUN go mod download 02:47:24 ---> Running in d263b111ecc8 02:47:24 $ docker top 1598ca0e817cdb2377872a63f400cc6c189b2b740d253996a2dd07e8327e594e -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:25 + make test 02:47:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:41 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:46 Removing intermediate container d263b111ecc8 02:47:46 ---> 57662eb706e6 02:47:46 Successfully built 57662eb706e6 02:47:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:46 + docker inspect -f . ci-base-image-arm64 02:47:46 . [Pipeline] withDockerContainer 02:47:47 prd-ubuntu18.04-docker-arm64-4c-16g-17576 does not seem to be running inside a container 02:47:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 02:47:48 $ docker top bcec15beed9313a3f1e1d238084e5c2b4115d27dd9c030f7a3fd5c0a8d839cbc -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:50 + go version 02:47:50 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:50 $ docker stop --time=1 bcec15beed9313a3f1e1d238084e5c2b4115d27dd9c030f7a3fd5c0a8d839cbc 02:47:52 $ docker rm -f bcec15beed9313a3f1e1d238084e5c2b4115d27dd9c030f7a3fd5c0a8d839cbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:53 + docker inspect -f . ci-base-image-arm64 02:47:53 . [Pipeline] withDockerContainer 02:47:53 prd-ubuntu18.04-docker-arm64-4c-16g-17576 does not seem to be running inside a container 02:47:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 02:47:54 $ docker top 479c45f3e37f31adc72cb9edb884efb050376b6e0b467adcc74224dd1611af39 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:55 + make test 02:47:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:48:08 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:08 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:08 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:08 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.098s coverage: 19.4% of statements 02:48:08 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.941s coverage: 97.1% of statements 02:48:18 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:48:40 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.116s coverage: 9.4% of statements 02:48:40 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.100s coverage: 21.9% of statements 02:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:48:40 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.371s coverage: 42.5% of statements 02:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:48:40 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.409s coverage: 68.9% of statements 02:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:48:40 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.180s coverage: 53.8% of statements 02:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:48:40 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:48:40 ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.156s coverage: 68.9% of statements 02:48:40 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.071s coverage: 4.2% of statements 02:48:40 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:48:40 GO111MODULE=on go vet ./... 02:48:57 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:48:57 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:48:57 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:48:57 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.175s coverage: 19.4% of statements 02:48:59 gofmt -l . 02:49:00 [ "`gofmt -l .`" = "" ] 02:49:00 ./bin/test-attribution-txt.sh 02:49:01 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:01 $ docker stop --time=1 1598ca0e817cdb2377872a63f400cc6c189b2b740d253996a2dd07e8327e594e 02:49:03 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.187s coverage: 97.1% of statements 02:49:04 $ docker rm -f 1598ca0e817cdb2377872a63f400cc6c189b2b740d253996a2dd07e8327e594e [Pipeline] // withDockerContainer [Pipeline] sh 02:49:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:49:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:07 + ls -al . 02:49:07 total 208 02:49:07 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 29 02:49 . 02:49:07 drwxrwxr-x. 4 jenkins jenkins 28 Dec 29 02:45 .. 02:49:07 drwxrwxr-x. 2 jenkins jenkins 64 Dec 29 02:45 bin 02:49:07 -rw-r--r--. 1 jenkins jenkins 130526 Dec 29 02:48 coverage.out 02:49:07 -rw-rw-r--. 1 jenkins jenkins 936 Dec 29 02:45 Dockerfile.build 02:49:07 -rw-rw-r--. 1 jenkins jenkins 140 Dec 29 02:45 .dockerignore 02:49:07 drwxrwxr-x. 4 jenkins jenkins 48 Dec 29 02:45 example 02:49:07 drwxrwxr-x. 8 jenkins jenkins 179 Dec 29 02:45 .git 02:49:07 drwxrwxr-x. 2 jenkins jenkins 103 Dec 29 02:45 .github 02:49:07 -rw-rw-r--. 1 jenkins jenkins 138 Dec 29 02:45 .gitignore 02:49:07 -rw-r--r--. 1 jenkins jenkins 488 Dec 29 02:49 go.mod 02:49:07 -rw-r--r--. 1 jenkins jenkins 13734 Dec 29 02:49 go.sum 02:49:07 drwxrwxr-x. 15 jenkins jenkins 211 Dec 29 02:45 internal 02:49:07 -rw-rw-r--. 1 jenkins jenkins 901 Dec 29 02:45 Jenkinsfile 02:49:07 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 29 02:45 LICENSE 02:49:07 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 29 02:45 Makefile 02:49:07 drwxrwxr-x. 4 jenkins jenkins 26 Dec 29 02:45 openapi 02:49:07 drwxrwxr-x. 5 jenkins jenkins 50 Dec 29 02:45 pkg 02:49:07 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 29 02:45 README.md 02:49:07 -rw-rw-r--. 1 jenkins jenkins 6616 Dec 29 02:45 RELEASE-NOTES.txt 02:49:07 drwxrwxr-x. 4 jenkins jenkins 54 Dec 29 02:45 snap 02:49:07 -rw-rw-r--. 1 jenkins jenkins 5 Dec 29 02:43 VERSION 02:49:07 -rw-rw-r--. 1 jenkins jenkins 222 Dec 29 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:07 + 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=8f3c845238073ca07f74c2374786e97a0451ff5f --label arch=amd64 --label version=0.0.0 . 02:49:08 Sending build context to Docker daemon 2.553MB 02:49:08 Step 1/24 : ARG BASE=golang:1.15-alpine 02:49:08 Step 2/24 : FROM ${BASE} AS builder 02:49:08 ---> 9d08d7ba0e03 02:49:08 Step 3/24 : ARG MAKE='make build' 02:49:08 ---> Running in 402189a5b9ca 02:49:08 Removing intermediate container 402189a5b9ca 02:49:08 ---> 19f51d9dd979 02:49:08 Step 4/24 : WORKDIR /device-sdk-go 02:49:08 ---> Running in 57a759975f4f 02:49:09 Removing intermediate container 57a759975f4f 02:49:09 ---> 16db879730f9 02:49:09 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:09 ---> Running in cdc0bc799fc4 02:49:10 Removing intermediate container cdc0bc799fc4 02:49:10 ---> f08276eda375 02:49:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:10 ---> Running in 30564a3db158 02:49:12 Removing intermediate container 30564a3db158 02:49:12 ---> 521f9cb0dd88 02:49:12 Step 7/24 : RUN apk add --update --no-cache make git 02:49:12 ---> Running in 3cfa84285c66 02:49:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:49:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:49:14 OK: 166 MiB in 39 packages 02:49:15 Removing intermediate container 3cfa84285c66 02:49:15 ---> 713c5e40c624 02:49:15 Step 8/24 : COPY . . 02:49:17 ---> 9754525fd144 02:49:17 Step 9/24 : RUN ${MAKE} 02:49:17 ---> Running in 58b01c146e71 02:49:18 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:49:29 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.228s coverage: 9.4% of statements 02:49:29 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.160s coverage: 21.9% of statements 02:49:29 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:49:29 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.639s coverage: 42.5% of statements 02:49:29 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:49:29 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.762s coverage: 68.9% of statements 02:49:29 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:49:29 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:49:29 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:49:29 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:49:29 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.187s coverage: 53.8% of statements 02:49:29 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:49:29 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:49:29 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:49:29 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.728s coverage: 68.9% of statements 02:49:29 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.143s coverage: 4.2% of statements 02:49:29 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:49:29 GO111MODULE=on go vet ./... 02:49:37 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:49:39 Removing intermediate container 58b01c146e71 02:49:39 ---> 5e521a44a30c 02:49:39 Step 10/24 : FROM scratch 02:49:39 ---> 02:49:39 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:39 ---> Running in 289b745afe43 02:49:39 Removing intermediate container 289b745afe43 02:49:39 ---> 41daf97a2f32 02:49:39 Step 12/24 : ENV APP_PORT=49990 02:49:39 ---> Running in 5fe2fc8c04ff 02:49:40 Removing intermediate container 5fe2fc8c04ff 02:49:40 ---> df037bf16802 02:49:40 Step 13/24 : EXPOSE $APP_PORT 02:49:40 ---> Running in f36632069f6b 02:49:40 Removing intermediate container f36632069f6b 02:49:40 ---> 55962d5f7b8e 02:49:40 Step 14/24 : WORKDIR / 02:49:40 ---> Running in eadf796d5b73 02:49:41 Removing intermediate container eadf796d5b73 02:49:41 ---> c3aacc3bf269 02:49:41 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:49:42 ---> 70a0196a5fc7 02:49:42 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:49:42 ---> c630b82e4ba0 02:49:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:49:42 ---> 93599160bd98 02:49:42 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:49:43 ---> eb5646c14a07 02:49:43 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:49:43 ---> 315be7f22a87 02:49:43 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:49:43 ---> Running in 037712575a1e 02:49:44 Removing intermediate container 037712575a1e 02:49:44 ---> 19c212f358aa 02:49:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:44 ---> Running in ac8b38a1273d 02:49:44 Removing intermediate container ac8b38a1273d 02:49:44 ---> d95e04d2a6f1 02:49:44 Step 22/24 : LABEL arch=amd64 02:49:44 ---> Running in 07870694f3d6 02:49:44 Removing intermediate container 07870694f3d6 02:49:44 ---> cfff927a1768 02:49:44 Step 23/24 : LABEL git_sha=8f3c845238073ca07f74c2374786e97a0451ff5f 02:49:44 ---> Running in f0a31ce476c3 02:49:45 Removing intermediate container f0a31ce476c3 02:49:45 ---> 06727ee360e7 02:49:45 Step 24/24 : LABEL version=0.0.0 02:49:45 ---> Running in 7e641deb984f 02:49:45 Removing intermediate container 7e641deb984f 02:49:45 ---> 6c0a21c0283d 02:49:45 [Warning] One or more build-args [ARCH] were not consumed 02:49:45 Successfully built 6c0a21c0283d 02:49:45 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:50:02 gofmt -l . 02:50:02 [ "`gofmt -l .`" = "" ] 02:50:02 ./bin/test-attribution-txt.sh 02:50:02 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:50:03 $ docker stop --time=1 479c45f3e37f31adc72cb9edb884efb050376b6e0b467adcc74224dd1611af39 02:50:05 $ docker rm -f 479c45f3e37f31adc72cb9edb884efb050376b6e0b467adcc74224dd1611af39 [Pipeline] // withDockerContainer [Pipeline] sh 02:50:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:50:06 Warning: overwriting stash ‘coverage-report’ 02:50:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:08 + ls -al . 02:50:08 total 244 02:50:08 drwxrwxr-x 10 jenkins jenkins 4096 Dec 29 02:50 . 02:50:08 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 02:46 .. 02:50:08 -rw-rw-r-- 1 jenkins jenkins 140 Dec 29 02:46 .dockerignore 02:50:08 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 02:46 .git 02:50:08 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 02:46 .github 02:50:08 -rw-rw-r-- 1 jenkins jenkins 138 Dec 29 02:46 .gitignore 02:50:08 -rw-rw-r-- 1 jenkins jenkins 936 Dec 29 02:46 Dockerfile.build 02:50:08 -rw-rw-r-- 1 jenkins jenkins 901 Dec 29 02:46 Jenkinsfile 02:50:08 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 29 02:46 LICENSE 02:50:08 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 29 02:46 Makefile 02:50:08 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 29 02:46 README.md 02:50:08 -rw-rw-r-- 1 jenkins jenkins 6616 Dec 29 02:46 RELEASE-NOTES.txt 02:50:08 -rw-rw-r-- 1 jenkins jenkins 5 Dec 29 02:43 VERSION 02:50:08 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 02:46 bin 02:50:08 -rw-r--r-- 1 jenkins jenkins 130526 Dec 29 02:49 coverage.out 02:50:08 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 02:46 example 02:50:08 -rw-r--r-- 1 jenkins jenkins 488 Dec 29 02:50 go.mod 02:50:08 -rw-r--r-- 1 jenkins jenkins 13734 Dec 29 02:50 go.sum 02:50:08 drwxrwxr-x 15 jenkins jenkins 4096 Dec 29 02:46 internal 02:50:08 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 02:46 openapi 02:50:08 drwxrwxr-x 5 jenkins jenkins 4096 Dec 29 02:46 pkg 02:50:08 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 02:46 snap 02:50:08 -rw-rw-r-- 1 jenkins jenkins 222 Dec 29 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:50:08 + 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=8f3c845238073ca07f74c2374786e97a0451ff5f --label arch=arm64 --label version=0.0.0 . 02:50:09 Sending build context to Docker daemon 2.553MB 02:50:09 Step 1/24 : ARG BASE=golang:1.15-alpine 02:50:09 Step 2/24 : FROM ${BASE} AS builder 02:50:09 ---> 57662eb706e6 02:50:09 Step 3/24 : ARG MAKE='make build' 02:50:09 ---> Running in 5ab99e5189bf 02:50:10 Removing intermediate container 5ab99e5189bf 02:50:10 ---> a26539848e2d 02:50:10 Step 4/24 : WORKDIR /device-sdk-go 02:50:10 ---> Running in e6cef1a1dc79 02:50:10 Removing intermediate container e6cef1a1dc79 02:50:10 ---> c76b97ab37fe 02:50:10 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:10 ---> Running in 1b1bfe110ae5 02:50:11 Removing intermediate container 1b1bfe110ae5 02:50:11 ---> 92902ddbe2ac 02:50:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:11 ---> Running in 41117d584c58 02:50:13 Removing intermediate container 41117d584c58 02:50:13 ---> da3f2eb0d463 02:50:13 Step 7/24 : RUN apk add --update --no-cache make git 02:50:13 ---> Running in df69f1b57820 02:50:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:16 OK: 142 MiB in 39 packages 02:50:17 Removing intermediate container df69f1b57820 02:50:17 ---> 09804fec0e9a 02:50:17 Step 8/24 : COPY . . 02:50:18 ---> 0a04ec2b2132 02:50:18 Step 9/24 : RUN ${MAKE} 02:50:18 ---> Running in 70a72f5c412e 02:50:19 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:50:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:47 Removing intermediate container 70a72f5c412e 02:50:47 ---> a99f3c31c596 02:50:47 Step 10/24 : FROM scratch 02:50:47 ---> 02:50:47 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:47 ---> Running in 3f26d085b0e7 02:50:47 Removing intermediate container 3f26d085b0e7 02:50:47 ---> 724c2d3e7954 02:50:47 Step 12/24 : ENV APP_PORT=49990 02:50:47 ---> Running in 430326cf304d 02:50:48 Removing intermediate container 430326cf304d 02:50:48 ---> efe5005ea840 02:50:48 Step 13/24 : EXPOSE $APP_PORT 02:50:48 ---> Running in 9c6721512a14 02:50:48 Removing intermediate container 9c6721512a14 02:50:48 ---> 97bfbf7e006b 02:50:48 Step 14/24 : WORKDIR / 02:50:48 ---> Running in a0b0bc182cbe 02:50:49 Removing intermediate container a0b0bc182cbe 02:50:49 ---> f342942b7f97 02:50:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:50 ---> 9405aa933055 02:50:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:51 ---> 0bbe97cec044 02:50:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:51 ---> 8ba7a6ac8f99 02:50:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:52 ---> 1f78e306eea6 02:50:52 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:53 ---> 6212891aaa13 02:50:53 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:53 ---> Running in 26720cdd9514 02:50:53 Removing intermediate container 26720cdd9514 02:50:53 ---> bd8fb1689030 02:50:53 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:53 ---> Running in f902035ecf67 02:50:54 Removing intermediate container f902035ecf67 02:50:54 ---> 93d5102672b1 02:50:54 Step 22/24 : LABEL arch=arm64 02:50:54 ---> Running in f5a179b9c1c6 02:50:55 Removing intermediate container f5a179b9c1c6 02:50:55 ---> 4819a4232ea1 02:50:55 Step 23/24 : LABEL git_sha=8f3c845238073ca07f74c2374786e97a0451ff5f 02:50:55 ---> Running in ed3c9463ba6f 02:50:55 Removing intermediate container ed3c9463ba6f 02:50:55 ---> 362f84516480 02:50:55 Step 24/24 : LABEL version=0.0.0 02:50:55 ---> Running in a36af5720ee0 02:50:55 Removing intermediate container a36af5720ee0 02:50:55 ---> 528df504cadd 02:50:55 [Warning] One or more build-args [ARCH] were not consumed 02:50:55 Successfully built 528df504cadd 02:50:56 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:50:57 provisioning config files... 02:50:57 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config4580027811094240149tmp [Pipeline] { [Pipeline] sh 02:50:58 + set +x 02:50:58 + curl -s https://codecov.io/bash 02:50:58 + bash -s -- 02:50:58 02:50:58 _____ _ 02:50:58 / ____| | | 02:50:58 | | ___ __| | ___ ___ _____ __ 02:50:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:58 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:58 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:58 Bash-20201223-5ad85e3 02:50:58 02:50:58 02:50:58 ==> git version 2.24.3 found 02:50:58 ==> 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:50:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:50:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:50:58 ==> Jenkins CI detected. 02:50:58 project root: . 02:50:58 --> token set from env 02:50:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:58 ==> Running gcov in . (disable via -X gcov) 02:50:58 ==> Python coveragepy not found 02:50:58 ==> Searching for coverage reports in: 02:50:58 + . 02:50:58 -> Found 1 reports 02:50:58 ==> Detecting git/mercurial file structure 02:50:58 ==> Reading reports 02:50:58 + ./coverage.out bytes=130526 02:50:58 ==> Appending adjustments 02:50:58 https://docs.codecov.io/docs/fixing-reports 02:50:59 + Found adjustments 02:50:59 ==> Gzipping contents 02:50:59 24K /tmp/codecov.ZYlNhO.gz 02:50:59 ==> Uploading reports 02:50:59 url: https://codecov.io 02:50:59 query: branch=PR-692&commit=8f3c845238073ca07f74c2374786e97a0451ff5f&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-692%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=692&job=&cmd_args= 02:50:59 -> Pinging Codecov 02:50:59 https://codecov.io/upload/v4?package=bash-20201223-5ad85e3&token=secret&branch=PR-692&commit=8f3c845238073ca07f74c2374786e97a0451ff5f&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-692%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=692&job=&cmd_args= 02:50:59 -> Uploading to 02:50:59 https://storage.googleapis.com/codecov/v4/raw/2020-12-29/7E55EF52A471D76F132DFD9A03CDDE97/8f3c845238073ca07f74c2374786e97a0451ff5f/d7359ccb-de29-46fb-8348-761ab0f10390.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201229T025059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1e396c4efff885f244c5b95a923cba164424892ed25645c33f0fe371bf795da9 02:50:59 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:59 Dload Upload Total Spent Left Speed 02:50:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21264 0 0 100 21264 0 39980 --:--:-- --:--:-- --:--:-- 39969 100 21264 0 0 100 21264 0 39969 --:--:-- --:--:-- --:--:-- 39969 02:50:59 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8f3c845238073ca07f74c2374786e97a0451ff5f [Pipeline] } 02:50:59 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:51:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:03 ---> package-listing.sh 02:51:03 ++ facter osfamily 02:51:03 ++ tr '[:upper:]' '[:lower:]' 02:51:03 + OS_FAMILY=redhat 02:51:03 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-692 02:51:03 + START_PACKAGES=/tmp/packages_start.txt 02:51:03 + END_PACKAGES=/tmp/packages_end.txt 02:51:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:03 + PACKAGES=/tmp/packages_start.txt 02:51:03 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-692 ']' 02:51:03 + PACKAGES=/tmp/packages_end.txt 02:51:03 + case "${OS_FAMILY}" in 02:51:03 + rpm -qa 02:51:03 + sort 02:51:08 + '[' -f /tmp/packages_start.txt ']' 02:51:08 + '[' -f /tmp/packages_end.txt ']' 02:51:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-692 ']' 02:51:08 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-692/archives/ 02:51:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-692/archives/ [Pipeline] echo 02:51:08 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-692/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:51:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:09 02:51:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:09 alpine: Pulling from edgex-lftools-log-publisher 02:51:09 df20fa9351a1: Pulling fs layer 02:51:09 36b3adc4ff6f: Pulling fs layer 02:51:09 8ad3a11d3b57: Pulling fs layer 02:51:09 46f8f816bc3b: Pulling fs layer 02:51:09 93b61091891f: Pulling fs layer 02:51:09 93b9cdb0e59b: Pulling fs layer 02:51:09 5e14af77c1be: Pulling fs layer 02:51:09 01666e4c0597: Pulling fs layer 02:51:09 aa168da1d23b: Pulling fs layer 02:51:09 46f8f816bc3b: Waiting 02:51:09 93b61091891f: Waiting 02:51:09 93b9cdb0e59b: Waiting 02:51:09 5e14af77c1be: Waiting 02:51:09 01666e4c0597: Waiting 02:51:09 aa168da1d23b: Waiting 02:51:09 36b3adc4ff6f: Verifying Checksum 02:51:09 36b3adc4ff6f: Download complete 02:51:09 46f8f816bc3b: Verifying Checksum 02:51:09 46f8f816bc3b: Download complete 02:51:09 df20fa9351a1: Verifying Checksum 02:51:09 df20fa9351a1: Download complete 02:51:09 93b9cdb0e59b: Verifying Checksum 02:51:09 93b9cdb0e59b: Download complete 02:51:09 5e14af77c1be: Verifying Checksum 02:51:09 5e14af77c1be: Download complete 02:51:09 01666e4c0597: Verifying Checksum 02:51:09 01666e4c0597: Download complete 02:51:09 93b61091891f: Verifying Checksum 02:51:09 93b61091891f: Download complete 02:51:09 df20fa9351a1: Pull complete 02:51:10 36b3adc4ff6f: Pull complete 02:51:10 8ad3a11d3b57: Verifying Checksum 02:51:10 8ad3a11d3b57: Download complete 02:51:11 8ad3a11d3b57: Pull complete 02:51:11 46f8f816bc3b: Pull complete 02:51:12 aa168da1d23b: Verifying Checksum 02:51:12 aa168da1d23b: Download complete 02:51:12 93b61091891f: Pull complete 02:51:12 93b9cdb0e59b: Pull complete 02:51:12 5e14af77c1be: Pull complete 02:51:13 01666e4c0597: Pull complete 02:51:21 aa168da1d23b: Pull complete 02:51:21 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:21 prd-centos7-docker-4c-2g-17567 does not seem to be running inside a container 02:51:21 $ 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-692/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-692 -v /w/workspace/dgexfoundry_device-sdk-go_PR-692:/w/workspace/dgexfoundry_device-sdk-go_PR-692:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-692@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 02:51:25 $ docker top 59fcfa53cdc488a68f362f4fd2ea85c5c526f209bcc428413cac5e001a1ea8e9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:25 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:25 + mkdir -p /var/log/sa [Pipeline] sh 02:51:26 + ls /var/log/sa-host 02:51:26 + sadf -c /var/log/sa-host/sa23 02:51:26 file_magic: OK 02:51:26 HZ: Using current value: 100 02:51:26 file_header: OK 02:51:26 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:51:26 Statistics: 02:51:26 Hnuu...uuuununununu... 02:51:26 File successfully converted to sysstat format version 12.2.1 02:51:26 + sadf -c /var/log/sa-host/sa29 02:51:26 file_magic: OK 02:51:26 HZ: Using current value: 100 02:51:26 file_header: OK 02:51:26 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:51:26 Statistics: 02:51:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:26 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:26 provisioning config files... 02:51:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp/config4169813742098369659tmp [Pipeline] { [Pipeline] echo 02:51:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:26 ---> create-netrc.sh [Pipeline] } 02:51:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:26 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:27 ---> python-tools-install.sh [Pipeline] echo 02:51:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:27 ---> sudo-logs.sh 02:51:27 Archiving 'sudo' log.. [Pipeline] echo 02:51:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:27 ---> job-cost.sh 02:51:27 lf-activate-venv: SKIPPING 02:51:27 INFO: No Stack... 02:51:29 INFO: Retrieving Pricing Info for: v1-standard-2 02:51:29 INFO: Archiving Costs [Pipeline] echo 02:51:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:29 ---> logs-deploy.sh 02:51:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-692/8 02:51:29 INFO: archiving workspace using pattern(s): 02:51:31 Archives upload complete. 02:51:31 INFO: archiving logs to Nexus 02:51:32 ---> uname -a: 02:51:32 Linux prd-centos7-docker-4c-2g-17567.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:51:32 02:51:32 02:51:32 ---> lscpu: 02:51:32 Architecture: x86_64 02:51:32 CPU op-mode(s): 32-bit, 64-bit 02:51:32 Byte Order: Little Endian 02:51:32 Address sizes: 40 bits physical, 48 bits virtual 02:51:32 CPU(s): 4 02:51:32 On-line CPU(s) list: 0-3 02:51:32 Thread(s) per core: 1 02:51:32 Core(s) per socket: 1 02:51:32 Socket(s): 4 02:51:32 NUMA node(s): 1 02:51:32 Vendor ID: GenuineIntel 02:51:32 CPU family: 6 02:51:32 Model: 44 02:51:32 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:51:32 Stepping: 1 02:51:32 CPU MHz: 2933.442 02:51:32 BogoMIPS: 5866.88 02:51:32 Virtualization: VT-x 02:51:32 Hypervisor vendor: KVM 02:51:32 Virtualization type: full 02:51:32 L1d cache: 128 KiB 02:51:32 L1i cache: 128 KiB 02:51:32 L2 cache: 16 MiB 02:51:32 L3 cache: 64 MiB 02:51:32 NUMA node0 CPU(s): 0-3 02:51:32 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:51:32 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:51:32 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:51:32 Vulnerability Meltdown: Mitigation; PTI 02:51:32 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:51:32 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:51:32 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:51:32 Vulnerability Srbds: Not affected 02:51:32 Vulnerability Tsx async abort: Not affected 02:51:32 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:51:32 02:51:32 02:51:32 ---> nproc: 02:51:32 4 02:51:32 02:51:32 02:51:32 ---> df -h: 02:51:32 Filesystem Size Used Available Use% Mounted on 02:51:32 overlay 50.0G 7.3G 42.7G 15% / 02:51:32 tmpfs 64.0M 0 64.0M 0% /dev 02:51:32 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:51:32 shm 64.0M 0 64.0M 0% /dev/shm 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-692@tmp 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:51:32 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-692 02:51:32 02:51:32 02:51:32 ---> free -m: 02:51:32 total used free shared buff/cache available 02:51:32 Mem: 1837 699 110 0 1026 1033 02:51:32 Swap: 1023 0 1023 02:51:32 02:51:32 02:51:32 ---> ip addr: 02:51:32 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:51:32 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:51:32 inet 127.0.0.1/8 scope host lo 02:51:32 valid_lft forever preferred_lft forever 02:51:32 inet6 ::1/128 scope host 02:51:32 valid_lft forever preferred_lft forever 02:51:32 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:51:32 link/ether fa:16:3e:53:13:20 brd ff:ff:ff:ff:ff:ff 02:51:32 inet 10.30.123.88/23 brd 10.30.123.255 scope global dynamic eth0 02:51:32 valid_lft 85839sec preferred_lft 85839sec 02:51:32 inet6 fe80::f816:3eff:fe53:1320/64 scope link 02:51:32 valid_lft forever preferred_lft forever 02:51:32 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:51:32 link/ether 02:42:0d:31:95:87 brd ff:ff:ff:ff:ff:ff 02:51:32 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:51:32 valid_lft forever preferred_lft forever 02:51:32 inet6 fe80::42:dff:fe31:9587/64 scope link 02:51:32 valid_lft forever preferred_lft forever 02:51:32 02:51:32 02:51:32 ---> sar -b -r -n DEV: 02:51:32 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/29/20 _x86_64_ (4 CPU) 02:51:32 02:51:32 02:41:59 LINUX RESTART (4 CPU) 02:51:32 02:51:32 02:43:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:51:32 02:44:01 9.01 2.73 6.28 0.00 197.54 229.24 0.00 02:51:32 02:45:01 0.40 0.00 0.40 0.00 0.00 6.36 0.00 02:51:32 02:46:01 0.28 0.00 0.28 0.00 0.00 4.13 0.00 02:51:32 02:47:01 0.28 0.00 0.28 0.00 0.00 4.88 0.00 02:51:32 02:48:01 0.20 0.00 0.20 0.00 0.00 3.41 0.00 02:51:32 02:49:01 0.28 0.00 0.28 0.00 0.00 3.35 0.00 02:51:32 02:50:01 0.25 0.00 0.25 0.00 0.00 2.73 0.00 02:51:32 02:51:01 0.83 0.48 0.35 0.00 145.08 10.67 0.00 02:51:32 Average: 1.44 0.40 1.04 0.00 42.83 33.10 0.00 02:51:32 02:51:32 02:43:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:51:32 02:44:01 171128 0 595292 31.64 2620 1112504 1110916 37.91 437360 1073512 24 02:51:32 02:45:01 175232 0 591180 31.42 2620 1112512 1081484 36.91 442096 1065324 16 02:51:32 02:46:01 176028 0 590380 31.38 2620 1112516 1073356 36.63 443740 1063396 20 02:51:32 02:47:01 174356 0 592048 31.47 2620 1112520 1073416 36.63 446160 1062992 16 02:51:32 02:48:01 171040 0 595360 31.64 2620 1112524 1073440 36.63 443848 1068268 8 02:51:32 02:49:01 172344 0 594052 31.57 2620 1112528 1073248 36.63 442636 1068264 16 02:51:32 02:50:01 172396 0 593996 31.57 2620 1112532 1073248 36.63 442768 1068264 8 02:51:32 02:51:01 165792 0 596056 31.68 2620 1117076 1073888 36.65 444924 1072400 8 02:51:32 Average: 172290 0 593546 31.55 2620 1113089 1079124 36.83 442942 1067802 14 02:51:32 02:51:32 02:43:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:51:32 02:44:01 eth0 26.94 23.41 39.21 19.71 0.00 0.00 0.00 0.00 02:51:32 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:44:01 docker0 9.22 7.39 1.40 22.35 0.00 0.00 0.00 0.00 02:51:32 02:45:01 eth0 4.13 0.42 0.69 0.21 0.00 0.00 0.00 0.00 02:51:32 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:46:01 eth0 3.35 0.55 0.74 0.39 0.00 0.00 0.00 0.00 02:51:32 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:47:01 eth0 1.90 0.67 0.62 0.40 0.00 0.00 0.00 0.00 02:51:32 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:48:01 eth0 1.25 0.75 0.68 0.47 0.00 0.00 0.00 0.00 02:51:32 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:49:01 eth0 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:50:01 eth0 0.17 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:51:32 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:51:01 eth0 5.26 3.46 4.86 2.01 0.00 0.00 0.00 0.00 02:51:32 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 Average: eth0 5.38 3.67 5.85 2.90 0.00 0.00 0.00 0.00 02:51:32 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:51:32 Average: docker0 1.15 0.92 0.17 2.79 0.00 0.00 0.00 0.00 02:51:32 02:51:32 02:51:32 ---> sar -P ALL: 02:51:32 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/29/20 _x86_64_ (4 CPU) 02:51:32 02:51:32 02:41:59 LINUX RESTART (4 CPU) 02:51:32 02:51:32 02:43:01 CPU %user %nice %system %iowait %steal %idle 02:51:32 02:44:01 all 1.01 0.00 0.54 0.08 0.01 98.36 02:51:32 02:44:01 0 0.92 0.00 0.60 0.18 0.00 98.30 02:51:32 02:44:01 1 1.29 0.00 0.50 0.02 0.02 98.18 02:51:32 02:44:01 2 0.83 0.00 0.50 0.07 0.00 98.60 02:51:32 02:44:01 3 1.02 0.00 0.55 0.05 0.02 98.36 02:51:32 02:45:01 all 0.17 0.00 0.05 0.00 0.00 99.78 02:51:32 02:45:01 0 0.10 0.00 0.05 0.00 0.00 99.85 02:51:32 02:45:01 1 0.53 0.00 0.07 0.00 0.00 99.40 02:51:32 02:45:01 2 0.02 0.00 0.03 0.00 0.00 99.95 02:51:32 02:45:01 3 0.03 0.00 0.07 0.00 0.00 99.90 02:51:32 02:46:01 all 0.17 0.00 0.05 0.00 0.00 99.79 02:51:32 02:46:01 0 0.03 0.00 0.05 0.00 0.00 99.92 02:51:32 02:46:01 1 0.55 0.00 0.07 0.00 0.00 99.38 02:51:32 02:46:01 2 0.03 0.00 0.02 0.00 0.00 99.95 02:51:32 02:46:01 3 0.05 0.00 0.05 0.00 0.00 99.90 02:51:32 02:47:01 all 0.16 0.00 0.04 0.00 0.00 99.80 02:51:32 02:47:01 0 0.03 0.00 0.05 0.00 0.00 99.92 02:51:32 02:47:01 1 0.52 0.00 0.05 0.00 0.00 99.43 02:51:32 02:47:01 2 0.03 0.00 0.02 0.00 0.00 99.95 02:51:32 02:47:01 3 0.05 0.00 0.03 0.00 0.00 99.92 02:51:32 02:48:01 all 0.16 0.00 0.13 0.00 0.00 99.70 02:51:32 02:48:01 0 0.07 0.00 0.13 0.00 0.00 99.80 02:51:32 02:48:01 1 0.37 0.00 0.32 0.00 0.00 99.32 02:51:32 02:48:01 2 0.17 0.00 0.02 0.00 0.02 99.80 02:51:32 02:48:01 3 0.05 0.00 0.05 0.00 0.00 99.90 02:51:32 02:49:01 all 0.13 0.00 0.04 0.00 0.00 99.83 02:51:32 02:49:01 0 0.03 0.00 0.05 0.00 0.00 99.92 02:51:32 02:49:01 1 0.03 0.00 0.03 0.00 0.00 99.93 02:51:32 02:49:01 2 0.43 0.00 0.03 0.00 0.00 99.53 02:51:32 02:49:01 3 0.02 0.00 0.03 0.00 0.00 99.95 02:51:32 02:50:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:51:32 02:50:01 0 0.05 0.00 0.07 0.00 0.00 99.88 02:51:32 02:50:01 1 0.02 0.00 0.02 0.00 0.00 99.97 02:51:32 02:50:01 2 0.53 0.00 0.02 0.00 0.00 99.45 02:51:32 02:50:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:51:32 02:51:01 all 0.44 0.00 0.30 0.01 0.00 99.25 02:51:32 02:51:01 0 0.73 0.00 0.52 0.00 0.02 98.73 02:51:32 02:51:01 1 0.20 0.00 0.18 0.00 0.00 99.62 02:51:32 02:51:01 2 0.63 0.00 0.28 0.00 0.00 99.08 02:51:32 02:51:01 3 0.18 0.00 0.22 0.03 0.00 99.57 02:51:32 Average: all 0.30 0.00 0.15 0.01 0.00 99.54 02:51:32 Average: 0 0.25 0.00 0.19 0.02 0.00 99.54 02:51:32 Average: 1 0.44 0.00 0.15 0.00 0.00 99.40 02:51:32 Average: 2 0.34 0.00 0.11 0.01 0.00 99.54 02:51:32 Average: 3 0.18 0.00 0.13 0.01 0.00 99.68 02:51:32 02:51:32 02:51:32