Pull request #722 opened 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 tonyespy for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 39c0334e4bffc1683110818178736ebbaffc5e79+909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 (9c97549f36af3d70f18c720b0bb896be2994755f) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-722/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-722/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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-19271 in /w/workspace/dgexfoundry_device-sdk-go_PR-722 [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-722 # 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 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit 39c0334e4bffc1683110818178736ebbaffc5e79 > 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/722/head:refs/remotes/origin/PR-722 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 39c0334e4bffc1683110818178736ebbaffc5e79 Checking out Revision 39c0334e4bffc1683110818178736ebbaffc5e79 (PR-722) > git checkout -f 39c0334e4bffc1683110818178736ebbaffc5e79 # 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 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39c0334e4bffc1683110818178736ebbaffc5e79 # timeout=10 Commit message: "fix: rm unused pkg/service function params" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:54:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:54:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:54:23 ========================================================= 17:54:23 EdgeX Global Pipelines Version Info 17:54:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:54:24 ------------------- 17:54:24 stable info: 17:54:24 ------------------- 17:54:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:54:24 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 17:54:24 Message: update stable to v1.0.173 17:54:25 ------------------- 17:54:25 experimental info: 17:54:25 ------------------- 17:54:25 Commited By: **** collab-it+edgex@linuxfoundation.org 17:54:25 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 17:54:25 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:54:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:54:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:54:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:54:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:54:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:54:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:54:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 17:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:54:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:54:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:54:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:54:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:54:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:54:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:54:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:54:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 17:54:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:54:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:54:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:54:29 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 17:54:29 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 17:54:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-722 [Pipeline] echo 17:54:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-722 [Pipeline] echo 17:54:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-722 [Pipeline] echo 17:54:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 39c0334e4bffc1683110818178736ebbaffc5e79 [Pipeline] echo 17:54:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 39c0334 [Pipeline] echo 17:54:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:54:31 provisioning config files... 17:54:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-722@tmp/config2077243360601853805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:31 ---> docker-login.sh 17:54:31 nexus3.edgexfoundry.org:10001 17:54:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:32 Configure a credential helper to remove this warning. See 17:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:32 17:54:32 Login Succeeded 17:54:32 nexus3.edgexfoundry.org:10002 17:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:32 Configure a credential helper to remove this warning. See 17:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:32 17:54:32 Login Succeeded 17:54:32 nexus3.edgexfoundry.org:10003 17:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:32 Configure a credential helper to remove this warning. See 17:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:32 17:54:32 Login Succeeded 17:54:32 nexus3.edgexfoundry.org:10004 17:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:32 Configure a credential helper to remove this warning. See 17:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:32 17:54:32 Login Succeeded 17:54:32 docker.io 17:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:32 Configure a credential helper to remove this warning. See 17:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:32 17:54:32 Login Succeeded 17:54:32 ---> docker-login.sh ends [Pipeline] } 17:54:33 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 17:54:34 + git log --format=format:%s -1 39c0334e4bffc1683110818178736ebbaffc5e79 [Pipeline] echo 17:54:34 GIT_COMMIT: 39c0334e4bffc1683110818178736ebbaffc5e79, Commit Message: fix: rm unused pkg/service function params [Pipeline] echo 17:54:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:54:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:54:35 17:54:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:54:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:54:35 latest: Pulling from edgex-devops/git-semver 17:54:35 31603596830f: Pulling fs layer 17:54:35 2a8b12db71e7: Pulling fs layer 17:54:35 6ca5941a6612: Pulling fs layer 17:54:35 ecc8261a40a4: Pulling fs layer 17:54:35 2a8b12db71e7: Verifying Checksum 17:54:35 2a8b12db71e7: Download complete 17:54:35 31603596830f: Verifying Checksum 17:54:35 31603596830f: Download complete 17:54:36 ecc8261a40a4: Verifying Checksum 17:54:36 ecc8261a40a4: Download complete 17:54:36 6ca5941a6612: Verifying Checksum 17:54:36 6ca5941a6612: Download complete 17:54:36 31603596830f: Pull complete 17:54:36 2a8b12db71e7: Pull complete 17:54:37 6ca5941a6612: Pull complete 17:54:37 ecc8261a40a4: Pull complete 17:54:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:54:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:54:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:54:38 prd-centos7-docker-4c-2g-19271 does not seem to be running inside a container 17:54:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-722 -v /w/workspace/dgexfoundry_device-sdk-go_PR-722:/w/workspace/dgexfoundry_device-sdk-go_PR-722:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-722@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-722@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:54:40 $ docker top 4f06f6575356e226fdc1b7b411ef0ae403e8b13f97922609e73705020cb9bf86 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:54:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:54:41 [ssh-agent] Looking for ssh-agent implementation... 17:54:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:54:41 $ docker exec 4f06f6575356e226fdc1b7b411ef0ae403e8b13f97922609e73705020cb9bf86 ssh-agent 17:54:41 SSH_AUTH_SOCK=/tmp/ssh-EeygomZI1lNR/agent.12 17:54:41 SSH_AGENT_PID=17 17:54:41 Running ssh-add (command line suppressed) 17:54:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-722@tmp/private_key_6788845849069357630.key (/w/workspace/dgexfoundry_device-sdk-go_PR-722@tmp/private_key_6788845849069357630.key) 17:54:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:54:42 + git tag --points-at HEAD [Pipeline] } 17:54:42 $ docker exec --env ******** --env ******** 4f06f6575356e226fdc1b7b411ef0ae403e8b13f97922609e73705020cb9bf86 ssh-agent -k 17:54:42 unset SSH_AUTH_SOCK; 17:54:42 unset SSH_AGENT_PID; 17:54:42 echo Agent pid 17 killed; 17:54:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:54:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:54:42 [ssh-agent] Looking for ssh-agent implementation... 17:54:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:54:42 $ docker exec 4f06f6575356e226fdc1b7b411ef0ae403e8b13f97922609e73705020cb9bf86 ssh-agent 17:54:42 SSH_AUTH_SOCK=/tmp/ssh-rLSesgUknU1F/agent.46 17:54:42 SSH_AGENT_PID=51 17:54:42 Running ssh-add (command line suppressed) 17:54:43 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-722@tmp/private_key_5969601684349547709.key (/w/workspace/dgexfoundry_device-sdk-go_PR-722@tmp/private_key_5969601684349547709.key) 17:54:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:54:43 + git semver init 17:54:43 # -> Open(): unable to determine branch for HEAD 17:54:43 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-722/.git 17:54:43 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-722 17:54:43 # $SEMVER_REMOTE_NAME = origin 17:54:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:54:43 # $SEMVER_USER_NAME = edgex-jenkins 17:54:43 # $SEMVER_BRANCH = PR-722 17:54:43 # $SEMVER_TEMP = /tmp/semver-586074311 17:54:43 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 17:54:44 # '/tmp/semver-586074311' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-722/.semver' 17:54:44 # -> Force: false 17:54:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-722/.semver [Pipeline] } 17:54:44 $ docker exec --env ******** --env ******** 4f06f6575356e226fdc1b7b411ef0ae403e8b13f97922609e73705020cb9bf86 ssh-agent -k 17:54:44 unset SSH_AUTH_SOCK; 17:54:44 unset SSH_AGENT_PID; 17:54:44 echo Agent pid 51 killed; 17:54:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:54:45 + git semver [Pipeline] } 17:54:45 $ docker stop --time=1 4f06f6575356e226fdc1b7b411ef0ae403e8b13f97922609e73705020cb9bf86 17:54:46 $ docker rm -f 4f06f6575356e226fdc1b7b411ef0ae403e8b13f97922609e73705020cb9bf86 [Pipeline] // withDockerContainer [Pipeline] sh 17:54:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:54:47 Stashed 1 file(s) [Pipeline] echo 17:54:47 [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 17:55:03 Still waiting to schedule task 17:55:03 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:55:03 Still waiting to schedule task 17:55:03 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 17:56:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19272 in /w/workspace/dgexfoundry_device-sdk-go_PR-722 [Pipeline] { [Pipeline] ws 17:56:47 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 17:56:52 using credential edgex-jenkins-ssh 17:56:52 Cloning the remote Git repository 17:56:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:56:53 > git init /w/workspace/device-sdk-go/1 # timeout=10 17:56:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:56:53 > git --version # timeout=10 17:56:53 > git --version # 'git version 2.17.1' 17:56:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:55 Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit 39c0334e4bffc1683110818178736ebbaffc5e79 17:56:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:56:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:56:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:56:54 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/722/head:refs/remotes/origin/PR-722 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:56:55 > git config core.sparsecheckout # timeout=10 17:56:55 > git checkout -f 39c0334e4bffc1683110818178736ebbaffc5e79 # timeout=10 17:56:55 > git remote # timeout=10 17:56:55 > git config --get remote.origin.url # timeout=10 17:56:55 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:55 > git merge 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 17:56:55 > git rev-parse HEAD^{commit} # timeout=10 17:56:55 Merge succeeded, producing 39c0334e4bffc1683110818178736ebbaffc5e79 17:56:55 Checking out Revision 39c0334e4bffc1683110818178736ebbaffc5e79 (PR-722) 17:56:55 > git config core.sparsecheckout # timeout=10 17:56:55 > git checkout -f 39c0334e4bffc1683110818178736ebbaffc5e79 # timeout=10 17:56:59 Commit message: "fix: rm unused pkg/service function params" 17:56:59 > git --version # timeout=10 17:57:00 > git --version # 'git version 2.17.1' 17:57:00 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:57:02 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:57:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:57:02 + sudo service docker restart 17:57:02 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:57:05 provisioning config files... 17:57:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4631806952063382241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:05 ---> docker-login.sh 17:57:05 nexus3.edgexfoundry.org:10001 17:57:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:06 Configure a credential helper to remove this warning. See 17:57:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:06 17:57:06 Login Succeeded 17:57:06 nexus3.edgexfoundry.org:10002 17:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:07 Configure a credential helper to remove this warning. See 17:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:07 17:57:07 Login Succeeded 17:57:07 nexus3.edgexfoundry.org:10003 17:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:08 Configure a credential helper to remove this warning. See 17:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:08 17:57:08 Login Succeeded 17:57:08 nexus3.edgexfoundry.org:10004 17:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:08 Configure a credential helper to remove this warning. See 17:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:08 17:57:08 Login Succeeded 17:57:08 docker.io 17:57:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:09 Configure a credential helper to remove this warning. See 17:57:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:09 17:57:09 Login Succeeded 17:57:09 ---> docker-login.sh ends [Pipeline] } 17:57:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:57:10 ========================================================= 17:57:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:57:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:57:10 + 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 . 17:57:11 Sending build context to Docker daemon 2.444MB 17:57:11 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 17:57:11 Step 2/8 : FROM ${BASE} 17:57:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:57:11 5f621e34cdf4: Pulling fs layer 17:57:11 a4357932f1b6: Pulling fs layer 17:57:11 18c013af1878: Pulling fs layer 17:57:11 00ac8860ef70: Pulling fs layer 17:57:11 63d7cb157983: Pulling fs layer 17:57:11 b116817d02f9: Pulling fs layer 17:57:11 745a02a5169b: Pulling fs layer 17:57:11 63d7cb157983: Waiting 17:57:11 00ac8860ef70: Waiting 17:57:11 b116817d02f9: Waiting 17:57:11 745a02a5169b: Waiting 17:57:11 18c013af1878: Verifying Checksum 17:57:11 18c013af1878: Download complete 17:57:11 a4357932f1b6: Verifying Checksum 17:57:11 a4357932f1b6: Download complete 17:57:11 63d7cb157983: Verifying Checksum 17:57:11 63d7cb157983: Download complete 17:57:12 b116817d02f9: Download complete 17:57:12 5f621e34cdf4: Download complete 17:57:12 5f621e34cdf4: Pull complete 17:57:13 a4357932f1b6: Pull complete 17:57:13 18c013af1878: Pull complete 17:57:14 745a02a5169b: Verifying Checksum 17:57:14 745a02a5169b: Download complete 17:57:15 00ac8860ef70: Verifying Checksum 17:57:15 00ac8860ef70: Download complete 17:57:26 00ac8860ef70: Pull complete 17:57:26 63d7cb157983: Pull complete 17:57:26 b116817d02f9: Pull complete 17:57:29 745a02a5169b: Pull complete 17:57:29 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 17:57:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:57:29 ---> b7e6874047d6 17:57:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:57:32 ---> Running in 842691dc4df2 17:57:32 Removing intermediate container 842691dc4df2 17:57:32 ---> f97d3f066ec7 17:57:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:57:32 ---> Running in 22491a5e6fc1 17:57:35 Removing intermediate container 22491a5e6fc1 17:57:35 ---> bd4763b292cc 17:57:35 Step 5/8 : RUN apk add --update --no-cache make git 17:57:35 ---> Running in 16158907fc4d 17:57:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:57:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:57:37 OK: 142 MiB in 39 packages 17:57:39 Removing intermediate container 16158907fc4d 17:57:39 ---> 89b3cd1cac32 17:57:39 Step 6/8 : WORKDIR /device-sdk-go 17:57:39 ---> Running in 7c66d55efd23 17:57:39 Removing intermediate container 7c66d55efd23 17:57:39 ---> 1ee1f16624fc 17:57:39 Step 7/8 : COPY . . 17:57:41 ---> a3ddea978b20 17:57:41 Step 8/8 : RUN go mod download 17:57:41 ---> Running in cf4d99eb2c36 17:57:48 Running on prd-centos7-docker-4c-2g-19273 in /w/workspace/dgexfoundry_device-sdk-go_PR-722 [Pipeline] { [Pipeline] ws 17:57:48 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 17:57:50 using credential edgex-jenkins-ssh 17:57:50 Cloning the remote Git repository 17:57:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:57:50 > git init /w/workspace/device-sdk-go/1 # timeout=10 17:57:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:57:50 > git --version # timeout=10 17:57:50 > git --version # 'git version 2.24.3' 17:57:50 using GIT_SSH to set credentials SSH Credentials for GitHub 17:57:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:57:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:57:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:57:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:57:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:57:51 using GIT_SSH to set credentials SSH Credentials for GitHub 17:57:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/722/head:refs/remotes/origin/PR-722 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:57:51 Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit 39c0334e4bffc1683110818178736ebbaffc5e79 17:57:52 Merge succeeded, producing 39c0334e4bffc1683110818178736ebbaffc5e79 17:57:52 Checking out Revision 39c0334e4bffc1683110818178736ebbaffc5e79 (PR-722) 17:57:51 > git config core.sparsecheckout # timeout=10 17:57:51 > git checkout -f 39c0334e4bffc1683110818178736ebbaffc5e79 # timeout=10 17:57:51 > git remote # timeout=10 17:57:51 > git config --get remote.origin.url # timeout=10 17:57:51 using GIT_SSH to set credentials SSH Credentials for GitHub 17:57:51 > git merge 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 17:57:51 > git rev-parse HEAD^{commit} # timeout=10 17:57:51 > git config core.sparsecheckout # timeout=10 17:57:51 > git checkout -f 39c0334e4bffc1683110818178736ebbaffc5e79 # timeout=10 17:57:55 Commit message: "fix: rm unused pkg/service function params" 17:57:55 > git --version # timeout=10 17:57:55 > git --version # 'git version 2.24.3' 17:57:55 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:57:57 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:57:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:57:58 + sudo service docker restart 17:57:58 + true 17:57:58 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:57:59 provisioning config files... 17:57:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3787978942257807034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:59 ---> docker-login.sh 17:57:59 nexus3.edgexfoundry.org:10001 17:57:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:59 Configure a credential helper to remove this warning. See 17:57:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:59 17:57:59 Login Succeeded 17:58:00 nexus3.edgexfoundry.org:10002 17:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:00 Configure a credential helper to remove this warning. See 17:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:00 17:58:00 Login Succeeded 17:58:00 nexus3.edgexfoundry.org:10003 17:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:00 Configure a credential helper to remove this warning. See 17:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:00 17:58:00 Login Succeeded 17:58:00 nexus3.edgexfoundry.org:10004 17:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:00 Configure a credential helper to remove this warning. See 17:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:00 17:58:00 Login Succeeded 17:58:00 docker.io 17:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:01 Configure a credential helper to remove this warning. See 17:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:01 17:58:01 Login Succeeded 17:58:01 ---> docker-login.sh ends [Pipeline] } 17:58:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:58:01 ========================================================= 17:58:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:58:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:58:02 + 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 . 17:58:02 Sending build context to Docker daemon 2.444MB 17:58:02 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 17:58:02 Step 2/8 : FROM ${BASE} 17:58:02 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:58:02 188c0c94c7c5: Pulling fs layer 17:58:02 0ef7d3d256c8: Pulling fs layer 17:58:02 de9db76c5a1d: Pulling fs layer 17:58:02 bca2f99d35d6: Pulling fs layer 17:58:02 93359f2a8cfa: Pulling fs layer 17:58:02 7c6f9722023f: Pulling fs layer 17:58:02 a35cf1a2eb13: Pulling fs layer 17:58:02 bca2f99d35d6: Waiting 17:58:02 93359f2a8cfa: Waiting 17:58:02 7c6f9722023f: Waiting 17:58:02 a35cf1a2eb13: Waiting 17:58:02 de9db76c5a1d: Verifying Checksum 17:58:02 de9db76c5a1d: Download complete 17:58:02 0ef7d3d256c8: Verifying Checksum 17:58:02 0ef7d3d256c8: Download complete 17:58:02 93359f2a8cfa: Verifying Checksum 17:58:02 93359f2a8cfa: Download complete 17:58:02 7c6f9722023f: Verifying Checksum 17:58:02 7c6f9722023f: Download complete 17:58:02 188c0c94c7c5: Verifying Checksum 17:58:02 188c0c94c7c5: Download complete 17:58:02 188c0c94c7c5: Pull complete 17:58:02 0ef7d3d256c8: Pull complete 17:58:03 de9db76c5a1d: Pull complete 17:58:03 Removing intermediate container cf4d99eb2c36 17:58:03 ---> a74c2e6dcc60 17:58:03 Successfully built a74c2e6dcc60 17:58:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:58:04 + docker inspect -f . ci-base-image-arm64 17:58:04 . [Pipeline] withDockerContainer 17:58:04 prd-ubuntu18.04-docker-arm64-4c-16g-19272 does not seem to be running inside a container 17:58:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 17:58:04 a35cf1a2eb13: Verifying Checksum 17:58:04 a35cf1a2eb13: Download complete 17:58:05 bca2f99d35d6: Verifying Checksum 17:58:05 bca2f99d35d6: Download complete 17:58:05 $ docker top 11b58c1f4dd06901dbdaa5e030805c13f51ae2ba8c428a8de8a609607e5200b9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:06 + go version 17:58:06 go version go1.15.5 linux/arm64 [Pipeline] } 17:58:06 $ docker stop --time=1 11b58c1f4dd06901dbdaa5e030805c13f51ae2ba8c428a8de8a609607e5200b9 17:58:08 $ docker rm -f 11b58c1f4dd06901dbdaa5e030805c13f51ae2ba8c428a8de8a609607e5200b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:58:10 + docker inspect -f . ci-base-image-arm64 17:58:10 . [Pipeline] withDockerContainer 17:58:10 prd-ubuntu18.04-docker-arm64-4c-16g-19272 does not seem to be running inside a container 17:58:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 17:58:10 bca2f99d35d6: Pull complete 17:58:10 93359f2a8cfa: Pull complete 17:58:10 7c6f9722023f: Pull complete 17:58:12 $ docker top caf59ed518959a6cc58eed5fa0b9f3a58008c3e41f49aac0177337db11781a11 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:13 + make test 17:58:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:58:14 a35cf1a2eb13: Pull complete 17:58:14 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 17:58:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:58:14 ---> a62c8e92a672 17:58:14 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:58:14 ---> Running in 70951616f1b3 17:58:14 Removing intermediate container 70951616f1b3 17:58:14 ---> f197a702450a 17:58:14 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:58:14 ---> Running in 59ec33cccfde 17:58:15 Removing intermediate container 59ec33cccfde 17:58:15 ---> 55f750db26b3 17:58:15 Step 5/8 : RUN apk add --update --no-cache make git 17:58:16 ---> Running in 6890f3421931 17:58:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:58:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:58:18 OK: 166 MiB in 39 packages 17:58:18 Removing intermediate container 6890f3421931 17:58:18 ---> 104b9fb8c0c4 17:58:18 Step 6/8 : WORKDIR /device-sdk-go 17:58:18 ---> Running in 089cb6e47b94 17:58:18 Removing intermediate container 089cb6e47b94 17:58:18 ---> 785f0f1bf78b 17:58:18 Step 7/8 : COPY . . 17:58:20 ---> 11e029ffbf80 17:58:20 Step 8/8 : RUN go mod download 17:58:20 ---> Running in d867f0ca1d17 17:58:35 ? github.com/edgexfoundry/device-sdk-go [no test files] 17:58:38 Removing intermediate container d867f0ca1d17 17:58:38 ---> f324fe8f9301 17:58:38 Successfully built f324fe8f9301 17:58:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:58:38 + docker inspect -f . ci-base-image-x86_64 17:58:38 . [Pipeline] withDockerContainer 17:58:38 prd-centos7-docker-4c-2g-19273 does not seem to be running inside a container 17:58:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 17:58:39 $ docker top 7da2dd7ab7fddd8b6b948f995d82b87da8c0740cbd2139ede088703b46a35a9e -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:40 + go version 17:58:40 go version go1.15.5 linux/amd64 [Pipeline] } 17:58:40 $ docker stop --time=1 7da2dd7ab7fddd8b6b948f995d82b87da8c0740cbd2139ede088703b46a35a9e 17:58:41 $ docker rm -f 7da2dd7ab7fddd8b6b948f995d82b87da8c0740cbd2139ede088703b46a35a9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:58:42 + docker inspect -f . ci-base-image-x86_64 17:58:42 . [Pipeline] withDockerContainer 17:58:42 prd-centos7-docker-4c-2g-19273 does not seem to be running inside a container 17:58:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 17:58:43 $ docker top 80cacc237dd625001a661b06305c64ee9edf7a5072ddc25ea862e0463379e3b5 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:44 + make test 17:58:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:58:50 ? github.com/edgexfoundry/device-sdk-go [no test files] 17:59:05 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 17:59:05 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 17:59:05 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 17:59:05 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.054s coverage: 19.4% of statements 17:59:09 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.486s coverage: 97.1% of statements 17:59:14 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 17:59:14 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 17:59:14 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 17:59:14 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.116s coverage: 19.4% of statements 17:59:20 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.151s coverage: 97.1% of statements 17:59:35 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 9.4% of statements 17:59:35 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.7% of statements 17:59:35 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 17:59:35 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.224s coverage: 42.5% of statements 17:59:35 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 17:59:35 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.276s coverage: 68.9% of statements 17:59:35 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 17:59:35 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 17:59:35 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 17:59:35 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 17:59:35 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 53.8% of statements 17:59:35 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 17:59:35 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 17:59:35 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 17:59:35 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.393s coverage: 68.9% of statements 17:59:35 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.2% of statements 17:59:35 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 17:59:36 GO111MODULE=on go vet ./... 17:59:46 gofmt -l . 17:59:46 [ "`gofmt -l .`" = "" ] 17:59:46 ./bin/test-attribution-txt.sh 17:59:46 ./bin/test-go-mod-tidy.sh 17:59:47 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.201s coverage: 9.4% of statements 17:59:47 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.123s coverage: 21.7% of statements 17:59:47 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 17:59:47 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.707s coverage: 42.5% of statements 17:59:47 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 17:59:47 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.792s coverage: 68.9% of statements 17:59:47 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 17:59:47 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 17:59:47 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 17:59:47 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 17:59:47 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.197s coverage: 53.8% of statements 17:59:47 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 17:59:47 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 17:59:47 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 17:59:47 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.777s coverage: 68.9% of statements 17:59:47 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.130s coverage: 4.2% of statements 17:59:47 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 17:59:47 GO111MODULE=on go vet ./... [Pipeline] } 17:59:47 $ docker stop --time=1 80cacc237dd625001a661b06305c64ee9edf7a5072ddc25ea862e0463379e3b5 17:59:49 $ docker rm -f 80cacc237dd625001a661b06305c64ee9edf7a5072ddc25ea862e0463379e3b5 [Pipeline] // withDockerContainer [Pipeline] sh 17:59:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:59:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:59:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:59:53 + ls -al . 17:59:53 total 208 17:59:53 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 9 17:59 . 17:59:53 drwxrwxr-x. 4 jenkins jenkins 28 Jan 9 17:57 .. 17:59:53 drwxrwxr-x. 2 jenkins jenkins 64 Jan 9 17:57 bin 17:59:53 -rw-r--r--. 1 jenkins jenkins 130606 Jan 9 17:59 coverage.out 17:59:53 -rw-rw-r--. 1 jenkins jenkins 949 Jan 9 17:57 Dockerfile.build 17:59:53 -rw-rw-r--. 1 jenkins jenkins 140 Jan 9 17:57 .dockerignore 17:59:53 drwxrwxr-x. 4 jenkins jenkins 48 Jan 9 17:57 example 17:59:53 drwxrwxr-x. 8 jenkins jenkins 179 Jan 9 17:57 .git 17:59:53 drwxrwxr-x. 2 jenkins jenkins 103 Jan 9 17:57 .github 17:59:53 -rw-rw-r--. 1 jenkins jenkins 138 Jan 9 17:57 .gitignore 17:59:53 -rw-r--r--. 1 jenkins jenkins 488 Jan 9 17:59 go.mod 17:59:53 -rw-r--r--. 1 jenkins jenkins 14014 Jan 9 17:59 go.sum 17:59:53 drwxrwxr-x. 15 jenkins jenkins 211 Jan 9 17:57 internal 17:59:53 -rw-rw-r--. 1 jenkins jenkins 901 Jan 9 17:57 Jenkinsfile 17:59:53 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 9 17:57 LICENSE 17:59:53 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 9 17:57 Makefile 17:59:53 drwxrwxr-x. 4 jenkins jenkins 26 Jan 9 17:57 openapi 17:59:53 drwxrwxr-x. 5 jenkins jenkins 50 Jan 9 17:57 pkg 17:59:53 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 9 17:57 README.md 17:59:53 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 9 17:57 RELEASE-NOTES.txt 17:59:53 drwxrwxr-x. 4 jenkins jenkins 54 Jan 9 17:57 snap 17:59:53 -rw-rw-r--. 1 jenkins jenkins 5 Jan 9 17:54 VERSION 17:59:53 -rw-rw-r--. 1 jenkins jenkins 222 Jan 9 17:57 version.go [Pipeline] isUnix [Pipeline] sh 17:59:54 + 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=39c0334e4bffc1683110818178736ebbaffc5e79 --label arch=amd64 --label version=0.0.0 . 17:59:54 Sending build context to Docker daemon 2.575MB 17:59:54 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 17:59:54 Step 2/24 : FROM ${BASE} AS builder 17:59:54 ---> f324fe8f9301 17:59:54 Step 3/24 : ARG MAKE='make build' 17:59:54 ---> Running in d85702835fa8 17:59:55 Removing intermediate container d85702835fa8 17:59:55 ---> 132c3f33fb39 17:59:55 Step 4/24 : WORKDIR /device-sdk-go 17:59:55 ---> Running in 555a427b2bfb 17:59:55 Removing intermediate container 555a427b2bfb 17:59:55 ---> 12d8031d2d39 17:59:55 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:59:55 ---> Running in a017e244fe30 17:59:55 Removing intermediate container a017e244fe30 17:59:55 ---> 0b9ea7deb62f 17:59:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:59:55 ---> Running in 171601dc8877 17:59:56 Removing intermediate container 171601dc8877 17:59:56 ---> 988b36872624 17:59:56 Step 7/24 : RUN apk add --update --no-cache make git 17:59:56 ---> Running in 20c8024e4c2b 17:59:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:59:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:59:58 OK: 166 MiB in 39 packages 17:59:58 Removing intermediate container 20c8024e4c2b 17:59:58 ---> 66ad111cc424 17:59:58 Step 8/24 : COPY . . 17:59:59 ---> edafd13f453e 17:59:59 Step 9/24 : RUN ${MAKE} 17:59:59 ---> Running in 1629fac52c63 18:00:00 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 18:00:08 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:00:10 Removing intermediate container 1629fac52c63 18:00:10 ---> 0c4600e78066 18:00:10 Step 10/24 : FROM scratch 18:00:10 ---> 18:00:10 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:00:10 ---> Running in a0633e0662b7 18:00:10 Removing intermediate container a0633e0662b7 18:00:10 ---> fb9c62c9760f 18:00:10 Step 12/24 : ENV APP_PORT=49990 18:00:10 ---> Running in c95a0e77a3ac 18:00:11 Removing intermediate container c95a0e77a3ac 18:00:11 ---> 52d49b0c11e8 18:00:11 Step 13/24 : EXPOSE $APP_PORT 18:00:11 ---> Running in 587bdc899ac9 18:00:11 Removing intermediate container 587bdc899ac9 18:00:11 ---> 7a8a6bd2cb19 18:00:11 Step 14/24 : WORKDIR / 18:00:11 ---> Running in 98bda12ee32d 18:00:12 Removing intermediate container 98bda12ee32d 18:00:12 ---> 435ee643487a 18:00:12 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:00:12 ---> 303240681f2b 18:00:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:00:12 ---> 3d465e97d847 18:00:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:00:13 ---> b842ee2de604 18:00:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:00:13 ---> 2ce286e9860c 18:00:13 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:00:13 ---> 1b1bce70c418 18:00:13 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:00:13 ---> Running in fb075993ecf7 18:00:13 Removing intermediate container fb075993ecf7 18:00:13 ---> 5861234006dc 18:00:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:00:14 ---> Running in f79ddca3964b 18:00:14 Removing intermediate container f79ddca3964b 18:00:14 ---> 605d364a746e 18:00:14 Step 22/24 : LABEL arch=amd64 18:00:14 ---> Running in 8e94e8e22435 18:00:14 Removing intermediate container 8e94e8e22435 18:00:14 ---> 7d0d57829a1b 18:00:14 Step 23/24 : LABEL git_sha=39c0334e4bffc1683110818178736ebbaffc5e79 18:00:14 ---> Running in 8f33a343a165 18:00:14 Removing intermediate container 8f33a343a165 18:00:14 ---> 6387e7def58a 18:00:14 Step 24/24 : LABEL version=0.0.0 18:00:14 ---> Running in ecff59a62c5d 18:00:14 Removing intermediate container ecff59a62c5d 18:00:14 ---> ff1f701d6d46 18:00:14 [Warning] One or more build-args [ARCH] were not consumed 18:00:14 Successfully built ff1f701d6d46 18:00:14 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] } 18:00:19 gofmt -l . 18:00:19 [ "`gofmt -l .`" = "" ] 18:00:19 ./bin/test-attribution-txt.sh 18:00:19 ./bin/test-go-mod-tidy.sh [Pipeline] } 18:00:20 $ docker stop --time=1 caf59ed518959a6cc58eed5fa0b9f3a58008c3e41f49aac0177337db11781a11 18:00:22 $ docker rm -f caf59ed518959a6cc58eed5fa0b9f3a58008c3e41f49aac0177337db11781a11 [Pipeline] // withDockerContainer [Pipeline] sh 18:00:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:00:23 Warning: overwriting stash ‘coverage-report’ 18:00:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:00:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:00:26 + ls -al . 18:00:26 total 244 18:00:26 drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 18:00 . 18:00:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 17:56 .. 18:00:26 -rw-rw-r-- 1 jenkins jenkins 140 Jan 9 17:56 .dockerignore 18:00:26 drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 17:56 .git 18:00:26 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 17:56 .github 18:00:26 -rw-rw-r-- 1 jenkins jenkins 138 Jan 9 17:56 .gitignore 18:00:26 -rw-rw-r-- 1 jenkins jenkins 949 Jan 9 17:56 Dockerfile.build 18:00:26 -rw-rw-r-- 1 jenkins jenkins 901 Jan 9 17:56 Jenkinsfile 18:00:26 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 9 17:56 LICENSE 18:00:26 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 9 17:56 Makefile 18:00:26 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 9 17:56 README.md 18:00:26 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 9 17:56 RELEASE-NOTES.txt 18:00:26 -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 17:54 VERSION 18:00:26 drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 17:56 bin 18:00:26 -rw-r--r-- 1 jenkins jenkins 130605 Jan 9 17:59 coverage.out 18:00:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 17:56 example 18:00:26 -rw-r--r-- 1 jenkins jenkins 488 Jan 9 18:00 go.mod 18:00:26 -rw-r--r-- 1 jenkins jenkins 14014 Jan 9 18:00 go.sum 18:00:26 drwxrwxr-x 15 jenkins jenkins 4096 Jan 9 17:56 internal 18:00:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 17:56 openapi 18:00:26 drwxrwxr-x 5 jenkins jenkins 4096 Jan 9 17:56 pkg 18:00:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 17:56 snap 18:00:26 -rw-rw-r-- 1 jenkins jenkins 222 Jan 9 17:56 version.go [Pipeline] isUnix [Pipeline] sh 18:00:26 + 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=39c0334e4bffc1683110818178736ebbaffc5e79 --label arch=arm64 --label version=0.0.0 . 18:00:27 Sending build context to Docker daemon 2.576MB 18:00:27 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 18:00:27 Step 2/24 : FROM ${BASE} AS builder 18:00:27 ---> a74c2e6dcc60 18:00:27 Step 3/24 : ARG MAKE='make build' 18:00:27 ---> Running in ee17562c0471 18:00:27 Removing intermediate container ee17562c0471 18:00:27 ---> c01fd4b47fdb 18:00:27 Step 4/24 : WORKDIR /device-sdk-go 18:00:27 ---> Running in 42653a470a79 18:00:28 Removing intermediate container 42653a470a79 18:00:28 ---> 664f4efb07ce 18:00:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:00:28 ---> Running in a01317bf6614 18:00:28 Removing intermediate container a01317bf6614 18:00:28 ---> 86a957526fb0 18:00:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:00:29 ---> Running in cec3f7d986e9 18:00:30 Removing intermediate container cec3f7d986e9 18:00:30 ---> 31ad1c8b65ce 18:00:30 Step 7/24 : RUN apk add --update --no-cache make git 18:00:31 ---> Running in 5fef9ed2f5d3 18:00:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:00:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:00:33 OK: 142 MiB in 39 packages 18:00:34 Removing intermediate container 5fef9ed2f5d3 18:00:34 ---> 02f0410fecac 18:00:34 Step 8/24 : COPY . . 18:00:36 ---> 7b16f66ebb79 18:00:36 Step 9/24 : RUN ${MAKE} 18:00:36 ---> Running in 315910be89f1 18:00:37 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 18:01:04 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 18:01:04 Removing intermediate container 315910be89f1 18:01:04 ---> 83b254fdc90d 18:01:04 Step 10/24 : FROM scratch 18:01:04 ---> 18:01:04 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 18:01:04 ---> Running in 4f11a0c3cd91 18:01:04 Removing intermediate container 4f11a0c3cd91 18:01:04 ---> 3b5e27677c5a 18:01:04 Step 12/24 : ENV APP_PORT=49990 18:01:05 ---> Running in 282c5f9a1cf4 18:01:05 Removing intermediate container 282c5f9a1cf4 18:01:05 ---> 9c1e6e95a2fd 18:01:05 Step 13/24 : EXPOSE $APP_PORT 18:01:05 ---> Running in d1da9cf7b342 18:01:06 Removing intermediate container d1da9cf7b342 18:01:06 ---> aa54e816d98d 18:01:06 Step 14/24 : WORKDIR / 18:01:06 ---> Running in 5466979ace69 18:01:06 Removing intermediate container 5466979ace69 18:01:06 ---> 394885585545 18:01:06 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 18:01:08 ---> 14754e95791a 18:01:08 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 18:01:08 ---> ba1a8040b8d0 18:01:08 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 18:01:09 ---> 3bfff2aed173 18:01:09 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 18:01:10 ---> ef7c36c0e744 18:01:10 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 18:01:10 ---> dc66b8b03129 18:01:10 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 18:01:10 ---> Running in 57ef989333d6 18:01:11 Removing intermediate container 57ef989333d6 18:01:11 ---> 1e235b0d744e 18:01:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:01:11 ---> Running in ea4ebe258d60 18:01:12 Removing intermediate container ea4ebe258d60 18:01:12 ---> cfd06c9a4639 18:01:12 Step 22/24 : LABEL arch=arm64 18:01:12 ---> Running in 063085a41de1 18:01:12 Removing intermediate container 063085a41de1 18:01:12 ---> a2027bea6e0d 18:01:12 Step 23/24 : LABEL git_sha=39c0334e4bffc1683110818178736ebbaffc5e79 18:01:12 ---> Running in 094271ac7fe9 18:01:13 Removing intermediate container 094271ac7fe9 18:01:13 ---> 734cb9b7704b 18:01:13 Step 24/24 : LABEL version=0.0.0 18:01:13 ---> Running in df3c2efe7244 18:01:13 Removing intermediate container df3c2efe7244 18:01:13 ---> c92dd1e35631 18:01:13 [Warning] One or more build-args [ARCH] were not consumed 18:01:13 Successfully built c92dd1e35631 18:01:13 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 18:01:16 provisioning config files... 18:01:16 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-722@tmp/config4805091468162287652tmp [Pipeline] { [Pipeline] sh 18:01:16 + set +x 18:01:16 + curl -s https://codecov.io/bash 18:01:16 + bash -s -- 18:01:17 18:01:17 _____ _ 18:01:17 / ____| | | 18:01:17 | | ___ __| | ___ ___ _____ __ 18:01:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:01:17 | |___| (_) | (_| | __/ (_| (_) \ V / 18:01:17 \_____\___/ \__,_|\___|\___\___/ \_/ 18:01:17 Bash-20201231-23d4836 18:01:17 18:01:17 18:01:17 ==> git version 2.24.3 found 18:01:17 ==> 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 18:01:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:01:17 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:01:17 ==> Jenkins CI detected. 18:01:17 project root: . 18:01:17 --> token set from env 18:01:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:01:17 ==> Running gcov in . (disable via -X gcov) 18:01:17 ==> Python coveragepy not found 18:01:17 ==> Searching for coverage reports in: 18:01:17 + . 18:01:17 -> Found 1 reports 18:01:17 ==> Detecting git/mercurial file structure 18:01:17 ==> Reading reports 18:01:17 + ./coverage.out bytes=130605 18:01:17 ==> Appending adjustments 18:01:17 https://docs.codecov.io/docs/fixing-reports 18:01:17 + Found adjustments 18:01:17 ==> Gzipping contents 18:01:17 24K /tmp/codecov.DuQ3u7.gz 18:01:17 ==> Uploading reports 18:01:17 url: https://codecov.io 18:01:17 query: branch=PR-722&commit=39c0334e4bffc1683110818178736ebbaffc5e79&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-722%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=722&job=&cmd_args= 18:01:17 -> Pinging Codecov 18:01:17 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-722&commit=39c0334e4bffc1683110818178736ebbaffc5e79&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-722%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=722&job=&cmd_args= 18:01:18 -> Uploading to 18:01:18 https://storage.googleapis.com/codecov/v4/raw/2021-01-09/7E55EF52A471D76F132DFD9A03CDDE97/39c0334e4bffc1683110818178736ebbaffc5e79/8f3b299b-9354-4a7d-87ed-93dfa3449e95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210109T180118Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=48f5f10b3a3e9d7ba8a0801203a237b620b0830eaaab74ce7f68b7813348257e 18:01:18 % Total % Received % Xferd Average Speed Time Time Time Current 18:01:18 Dload Upload Total Spent Left Speed 18:01:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21296 0 0 100 21296 0 50758 --:--:-- --:--:-- --:--:-- 50825 18:01:18 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/39c0334e4bffc1683110818178736ebbaffc5e79 [Pipeline] } 18:01:18 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 18:01:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:01:23 ---> package-listing.sh 18:01:23 ++ facter osfamily 18:01:23 ++ tr '[:upper:]' '[:lower:]' 18:01:23 + OS_FAMILY=redhat 18:01:23 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-722 18:01:23 + START_PACKAGES=/tmp/packages_start.txt 18:01:23 + END_PACKAGES=/tmp/packages_end.txt 18:01:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:01:23 + PACKAGES=/tmp/packages_start.txt 18:01:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-722 ']' 18:01:23 + PACKAGES=/tmp/packages_end.txt 18:01:23 + case "${OS_FAMILY}" in 18:01:23 + rpm -qa 18:01:23 + sort 18:01:28 + '[' -f /tmp/packages_start.txt ']' 18:01:28 + '[' -f /tmp/packages_end.txt ']' 18:01:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:01:28 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-722 ']' 18:01:28 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-722/archives/ 18:01:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-722/archives/ [Pipeline] echo 18:01:28 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-722/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:01:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:01:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:01:29 18:01:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:01:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:01:29 alpine: Pulling from edgex-lftools-log-publisher 18:01:29 df20fa9351a1: Pulling fs layer 18:01:29 36b3adc4ff6f: Pulling fs layer 18:01:29 8ad3a11d3b57: Pulling fs layer 18:01:29 46f8f816bc3b: Pulling fs layer 18:01:29 93b61091891f: Pulling fs layer 18:01:29 93b9cdb0e59b: Pulling fs layer 18:01:29 5e14af77c1be: Pulling fs layer 18:01:29 01666e4c0597: Pulling fs layer 18:01:29 aa168da1d23b: Pulling fs layer 18:01:29 93b61091891f: Waiting 18:01:29 93b9cdb0e59b: Waiting 18:01:29 5e14af77c1be: Waiting 18:01:29 01666e4c0597: Waiting 18:01:29 aa168da1d23b: Waiting 18:01:29 46f8f816bc3b: Waiting 18:01:29 36b3adc4ff6f: Download complete 18:01:29 46f8f816bc3b: Verifying Checksum 18:01:29 46f8f816bc3b: Download complete 18:01:29 df20fa9351a1: Download complete 18:01:29 93b9cdb0e59b: Verifying Checksum 18:01:29 93b9cdb0e59b: Download complete 18:01:29 93b61091891f: Verifying Checksum 18:01:29 93b61091891f: Download complete 18:01:29 5e14af77c1be: Verifying Checksum 18:01:29 5e14af77c1be: Download complete 18:01:29 01666e4c0597: Download complete 18:01:30 8ad3a11d3b57: Download complete 18:01:30 df20fa9351a1: Pull complete 18:01:30 36b3adc4ff6f: Pull complete 18:01:31 8ad3a11d3b57: Pull complete 18:01:31 46f8f816bc3b: Pull complete 18:01:32 aa168da1d23b: Verifying Checksum 18:01:32 aa168da1d23b: Download complete 18:01:32 93b61091891f: Pull complete 18:01:32 93b9cdb0e59b: Pull complete 18:01:32 5e14af77c1be: Pull complete 18:01:32 01666e4c0597: Pull complete 18:01:39 aa168da1d23b: Pull complete 18:01:39 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:01:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:01:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:01:39 prd-centos7-docker-4c-2g-19271 does not seem to be running inside a container 18:01:39 $ 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-722/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-722 -v /w/workspace/dgexfoundry_device-sdk-go_PR-722:/w/workspace/dgexfoundry_device-sdk-go_PR-722:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-722@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-722@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:01:43 $ docker top aa35a088002977b8ecf41bf5b0786ca3025e06eabe7e2152c2de80139a3a4a9b -eo pid,comm [Pipeline] { [Pipeline] sh 18:01:43 + touch /tmp/pre-build-complete [Pipeline] sh 18:01:44 + mkdir -p /var/log/sa [Pipeline] sh 18:01:44 + ls /var/log/sa-host 18:01:44 + sadf -c /var/log/sa-host/sa09 18:01:44 file_magic: OK 18:01:44 HZ: Using current value: 100 18:01:44 file_header: OK 18:01:44 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 18:01:44 Statistics: 18:01:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:01:44 File successfully converted to sysstat format version 12.2.1 18:01:44 + sadf -c /var/log/sa-host/sa23 18:01:44 file_magic: OK 18:01:44 HZ: Using current value: 100 18:01:44 file_header: OK 18:01:44 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 18:01:44 Statistics: 18:01:44 Hnuu...uuuununununu... 18:01:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:45 provisioning config files... 18:01:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-722@tmp/config8570826875937197639tmp [Pipeline] { [Pipeline] echo 18:01:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:01:45 ---> create-netrc.sh [Pipeline] } 18:01:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:01:46 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:01:46 ---> python-tools-install.sh [Pipeline] echo 18:01:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:01:46 ---> sudo-logs.sh 18:01:46 Archiving 'sudo' log.. [Pipeline] echo 18:01:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:01:47 ---> job-cost.sh 18:01:47 lf-activate-venv: SKIPPING 18:01:47 INFO: No Stack... 18:01:48 INFO: Retrieving Pricing Info for: v1-standard-2 18:01:48 INFO: Archiving Costs [Pipeline] echo 18:01:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:01:49 ---> logs-deploy.sh 18:01:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-722/1 18:01:49 INFO: archiving workspace using pattern(s): 18:01:50 Archives upload complete. 18:01:50 INFO: archiving logs to Nexus 18:01:51 ---> uname -a: 18:01:51 Linux prd-centos7-docker-4c-2g-19271.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 18:01:51 18:01:51 18:01:51 ---> lscpu: 18:01:51 Architecture: x86_64 18:01:51 CPU op-mode(s): 32-bit, 64-bit 18:01:51 Byte Order: Little Endian 18:01:51 Address sizes: 40 bits physical, 48 bits virtual 18:01:51 CPU(s): 4 18:01:51 On-line CPU(s) list: 0-3 18:01:51 Thread(s) per core: 1 18:01:51 Core(s) per socket: 1 18:01:51 Socket(s): 4 18:01:51 NUMA node(s): 1 18:01:51 Vendor ID: GenuineIntel 18:01:51 CPU family: 6 18:01:51 Model: 44 18:01:51 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 18:01:51 Stepping: 1 18:01:51 CPU MHz: 2933.442 18:01:51 BogoMIPS: 5866.88 18:01:51 Virtualization: VT-x 18:01:51 Hypervisor vendor: KVM 18:01:51 Virtualization type: full 18:01:51 L1d cache: 128 KiB 18:01:51 L1i cache: 128 KiB 18:01:51 L2 cache: 16 MiB 18:01:51 L3 cache: 64 MiB 18:01:51 NUMA node0 CPU(s): 0-3 18:01:51 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 18:01:51 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 18:01:51 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 18:01:51 Vulnerability Meltdown: Mitigation; PTI 18:01:51 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:01:51 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 18:01:51 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 18:01:51 Vulnerability Srbds: Not affected 18:01:51 Vulnerability Tsx async abort: Not affected 18:01:51 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 18:01:51 18:01:51 18:01:51 ---> nproc: 18:01:51 4 18:01:51 18:01:51 18:01:51 ---> df -h: 18:01:51 Filesystem Size Used Available Use% Mounted on 18:01:51 overlay 50.0G 7.3G 42.7G 15% / 18:01:51 tmpfs 64.0M 0 64.0M 0% /dev 18:01:51 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 18:01:51 shm 64.0M 0 64.0M 0% /dev/shm 18:01:51 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 18:01:51 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 18:01:51 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 18:01:51 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 18:01:51 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 18:01:51 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 18:01:51 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-722 18:01:51 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-722@tmp 18:01:51 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 18:01:51 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 18:01:51 18:01:51 18:01:51 ---> free -m: 18:01:51 total used free shared buff/cache available 18:01:51 Mem: 1837 699 94 0 1042 1033 18:01:51 Swap: 1023 1 1022 18:01:51 18:01:51 18:01:51 ---> ip addr: 18:01:51 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 18:01:51 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 18:01:51 inet 127.0.0.1/8 scope host lo 18:01:51 valid_lft forever preferred_lft forever 18:01:51 inet6 ::1/128 scope host 18:01:51 valid_lft forever preferred_lft forever 18:01:51 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 18:01:51 link/ether fa:16:3e:dc:9a:55 brd ff:ff:ff:ff:ff:ff 18:01:51 inet 10.30.123.230/23 brd 10.30.123.255 scope global dynamic eth0 18:01:51 valid_lft 85919sec preferred_lft 85919sec 18:01:51 inet6 fe80::f816:3eff:fedc:9a55/64 scope link 18:01:51 valid_lft forever preferred_lft forever 18:01:51 3: docker0: mtu 1500 qdisc noqueue state DOWN 18:01:51 link/ether 02:42:85:54:ba:67 brd ff:ff:ff:ff:ff:ff 18:01:51 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 18:01:51 valid_lft forever preferred_lft forever 18:01:51 inet6 fe80::42:85ff:fe54:ba67/64 scope link 18:01:51 valid_lft forever preferred_lft forever 18:01:51 18:01:51 18:01:51 ---> sar -b -r -n DEV: 18:01:51 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/09/21 _x86_64_ (4 CPU) 18:01:51 18:01:51 17:53:39 LINUX RESTART (4 CPU) 18:01:51 18:01:51 17:54:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:01:51 17:55:01 126.83 45.03 81.80 0.00 8045.81 35121.52 0.00 18:01:51 17:56:01 3.10 0.05 3.05 0.00 1.60 104.60 0.00 18:01:51 17:57:01 0.82 0.00 0.82 0.00 0.00 11.06 0.00 18:01:51 17:58:01 0.17 0.00 0.17 0.00 0.00 1.47 0.00 18:01:51 17:59:01 0.25 0.00 0.25 0.00 0.00 3.33 0.00 18:01:51 18:00:01 0.32 0.00 0.32 0.00 0.00 4.40 0.00 18:01:51 18:01:01 0.33 0.02 0.32 0.00 0.13 3.40 0.00 18:01:51 Average: 18.58 6.35 12.23 0.00 1133.59 4965.61 0.00 18:01:51 18:01:51 17:54:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:01:51 17:55:01 166268 0 596956 31.73 2620 1115700 1127620 38.48 417056 1097876 128 18:01:51 17:56:01 173952 0 589152 31.31 2620 1115820 1082756 36.95 416228 1092032 16 18:01:51 17:57:01 172804 0 590296 31.37 2620 1115824 1074688 36.68 415896 1094180 16 18:01:51 17:58:01 173316 0 589784 31.35 2620 1115824 1074652 36.68 425616 1084116 16 18:01:51 17:59:01 173636 0 589456 31.33 2620 1115832 1074532 36.67 420912 1088196 12 18:01:51 18:00:01 172376 0 590712 31.40 2620 1115836 1074604 36.67 431304 1079244 8 18:01:51 18:01:01 171696 0 591388 31.43 2620 1115840 1076872 36.75 431696 1079212 12 18:01:51 Average: 172007 0 591106 31.42 2620 1115811 1083675 36.98 422673 1087837 30 18:01:51 18:01:51 17:54:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:01:51 17:55:01 eth0 587.62 356.66 1113.43 97.84 0.00 0.00 0.00 0.00 18:01:51 17:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 17:55:01 docker0 7.92 6.48 1.34 21.33 0.00 0.00 0.00 0.00 18:01:51 17:56:01 eth0 3.85 1.47 3.04 0.11 0.00 0.00 0.00 0.00 18:01:51 17:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 17:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 17:57:01 eth0 0.60 0.42 0.30 0.21 0.00 0.00 0.00 0.00 18:01:51 17:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 17:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 17:58:01 eth0 1.02 0.37 0.32 0.21 0.00 0.00 0.00 0.00 18:01:51 17:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 17:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 17:59:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 18:01:51 17:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 17:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 18:00:01 eth0 0.28 0.18 0.14 0.07 0.00 0.00 0.00 0.00 18:01:51 18:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 18:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 18:01:01 eth0 0.10 0.12 0.01 0.01 0.00 0.00 0.00 0.00 18:01:51 18:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 18:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 Average: eth0 83.63 50.62 157.39 13.87 0.00 0.00 0.00 0.00 18:01:51 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:01:51 Average: docker0 1.12 0.91 0.19 3.01 0.00 0.00 0.00 0.00 18:01:51 18:01:51 18:01:51 ---> sar -P ALL: 18:01:51 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/09/21 _x86_64_ (4 CPU) 18:01:51 18:01:51 17:53:39 LINUX RESTART (4 CPU) 18:01:51 18:01:51 17:54:02 CPU %user %nice %system %iowait %steal %idle 18:01:51 17:55:01 all 13.47 0.00 6.61 4.05 0.02 75.84 18:01:51 17:55:01 0 12.37 0.00 6.22 3.47 0.03 77.91 18:01:51 17:55:01 1 16.10 0.00 7.25 4.55 0.02 72.07 18:01:51 17:55:01 2 13.33 0.00 5.88 4.51 0.02 76.26 18:01:51 17:55:01 3 12.09 0.00 7.10 3.68 0.02 77.12 18:01:51 17:56:01 all 0.18 0.00 0.07 0.00 0.00 99.75 18:01:51 17:56:01 0 0.08 0.00 0.07 0.00 0.00 99.85 18:01:51 17:56:01 1 0.08 0.00 0.05 0.00 0.00 99.87 18:01:51 17:56:01 2 0.47 0.00 0.05 0.00 0.00 99.48 18:01:51 17:56:01 3 0.08 0.00 0.10 0.00 0.00 99.82 18:01:51 17:57:01 all 0.15 0.00 0.05 0.00 0.00 99.80 18:01:51 17:57:01 0 0.03 0.00 0.05 0.00 0.00 99.92 18:01:51 17:57:01 1 0.05 0.00 0.05 0.00 0.00 99.90 18:01:51 17:57:01 2 0.47 0.00 0.05 0.00 0.02 99.47 18:01:51 17:57:01 3 0.03 0.00 0.03 0.00 0.00 99.93 18:01:51 17:58:01 all 0.08 0.00 0.04 0.00 0.00 99.88 18:01:51 17:58:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:01:51 17:58:01 1 0.07 0.00 0.03 0.00 0.00 99.90 18:01:51 17:58:01 2 0.22 0.00 0.03 0.00 0.00 99.75 18:01:51 17:58:01 3 0.02 0.00 0.08 0.00 0.00 99.90 18:01:51 17:59:01 all 0.14 0.00 0.07 0.00 0.00 99.79 18:01:51 17:59:01 0 0.03 0.00 0.07 0.00 0.00 99.90 18:01:51 17:59:01 1 0.08 0.00 0.07 0.00 0.00 99.85 18:01:51 17:59:01 2 0.42 0.00 0.05 0.00 0.00 99.53 18:01:51 17:59:01 3 0.03 0.00 0.08 0.00 0.00 99.88 18:01:51 18:00:01 all 0.16 0.00 0.05 0.00 0.00 99.79 18:01:51 18:00:01 0 0.03 0.00 0.02 0.00 0.00 99.95 18:01:51 18:00:01 1 0.05 0.00 0.05 0.00 0.02 99.88 18:01:51 18:00:01 2 0.50 0.00 0.02 0.00 0.00 99.48 18:01:51 18:00:01 3 0.05 0.00 0.10 0.00 0.00 99.85 18:01:51 18:01:01 all 0.16 0.00 0.04 0.00 0.00 99.80 18:01:51 18:01:01 0 0.00 0.00 0.02 0.00 0.00 99.98 18:01:51 18:01:01 1 0.05 0.00 0.03 0.02 0.00 99.90 18:01:51 18:01:01 2 0.55 0.00 0.03 0.00 0.00 99.42 18:01:51 18:01:01 3 0.03 0.00 0.07 0.00 0.00 99.90 18:01:51 Average: all 2.00 0.00 0.96 0.57 0.00 96.47 18:01:51 Average: 0 1.75 0.00 0.90 0.48 0.00 96.86 18:01:51 Average: 1 2.30 0.00 1.05 0.64 0.00 96.01 18:01:51 Average: 2 2.23 0.00 0.85 0.63 0.00 96.28 18:01:51 Average: 3 1.72 0.00 1.05 0.51 0.00 96.71 18:01:51 18:01:51 18:01:51