Pull request #725 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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 (cd0d696cf158d9b6db43865087f542e12f23be44) 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-725/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-725/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: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: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19596 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing ea5f2fe995444737663861e42b9b0407e76b07bc Checking out Revision ea5f2fe995444737663861e42b9b0407e76b07bc (PR-725) 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 Commit message: "ci: update docker image name" 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 21:19:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:19:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:19:41 ========================================================= 21:19:41 EdgeX Global Pipelines Version Info 21:19:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:19:43 ------------------- 21:19:43 stable info: 21:19:43 ------------------- 21:19:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:19:43 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 21:19:43 Message: update stable to v1.0.173 21:19:43 ------------------- 21:19:43 experimental info: 21:19:43 ------------------- 21:19:43 Commited By: **** collab-it+edgex@linuxfoundation.org 21:19:43 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 21:19:43 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:19:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:19:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:19:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:19:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:19:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:19:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:19:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:19:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:19:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:19:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:19:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:19:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:19:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:19:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:19:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:19:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:19:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:19:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:19:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:19:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:19:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:19:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 21:19:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:19:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:19:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:19:47 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 21:19:47 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 21:19:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 21:19:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 21:19:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 21:19:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea5f2fe995444737663861e42b9b0407e76b07bc [Pipeline] echo 21:19:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea5f2fe [Pipeline] echo 21:19:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:19:48 provisioning config files... 21:19:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5920707597876767427tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:19:49 ---> docker-login.sh 21:19:49 nexus3.edgexfoundry.org:10001 21:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:49 Configure a credential helper to remove this warning. See 21:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:49 21:19:49 Login Succeeded 21:19:49 nexus3.edgexfoundry.org:10002 21:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:49 Configure a credential helper to remove this warning. See 21:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:49 21:19:49 Login Succeeded 21:19:49 nexus3.edgexfoundry.org:10003 21:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:49 Configure a credential helper to remove this warning. See 21:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:49 21:19:49 Login Succeeded 21:19:49 nexus3.edgexfoundry.org:10004 21:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:50 Configure a credential helper to remove this warning. See 21:19:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:50 21:19:50 Login Succeeded 21:19:50 docker.io 21:19:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:19:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:19:50 Configure a credential helper to remove this warning. See 21:19:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:19:50 21:19:50 Login Succeeded 21:19:50 ---> docker-login.sh ends [Pipeline] } 21:19:50 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 21:19:51 + git log --format=format:%s -1 ea5f2fe995444737663861e42b9b0407e76b07bc [Pipeline] echo 21:19:51 GIT_COMMIT: ea5f2fe995444737663861e42b9b0407e76b07bc, Commit Message: ci: update docker image name [Pipeline] echo 21:19:51 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:19:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:19:52 21:19:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:19:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:19:52 latest: Pulling from edgex-devops/git-semver 21:19:52 31603596830f: Pulling fs layer 21:19:52 2a8b12db71e7: Pulling fs layer 21:19:52 6ca5941a6612: Pulling fs layer 21:19:52 ecc8261a40a4: Pulling fs layer 21:19:52 ecc8261a40a4: Waiting 21:19:52 2a8b12db71e7: Verifying Checksum 21:19:52 2a8b12db71e7: Download complete 21:19:52 31603596830f: Verifying Checksum 21:19:52 31603596830f: Download complete 21:19:53 6ca5941a6612: Verifying Checksum 21:19:53 6ca5941a6612: Download complete 21:19:53 ecc8261a40a4: Verifying Checksum 21:19:53 ecc8261a40a4: Download complete 21:19:53 31603596830f: Pull complete 21:19:53 2a8b12db71e7: Pull complete 21:19:54 6ca5941a6612: Pull complete 21:19:54 ecc8261a40a4: Pull complete 21:19:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:19:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:19:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:19:54 prd-centos7-docker-4c-2g-19596 does not seem to be running inside a container 21:19:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:19:56 $ docker top cb36711d3f973c001cdacee0df7bd72b9610612378a3d580eb35f98b00d9d044 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:19:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:19:57 [ssh-agent] Looking for ssh-agent implementation... 21:19:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:19:57 $ docker exec cb36711d3f973c001cdacee0df7bd72b9610612378a3d580eb35f98b00d9d044 ssh-agent 21:19:57 SSH_AUTH_SOCK=/tmp/ssh-brXMJtZt258H/agent.11 21:19:57 SSH_AGENT_PID=17 21:19:57 Running ssh-add (command line suppressed) 21:19:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7362521611223363049.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7362521611223363049.key) 21:19:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:19:58 + git tag --points-at HEAD [Pipeline] } 21:19:58 $ docker exec --env ******** --env ******** cb36711d3f973c001cdacee0df7bd72b9610612378a3d580eb35f98b00d9d044 ssh-agent -k 21:19:58 unset SSH_AUTH_SOCK; 21:19:58 unset SSH_AGENT_PID; 21:19:58 echo Agent pid 17 killed; 21:19:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:19:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:19:58 [ssh-agent] Looking for ssh-agent implementation... 21:19:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:19:58 $ docker exec cb36711d3f973c001cdacee0df7bd72b9610612378a3d580eb35f98b00d9d044 ssh-agent 21:19:58 SSH_AUTH_SOCK=/tmp/ssh-xXtyDD2CyEjz/agent.47 21:19:58 SSH_AGENT_PID=52 21:19:58 Running ssh-add (command line suppressed) 21:19:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4529511972118611818.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4529511972118611818.key) 21:19:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:19:59 + git semver init 21:19:59 # -> Open(): unable to determine branch for HEAD 21:19:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 21:19:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 21:19:59 # $SEMVER_REMOTE_NAME = origin 21:19:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:19:59 # $SEMVER_USER_NAME = edgex-jenkins 21:19:59 # $SEMVER_BRANCH = PR-725 21:19:59 # $SEMVER_TEMP = /tmp/semver-131598118 21:19:59 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 21:20:00 # '/tmp/semver-131598118' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 21:20:00 # -> Force: false 21:20:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 21:20:00 $ docker exec --env ******** --env ******** cb36711d3f973c001cdacee0df7bd72b9610612378a3d580eb35f98b00d9d044 ssh-agent -k 21:20:00 unset SSH_AUTH_SOCK; 21:20:00 unset SSH_AGENT_PID; 21:20:00 echo Agent pid 52 killed; 21:20:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:20:00 + git semver [Pipeline] } 21:20:00 $ docker stop --time=1 cb36711d3f973c001cdacee0df7bd72b9610612378a3d580eb35f98b00d9d044 21:20:02 $ docker rm -f cb36711d3f973c001cdacee0df7bd72b9610612378a3d580eb35f98b00d9d044 [Pipeline] // withDockerContainer [Pipeline] sh 21:20:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:20:03 Stashed 1 file(s) [Pipeline] echo 21:20:03 [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 21:20:19 Still waiting to schedule task 21:20:19 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19590’ is offline; ‘prd-centos7-docker-4c-2g-19597’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19591’ doesn’t have label ‘centos7-docker-4c-2g’ 21:20:19 Still waiting to schedule task 21:20:19 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 21:23:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19599 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 21:23:07 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:23:12 using credential edgex-jenkins-ssh 21:23:13 Cloning the remote Git repository 21:23:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:23:13 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:23:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:23:13 > git --version # timeout=10 21:23:13 > git --version # 'git version 2.17.1' 21:23:13 using GIT_SSH to set credentials SSH Credentials for GitHub 21:23:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:23:15 Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 21:23:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:23:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:23:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:23:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:23:14 using GIT_SSH to set credentials SSH Credentials for GitHub 21:23:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:23:15 > git config core.sparsecheckout # timeout=10 21:23:15 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 21:23:15 Merge succeeded, producing ea5f2fe995444737663861e42b9b0407e76b07bc 21:23:15 Checking out Revision ea5f2fe995444737663861e42b9b0407e76b07bc (PR-725) 21:23:15 > git remote # timeout=10 21:23:15 > git config --get remote.origin.url # timeout=10 21:23:15 using GIT_SSH to set credentials SSH Credentials for GitHub 21:23:15 > git merge 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 21:23:15 > git rev-parse HEAD^{commit} # timeout=10 21:23:15 > git config core.sparsecheckout # timeout=10 21:23:15 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 21:23:20 Commit message: "ci: update docker image name" 21:23:20 > git --version # timeout=10 21:23:20 > git --version # 'git version 2.17.1' 21:23:20 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:23:21 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:23:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:23:22 + sudo+ true 21:23:22 service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:23:25 provisioning config files... 21:23:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8177553077491138494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:26 ---> docker-login.sh 21:23:26 nexus3.edgexfoundry.org:10001 21:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:27 Configure a credential helper to remove this warning. See 21:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:27 21:23:27 Login Succeeded 21:23:27 nexus3.edgexfoundry.org:10002 21:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:27 Configure a credential helper to remove this warning. See 21:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:27 21:23:27 Login Succeeded 21:23:27 nexus3.edgexfoundry.org:10003 21:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:28 Configure a credential helper to remove this warning. See 21:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:28 21:23:28 Login Succeeded 21:23:28 nexus3.edgexfoundry.org:10004 21:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:28 Configure a credential helper to remove this warning. See 21:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:28 21:23:28 Login Succeeded 21:23:28 docker.io 21:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:29 Configure a credential helper to remove this warning. See 21:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:29 21:23:29 Login Succeeded 21:23:29 ---> docker-login.sh ends [Pipeline] } 21:23:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:23:30 ========================================================= 21:23:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:23:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:23:30 + 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 . 21:23:31 Sending build context to Docker daemon 2.439MB 21:23:31 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:23:31 Step 2/8 : FROM ${BASE} 21:23:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:23:31 5f621e34cdf4: Pulling fs layer 21:23:31 a4357932f1b6: Pulling fs layer 21:23:31 18c013af1878: Pulling fs layer 21:23:31 00ac8860ef70: Pulling fs layer 21:23:31 63d7cb157983: Pulling fs layer 21:23:31 b116817d02f9: Pulling fs layer 21:23:31 745a02a5169b: Pulling fs layer 21:23:31 00ac8860ef70: Waiting 21:23:31 63d7cb157983: Waiting 21:23:31 b116817d02f9: Waiting 21:23:31 745a02a5169b: Waiting 21:23:31 18c013af1878: Verifying Checksum 21:23:31 18c013af1878: Download complete 21:23:31 a4357932f1b6: Verifying Checksum 21:23:31 a4357932f1b6: Download complete 21:23:31 63d7cb157983: Verifying Checksum 21:23:31 63d7cb157983: Download complete 21:23:31 b116817d02f9: Download complete 21:23:31 5f621e34cdf4: Verifying Checksum 21:23:31 5f621e34cdf4: Download complete 21:23:32 5f621e34cdf4: Pull complete 21:23:33 a4357932f1b6: Pull complete 21:23:33 18c013af1878: Pull complete 21:23:34 745a02a5169b: Verifying Checksum 21:23:34 745a02a5169b: Download complete 21:23:35 00ac8860ef70: Verifying Checksum 21:23:35 00ac8860ef70: Download complete 21:23:45 00ac8860ef70: Pull complete 21:23:45 63d7cb157983: Pull complete 21:23:45 b116817d02f9: Pull complete 21:23:49 745a02a5169b: Pull complete 21:23:49 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 21:23:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:23:49 ---> b7e6874047d6 21:23:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:23:52 ---> Running in 9973dd696958 21:23:52 Removing intermediate container 9973dd696958 21:23:52 ---> 9bedd7c223fb 21:23:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:23:52 ---> Running in 96b129c12a28 21:23:52 Running on prd-centos7-docker-4c-2g-19600 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 21:23:52 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:23:54 Removing intermediate container 96b129c12a28 21:23:54 ---> ce1e16936d10 21:23:54 Step 5/8 : RUN apk add --update --no-cache make git 21:23:54 ---> Running in 81af33ab08b2 21:23:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:23:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:23:58 OK: 142 MiB in 39 packages 21:23:59 Removing intermediate container 81af33ab08b2 21:23:59 ---> 168311e6aafa 21:23:59 Step 6/8 : WORKDIR /device-sdk-go 21:23:59 ---> Running in a031f81a04bc 21:24:00 Removing intermediate container a031f81a04bc 21:24:00 ---> 32433548dc55 21:24:00 Step 7/8 : COPY . . 21:24:01 ---> 5d6581ec1a12 21:24:01 Step 8/8 : RUN go mod download 21:24:01 ---> Running in 5da77978679f 21:24:02 using credential edgex-jenkins-ssh 21:24:02 Cloning the remote Git repository 21:24:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:24:02 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:24:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:24:02 > git --version # timeout=10 21:24:02 > git --version # 'git version 2.24.3' 21:24:02 using GIT_SSH to set credentials SSH Credentials for GitHub 21:24:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:24:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:24:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:24:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:24:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:24:04 using GIT_SSH to set credentials SSH Credentials for GitHub 21:24:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 21:24:05 Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 21:24:05 Merge succeeded, producing ea5f2fe995444737663861e42b9b0407e76b07bc 21:24:05 Checking out Revision ea5f2fe995444737663861e42b9b0407e76b07bc (PR-725) 21:24:05 > git config core.sparsecheckout # timeout=10 21:24:05 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 21:24:05 > git remote # timeout=10 21:24:05 > git config --get remote.origin.url # timeout=10 21:24:05 using GIT_SSH to set credentials SSH Credentials for GitHub 21:24:05 > git merge 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 21:24:05 > git rev-parse HEAD^{commit} # timeout=10 21:24:05 > git config core.sparsecheckout # timeout=10 21:24:05 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 21:24:09 Commit message: "ci: update docker image name" 21:24:09 > git --version # timeout=10 21:24:09 > git --version # 'git version 2.24.3' 21:24:09 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:24:11 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:24:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:24:12 + sudo service docker restart 21:24:12 + true 21:24:12 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:24:13 provisioning config files... 21:24:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6556789202761960241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:24:14 ---> docker-login.sh 21:24:14 nexus3.edgexfoundry.org:10001 21:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:15 Configure a credential helper to remove this warning. See 21:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:15 21:24:15 Login Succeeded 21:24:15 nexus3.edgexfoundry.org:10002 21:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:15 Configure a credential helper to remove this warning. See 21:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:15 21:24:15 Login Succeeded 21:24:15 nexus3.edgexfoundry.org:10003 21:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:15 Configure a credential helper to remove this warning. See 21:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:15 21:24:15 Login Succeeded 21:24:15 nexus3.edgexfoundry.org:10004 21:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:16 Configure a credential helper to remove this warning. See 21:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:16 21:24:16 Login Succeeded 21:24:16 docker.io 21:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:16 Configure a credential helper to remove this warning. See 21:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:16 21:24:16 Login Succeeded 21:24:16 ---> docker-login.sh ends [Pipeline] } 21:24:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:24:17 ========================================================= 21:24:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:24:17 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:24:18 + 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 . 21:24:19 Sending build context to Docker daemon 2.44MB 21:24:19 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:24:19 Step 2/8 : FROM ${BASE} 21:24:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:24:19 188c0c94c7c5: Pulling fs layer 21:24:19 0ef7d3d256c8: Pulling fs layer 21:24:19 de9db76c5a1d: Pulling fs layer 21:24:19 bca2f99d35d6: Pulling fs layer 21:24:19 93359f2a8cfa: Pulling fs layer 21:24:19 7c6f9722023f: Pulling fs layer 21:24:19 a35cf1a2eb13: Pulling fs layer 21:24:19 93359f2a8cfa: Waiting 21:24:19 7c6f9722023f: Waiting 21:24:19 a35cf1a2eb13: Waiting 21:24:19 bca2f99d35d6: Waiting 21:24:19 de9db76c5a1d: Verifying Checksum 21:24:19 de9db76c5a1d: Download complete 21:24:19 0ef7d3d256c8: Verifying Checksum 21:24:19 0ef7d3d256c8: Download complete 21:24:19 93359f2a8cfa: Verifying Checksum 21:24:19 93359f2a8cfa: Download complete 21:24:19 7c6f9722023f: Verifying Checksum 21:24:19 7c6f9722023f: Download complete 21:24:19 188c0c94c7c5: Verifying Checksum 21:24:19 188c0c94c7c5: Download complete 21:24:20 188c0c94c7c5: Pull complete 21:24:20 0ef7d3d256c8: Pull complete 21:24:20 de9db76c5a1d: Pull complete 21:24:23 a35cf1a2eb13: Verifying Checksum 21:24:23 a35cf1a2eb13: Download complete 21:24:23 Removing intermediate container 5da77978679f 21:24:23 ---> a26c07e57209 21:24:23 Successfully built a26c07e57209 21:24:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:24:23 + docker inspect -f . ci-base-image-arm64 21:24:23 . [Pipeline] withDockerContainer 21:24:24 prd-ubuntu18.04-docker-arm64-4c-16g-19599 does not seem to be running inside a container 21:24:24 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:24:24 bca2f99d35d6: Verifying Checksum 21:24:24 bca2f99d35d6: Download complete 21:24:25 $ docker top 79bd036180500c5dfaf9ed17d3f5af820bccdf2058b81c5abc0bbab7f6c62670 -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:26 + go version 21:24:26 go version go1.15.5 linux/arm64 [Pipeline] } 21:24:26 $ docker stop --time=1 79bd036180500c5dfaf9ed17d3f5af820bccdf2058b81c5abc0bbab7f6c62670 21:24:28 $ docker rm -f 79bd036180500c5dfaf9ed17d3f5af820bccdf2058b81c5abc0bbab7f6c62670 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:24:30 + docker inspect -f . ci-base-image-arm64 21:24:30 . [Pipeline] withDockerContainer 21:24:30 prd-ubuntu18.04-docker-arm64-4c-16g-19599 does not seem to be running inside a container 21:24:30 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:24:31 $ docker top f11fce2c2876d6354fe32ecccc64f1e433142d702e0dd1dcca39e647a6d64a62 -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:32 + make test 21:24:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:24:34 bca2f99d35d6: Pull complete 21:24:34 93359f2a8cfa: Pull complete 21:24:35 7c6f9722023f: Pull complete 21:24:40 a35cf1a2eb13: Pull complete 21:24:40 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 21:24:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:24:40 ---> a62c8e92a672 21:24:40 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:24:40 ---> Running in d8e1006ef161 21:24:41 Removing intermediate container d8e1006ef161 21:24:41 ---> 2eb57b7fd0cd 21:24:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:24:41 ---> Running in da1735e7e234 21:24:42 Removing intermediate container da1735e7e234 21:24:42 ---> dfd4bfa3ebdc 21:24:42 Step 5/8 : RUN apk add --update --no-cache make git 21:24:42 ---> Running in 3901c34f7434 21:24:43 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:24:44 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:24:45 OK: 166 MiB in 39 packages 21:24:46 Removing intermediate container 3901c34f7434 21:24:46 ---> 6d235c08cb0b 21:24:46 Step 6/8 : WORKDIR /device-sdk-go 21:24:46 ---> Running in 9fc43404ebb1 21:24:46 Removing intermediate container 9fc43404ebb1 21:24:46 ---> 53cec511f203 21:24:46 Step 7/8 : COPY . . 21:24:48 ---> 9f485aebf562 21:24:48 Step 8/8 : RUN go mod download 21:24:48 ---> Running in 91bdd1e6ff4b 21:24:54 ? github.com/edgexfoundry/device-sdk-go [no test files] 21:25:15 Removing intermediate container 91bdd1e6ff4b 21:25:15 ---> e2679117b42d 21:25:15 Successfully built e2679117b42d 21:25:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:25:15 + docker inspect -f . ci-base-image-x86_64 21:25:15 . [Pipeline] withDockerContainer 21:25:16 prd-centos7-docker-4c-2g-19600 does not seem to be running inside a container 21:25:16 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:25:17 $ docker top 653ff09404a037135a1e814027c39305b95b0a61c475e75e5d0c6ad58a17af39 -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:18 + go version 21:25:18 go version go1.15.5 linux/amd64 [Pipeline] } 21:25:18 $ docker stop --time=1 653ff09404a037135a1e814027c39305b95b0a61c475e75e5d0c6ad58a17af39 21:25:20 $ docker rm -f 653ff09404a037135a1e814027c39305b95b0a61c475e75e5d0c6ad58a17af39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:25:21 + docker inspect -f . ci-base-image-x86_64 21:25:21 . [Pipeline] withDockerContainer 21:25:21 prd-centos7-docker-4c-2g-19600 does not seem to be running inside a container 21:25:21 $ 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 ******** -e ******** ci-base-image-x86_64 cat 21:25:22 $ docker top fd07ddb1ec8502b5b58d54fd1a054519e3ea08ca9e5409235981e903be986dbc -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:23 + make test 21:25:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:25:34 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 21:25:34 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 21:25:34 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 21:25:34 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.134s coverage: 19.4% of statements 21:25:39 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.210s coverage: 97.1% of statements 21:25:39 ? github.com/edgexfoundry/device-sdk-go [no test files] 21:26:06 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.132s coverage: 9.4% of statements 21:26:06 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.113s coverage: 21.7% of statements 21:26:06 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 21:26:06 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.574s coverage: 42.5% of statements 21:26:06 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 21:26:06 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.760s coverage: 68.9% of statements 21:26:06 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 21:26:06 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 21:26:06 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 21:26:06 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 21:26:06 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.182s coverage: 53.8% of statements 21:26:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 21:26:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 21:26:06 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 21:26:06 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.753s coverage: 68.9% of statements 21:26:06 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.140s coverage: 4.2% of statements 21:26:06 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 21:26:06 GO111MODULE=on go vet ./... 21:26:06 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 21:26:06 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 21:26:06 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 21:26:06 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.066s coverage: 19.4% of statements 21:26:11 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.855s coverage: 97.1% of statements 21:26:38 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.089s coverage: 9.4% of statements 21:26:38 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.062s coverage: 21.7% of statements 21:26:38 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 21:26:38 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.325s coverage: 42.5% of statements 21:26:38 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 21:26:38 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.630s coverage: 68.9% of statements 21:26:38 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 21:26:38 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 21:26:38 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 21:26:38 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 21:26:38 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.133s coverage: 53.8% of statements 21:26:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 21:26:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 21:26:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 21:26:38 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.226s coverage: 68.9% of statements 21:26:38 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.124s coverage: 4.2% of statements 21:26:38 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 21:26:38 GO111MODULE=on go vet ./... 21:26:38 gofmt -l . 21:26:38 [ "`gofmt -l .`" = "" ] 21:26:38 ./bin/test-attribution-txt.sh 21:26:38 ./bin/test-go-mod-tidy.sh [Pipeline] } 21:26:39 $ docker stop --time=1 f11fce2c2876d6354fe32ecccc64f1e433142d702e0dd1dcca39e647a6d64a62 21:26:41 $ docker rm -f f11fce2c2876d6354fe32ecccc64f1e433142d702e0dd1dcca39e647a6d64a62 [Pipeline] // withDockerContainer [Pipeline] sh 21:26:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:26:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:26:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:26:45 + ls -al . 21:26:45 total 244 21:26:45 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 21:26 . 21:26:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:23 .. 21:26:45 -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 21:23 .dockerignore 21:26:45 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:23 .git 21:26:45 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:23 .github 21:26:45 -rw-rw-r-- 1 jenkins jenkins 138 Jan 11 21:23 .gitignore 21:26:45 -rw-rw-r-- 1 jenkins jenkins 949 Jan 11 21:23 Dockerfile.build 21:26:45 -rw-rw-r-- 1 jenkins jenkins 894 Jan 11 21:23 Jenkinsfile 21:26:45 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 21:23 LICENSE 21:26:45 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 11 21:23 Makefile 21:26:45 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 11 21:23 README.md 21:26:45 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 11 21:23 RELEASE-NOTES.txt 21:26:45 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 21:20 VERSION 21:26:45 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:23 bin 21:26:45 -rw-r--r-- 1 jenkins jenkins 130605 Jan 11 21:26 coverage.out 21:26:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:23 example 21:26:45 -rw-r--r-- 1 jenkins jenkins 488 Jan 11 21:26 go.mod 21:26:45 -rw-r--r-- 1 jenkins jenkins 14014 Jan 11 21:26 go.sum 21:26:45 drwxrwxr-x 15 jenkins jenkins 4096 Jan 11 21:23 internal 21:26:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:23 openapi 21:26:45 drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 21:23 pkg 21:26:45 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:23 snap 21:26:45 -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 21:23 version.go [Pipeline] isUnix [Pipeline] sh 21:26:46 + docker build -t 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=ea5f2fe995444737663861e42b9b0407e76b07bc --label arch=arm64 --label version=0.0.0 . 21:26:46 Sending build context to Docker daemon 2.57MB 21:26:46 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 21:26:46 Step 2/24 : FROM ${BASE} AS builder 21:26:46 ---> a26c07e57209 21:26:46 Step 3/24 : ARG MAKE='make build' 21:26:47 ---> Running in d5d01cabaa81 21:26:47 Removing intermediate container d5d01cabaa81 21:26:47 ---> 28bc8cc82a71 21:26:47 Step 4/24 : WORKDIR /device-sdk-go 21:26:47 ---> Running in b3c815aa155e 21:26:48 Removing intermediate container b3c815aa155e 21:26:48 ---> 2d79d8990044 21:26:48 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:26:48 ---> Running in 00103490ed38 21:26:48 Removing intermediate container 00103490ed38 21:26:48 ---> 12d5563d7ce9 21:26:48 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:26:48 ---> Running in 2ca755d76730 21:26:50 Removing intermediate container 2ca755d76730 21:26:50 ---> 01c013ed01d2 21:26:50 Step 7/24 : RUN apk add --update --no-cache make git 21:26:51 ---> Running in 5eac75404d25 21:26:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:26:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:26:53 OK: 142 MiB in 39 packages 21:26:54 Removing intermediate container 5eac75404d25 21:26:54 ---> c3772afa7c42 21:26:54 Step 8/24 : COPY . . 21:26:56 ---> 6fceb0492824 21:26:56 Step 9/24 : RUN ${MAKE} 21:26:56 ---> Running in 726ccd91b212 21:26:56 gofmt -l . 21:26:56 [ "`gofmt -l .`" = "" ] 21:26:56 ./bin/test-attribution-txt.sh 21:26:56 ./bin/test-go-mod-tidy.sh 21:26:57 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 [Pipeline] } 21:26:57 $ docker stop --time=1 fd07ddb1ec8502b5b58d54fd1a054519e3ea08ca9e5409235981e903be986dbc 21:27:00 $ docker rm -f fd07ddb1ec8502b5b58d54fd1a054519e3ea08ca9e5409235981e903be986dbc [Pipeline] // withDockerContainer [Pipeline] sh 21:27:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:27:01 Warning: overwriting stash ‘coverage-report’ 21:27:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:27:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:27:02 + ls -al . 21:27:02 total 208 21:27:02 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 11 21:26 . 21:27:02 drwxrwxr-x. 4 jenkins jenkins 28 Jan 11 21:24 .. 21:27:02 drwxrwxr-x. 2 jenkins jenkins 64 Jan 11 21:24 bin 21:27:02 -rw-r--r--. 1 jenkins jenkins 130606 Jan 11 21:26 coverage.out 21:27:02 -rw-rw-r--. 1 jenkins jenkins 949 Jan 11 21:24 Dockerfile.build 21:27:02 -rw-rw-r--. 1 jenkins jenkins 140 Jan 11 21:24 .dockerignore 21:27:02 drwxrwxr-x. 4 jenkins jenkins 48 Jan 11 21:24 example 21:27:02 drwxrwxr-x. 8 jenkins jenkins 179 Jan 11 21:24 .git 21:27:02 drwxrwxr-x. 2 jenkins jenkins 103 Jan 11 21:24 .github 21:27:02 -rw-rw-r--. 1 jenkins jenkins 138 Jan 11 21:24 .gitignore 21:27:02 -rw-r--r--. 1 jenkins jenkins 488 Jan 11 21:26 go.mod 21:27:02 -rw-r--r--. 1 jenkins jenkins 14014 Jan 11 21:26 go.sum 21:27:02 drwxrwxr-x. 15 jenkins jenkins 211 Jan 11 21:24 internal 21:27:02 -rw-rw-r--. 1 jenkins jenkins 894 Jan 11 21:24 Jenkinsfile 21:27:02 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 11 21:24 LICENSE 21:27:02 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 11 21:24 Makefile 21:27:02 drwxrwxr-x. 4 jenkins jenkins 26 Jan 11 21:24 openapi 21:27:02 drwxrwxr-x. 5 jenkins jenkins 50 Jan 11 21:24 pkg 21:27:02 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 11 21:24 README.md 21:27:02 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 11 21:24 RELEASE-NOTES.txt 21:27:02 drwxrwxr-x. 4 jenkins jenkins 54 Jan 11 21:24 snap 21:27:02 -rw-rw-r--. 1 jenkins jenkins 5 Jan 11 21:20 VERSION 21:27:02 -rw-rw-r--. 1 jenkins jenkins 222 Jan 11 21:24 version.go [Pipeline] isUnix [Pipeline] sh 21:27:03 + docker build -t 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=ea5f2fe995444737663861e42b9b0407e76b07bc --label arch=amd64 --label version=0.0.0 . 21:27:03 Sending build context to Docker daemon 2.571MB 21:27:03 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 21:27:03 Step 2/24 : FROM ${BASE} AS builder 21:27:03 ---> e2679117b42d 21:27:03 Step 3/24 : ARG MAKE='make build' 21:27:04 ---> Running in 54c2e64faba7 21:27:04 Removing intermediate container 54c2e64faba7 21:27:04 ---> 921bbff53efc 21:27:04 Step 4/24 : WORKDIR /device-sdk-go 21:27:04 ---> Running in 2264fc82e231 21:27:04 Removing intermediate container 2264fc82e231 21:27:04 ---> 5f63739bcf9a 21:27:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:27:04 ---> Running in 4269cd90b1ce 21:27:05 Removing intermediate container 4269cd90b1ce 21:27:05 ---> 97b6c94b02f2 21:27:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:27:05 ---> Running in 02840fa39d29 21:27:06 Removing intermediate container 02840fa39d29 21:27:06 ---> f472d377939f 21:27:06 Step 7/24 : RUN apk add --update --no-cache make git 21:27:06 ---> Running in 8b3dff81cf97 21:27:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:27:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:27:08 OK: 166 MiB in 39 packages 21:27:09 Removing intermediate container 8b3dff81cf97 21:27:09 ---> 4bfd1d2b2819 21:27:09 Step 8/24 : COPY . . 21:27:10 ---> 36fca8232109 21:27:10 Step 9/24 : RUN ${MAKE} 21:27:10 ---> Running in c42199c889e5 21:27:11 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 21:27:23 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:27:24 Removing intermediate container 726ccd91b212 21:27:24 ---> 3f63a6e7a1e4 21:27:24 Step 10/24 : FROM scratch 21:27:24 ---> 21:27:24 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:27:24 ---> Running in 7aa1b2a6afb4 21:27:24 Removing intermediate container 7aa1b2a6afb4 21:27:24 ---> 4b19e44e03a4 21:27:24 Step 12/24 : ENV APP_PORT=49990 21:27:24 ---> Running in 4df4cb2ccf94 21:27:25 Removing intermediate container 4df4cb2ccf94 21:27:25 ---> d80b0084f74c 21:27:25 Step 13/24 : EXPOSE $APP_PORT 21:27:25 ---> Running in 1d6256156111 21:27:26 Removing intermediate container 1d6256156111 21:27:26 ---> 6686b2a22b1f 21:27:26 Step 14/24 : WORKDIR / 21:27:26 ---> Running in 434a658596b6 21:27:26 Removing intermediate container 434a658596b6 21:27:26 ---> 6f4e3c6c4c22 21:27:26 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:27:27 ---> 730d91be88b5 21:27:27 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:27:28 ---> 005351fd2c86 21:27:28 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:27:29 ---> 780fd267735f 21:27:29 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 21:27:29 ---> a3701d48383f 21:27:29 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 21:27:30 ---> 3cbbb396f657 21:27:30 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 21:27:30 ---> Running in 55e98d5ef536 21:27:31 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 21:27:31 Removing intermediate container c42199c889e5 21:27:31 ---> 4ab20eddbe0e 21:27:31 Step 10/24 : FROM scratch 21:27:31 ---> 21:27:31 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:27:31 Removing intermediate container 55e98d5ef536 21:27:31 ---> 7127d415fbf5 21:27:31 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:27:31 ---> Running in a08f1b67efbe 21:27:31 ---> Running in 5e6af8716c49 21:27:31 Removing intermediate container 5e6af8716c49 21:27:31 ---> 5bb65196df03 21:27:31 Step 12/24 : ENV APP_PORT=49990 21:27:31 ---> Running in 39eab6670ab5 21:27:31 Removing intermediate container 39eab6670ab5 21:27:31 ---> 79336b257a42 21:27:31 Step 13/24 : EXPOSE $APP_PORT 21:27:31 Removing intermediate container a08f1b67efbe 21:27:31 ---> e7eb1262dc46 21:27:31 Step 22/24 : LABEL arch=arm64 21:27:31 ---> Running in c21fffc4b775 21:27:31 ---> Running in edc4a49b2cbf 21:27:31 Removing intermediate container edc4a49b2cbf 21:27:31 ---> f44897b234f3 21:27:31 Step 14/24 : WORKDIR / 21:27:32 ---> Running in c7c3f009d57f 21:27:32 Removing intermediate container c21fffc4b775 21:27:32 ---> e252379eaaca 21:27:32 Step 23/24 : LABEL git_sha=ea5f2fe995444737663861e42b9b0407e76b07bc 21:27:32 ---> Running in 02481a871131 21:27:32 Removing intermediate container c7c3f009d57f 21:27:32 ---> a4e3f8ae9a49 21:27:32 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 21:27:33 Removing intermediate container 02481a871131 21:27:33 ---> cd9c431b3321 21:27:33 Step 24/24 : LABEL version=0.0.0 21:27:33 ---> Running in f04eb0dfbe9e 21:27:33 ---> 6ff88a42f59e 21:27:33 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 21:27:33 ---> 097a1c7af413 21:27:33 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 21:27:33 Removing intermediate container f04eb0dfbe9e 21:27:33 ---> 7a93b05fdeb0 21:27:33 [Warning] One or more build-args [ARCH] were not consumed 21:27:33 Successfully built 7a93b05fdeb0 21:27:33 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script 21:27:33 ---> cb2a4c216999 21:27:33 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv 21:27:34 ---> 6d19da991348 21:27:34 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 21:27:34 ---> 6dbe148ec9c0 21:27:34 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [Pipeline] } [Pipeline] // node [Pipeline] } 21:27:34 ---> Running in 0557fc6a316b 21:27:34 Removing intermediate container 0557fc6a316b 21:27:34 ---> 1c142d689859 21:27:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [Pipeline] // stage [Pipeline] } 21:27:35 ---> Running in 73a5780011bd 21:27:35 Removing intermediate container 73a5780011bd 21:27:35 ---> 75e711f47f52 21:27:35 Step 22/24 : LABEL arch=amd64 21:27:35 ---> Running in 32695c74430b 21:27:35 Removing intermediate container 32695c74430b 21:27:35 ---> b5fc8e4b4689 21:27:35 Step 23/24 : LABEL git_sha=ea5f2fe995444737663861e42b9b0407e76b07bc 21:27:36 ---> Running in 76ada25f9431 21:27:36 Removing intermediate container 76ada25f9431 21:27:36 ---> b805c01140c9 21:27:36 Step 24/24 : LABEL version=0.0.0 21:27:36 ---> Running in c261697bea3b 21:27:36 Removing intermediate container c261697bea3b 21:27:36 ---> c91d45dae2e6 21:27:36 [Warning] One or more build-args [ARCH] were not consumed 21:27:36 Successfully built c91d45dae2e6 21:27:36 Successfully tagged 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 21:27:38 provisioning config files... 21:27:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8015611384035309595tmp [Pipeline] { [Pipeline] sh 21:27:39 + set +x 21:27:39 + curl -s https://codecov.io/bash 21:27:39 + bash -s -- 21:27:39 21:27:39 _____ _ 21:27:39 / ____| | | 21:27:39 | | ___ __| | ___ ___ _____ __ 21:27:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:27:39 | |___| (_) | (_| | __/ (_| (_) \ V / 21:27:39 \_____\___/ \__,_|\___|\___\___/ \_/ 21:27:39 Bash-20201231-23d4836 21:27:39 21:27:39 21:27:39 ==> git version 2.24.3 found 21:27:39 ==> 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 21:27:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:27:39 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:27:39 ==> Jenkins CI detected. 21:27:39 project root: . 21:27:39 --> token set from env 21:27:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:27:39 ==> Running gcov in . (disable via -X gcov) 21:27:39 ==> Python coveragepy not found 21:27:39 ==> Searching for coverage reports in: 21:27:39 + . 21:27:39 -> Found 1 reports 21:27:39 ==> Detecting git/mercurial file structure 21:27:39 ==> Reading reports 21:27:39 + ./coverage.out bytes=130606 21:27:39 ==> Appending adjustments 21:27:39 https://docs.codecov.io/docs/fixing-reports 21:27:40 + Found adjustments 21:27:40 ==> Gzipping contents 21:27:40 24K /tmp/codecov.J6zCPw.gz 21:27:40 ==> Uploading reports 21:27:40 url: https://codecov.io 21:27:40 query: branch=PR-725&commit=ea5f2fe995444737663861e42b9b0407e76b07bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 21:27:40 -> Pinging Codecov 21:27:40 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-725&commit=ea5f2fe995444737663861e42b9b0407e76b07bc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 21:27:40 -> Uploading to 21:27:40 https://storage.googleapis.com/codecov/v4/raw/2021-01-11/7E55EF52A471D76F132DFD9A03CDDE97/ea5f2fe995444737663861e42b9b0407e76b07bc/db11ed89-89cd-46a2-895a-c3e4532b29dc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210111T212740Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=55e59d308416cfe58fba6e1f935163054fbfd2e85b44c9eb8ce13c2f69b77adb 21:27:40 % Total % Received % Xferd Average Speed Time Time Time Current 21:27:40 Dload Upload Total Spent Left Speed 21:27:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21318 0 0 100 21318 0 35239 --:--:-- --:--:-- --:--:-- 35294 21:27:41 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ea5f2fe995444737663861e42b9b0407e76b07bc [Pipeline] } 21:27:41 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 21:27:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:27:46 ---> package-listing.sh 21:27:46 ++ tr '[:upper:]' '[:lower:]' 21:27:46 ++ facter osfamily 21:27:46 + OS_FAMILY=redhat 21:27:46 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 21:27:46 + START_PACKAGES=/tmp/packages_start.txt 21:27:46 + END_PACKAGES=/tmp/packages_end.txt 21:27:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:27:46 + PACKAGES=/tmp/packages_start.txt 21:27:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 21:27:46 + PACKAGES=/tmp/packages_end.txt 21:27:46 + case "${OS_FAMILY}" in 21:27:46 + rpm -qa 21:27:46 + sort 21:27:52 + '[' -f /tmp/packages_start.txt ']' 21:27:52 + '[' -f /tmp/packages_end.txt ']' 21:27:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:27:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 21:27:52 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 21:27:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo 21:27:52 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:27:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:27:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:27:52 21:27:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:27:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:27:53 alpine: Pulling from edgex-lftools-log-publisher 21:27:53 df20fa9351a1: Pulling fs layer 21:27:53 36b3adc4ff6f: Pulling fs layer 21:27:53 8ad3a11d3b57: Pulling fs layer 21:27:53 46f8f816bc3b: Pulling fs layer 21:27:53 93b61091891f: Pulling fs layer 21:27:53 93b9cdb0e59b: Pulling fs layer 21:27:53 5e14af77c1be: Pulling fs layer 21:27:53 01666e4c0597: Pulling fs layer 21:27:53 aa168da1d23b: Pulling fs layer 21:27:53 46f8f816bc3b: Waiting 21:27:53 93b61091891f: Waiting 21:27:53 93b9cdb0e59b: Waiting 21:27:53 5e14af77c1be: Waiting 21:27:53 01666e4c0597: Waiting 21:27:53 aa168da1d23b: Waiting 21:27:53 36b3adc4ff6f: Verifying Checksum 21:27:53 36b3adc4ff6f: Download complete 21:27:53 46f8f816bc3b: Verifying Checksum 21:27:53 46f8f816bc3b: Download complete 21:27:53 df20fa9351a1: Download complete 21:27:53 93b9cdb0e59b: Verifying Checksum 21:27:53 93b9cdb0e59b: Download complete 21:27:53 5e14af77c1be: Verifying Checksum 21:27:53 5e14af77c1be: Download complete 21:27:53 93b61091891f: Verifying Checksum 21:27:53 93b61091891f: Download complete 21:27:53 01666e4c0597: Download complete 21:27:53 df20fa9351a1: Pull complete 21:27:53 36b3adc4ff6f: Pull complete 21:27:53 8ad3a11d3b57: Verifying Checksum 21:27:53 8ad3a11d3b57: Download complete 21:27:54 8ad3a11d3b57: Pull complete 21:27:54 46f8f816bc3b: Pull complete 21:27:55 93b61091891f: Pull complete 21:27:55 93b9cdb0e59b: Pull complete 21:27:55 aa168da1d23b: Verifying Checksum 21:27:55 aa168da1d23b: Download complete 21:27:56 5e14af77c1be: Pull complete 21:27:56 01666e4c0597: Pull complete 21:28:04 aa168da1d23b: Pull complete 21:28:04 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:28:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:28:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:28:04 prd-centos7-docker-4c-2g-19596 does not seem to be running inside a container 21:28:04 $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:28:08 $ docker top a1aa7e9f921b22b565f6e65003eee9f7b68112ae8a2a4b5767f59048d9a797fb -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:08 + touch /tmp/pre-build-complete [Pipeline] sh 21:28:08 + mkdir -p /var/log/sa [Pipeline] sh 21:28:09 + ls /var/log/sa-host 21:28:09 + sadf -c /var/log/sa-host/sa11 21:28:09 file_magic: OK 21:28:09 HZ: Using current value: 100 21:28:09 file_header: OK 21:28:09 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 21:28:09 Statistics: 21:28:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:28:09 File successfully converted to sysstat format version 12.2.1 21:28:09 + sadf -c /var/log/sa-host/sa23 21:28:09 file_magic: OK 21:28:09 HZ: Using current value: 100 21:28:09 file_header: OK 21:28:09 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 21:28:09 Statistics: 21:28:09 Hnuu...uuuununununu... 21:28:09 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:09 provisioning config files... 21:28:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config5368355529546550348tmp [Pipeline] { [Pipeline] echo 21:28:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:28:09 ---> create-netrc.sh [Pipeline] } 21:28:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 21:28:10 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 21:28:10 ---> python-tools-install.sh [Pipeline] echo 21:28:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:28:10 ---> sudo-logs.sh 21:28:10 Archiving 'sudo' log.. [Pipeline] echo 21:28:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:28:11 ---> job-cost.sh 21:28:11 lf-activate-venv: SKIPPING 21:28:11 INFO: No Stack... 21:28:12 INFO: Retrieving Pricing Info for: v1-standard-2 21:28:12 INFO: Archiving Costs [Pipeline] echo 21:28:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:28:13 ---> logs-deploy.sh 21:28:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/1 21:28:13 INFO: archiving workspace using pattern(s): 21:28:15 Archives upload complete. 21:28:15 INFO: archiving logs to Nexus 21:28:16 ---> uname -a: 21:28:16 Linux prd-centos7-docker-4c-2g-19596.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 21:28:16 21:28:16 21:28:16 ---> lscpu: 21:28:16 Architecture: x86_64 21:28:16 CPU op-mode(s): 32-bit, 64-bit 21:28:16 Byte Order: Little Endian 21:28:16 Address sizes: 40 bits physical, 48 bits virtual 21:28:16 CPU(s): 4 21:28:16 On-line CPU(s) list: 0-3 21:28:16 Thread(s) per core: 1 21:28:16 Core(s) per socket: 1 21:28:16 Socket(s): 4 21:28:16 NUMA node(s): 1 21:28:16 Vendor ID: GenuineIntel 21:28:16 CPU family: 6 21:28:16 Model: 44 21:28:16 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 21:28:16 Stepping: 1 21:28:16 CPU MHz: 2933.436 21:28:16 BogoMIPS: 5866.87 21:28:16 Virtualization: VT-x 21:28:16 Hypervisor vendor: KVM 21:28:16 Virtualization type: full 21:28:16 L1d cache: 128 KiB 21:28:16 L1i cache: 128 KiB 21:28:16 L2 cache: 16 MiB 21:28:16 L3 cache: 64 MiB 21:28:16 NUMA node0 CPU(s): 0-3 21:28:16 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 21:28:16 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 21:28:16 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 21:28:16 Vulnerability Meltdown: Mitigation; PTI 21:28:16 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:28:16 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 21:28:16 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 21:28:16 Vulnerability Srbds: Not affected 21:28:16 Vulnerability Tsx async abort: Not affected 21:28:16 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 21:28:16 21:28:16 21:28:16 ---> nproc: 21:28:16 4 21:28:16 21:28:16 21:28:16 ---> df -h: 21:28:16 Filesystem Size Used Available Use% Mounted on 21:28:16 overlay 50.0G 7.3G 42.7G 15% / 21:28:16 tmpfs 64.0M 0 64.0M 0% /dev 21:28:16 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 21:28:16 shm 64.0M 0 64.0M 0% /dev/shm 21:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 21:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 21:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 21:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 21:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 21:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 21:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 21:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 21:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725 21:28:16 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp 21:28:16 21:28:16 21:28:16 ---> free -m: 21:28:16 total used free shared buff/cache available 21:28:16 Mem: 1837 727 106 0 1003 1005 21:28:16 Swap: 1023 1 1022 21:28:16 21:28:16 21:28:16 ---> ip addr: 21:28:16 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 21:28:16 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 21:28:16 inet 127.0.0.1/8 scope host lo 21:28:16 valid_lft forever preferred_lft forever 21:28:16 inet6 ::1/128 scope host 21:28:16 valid_lft forever preferred_lft forever 21:28:16 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 21:28:16 link/ether fa:16:3e:6c:3a:e3 brd ff:ff:ff:ff:ff:ff 21:28:16 inet 10.30.122.180/23 brd 10.30.123.255 scope global dynamic eth0 21:28:16 valid_lft 85852sec preferred_lft 85852sec 21:28:16 inet6 fe80::f816:3eff:fe6c:3ae3/64 scope link 21:28:16 valid_lft forever preferred_lft forever 21:28:16 3: docker0: mtu 1500 qdisc noqueue state DOWN 21:28:16 link/ether 02:42:a0:72:0e:cc brd ff:ff:ff:ff:ff:ff 21:28:16 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 21:28:16 valid_lft forever preferred_lft forever 21:28:16 inet6 fe80::42:a0ff:fe72:ecc/64 scope link 21:28:16 valid_lft forever preferred_lft forever 21:28:16 21:28:16 21:28:16 ---> sar -b -r -n DEV: 21:28:16 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/11/21 _x86_64_ (4 CPU) 21:28:16 21:28:16 21:18:56 LINUX RESTART (4 CPU) 21:28:16 21:28:16 21:20:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:28:16 21:21:01 7.88 0.58 7.29 0.00 42.49 240.63 0.00 21:28:16 21:22:01 0.42 0.00 0.42 0.00 0.00 6.29 0.00 21:28:16 21:23:01 0.25 0.00 0.25 0.00 0.00 2.73 0.00 21:28:16 21:24:01 0.28 0.00 0.28 0.00 0.00 3.33 0.00 21:28:16 21:25:01 0.27 0.00 0.27 0.00 0.00 4.11 0.00 21:28:16 21:26:01 0.32 0.00 0.32 0.00 0.00 3.63 0.00 21:28:16 21:27:01 0.25 0.00 0.25 0.00 0.00 2.56 0.00 21:28:16 21:28:01 98.70 64.80 33.90 0.00 4653.47 14312.33 0.00 21:28:16 Average: 13.56 8.18 5.38 0.00 587.50 1823.52 0.00 21:28:16 21:28:16 21:20:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:28:16 21:21:01 165008 0 618044 32.85 2620 1095872 1103620 37.66 418864 1096864 20 21:28:16 21:22:01 167180 0 615868 32.73 2620 1095876 1078076 36.79 418020 1095896 20 21:28:16 21:23:01 166064 0 616976 32.79 2620 1095884 1077908 36.79 423868 1091160 12 21:28:16 21:24:01 165820 0 617220 32.80 2620 1095884 1078016 36.79 431320 1084224 16 21:28:16 21:25:01 161884 0 621148 33.01 2620 1095892 1078004 36.79 432016 1087412 16 21:28:16 21:26:01 162876 0 620152 32.96 2620 1095896 1077908 36.79 436460 1082312 12 21:28:16 21:27:01 162868 0 620156 32.96 2620 1095900 1077908 36.79 436712 1082312 20 21:28:16 21:28:01 77900 0 744056 39.54 2620 1056968 1514172 51.68 616812 941488 73180 21:28:16 Average: 153700 0 634202 33.71 2620 1091022 1135702 38.76 451759 1070208 9162 21:28:16 21:28:16 21:20:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:28:16 21:21:01 eth0 11.04 5.51 9.94 2.45 0.00 0.00 0.00 0.00 21:28:16 21:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:22:01 eth0 1.58 0.37 0.36 0.20 0.00 0.00 0.00 0.00 21:28:16 21:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:23:01 eth0 1.05 0.10 0.09 0.04 0.00 0.00 0.00 0.00 21:28:16 21:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:24:01 eth0 1.48 0.52 0.57 0.36 0.00 0.00 0.00 0.00 21:28:16 21:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:25:01 eth0 1.18 0.40 0.45 0.29 0.00 0.00 0.00 0.00 21:28:16 21:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:26:01 eth0 0.12 0.07 0.01 0.01 0.00 0.00 0.00 0.00 21:28:16 21:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:27:01 eth0 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:28:01 eth0 222.06 173.57 2171.63 18.66 0.00 0.00 0.00 0.00 21:28:16 21:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 Average: eth0 29.84 22.59 273.12 2.75 0.00 0.00 0.00 0.00 21:28:16 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:28:16 21:28:16 21:28:16 ---> sar -P ALL: 21:28:16 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/11/21 _x86_64_ (4 CPU) 21:28:16 21:28:16 21:18:56 LINUX RESTART (4 CPU) 21:28:16 21:28:16 21:20:01 CPU %user %nice %system %iowait %steal %idle 21:28:16 21:21:01 all 0.55 0.00 0.20 0.16 0.03 99.06 21:28:16 21:21:01 0 0.78 0.00 0.25 0.02 0.00 98.95 21:28:16 21:21:01 1 0.70 0.00 0.23 0.02 0.03 99.02 21:28:16 21:21:01 2 0.47 0.00 0.13 0.60 0.03 98.77 21:28:16 21:21:01 3 0.25 0.00 0.20 0.02 0.03 99.50 21:28:16 21:22:01 all 0.15 0.00 0.04 0.00 0.00 99.80 21:28:16 21:22:01 0 0.43 0.00 0.03 0.00 0.00 99.53 21:28:16 21:22:01 1 0.05 0.00 0.03 0.00 0.00 99.92 21:28:16 21:22:01 2 0.07 0.00 0.03 0.00 0.00 99.90 21:28:16 21:22:01 3 0.07 0.00 0.07 0.00 0.02 99.85 21:28:16 21:23:01 all 0.15 0.00 0.16 0.00 0.04 99.66 21:28:16 21:23:01 0 0.03 0.00 0.15 0.00 0.03 99.78 21:28:16 21:23:01 1 0.05 0.00 0.15 0.00 0.03 99.77 21:28:16 21:23:01 2 0.43 0.00 0.22 0.00 0.03 99.32 21:28:16 21:23:01 3 0.07 0.00 0.12 0.00 0.05 99.77 21:28:16 21:24:01 all 0.16 0.00 0.04 0.00 0.00 99.80 21:28:16 21:24:01 0 0.02 0.00 0.03 0.00 0.00 99.95 21:28:16 21:24:01 1 0.07 0.00 0.05 0.00 0.02 99.87 21:28:16 21:24:01 2 0.52 0.00 0.03 0.00 0.00 99.45 21:28:16 21:24:01 3 0.03 0.00 0.05 0.00 0.00 99.92 21:28:16 21:25:01 all 0.16 0.00 0.06 0.00 0.01 99.77 21:28:16 21:25:01 0 0.05 0.00 0.05 0.00 0.00 99.90 21:28:16 21:25:01 1 0.47 0.00 0.07 0.00 0.02 99.45 21:28:16 21:25:01 2 0.07 0.00 0.07 0.00 0.03 99.83 21:28:16 21:25:01 3 0.05 0.00 0.07 0.00 0.00 99.88 21:28:16 21:26:01 all 0.15 0.00 0.04 0.00 0.00 99.81 21:28:16 21:26:01 0 0.03 0.00 0.02 0.00 0.00 99.95 21:28:16 21:26:01 1 0.52 0.00 0.02 0.00 0.00 99.47 21:28:16 21:26:01 2 0.03 0.00 0.00 0.00 0.00 99.97 21:28:16 21:26:01 3 0.02 0.00 0.12 0.00 0.02 99.85 21:28:16 21:27:01 all 0.17 0.00 0.03 0.00 0.00 99.80 21:28:16 21:27:01 0 0.05 0.00 0.02 0.00 0.00 99.93 21:28:16 21:27:01 1 0.53 0.00 0.05 0.00 0.00 99.42 21:28:16 21:27:01 2 0.05 0.00 0.05 0.00 0.00 99.90 21:28:16 21:27:01 3 0.03 0.00 0.02 0.00 0.00 99.95 21:28:16 21:28:01 all 5.66 0.00 3.74 1.46 0.12 89.03 21:28:16 21:28:01 0 5.02 0.00 3.40 0.07 0.12 91.40 21:28:16 21:28:01 1 7.61 0.00 4.54 4.89 0.10 82.86 21:28:16 21:28:01 2 5.34 0.00 3.07 0.34 0.12 91.14 21:28:16 21:28:01 3 4.66 0.00 3.96 0.54 0.13 90.71 21:28:16 Average: all 0.89 0.00 0.54 0.20 0.03 98.35 21:28:16 Average: 0 0.80 0.00 0.49 0.01 0.02 98.69 21:28:16 Average: 1 1.24 0.00 0.64 0.61 0.03 97.49 21:28:16 Average: 2 0.87 0.00 0.45 0.12 0.03 98.54 21:28:16 Average: 3 0.64 0.00 0.57 0.07 0.03 98.69 21:28:16 21:28:16 21:28:16