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 tzstoyanov for edgexfoundry/device-sdk-go Loading trusted files from base branch master at cbcd560d226450c2fc49532ec953a0990705dfef rather than 46bab8434c541b523242ffed956eb32102a5c834 Obtained Jenkinsfile from cbcd560d226450c2fc49532ec953a0990705dfef 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-13654 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [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-650 # 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/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 46bab8434c541b523242ffed956eb32102a5c834 Merge succeeded, producing 9a0e2c45274f62f1dd40da0d458bb55d36998f22 Checking out Revision 9a0e2c45274f62f1dd40da0d458bb55d36998f22 (PR-650) > git config core.sparsecheckout # timeout=10 > git checkout -f 46bab8434c541b523242ffed956eb32102a5c834 # 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 cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a0e2c45274f62f1dd40da0d458bb55d36998f22 # timeout=10 Commit message: "Merge commit 'cbcd560d226450c2fc49532ec953a0990705dfef' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk a57005e18531ebbd2212465d29fe040485a02c2c # timeout=10 [Pipeline] timeout 02:41:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:41:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:41:35 ========================================================= 02:41:35 EdgeX Global Pipelines Version Info 02:41:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:41:36 ------------------- 02:41:36 stable info: 02:41:36 ------------------- 02:41:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:36 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 02:41:36 Message: update stable to v1.0.167 02:41:37 ------------------- 02:41:37 experimental info: 02:41:37 ------------------- 02:41:37 Commited By: **** collab-it+edgex@linuxfoundation.org 02:41:37 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 02:41:37 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:41:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:41:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:41:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:41:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:41:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:41:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:41:38 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:41:38 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:41:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:41:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:41:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:41:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:41:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:41:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:41:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:41:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:41:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:41:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:41:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:41:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:41:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:41:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:41:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:41:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:41:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-650 [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-650 [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-650 [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a0e2c45274f62f1dd40da0d458bb55d36998f22 [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a0e2c4 [Pipeline] echo 02:41:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:41:41 provisioning config files... 02:41:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config2524046445965730009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:42 ---> docker-login.sh 02:41:42 nexus3.edgexfoundry.org:10001 02:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:42 Configure a credential helper to remove this warning. See 02:41:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:42 02:41:42 Login Succeeded 02:41:42 nexus3.edgexfoundry.org:10002 02:41:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:42 Configure a credential helper to remove this warning. See 02:41:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:42 02:41:42 Login Succeeded 02:41:42 nexus3.edgexfoundry.org:10003 02:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:43 Configure a credential helper to remove this warning. See 02:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:43 02:41:43 Login Succeeded 02:41:43 nexus3.edgexfoundry.org:10004 02:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:43 Configure a credential helper to remove this warning. See 02:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:43 02:41:43 Login Succeeded 02:41:43 docker.io 02:41:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:43 Configure a credential helper to remove this warning. See 02:41:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:43 02:41:43 Login Succeeded 02:41:43 ---> docker-login.sh ends [Pipeline] } 02:41:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:41:44 + git log --format=format:%s -1 9a0e2c45274f62f1dd40da0d458bb55d36998f22 [Pipeline] echo 02:41:44 GIT_COMMIT: 9a0e2c45274f62f1dd40da0d458bb55d36998f22, Commit Message: Merge commit 'cbcd560d226450c2fc49532ec953a0990705dfef' into HEAD [Pipeline] echo 02:41:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:41:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:45 02:41:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:41:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:46 latest: Pulling from edgex-devops/git-semver 02:41:46 31603596830f: Pulling fs layer 02:41:46 2a8b12db71e7: Pulling fs layer 02:41:46 6ca5941a6612: Pulling fs layer 02:41:46 ecc8261a40a4: Pulling fs layer 02:41:46 ecc8261a40a4: Waiting 02:41:46 2a8b12db71e7: Verifying Checksum 02:41:46 2a8b12db71e7: Download complete 02:41:46 31603596830f: Verifying Checksum 02:41:46 31603596830f: Download complete 02:41:46 6ca5941a6612: Verifying Checksum 02:41:46 6ca5941a6612: Download complete 02:41:46 ecc8261a40a4: Verifying Checksum 02:41:46 ecc8261a40a4: Download complete 02:41:46 31603596830f: Pull complete 02:41:46 2a8b12db71e7: Pull complete 02:41:47 6ca5941a6612: Pull complete 02:41:47 ecc8261a40a4: Pull complete 02:41:47 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:41:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:41:47 prd-centos7-docker-4c-2g-13654 does not seem to be running inside a container 02:41:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-650 -v /w/workspace/dgexfoundry_device-sdk-go_PR-650:/w/workspace/dgexfoundry_device-sdk-go_PR-650:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-650@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:41:49 $ docker top 78a7430e03c402bb93470711cbeb713df893c55d9cf7b37fd01bf054fd9062c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:41:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:50 [ssh-agent] Looking for ssh-agent implementation... 02:41:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:50 $ docker exec 78a7430e03c402bb93470711cbeb713df893c55d9cf7b37fd01bf054fd9062c3 ssh-agent 02:41:50 SSH_AUTH_SOCK=/tmp/ssh-zv9ABdaFcmNr/agent.12 02:41:50 SSH_AGENT_PID=17 02:41:50 Running ssh-add (command line suppressed) 02:41:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_3004819125780570786.key (/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_3004819125780570786.key) 02:41:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:51 + git tag --points-at HEAD [Pipeline] } 02:41:51 $ docker exec --env ******** --env ******** 78a7430e03c402bb93470711cbeb713df893c55d9cf7b37fd01bf054fd9062c3 ssh-agent -k 02:41:51 unset SSH_AUTH_SOCK; 02:41:51 unset SSH_AGENT_PID; 02:41:51 echo Agent pid 17 killed; 02:41:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:41:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:41:51 [ssh-agent] Looking for ssh-agent implementation... 02:41:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:41:51 $ docker exec 78a7430e03c402bb93470711cbeb713df893c55d9cf7b37fd01bf054fd9062c3 ssh-agent 02:41:51 SSH_AUTH_SOCK=/tmp/ssh-zG8PFtFKY2NJ/agent.46 02:41:51 SSH_AGENT_PID=51 02:41:51 Running ssh-add (command line suppressed) 02:41:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_8636044110196404939.key (/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/private_key_8636044110196404939.key) 02:41:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:41:52 + git semver init 02:41:52 # -> Open(): unable to determine branch for HEAD 02:41:52 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-650/.git 02:41:52 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-650 02:41:52 # $SEMVER_REMOTE_NAME = origin 02:41:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:41:52 # $SEMVER_USER_NAME = edgex-jenkins 02:41:52 # $SEMVER_BRANCH = PR-650 02:41:52 # $SEMVER_TEMP = /tmp/semver-892636291 02:41:52 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:41:52 # '/tmp/semver-892636291' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-650/.semver' 02:41:52 # -> Force: false 02:41:52 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-650/.semver [Pipeline] } 02:41:53 $ docker exec --env ******** --env ******** 78a7430e03c402bb93470711cbeb713df893c55d9cf7b37fd01bf054fd9062c3 ssh-agent -k 02:41:53 unset SSH_AUTH_SOCK; 02:41:53 unset SSH_AGENT_PID; 02:41:53 echo Agent pid 51 killed; 02:41:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:41:53 + git semver [Pipeline] } 02:41:53 $ docker stop --time=1 78a7430e03c402bb93470711cbeb713df893c55d9cf7b37fd01bf054fd9062c3 02:41:55 $ docker rm -f 78a7430e03c402bb93470711cbeb713df893c55d9cf7b37fd01bf054fd9062c3 [Pipeline] // withDockerContainer [Pipeline] sh 02:41:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:41:56 Stashed 1 file(s) [Pipeline] echo 02:41:56 [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:11 Still waiting to schedule task 02:42:11 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13654’ 02:42:11 Still waiting to schedule task 02:42:11 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline 02:44:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13655 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [Pipeline] { [Pipeline] ws 02:44:02 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 02:44:06 using credential edgex-jenkins-ssh 02:44:06 Cloning the remote Git repository 02:44:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:07 > git init /w/workspace/device-sdk-go/6 # timeout=10 02:44:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:07 > git --version # timeout=10 02:44:07 > git --version # 'git version 2.17.1' 02:44:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:09 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 46bab8434c541b523242ffed956eb32102a5c834 02:44:09 Merge succeeded, producing 90b113e95b8e70882874997f72909448b5f19668 02:44:09 Checking out Revision 90b113e95b8e70882874997f72909448b5f19668 (PR-650) 02:44:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:08 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:09 > git config core.sparsecheckout # timeout=10 02:44:09 > git checkout -f 46bab8434c541b523242ffed956eb32102a5c834 # timeout=10 02:44:09 > git remote # timeout=10 02:44:09 > git config --get remote.origin.url # timeout=10 02:44:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:09 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 02:44:09 > git rev-parse HEAD^{commit} # timeout=10 02:44:09 > git config core.sparsecheckout # timeout=10 02:44:09 > git checkout -f 90b113e95b8e70882874997f72909448b5f19668 # timeout=10 02:44:13 Commit message: "Merge commit 'cbcd560d226450c2fc49532ec953a0990705dfef' into HEAD" 02:44:13 First time build. Skipping changelog. 02:44:13 > git rev-list --no-walk a57005e18531ebbd2212465d29fe040485a02c2c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:44:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:16 + sudo service docker restart 02:44:16 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:19 provisioning config files... 02:44:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config1449572150216221742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:19 ---> docker-login.sh 02:44:19 nexus3.edgexfoundry.org:10001 02:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:20 Configure a credential helper to remove this warning. See 02:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:20 02:44:20 Login Succeeded 02:44:20 nexus3.edgexfoundry.org:10002 02:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:21 Configure a credential helper to remove this warning. See 02:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:21 02:44:21 Login Succeeded 02:44:21 nexus3.edgexfoundry.org:10003 02:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:21 Configure a credential helper to remove this warning. See 02:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:21 02:44:21 Login Succeeded 02:44:21 nexus3.edgexfoundry.org:10004 02:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:22 Configure a credential helper to remove this warning. See 02:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:22 02:44:22 Login Succeeded 02:44:22 docker.io 02:44:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:23 Configure a credential helper to remove this warning. See 02:44:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:23 02:44:23 Login Succeeded 02:44:23 ---> docker-login.sh ends [Pipeline] } 02:44:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:23 ========================================================= 02:44:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:44:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:23 + 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:24 Sending build context to Docker daemon 2.377MB 02:44:24 Step 1/8 : ARG BASE=golang:1.15-alpine 02:44:24 Step 2/8 : FROM ${BASE} 02:44:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:44:24 b538f80385f9: Pulling fs layer 02:44:24 74f711af9a0d: Pulling fs layer 02:44:24 99f96fe45779: Pulling fs layer 02:44:24 8529a6b9a6be: Pulling fs layer 02:44:24 45590311c82a: Pulling fs layer 02:44:24 69ca0ff8b7b3: Pulling fs layer 02:44:24 209524e5b208: Pulling fs layer 02:44:24 8529a6b9a6be: Waiting 02:44:24 45590311c82a: Waiting 02:44:24 69ca0ff8b7b3: Waiting 02:44:24 209524e5b208: Waiting 02:44:24 99f96fe45779: Verifying Checksum 02:44:24 99f96fe45779: Download complete 02:44:24 74f711af9a0d: Verifying Checksum 02:44:24 74f711af9a0d: Download complete 02:44:24 45590311c82a: Verifying Checksum 02:44:24 45590311c82a: Download complete 02:44:24 b538f80385f9: Verifying Checksum 02:44:24 69ca0ff8b7b3: Verifying Checksum 02:44:24 69ca0ff8b7b3: Download complete 02:44:24 b538f80385f9: Download complete 02:44:25 b538f80385f9: Pull complete 02:44:25 74f711af9a0d: Pull complete 02:44:26 99f96fe45779: Pull complete 02:44:27 209524e5b208: Verifying Checksum 02:44:27 209524e5b208: Download complete 02:44:28 8529a6b9a6be: Verifying Checksum 02:44:28 8529a6b9a6be: Download complete 02:44:38 8529a6b9a6be: Pull complete 02:44:38 45590311c82a: Pull complete 02:44:38 69ca0ff8b7b3: Pull complete 02:44:43 209524e5b208: Pull complete 02:44:43 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:44:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:44:43 ---> 5bddaf1c2fca 02:44:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:45 ---> Running in f67ec2904bc3 02:44:46 Removing intermediate container f67ec2904bc3 02:44:46 ---> eb1f11f77586 02:44:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:46 ---> Running in 0adce1b33d83 02:44:48 Removing intermediate container 0adce1b33d83 02:44:48 ---> b0b342283879 02:44:48 Step 5/8 : RUN apk add --no-cache make git 02:44:48 ---> Running in f06a7ae73f39 02:44:49 Running on prd-centos7-docker-4c-2g-13656 in /w/workspace/dgexfoundry_device-sdk-go_PR-650 [Pipeline] { [Pipeline] ws 02:44:49 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 02:44:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:44:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:44:51 OK: 142 MiB in 39 packages 02:44:52 using credential edgex-jenkins-ssh 02:44:52 Cloning the remote Git repository 02:44:52 Removing intermediate container f06a7ae73f39 02:44:52 ---> fb18ff1b912b 02:44:52 Step 6/8 : WORKDIR /device-sdk-go 02:44:52 ---> Running in 64f6d96eda81 02:44:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:52 > git init /w/workspace/device-sdk-go/6 # timeout=10 02:44:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:52 > git --version # timeout=10 02:44:52 > git --version # 'git version 2.24.3' 02:44:52 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:53 Removing intermediate container 64f6d96eda81 02:44:53 ---> 108ce85ad05d 02:44:53 Step 7/8 : COPY . . 02:44:53 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit 46bab8434c541b523242ffed956eb32102a5c834 02:44:53 Merge succeeded, producing c3d3bc525500543d1ad922ef1cb88092b223cd0c 02:44:53 Checking out Revision c3d3bc525500543d1ad922ef1cb88092b223cd0c (PR-650) 02:44:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:53 > git config core.sparsecheckout # timeout=10 02:44:53 > git checkout -f 46bab8434c541b523242ffed956eb32102a5c834 # timeout=10 02:44:53 > git remote # timeout=10 02:44:53 > git config --get remote.origin.url # timeout=10 02:44:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:53 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 02:44:53 > git rev-parse HEAD^{commit} # timeout=10 02:44:53 > git config core.sparsecheckout # timeout=10 02:44:53 > git checkout -f c3d3bc525500543d1ad922ef1cb88092b223cd0c # timeout=10 02:44:54 ---> 5e92e9e4f0c5 02:44:54 Step 8/8 : RUN go mod download 02:44:54 ---> Running in 4b90016008d0 02:44:57 Commit message: "Merge commit 'cbcd560d226450c2fc49532ec953a0990705dfef' into HEAD" 02:44:57 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 02:44:57 > git rev-list --no-walk a57005e18531ebbd2212465d29fe040485a02c2c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:58 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:59 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:59 + sudo service docker restart 02:44:59 + true 02:44:59 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:00 provisioning config files... 02:45:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config479444056531034269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:01 ---> docker-login.sh 02:45:01 nexus3.edgexfoundry.org:10001 02:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:01 Configure a credential helper to remove this warning. See 02:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:01 02:45:01 Login Succeeded 02:45:01 nexus3.edgexfoundry.org:10002 02:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:01 Configure a credential helper to remove this warning. See 02:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:01 02:45:01 Login Succeeded 02:45:01 nexus3.edgexfoundry.org:10003 02:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:02 Configure a credential helper to remove this warning. See 02:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:02 02:45:02 Login Succeeded 02:45:02 nexus3.edgexfoundry.org:10004 02:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:02 Configure a credential helper to remove this warning. See 02:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:02 02:45:02 Login Succeeded 02:45:02 docker.io 02:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:03 Configure a credential helper to remove this warning. See 02:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:03 02:45:03 Login Succeeded 02:45:03 ---> docker-login.sh ends [Pipeline] } 02:45:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:03 ========================================================= 02:45:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:45:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:45:03 + 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:45:03 Sending build context to Docker daemon 2.38MB 02:45:03 Step 1/8 : ARG BASE=golang:1.15-alpine 02:45:03 Step 2/8 : FROM ${BASE} 02:45:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:04 df20fa9351a1: Pulling fs layer 02:45:04 ed8968b2872e: Pulling fs layer 02:45:04 a92cc7c5fd73: Pulling fs layer 02:45:04 e871e8e8d7a9: Pulling fs layer 02:45:04 e73272ec9a57: Pulling fs layer 02:45:04 1e910a182e73: Pulling fs layer 02:45:04 4e634b169226: Pulling fs layer 02:45:04 e73272ec9a57: Waiting 02:45:04 1e910a182e73: Waiting 02:45:04 4e634b169226: Waiting 02:45:04 e871e8e8d7a9: Waiting 02:45:04 a92cc7c5fd73: Verifying Checksum 02:45:04 a92cc7c5fd73: Download complete 02:45:04 ed8968b2872e: Verifying Checksum 02:45:04 ed8968b2872e: Download complete 02:45:04 e73272ec9a57: Verifying Checksum 02:45:04 e73272ec9a57: Download complete 02:45:04 df20fa9351a1: Verifying Checksum 02:45:04 df20fa9351a1: Download complete 02:45:04 1e910a182e73: Verifying Checksum 02:45:04 1e910a182e73: Download complete 02:45:04 df20fa9351a1: Pull complete 02:45:04 ed8968b2872e: Pull complete 02:45:04 a92cc7c5fd73: Pull complete 02:45:06 4e634b169226: Verifying Checksum 02:45:06 4e634b169226: Download complete 02:45:06 e871e8e8d7a9: Verifying Checksum 02:45:06 e871e8e8d7a9: Download complete 02:45:11 e871e8e8d7a9: Pull complete 02:45:11 e73272ec9a57: Pull complete 02:45:11 1e910a182e73: Pull complete 02:45:17 Removing intermediate container 4b90016008d0 02:45:17 ---> 3f3882a9eddc 02:45:17 Successfully built 3f3882a9eddc 02:45:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:45:17 + docker inspect -f . ci-base-image-arm64 02:45:17 . [Pipeline] withDockerContainer 02:45:17 prd-ubuntu18.04-docker-arm64-4c-16g-13655 does not seem to be running inside a container 02:45:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:18 4e634b169226: Pull complete 02:45:18 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:45:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:45:18 ---> f7629b54cfaa 02:45:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:45:18 ---> Running in 9c9f9924c8aa 02:45:18 Removing intermediate container 9c9f9924c8aa 02:45:18 ---> aee0bfc62c1f 02:45:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:18 ---> Running in 106a167a9c83 02:45:19 $ docker top f813e3ca1d087067c394c8bf66bc0774e5debf504dff4618a52b83a60bac969b -eo pid,comm [Pipeline] { 02:45:19 Removing intermediate container 106a167a9c83 02:45:19 ---> c64ba8a2e85e 02:45:19 Step 5/8 : RUN apk add --no-cache make git 02:45:19 ---> Running in 81f965742b48 [Pipeline] sh 02:45:20 + go version 02:45:20 go version go1.15.2 linux/arm64 [Pipeline] } 02:45:20 $ docker stop --time=1 f813e3ca1d087067c394c8bf66bc0774e5debf504dff4618a52b83a60bac969b 02:45:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:45:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:45:22 $ docker rm -f f813e3ca1d087067c394c8bf66bc0774e5debf504dff4618a52b83a60bac969b [Pipeline] // withDockerContainer 02:45:22 OK: 166 MiB in 39 packages [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:23 Removing intermediate container 81f965742b48 02:45:23 ---> 060767c11457 02:45:23 Step 6/8 : WORKDIR /device-sdk-go 02:45:23 ---> Running in 66402bcf87bc 02:45:23 Removing intermediate container 66402bcf87bc 02:45:23 ---> 94f631ee02ec 02:45:23 Step 7/8 : COPY . . 02:45:23 + docker inspect -f . ci-base-image-arm64 02:45:23 . [Pipeline] withDockerContainer 02:45:23 prd-ubuntu18.04-docker-arm64-4c-16g-13655 does not seem to be running inside a container 02:45:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:24 ---> 366ea9a3025a 02:45:24 Step 8/8 : RUN go mod download 02:45:24 ---> Running in 5f9cb7c93879 02:45:25 $ docker top f9714eb40b6afb607cecb435339bc8174e64c3850e2bd566753d4907055ea561 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:26 + make test 02:45:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:42 Removing intermediate container 5f9cb7c93879 02:45:42 ---> b6d03ef8827d 02:45:42 Successfully built b6d03ef8827d 02:45:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:43 + docker inspect -f . ci-base-image-x86_64 02:45:43 . [Pipeline] withDockerContainer 02:45:43 prd-centos7-docker-4c-2g-13656 does not seem to be running inside a container 02:45:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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:45:44 $ docker top 0d3ed112987c7a70edf0e4a76ec515d45997e2b6bbcabeab06eada815eb072a9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:44 + go version 02:45:44 go version go1.15.2 linux/amd64 [Pipeline] } 02:45:44 $ docker stop --time=1 0d3ed112987c7a70edf0e4a76ec515d45997e2b6bbcabeab06eada815eb072a9 02:45:46 $ docker rm -f 0d3ed112987c7a70edf0e4a76ec515d45997e2b6bbcabeab06eada815eb072a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:47 + docker inspect -f . ci-base-image-x86_64 02:45:47 . [Pipeline] withDockerContainer 02:45:47 prd-centos7-docker-4c-2g-13656 does not seem to be running inside a container 02:45:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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:45:47 $ docker top 18f8be3961c28df42782b2b95a17d0863254cd5163f9848e03363c31f27731f7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:48 + make test 02:45:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:48 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:45:56 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:46:08 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:08 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:08 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:09 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.082s coverage: 20.0% of statements 02:46:11 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.637s coverage: 97.1% of statements 02:46:27 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:46:27 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:46:27 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:46:27 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.117s coverage: 20.0% of statements 02:46:31 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.150s coverage: 97.1% of statements 02:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.057s coverage: 9.4% of statements 02:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.057s coverage: 21.9% of statements 02:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.238s coverage: 42.5% of statements 02:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.300s coverage: 68.9% of statements 02:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:46:43 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements 02:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:46:43 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:46:43 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.301s coverage: 68.9% of statements 02:46:43 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.3% of statements 02:46:43 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:46:43 GO111MODULE=on go vet ./... 02:46:50 gofmt -l . 02:46:50 [ "`gofmt -l .`" = "" ] 02:46:50 ./bin/test-attribution-txt.sh 02:46:50 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:51 $ docker stop --time=1 18f8be3961c28df42782b2b95a17d0863254cd5163f9848e03363c31f27731f7 02:46:53 $ docker rm -f 18f8be3961c28df42782b2b95a17d0863254cd5163f9848e03363c31f27731f7 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:57 + ls -al . 02:46:57 total 208 02:46:57 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 27 02:46 . 02:46:57 drwxrwxr-x. 4 jenkins jenkins 28 Nov 27 02:44 .. 02:46:57 drwxrwxr-x. 2 jenkins jenkins 64 Nov 27 02:44 bin 02:46:57 -rw-r--r--. 1 jenkins jenkins 128813 Nov 27 02:46 coverage.out 02:46:57 -rw-rw-r--. 1 jenkins jenkins 936 Nov 27 02:44 Dockerfile.build 02:46:57 -rw-rw-r--. 1 jenkins jenkins 140 Nov 27 02:44 .dockerignore 02:46:57 drwxrwxr-x. 4 jenkins jenkins 48 Nov 27 02:44 example 02:46:57 drwxrwxr-x. 8 jenkins jenkins 179 Nov 27 02:44 .git 02:46:57 drwxrwxr-x. 2 jenkins jenkins 60 Nov 27 02:44 .github 02:46:57 -rw-rw-r--. 1 jenkins jenkins 138 Nov 27 02:44 .gitignore 02:46:57 -rw-r--r--. 1 jenkins jenkins 518 Nov 27 02:46 go.mod 02:46:57 -rw-r--r--. 1 jenkins jenkins 13631 Nov 27 02:46 go.sum 02:46:57 drwxrwxr-x. 15 jenkins jenkins 211 Nov 27 02:44 internal 02:46:57 -rw-rw-r--. 1 jenkins jenkins 901 Nov 27 02:44 Jenkinsfile 02:46:57 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 27 02:44 LICENSE 02:46:57 -rw-rw-r--. 1 jenkins jenkins 1013 Nov 27 02:44 Makefile 02:46:57 drwxrwxr-x. 4 jenkins jenkins 26 Nov 27 02:44 openapi 02:46:57 drwxrwxr-x. 5 jenkins jenkins 50 Nov 27 02:44 pkg 02:46:57 -rw-rw-r--. 1 jenkins jenkins 5897 Nov 27 02:44 README.md 02:46:57 -rw-rw-r--. 1 jenkins jenkins 4291 Nov 27 02:44 RELEASE-NOTES.txt 02:46:57 drwxrwxr-x. 4 jenkins jenkins 54 Nov 27 02:44 snap 02:46:57 -rw-rw-r--. 1 jenkins jenkins 5 Nov 27 02:41 VERSION 02:46:57 -rw-rw-r--. 1 jenkins jenkins 222 Nov 27 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:57 + 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=9a0e2c45274f62f1dd40da0d458bb55d36998f22 --label arch=amd64 --label version=0.0.0 . 02:46:57 Sending build context to Docker daemon 2.509MB 02:46:57 Step 1/24 : ARG BASE=golang:1.15-alpine 02:46:57 Step 2/24 : FROM ${BASE} AS builder 02:46:57 ---> b6d03ef8827d 02:46:57 Step 3/24 : ARG MAKE='make build' 02:46:58 ---> Running in 50641db866bd 02:46:58 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.145s coverage: 9.4% of statements 02:46:58 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.128s coverage: 21.9% of statements 02:46:58 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:46:58 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.566s coverage: 42.5% of statements 02:46:58 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:46:58 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.801s coverage: 68.9% of statements 02:46:58 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:46:58 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:46:58 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:46:58 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:46:58 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.201s coverage: 52.6% of statements 02:46:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:46:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:46:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:46:58 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.936s coverage: 68.9% of statements 02:46:58 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.132s coverage: 4.3% of statements 02:46:58 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:46:58 GO111MODULE=on go vet ./... 02:46:58 Removing intermediate container 50641db866bd 02:46:58 ---> dc365b076259 02:46:58 Step 4/24 : WORKDIR /device-sdk-go 02:46:58 ---> Running in 877e19bbac10 02:46:58 Removing intermediate container 877e19bbac10 02:46:58 ---> fe2c97758145 02:46:58 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:58 ---> Running in 3d67aa7b8982 02:46:58 Removing intermediate container 3d67aa7b8982 02:46:58 ---> c96dfe1e1fe1 02:46:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:58 ---> Running in 703e33d24ec1 02:47:00 Removing intermediate container 703e33d24ec1 02:47:00 ---> 46a4bd1c4671 02:47:00 Step 7/24 : RUN apk add --update --no-cache make git 02:47:00 ---> Running in 9e2182b53645 02:47:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:01 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:02 OK: 166 MiB in 39 packages 02:47:02 Removing intermediate container 9e2182b53645 02:47:02 ---> 26e1b3d39f13 02:47:02 Step 8/24 : COPY . . 02:47:03 ---> 9cca1aa9e688 02:47:03 Step 9/24 : RUN ${MAKE} 02:47:03 ---> Running in a3f119140f03 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:12 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:47:15 Removing intermediate container a3f119140f03 02:47:15 ---> f89dce5eb963 02:47:15 Step 10/24 : FROM scratch 02:47:15 ---> 02:47:15 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:15 ---> Running in c306d708a684 02:47:15 Removing intermediate container c306d708a684 02:47:15 ---> 31dddcb2dada 02:47:15 Step 12/24 : ENV APP_PORT=49990 02:47:15 ---> Running in ed20ff31f145 02:47:15 Removing intermediate container ed20ff31f145 02:47:15 ---> d846d61607e1 02:47:15 Step 13/24 : EXPOSE $APP_PORT 02:47:15 ---> Running in 54653a3e626a 02:47:15 Removing intermediate container 54653a3e626a 02:47:15 ---> 88dcff882677 02:47:15 Step 14/24 : WORKDIR / 02:47:15 ---> Running in b49d94a1de2f 02:47:15 Removing intermediate container b49d94a1de2f 02:47:15 ---> c2fa2362c35b 02:47:15 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:47:16 ---> 3c9ca66b8457 02:47:16 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:47:16 ---> 7db2bae48f52 02:47:16 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:47:16 ---> 11cbdcb479c2 02:47:16 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:47:16 ---> 9b45e7520962 02:47:16 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:47:16 ---> 8306fa2d7e01 02:47:16 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:47:16 ---> Running in 8f259ba89b94 02:47:17 Removing intermediate container 8f259ba89b94 02:47:17 ---> 049b21b4ed4d 02:47:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:47:17 ---> Running in 7c2805c42218 02:47:17 Removing intermediate container 7c2805c42218 02:47:17 ---> ee4690a32f10 02:47:17 Step 22/24 : LABEL arch=amd64 02:47:17 ---> Running in f340ee2a7c7c 02:47:17 Removing intermediate container f340ee2a7c7c 02:47:17 ---> 54ba74193363 02:47:17 Step 23/24 : LABEL git_sha=9a0e2c45274f62f1dd40da0d458bb55d36998f22 02:47:17 ---> Running in 6281b53b11f6 02:47:17 Removing intermediate container 6281b53b11f6 02:47:17 ---> 26138ed0333f 02:47:17 Step 24/24 : LABEL version=0.0.0 02:47:18 ---> Running in 6b8e395b3951 02:47:18 Removing intermediate container 6b8e395b3951 02:47:18 ---> 782d5bf9c806 02:47:18 [Warning] One or more build-args [ARCH] were not consumed 02:47:18 Successfully built 782d5bf9c806 02:47:18 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:30 gofmt -l . 02:47:30 [ "`gofmt -l .`" = "" ] 02:47:30 ./bin/test-attribution-txt.sh 02:47:30 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:31 $ docker stop --time=1 f9714eb40b6afb607cecb435339bc8174e64c3850e2bd566753d4907055ea561 02:47:33 $ docker rm -f f9714eb40b6afb607cecb435339bc8174e64c3850e2bd566753d4907055ea561 [Pipeline] // withDockerContainer [Pipeline] sh 02:47:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:34 Warning: overwriting stash ‘coverage-report’ 02:47:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:36 + ls -al . 02:47:36 total 244 02:47:36 drwxrwxr-x 10 jenkins jenkins 4096 Nov 27 02:47 . 02:47:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 27 02:44 .. 02:47:36 -rw-rw-r-- 1 jenkins jenkins 140 Nov 27 02:44 .dockerignore 02:47:36 drwxrwxr-x 8 jenkins jenkins 4096 Nov 27 02:44 .git 02:47:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 27 02:44 .github 02:47:36 -rw-rw-r-- 1 jenkins jenkins 138 Nov 27 02:44 .gitignore 02:47:36 -rw-rw-r-- 1 jenkins jenkins 936 Nov 27 02:44 Dockerfile.build 02:47:36 -rw-rw-r-- 1 jenkins jenkins 901 Nov 27 02:44 Jenkinsfile 02:47:36 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 27 02:44 LICENSE 02:47:36 -rw-rw-r-- 1 jenkins jenkins 1013 Nov 27 02:44 Makefile 02:47:36 -rw-rw-r-- 1 jenkins jenkins 5897 Nov 27 02:44 README.md 02:47:36 -rw-rw-r-- 1 jenkins jenkins 4291 Nov 27 02:44 RELEASE-NOTES.txt 02:47:36 -rw-rw-r-- 1 jenkins jenkins 5 Nov 27 02:41 VERSION 02:47:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 27 02:44 bin 02:47:36 -rw-r--r-- 1 jenkins jenkins 128812 Nov 27 02:46 coverage.out 02:47:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 27 02:44 example 02:47:36 -rw-r--r-- 1 jenkins jenkins 518 Nov 27 02:47 go.mod 02:47:36 -rw-r--r-- 1 jenkins jenkins 13631 Nov 27 02:47 go.sum 02:47:36 drwxrwxr-x 15 jenkins jenkins 4096 Nov 27 02:44 internal 02:47:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 27 02:44 openapi 02:47:36 drwxrwxr-x 5 jenkins jenkins 4096 Nov 27 02:44 pkg 02:47:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 27 02:44 snap 02:47:36 -rw-rw-r-- 1 jenkins jenkins 222 Nov 27 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:47:36 + 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=9a0e2c45274f62f1dd40da0d458bb55d36998f22 --label arch=arm64 --label version=0.0.0 . 02:47:37 Sending build context to Docker daemon 2.506MB 02:47:37 Step 1/24 : ARG BASE=golang:1.15-alpine 02:47:37 Step 2/24 : FROM ${BASE} AS builder 02:47:37 ---> 3f3882a9eddc 02:47:37 Step 3/24 : ARG MAKE='make build' 02:47:37 ---> Running in d34b69f66cc3 02:47:37 Removing intermediate container d34b69f66cc3 02:47:37 ---> a60cbfaef587 02:47:37 Step 4/24 : WORKDIR /device-sdk-go 02:47:38 ---> Running in 132de94d93dc 02:47:38 Removing intermediate container 132de94d93dc 02:47:38 ---> c1eef1f17ad9 02:47:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:38 ---> Running in 038895f79a8b 02:47:39 Removing intermediate container 038895f79a8b 02:47:39 ---> 955886b5099c 02:47:39 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:39 ---> Running in 1f8fdfe80c7c 02:47:41 Removing intermediate container 1f8fdfe80c7c 02:47:41 ---> 7eb7b3a0d0a7 02:47:41 Step 7/24 : RUN apk add --update --no-cache make git 02:47:41 ---> Running in 87ca71a66e55 02:47:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:44 OK: 142 MiB in 39 packages 02:47:45 Removing intermediate container 87ca71a66e55 02:47:45 ---> f502ebef31fd 02:47:45 Step 8/24 : COPY . . 02:47:47 ---> cc42ea7b4f3d 02:47:47 Step 9/24 : RUN ${MAKE} 02:47:47 ---> Running in a76f04cdc98a 02:47:48 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:15 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:15 Removing intermediate container a76f04cdc98a 02:48:15 ---> 336061ac5bf1 02:48:15 Step 10/24 : FROM scratch 02:48:15 ---> 02:48:15 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:15 ---> Running in 7e9fb6f12e90 02:48:15 Removing intermediate container 7e9fb6f12e90 02:48:15 ---> 2d03cfc152c9 02:48:15 Step 12/24 : ENV APP_PORT=49990 02:48:15 ---> Running in 324603eb559d 02:48:16 Removing intermediate container 324603eb559d 02:48:16 ---> 1f6f49ddb221 02:48:16 Step 13/24 : EXPOSE $APP_PORT 02:48:16 ---> Running in 60ca64c3e230 02:48:16 Removing intermediate container 60ca64c3e230 02:48:16 ---> 5ccb1737536a 02:48:16 Step 14/24 : WORKDIR / 02:48:16 ---> Running in 0f502eaf7ddc 02:48:17 Removing intermediate container 0f502eaf7ddc 02:48:17 ---> 2115599e1b83 02:48:17 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:18 ---> b2dc55b79266 02:48:18 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:19 ---> 8357508128a9 02:48:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:19 ---> 20e554194b55 02:48:19 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:20 ---> 69d4d9e7b597 02:48:20 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:21 ---> 4da966dd2161 02:48:21 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:21 ---> Running in 261f39d427ec 02:48:21 Removing intermediate container 261f39d427ec 02:48:21 ---> 6c3271ab0166 02:48:21 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:21 ---> Running in 128c17db1c31 02:48:22 Removing intermediate container 128c17db1c31 02:48:22 ---> a79a81d7275c 02:48:22 Step 22/24 : LABEL arch=arm64 02:48:22 ---> Running in 2e465c249a37 02:48:23 Removing intermediate container 2e465c249a37 02:48:23 ---> 98b41e83cfbd 02:48:23 Step 23/24 : LABEL git_sha=9a0e2c45274f62f1dd40da0d458bb55d36998f22 02:48:23 ---> Running in 2b2b98698363 02:48:23 Removing intermediate container 2b2b98698363 02:48:23 ---> 29c1d4084be5 02:48:23 Step 24/24 : LABEL version=0.0.0 02:48:23 ---> Running in 41afc698abc0 02:48:24 Removing intermediate container 41afc698abc0 02:48:24 ---> 74cd0942bee4 02:48:24 [Warning] One or more build-args [ARCH] were not consumed 02:48:24 Successfully built 74cd0942bee4 02:48:24 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:26 provisioning config files... 02:48:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config1156415202974318856tmp [Pipeline] { [Pipeline] sh 02:48:26 + set +x 02:48:26 + curl -s https://codecov.io/bash 02:48:26 + bash -s -- 02:48:26 02:48:26 _____ _ 02:48:26 / ____| | | 02:48:26 | | ___ __| | ___ ___ _____ __ 02:48:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:48:26 | |___| (_) | (_| | __/ (_| (_) \ V / 02:48:26 \_____\___/ \__,_|\___|\___\___/ \_/ 02:48:26 Bash-20201124-79cbc08 02:48:26 02:48:26 02:48:26 ==> Jenkins CI detected. 02:48:26 project root: . 02:48:26 --> token set from env 02:48:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:48:26 ==> Running gcov in . (disable via -X gcov) 02:48:26 ==> Python coveragepy not found 02:48:26 ==> Searching for coverage reports in: 02:48:26 + . 02:48:26 -> Found 1 reports 02:48:26 ==> Detecting git/mercurial file structure 02:48:26 ==> Reading reports 02:48:26 + ./coverage.out bytes=128812 02:48:26 ==> Appending adjustments 02:48:26 https://docs.codecov.io/docs/fixing-reports 02:48:27 + Found adjustments 02:48:27 ==> Gzipping contents 02:48:27 24K /tmp/codecov.hKrWi9.gz 02:48:27 ==> Uploading reports 02:48:27 url: https://codecov.io 02:48:27 query: branch=PR-650&commit=9a0e2c45274f62f1dd40da0d458bb55d36998f22&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-650%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=650&job=&cmd_args= 02:48:27 -> Pinging Codecov 02:48:27 https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-650&commit=9a0e2c45274f62f1dd40da0d458bb55d36998f22&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-650%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=650&job=&cmd_args= 02:48:28 -> Uploading to 02:48:28 https://storage.googleapis.com/codecov/v4/raw/2020-11-27/7E55EF52A471D76F132DFD9A03CDDE97/9a0e2c45274f62f1dd40da0d458bb55d36998f22/ae3c1d2b-8ead-4db9-af95-936c61f81339.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201127T024827Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cfb11b2e68e5b5bbb256f4b1ccf67e7afdc8cacac0df11fc8f16f3e7a787548e 02:48:28 % Total % Received % Xferd Average Speed Time Time Time Current 02:48:28 Dload Upload Total Spent Left Speed 02:48:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21023 0 0 100 21023 0 48269 --:--:-- --:--:-- --:--:-- 48328 02:48:28 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9a0e2c45274f62f1dd40da0d458bb55d36998f22 [Pipeline] } 02:48:28 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:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:48:31 ---> package-listing.sh 02:48:31 ++ facter osfamily 02:48:31 ++ tr '[:upper:]' '[:lower:]' 02:48:31 + OS_FAMILY=redhat 02:48:31 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-650 02:48:31 + START_PACKAGES=/tmp/packages_start.txt 02:48:31 + END_PACKAGES=/tmp/packages_end.txt 02:48:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:48:31 + PACKAGES=/tmp/packages_start.txt 02:48:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-650 ']' 02:48:31 + PACKAGES=/tmp/packages_end.txt 02:48:31 + case "${OS_FAMILY}" in 02:48:31 + rpm -qa 02:48:31 + sort 02:48:35 + '[' -f /tmp/packages_start.txt ']' 02:48:35 + '[' -f /tmp/packages_end.txt ']' 02:48:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:48:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-650 ']' 02:48:35 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-650/archives/ 02:48:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-650/archives/ [Pipeline] echo 02:48:35 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-650/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:48:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:48:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:36 02:48:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:48:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:36 alpine: Pulling from edgex-lftools-log-publisher 02:48:36 df20fa9351a1: Pulling fs layer 02:48:36 36b3adc4ff6f: Pulling fs layer 02:48:36 8ad3a11d3b57: Pulling fs layer 02:48:36 46f8f816bc3b: Pulling fs layer 02:48:36 93b61091891f: Pulling fs layer 02:48:36 93b9cdb0e59b: Pulling fs layer 02:48:36 5e14af77c1be: Pulling fs layer 02:48:36 01666e4c0597: Pulling fs layer 02:48:36 aa168da1d23b: Pulling fs layer 02:48:36 5e14af77c1be: Waiting 02:48:36 46f8f816bc3b: Waiting 02:48:36 93b9cdb0e59b: Waiting 02:48:36 01666e4c0597: Waiting 02:48:36 aa168da1d23b: Waiting 02:48:36 93b61091891f: Waiting 02:48:36 36b3adc4ff6f: Download complete 02:48:37 46f8f816bc3b: Verifying Checksum 02:48:37 46f8f816bc3b: Download complete 02:48:37 df20fa9351a1: Verifying Checksum 02:48:37 df20fa9351a1: Download complete 02:48:37 93b9cdb0e59b: Verifying Checksum 02:48:37 93b9cdb0e59b: Download complete 02:48:37 93b61091891f: Verifying Checksum 02:48:37 93b61091891f: Download complete 02:48:37 5e14af77c1be: Verifying Checksum 02:48:37 5e14af77c1be: Download complete 02:48:37 01666e4c0597: Verifying Checksum 02:48:37 01666e4c0597: Download complete 02:48:37 df20fa9351a1: Pull complete 02:48:37 36b3adc4ff6f: Pull complete 02:48:38 8ad3a11d3b57: Verifying Checksum 02:48:38 8ad3a11d3b57: Download complete 02:48:38 8ad3a11d3b57: Pull complete 02:48:39 46f8f816bc3b: Pull complete 02:48:39 93b61091891f: Pull complete 02:48:39 aa168da1d23b: Verifying Checksum 02:48:39 aa168da1d23b: Download complete 02:48:39 93b9cdb0e59b: Pull complete 02:48:39 5e14af77c1be: Pull complete 02:48:40 01666e4c0597: Pull complete 02:48:48 aa168da1d23b: Pull complete 02:48:48 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:48:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:48:48 prd-centos7-docker-4c-2g-13654 does not seem to be running inside a container 02:48:48 $ 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-650/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-650 -v /w/workspace/dgexfoundry_device-sdk-go_PR-650:/w/workspace/dgexfoundry_device-sdk-go_PR-650:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-650@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:48:52 $ docker top 7bc155e9ca045ce611fb0b6c2fcef7d5f8d7ae4c967ce6c1a22fadadc25f3e77 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:52 + touch /tmp/pre-build-complete [Pipeline] sh 02:48:53 + mkdir -p /var/log/sa [Pipeline] sh 02:48:53 + ls /var/log/sa-host 02:48:53 + sadf -c /var/log/sa-host/sa23 02:48:53 file_magic: OK 02:48:53 HZ: Using current value: 100 02:48:53 file_header: OK 02:48:53 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:48:53 Statistics: 02:48:53 Hnuu...uuuununununu... 02:48:53 File successfully converted to sysstat format version 12.2.1 02:48:53 + sadf -c /var/log/sa-host/sa27 02:48:53 file_magic: OK 02:48:53 HZ: Using current value: 100 02:48:53 file_header: OK 02:48:53 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:48:53 Statistics: 02:48:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:48:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:53 provisioning config files... 02:48:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp/config2216552993755802836tmp [Pipeline] { [Pipeline] echo 02:48:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:48:54 ---> create-netrc.sh [Pipeline] } 02:48:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:48:54 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:48:54 ---> python-tools-install.sh [Pipeline] echo 02:48:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:48:55 ---> sudo-logs.sh 02:48:55 Archiving 'sudo' log.. [Pipeline] echo 02:48:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:48:55 ---> job-cost.sh 02:48:55 lf-activate-venv: SKIPPING 02:48:55 INFO: No Stack... 02:48:56 INFO: Retrieving Pricing Info for: v1-standard-2 02:48:57 INFO: Archiving Costs [Pipeline] echo 02:48:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:48:57 ---> logs-deploy.sh 02:48:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-650/6 02:48:57 INFO: archiving workspace using pattern(s): 02:48:58 Archives upload complete. 02:48:59 INFO: archiving logs to Nexus 02:49:00 ---> uname -a: 02:49:00 Linux prd-centos7-docker-4c-2g-13654.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:00 02:49:00 02:49:00 ---> lscpu: 02:49:00 Architecture: x86_64 02:49:00 CPU op-mode(s): 32-bit, 64-bit 02:49:00 Byte Order: Little Endian 02:49:00 Address sizes: 40 bits physical, 48 bits virtual 02:49:00 CPU(s): 4 02:49:00 On-line CPU(s) list: 0-3 02:49:00 Thread(s) per core: 1 02:49:00 Core(s) per socket: 1 02:49:00 Socket(s): 4 02:49:00 NUMA node(s): 1 02:49:00 Vendor ID: GenuineIntel 02:49:00 CPU family: 6 02:49:00 Model: 44 02:49:00 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 02:49:00 Stepping: 1 02:49:00 CPU MHz: 2933.438 02:49:00 BogoMIPS: 5866.87 02:49:00 Virtualization: VT-x 02:49:00 Hypervisor vendor: KVM 02:49:00 Virtualization type: full 02:49:00 L1d cache: 128 KiB 02:49:00 L1i cache: 128 KiB 02:49:00 L2 cache: 16 MiB 02:49:00 L3 cache: 64 MiB 02:49:00 NUMA node0 CPU(s): 0-3 02:49:00 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 02:49:00 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 02:49:00 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 02:49:00 Vulnerability Meltdown: Mitigation; PTI 02:49:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:49:00 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:49:00 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:49:00 Vulnerability Srbds: Not affected 02:49:00 Vulnerability Tsx async abort: Not affected 02:49:00 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:00 02:49:00 02:49:00 ---> nproc: 02:49:00 4 02:49:00 02:49:00 02:49:00 ---> df -h: 02:49:00 Filesystem Size Used Available Use% Mounted on 02:49:00 overlay 50.0G 7.3G 42.7G 15% / 02:49:00 tmpfs 64.0M 0 64.0M 0% /dev 02:49:00 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 02:49:00 shm 64.0M 0 64.0M 0% /dev/shm 02:49:00 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 02:49:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 02:49:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 02:49:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 02:49:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 02:49:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 02:49:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 02:49:00 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 02:49:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-650 02:49:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-650@tmp 02:49:00 02:49:00 02:49:00 ---> free -m: 02:49:00 total used free shared buff/cache available 02:49:00 Mem: 1837 662 120 0 1054 1070 02:49:00 Swap: 1023 1 1022 02:49:00 02:49:00 02:49:00 ---> ip addr: 02:49:00 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:49:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:49:00 inet 127.0.0.1/8 scope host lo 02:49:00 valid_lft forever preferred_lft forever 02:49:00 inet6 ::1/128 scope host 02:49:00 valid_lft forever preferred_lft forever 02:49:00 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:49:00 link/ether fa:16:3e:d0:05:80 brd ff:ff:ff:ff:ff:ff 02:49:00 inet 10.30.122.67/23 brd 10.30.123.255 scope global dynamic eth0 02:49:00 valid_lft 85922sec preferred_lft 85922sec 02:49:00 inet6 fe80::f816:3eff:fed0:580/64 scope link 02:49:00 valid_lft forever preferred_lft forever 02:49:00 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:49:00 link/ether 02:42:2b:10:30:1b brd ff:ff:ff:ff:ff:ff 02:49:00 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:49:00 valid_lft forever preferred_lft forever 02:49:00 inet6 fe80::42:2bff:fe10:301b/64 scope link 02:49:00 valid_lft forever preferred_lft forever 02:49:00 02:49:00 02:49:00 ---> sar -b -r -n DEV: 02:49:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/27/20 _x86_64_ (4 CPU) 02:49:00 02:49:00 02:40:50 LINUX RESTART (4 CPU) 02:49:00 02:49:00 02:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:49:00 02:43:01 7.41 0.00 7.41 0.00 0.00 104.70 0.00 02:49:00 02:44:01 0.45 0.00 0.45 0.00 0.00 6.59 0.00 02:49:00 02:45:01 0.25 0.00 0.25 0.00 0.00 2.71 0.00 02:49:00 02:46:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 02:49:00 02:47:01 0.28 0.00 0.28 0.00 0.00 3.60 0.00 02:49:00 02:48:01 0.33 0.00 0.33 0.00 0.00 3.96 0.00 02:49:00 Average: 1.50 0.00 1.50 0.00 0.00 20.84 0.00 02:49:00 02:49:00 02:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:49:00 02:43:01 151516 0 566148 30.09 2620 1161260 1041560 35.55 417704 1112380 16 02:49:00 02:44:01 158620 0 559036 29.71 2620 1161268 1009020 34.44 412920 1111096 12 02:49:00 02:45:01 156360 0 561292 29.83 2620 1161272 1009128 34.44 426964 1099308 8 02:49:00 02:46:01 157488 0 560164 29.77 2620 1161272 1003880 34.26 424728 1100460 12 02:49:00 02:47:01 155680 0 561964 29.87 2620 1161280 1003976 34.26 427432 1100200 8 02:49:00 02:48:01 156028 0 561612 29.85 2620 1161284 1003880 34.26 426700 1100304 8 02:49:00 Average: 155949 0 561703 29.85 2620 1161273 1011907 34.53 422741 1103958 11 02:49:00 02:49:00 02:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:49:00 02:43:01 eth0 81.87 52.88 58.30 58.96 0.00 0.00 0.00 0.00 02:49:00 02:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 02:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 02:44:01 eth0 0.87 0.48 0.49 0.06 0.00 0.00 0.00 0.00 02:49:00 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 02:45:01 eth0 1.50 0.77 0.62 0.41 0.00 0.00 0.00 0.00 02:49:00 02:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 02:46:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:49:00 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 02:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 02:47:01 eth0 0.28 0.22 0.14 0.07 0.00 0.00 0.00 0.00 02:49:00 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 02:48:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:49:00 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 Average: eth0 14.12 9.09 9.93 9.92 0.00 0.00 0.00 0.00 02:49:00 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:49:00 02:49:00 02:49:00 ---> sar -P ALL: 02:49:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/27/20 _x86_64_ (4 CPU) 02:49:00 02:49:00 02:40:50 LINUX RESTART (4 CPU) 02:49:00 02:49:00 02:42:01 CPU %user %nice %system %iowait %steal %idle 02:49:00 02:43:01 all 0.97 0.00 0.40 0.02 0.00 98.61 02:49:00 02:43:01 0 0.63 0.00 0.45 0.02 0.02 98.88 02:49:00 02:43:01 1 1.02 0.00 0.38 0.02 0.00 98.58 02:49:00 02:43:01 2 1.17 0.00 0.43 0.02 0.00 98.38 02:49:00 02:43:01 3 1.07 0.00 0.32 0.02 0.00 98.60 02:49:00 02:44:01 all 0.18 0.00 0.04 0.00 0.00 99.78 02:49:00 02:44:01 0 0.05 0.00 0.05 0.00 0.00 99.90 02:49:00 02:44:01 1 0.53 0.00 0.03 0.00 0.00 99.43 02:49:00 02:44:01 2 0.10 0.00 0.05 0.00 0.00 99.85 02:49:00 02:44:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:49:00 02:45:01 all 0.09 0.00 0.05 0.00 0.00 99.86 02:49:00 02:45:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:49:00 02:45:01 1 0.30 0.00 0.10 0.00 0.00 99.60 02:49:00 02:45:01 2 0.03 0.00 0.05 0.00 0.00 99.92 02:49:00 02:45:01 3 0.00 0.00 0.02 0.00 0.00 99.98 02:49:00 02:46:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:49:00 02:46:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:49:00 02:46:01 1 0.48 0.00 0.02 0.00 0.00 99.50 02:49:00 02:46:01 2 0.03 0.00 0.07 0.00 0.02 99.88 02:49:00 02:46:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:49:00 02:47:01 all 0.13 0.00 0.05 0.00 0.00 99.82 02:49:00 02:47:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:49:00 02:47:01 1 0.03 0.00 0.13 0.00 0.00 99.83 02:49:00 02:47:01 2 0.43 0.00 0.02 0.00 0.00 99.55 02:49:00 02:47:01 3 0.03 0.00 0.05 0.00 0.00 99.92 02:49:00 02:48:01 all 0.15 0.00 0.03 0.00 0.00 99.82 02:49:00 02:48:01 0 0.03 0.00 0.02 0.00 0.00 99.95 02:49:00 02:48:01 1 0.02 0.00 0.02 0.00 0.00 99.97 02:49:00 02:48:01 2 0.52 0.00 0.02 0.00 0.00 99.47 02:49:00 02:48:01 3 0.03 0.00 0.07 0.00 0.00 99.90 02:49:00 Average: all 0.28 0.00 0.10 0.00 0.00 99.62 02:49:00 Average: 0 0.13 0.00 0.09 0.00 0.00 99.77 02:49:00 Average: 1 0.40 0.00 0.11 0.00 0.00 99.49 02:49:00 Average: 2 0.38 0.00 0.11 0.00 0.00 99.51 02:49:00 Average: 3 0.20 0.00 0.08 0.00 0.00 99.72 02:49:00 02:49:00 02:49:00