Pull request #66 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-rest-go Obtained Jenkinsfile from 1823a67e0868418d03770a63e2cb1eef336783ce+3b3704fceb7b97b6b41b020a3a5d9692cb604e42 (30253953b9e027c283317f25229784ad7233d016) 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-rest-go/branches/PR-66/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-rest-go/branches/PR-66/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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-16577 in /w/workspace/dgexfoundry_device-rest-go_PR-66 [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-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-66 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit 1823a67e0868418d03770a63e2cb1eef336783ce Merge succeeded, producing 1823a67e0868418d03770a63e2cb1eef336783ce Checking out Revision 1823a67e0868418d03770a63e2cb1eef336783ce (PR-66) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1823a67e0868418d03770a63e2cb1eef336783ce # 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 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1823a67e0868418d03770a63e2cb1eef336783ce # timeout=10 Commit message: "ci: standardize dockerfiles" 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 19:08:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:08:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:08:40 ========================================================= 19:08:40 EdgeX Global Pipelines Version Info 19:08:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:08:41 ------------------- 19:08:41 stable info: 19:08:41 ------------------- 19:08:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:08:41 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 19:08:41 Message: update stable to v1.0.173 19:08:42 ------------------- 19:08:42 experimental info: 19:08:42 ------------------- 19:08:42 Commited By: **** collab-it+edgex@linuxfoundation.org 19:08:42 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 19:08:42 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:08:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 19:08:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 19:08:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:08:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:08:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:08:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 19:08:44 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:08:44 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 19:08:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:08:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:08:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:08:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 19:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:08:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:08:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:08:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:08:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:08:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:08:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:08:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:08:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:08:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:08:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:08:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:08:47 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 19:08:47 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 19:08:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-66 [Pipeline] echo 19:08:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-66 [Pipeline] echo 19:08:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-66 [Pipeline] echo 19:08:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1823a67e0868418d03770a63e2cb1eef336783ce [Pipeline] echo 19:08:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1823a67 [Pipeline] echo 19:08:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:08:48 provisioning config files... 19:08:48 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/config2334294866925366519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:48 ---> docker-login.sh 19:08:48 nexus3.edgexfoundry.org:10001 19:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:49 Configure a credential helper to remove this warning. See 19:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:49 19:08:49 Login Succeeded 19:08:49 nexus3.edgexfoundry.org:10002 19:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:49 Configure a credential helper to remove this warning. See 19:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:49 19:08:49 Login Succeeded 19:08:49 nexus3.edgexfoundry.org:10003 19:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:49 Configure a credential helper to remove this warning. See 19:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:49 19:08:49 Login Succeeded 19:08:49 nexus3.edgexfoundry.org:10004 19:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:49 Configure a credential helper to remove this warning. See 19:08:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:49 19:08:49 Login Succeeded 19:08:49 docker.io 19:08:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:08:50 Configure a credential helper to remove this warning. See 19:08:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:08:50 19:08:50 Login Succeeded 19:08:50 ---> docker-login.sh ends [Pipeline] } 19:08: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 19:08:51 + git log --format=format:%s -1 1823a67e0868418d03770a63e2cb1eef336783ce [Pipeline] echo 19:08:51 GIT_COMMIT: 1823a67e0868418d03770a63e2cb1eef336783ce, Commit Message: ci: standardize dockerfiles [Pipeline] echo 19:08:51 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:08:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:08:52 19:08:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:08:52 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:08:52 latest: Pulling from edgex-devops/git-semver 19:08:52 31603596830f: Pulling fs layer 19:08:52 2a8b12db71e7: Pulling fs layer 19:08:52 6ca5941a6612: Pulling fs layer 19:08:52 ecc8261a40a4: Pulling fs layer 19:08:52 ecc8261a40a4: Waiting 19:08:52 2a8b12db71e7: Verifying Checksum 19:08:52 2a8b12db71e7: Download complete 19:08:52 31603596830f: Verifying Checksum 19:08:52 31603596830f: Download complete 19:08:52 ecc8261a40a4: Verifying Checksum 19:08:52 ecc8261a40a4: Download complete 19:08:52 6ca5941a6612: Verifying Checksum 19:08:52 6ca5941a6612: Download complete 19:08:53 31603596830f: Pull complete 19:08:53 2a8b12db71e7: Pull complete 19:08:54 6ca5941a6612: Pull complete 19:08:54 ecc8261a40a4: Pull complete 19:08:54 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 19:08:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:08:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:08:54 prd-centos7-docker-4c-2g-16577 does not seem to be running inside a container 19:08:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-66 -v /w/workspace/dgexfoundry_device-rest-go_PR-66:/w/workspace/dgexfoundry_device-rest-go_PR-66:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-66@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-66@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 19:08:56 $ docker top 026aaa21629506f4f2c056c52a07b2f8d04dba283103904a4ece75aa64e8a4b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:08:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:56 [ssh-agent] Looking for ssh-agent implementation... 19:08:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:56 $ docker exec 026aaa21629506f4f2c056c52a07b2f8d04dba283103904a4ece75aa64e8a4b9 ssh-agent 19:08:57 SSH_AUTH_SOCK=/tmp/ssh-84NIJDxIo3WJ/agent.11 19:08:57 SSH_AGENT_PID=17 19:08:57 Running ssh-add (command line suppressed) 19:08:57 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/private_key_5853224108415013686.key (/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/private_key_5853224108415013686.key) 19:08:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:57 + git tag --points-at HEAD [Pipeline] } 19:08:57 $ docker exec --env ******** --env ******** 026aaa21629506f4f2c056c52a07b2f8d04dba283103904a4ece75aa64e8a4b9 ssh-agent -k 19:08:57 unset SSH_AUTH_SOCK; 19:08:57 unset SSH_AGENT_PID; 19:08:57 echo Agent pid 17 killed; 19:08:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:08:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:58 [ssh-agent] Looking for ssh-agent implementation... 19:08:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:58 $ docker exec 026aaa21629506f4f2c056c52a07b2f8d04dba283103904a4ece75aa64e8a4b9 ssh-agent 19:08:58 SSH_AUTH_SOCK=/tmp/ssh-WWytUQk2rmSX/agent.46 19:08:58 SSH_AGENT_PID=51 19:08:58 Running ssh-add (command line suppressed) 19:08:58 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/private_key_1123749949825090354.key (/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/private_key_1123749949825090354.key) 19:08:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:59 + git semver init 19:08:59 # -> Open(): unable to determine branch for HEAD 19:08:59 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-66/.git 19:08:59 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-66 19:08:59 # $SEMVER_REMOTE_NAME = origin 19:08:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:08:59 # $SEMVER_USER_NAME = edgex-jenkins 19:08:59 # $SEMVER_BRANCH = PR-66 19:08:59 # $SEMVER_TEMP = /tmp/semver-804063904 19:08:59 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 19:09:00 # '/tmp/semver-804063904' -> '/w/workspace/dgexfoundry_device-rest-go_PR-66/.semver' 19:09:00 # -> Force: false 19:09:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-66/.semver [Pipeline] } 19:09:00 $ docker exec --env ******** --env ******** 026aaa21629506f4f2c056c52a07b2f8d04dba283103904a4ece75aa64e8a4b9 ssh-agent -k 19:09:00 unset SSH_AUTH_SOCK; 19:09:00 unset SSH_AGENT_PID; 19:09:00 echo Agent pid 51 killed; 19:09:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:09:01 + git semver [Pipeline] } 19:09:01 $ docker stop --time=1 026aaa21629506f4f2c056c52a07b2f8d04dba283103904a4ece75aa64e8a4b9 19:09:02 $ docker rm -f 026aaa21629506f4f2c056c52a07b2f8d04dba283103904a4ece75aa64e8a4b9 [Pipeline] // withDockerContainer [Pipeline] sh 19:09:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:09:03 Stashed 1 file(s) [Pipeline] echo 19:09: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 19:09:19 Still waiting to schedule task 19:09:19 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:09:19 Still waiting to schedule task 19:09:19 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 19:11:13 Running on prd-centos7-docker-4c-2g-16580 in /w/workspace/dgexfoundry_device-rest-go_PR-66 [Pipeline] { [Pipeline] ws 19:11:13 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 19:11:16 using credential edgex-jenkins-ssh 19:11:16 Cloning the remote Git repository 19:11:16 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:11:16 > git init /w/workspace/device-rest-go/1 # timeout=10 19:11:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:11:16 > git --version # timeout=10 19:11:16 > git --version # 'git version 2.24.3' 19:11:16 using GIT_SSH to set credentials SSH Credentials for GitHub 19:11:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:11:17 Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit 1823a67e0868418d03770a63e2cb1eef336783ce 19:11:17 Merge succeeded, producing 1823a67e0868418d03770a63e2cb1eef336783ce 19:11:17 Checking out Revision 1823a67e0868418d03770a63e2cb1eef336783ce (PR-66) 19:11:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:11:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:11:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:11:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:11:17 using GIT_SSH to set credentials SSH Credentials for GitHub 19:11:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:11:17 > git config core.sparsecheckout # timeout=10 19:11:17 > git checkout -f 1823a67e0868418d03770a63e2cb1eef336783ce # timeout=10 19:11:17 > git remote # timeout=10 19:11:17 > git config --get remote.origin.url # timeout=10 19:11:17 using GIT_SSH to set credentials SSH Credentials for GitHub 19:11:17 > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 19:11:17 > git rev-parse HEAD^{commit} # timeout=10 19:11:17 > git config core.sparsecheckout # timeout=10 19:11:17 > git checkout -f 1823a67e0868418d03770a63e2cb1eef336783ce # timeout=10 19:11:21 Commit message: "ci: standardize dockerfiles" 19:11:21 > git --version # timeout=10 19:11:21 > git --version # 'git version 2.24.3' 19:11:21 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:11:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 19:11:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:11:23 + sudo service docker restart 19:11:23 + true 19:11:23 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:11:25 provisioning config files... 19:11:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8634404107874635891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:11:25 ---> docker-login.sh 19:11:25 nexus3.edgexfoundry.org:10001 19:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:26 Configure a credential helper to remove this warning. See 19:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:26 19:11:26 Login Succeeded 19:11:26 nexus3.edgexfoundry.org:10002 19:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:26 Configure a credential helper to remove this warning. See 19:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:26 19:11:26 Login Succeeded 19:11:26 nexus3.edgexfoundry.org:10003 19:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:26 Configure a credential helper to remove this warning. See 19:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:26 19:11:26 Login Succeeded 19:11:26 nexus3.edgexfoundry.org:10004 19:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:26 Configure a credential helper to remove this warning. See 19:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:26 19:11:26 Login Succeeded 19:11:26 docker.io 19:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:27 Configure a credential helper to remove this warning. See 19:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:27 19:11:27 Login Succeeded 19:11:27 ---> docker-login.sh ends [Pipeline] } 19:11:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:11:27 ========================================================= 19:11:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 19:11:27 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:11:28 + 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 . 19:11:28 Sending build context to Docker daemon 84.48kB 19:11:28 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 19:11:28 Step 2/10 : FROM ${BASE} 19:11:28 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 19:11:28 188c0c94c7c5: Pulling fs layer 19:11:28 0ef7d3d256c8: Pulling fs layer 19:11:28 de9db76c5a1d: Pulling fs layer 19:11:28 bca2f99d35d6: Pulling fs layer 19:11:28 93359f2a8cfa: Pulling fs layer 19:11:28 7c6f9722023f: Pulling fs layer 19:11:28 a35cf1a2eb13: Pulling fs layer 19:11:28 93359f2a8cfa: Waiting 19:11:28 7c6f9722023f: Waiting 19:11:28 a35cf1a2eb13: Waiting 19:11:28 bca2f99d35d6: Waiting 19:11:28 de9db76c5a1d: Verifying Checksum 19:11:28 de9db76c5a1d: Download complete 19:11:28 0ef7d3d256c8: Download complete 19:11:28 93359f2a8cfa: Verifying Checksum 19:11:28 93359f2a8cfa: Download complete 19:11:28 7c6f9722023f: Verifying Checksum 19:11:28 7c6f9722023f: Download complete 19:11:28 188c0c94c7c5: Verifying Checksum 19:11:28 188c0c94c7c5: Download complete 19:11:28 188c0c94c7c5: Pull complete 19:11:28 0ef7d3d256c8: Pull complete 19:11:28 de9db76c5a1d: Pull complete 19:11:30 a35cf1a2eb13: Verifying Checksum 19:11:30 a35cf1a2eb13: Download complete 19:11:31 bca2f99d35d6: Verifying Checksum 19:11:31 bca2f99d35d6: Download complete 19:11:36 bca2f99d35d6: Pull complete 19:11:36 93359f2a8cfa: Pull complete 19:11:36 7c6f9722023f: Pull complete 19:11:42 a35cf1a2eb13: Pull complete 19:11:42 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 19:11:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 19:11:42 ---> a62c8e92a672 19:11:42 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 19:11:42 ---> Running in ff87534bcea6 19:11:42 Removing intermediate container ff87534bcea6 19:11:42 ---> fb2032e9cd9e 19:11:42 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:11:42 ---> Running in 0652c19da351 19:11:42 Removing intermediate container 0652c19da351 19:11:42 ---> 1de7a101afd8 19:11:42 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:11:42 ---> Running in 92037715930e 19:11:42 Removing intermediate container 92037715930e 19:11:42 ---> 121f98eca518 19:11:42 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:11:42 ---> Running in 0714af9b2150 19:11:44 Removing intermediate container 0714af9b2150 19:11:44 ---> 8c1d0b8701a3 19:11:44 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:11:44 ---> Running in be71dc9559cd 19:11:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:11:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:11:46 OK: 166 MiB in 39 packages 19:11:46 Removing intermediate container be71dc9559cd 19:11:46 ---> 1d3fbebbc682 19:11:46 Step 8/10 : WORKDIR /device-rest-go 19:11:46 ---> Running in aeee9d18aee4 19:11:46 Removing intermediate container aeee9d18aee4 19:11:46 ---> 5abc72a45c1c 19:11:46 Step 9/10 : COPY . . 19:11:47 ---> 85788cbfd53c 19:11:47 Step 10/10 : RUN go mod download 19:11:47 ---> Running in ef0e92e0ebf3 19:11:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16581 in /w/workspace/dgexfoundry_device-rest-go_PR-66 [Pipeline] { [Pipeline] ws 19:11:58 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 19:12:04 using credential edgex-jenkins-ssh 19:12:04 Cloning the remote Git repository 19:12:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:12:04 > git init /w/workspace/device-rest-go/1 # timeout=10 19:12:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:12:04 > git --version # timeout=10 19:12:04 > git --version # 'git version 2.17.1' 19:12:04 using GIT_SSH to set credentials SSH Credentials for GitHub 19:12:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:12:05 Removing intermediate container ef0e92e0ebf3 19:12:05 ---> a0f87b96613c 19:12:05 Successfully built a0f87b96613c 19:12:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:12:05 + docker inspect -f . ci-base-image-x86_64 19:12:05 . [Pipeline] withDockerContainer 19:12:05 prd-centos7-docker-4c-2g-16580 does not seem to be running inside a container 19:12:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 19:12:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:12:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:12:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:12:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:12:07 Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit 1823a67e0868418d03770a63e2cb1eef336783ce 19:12:07 $ docker top 0fc33d986d01ce0a43c341dda46a438994255cbdef1891ff480a3222450610ba -eo pid,comm 19:12:07 Merge succeeded, producing 1823a67e0868418d03770a63e2cb1eef336783ce 19:12:07 Checking out Revision 1823a67e0868418d03770a63e2cb1eef336783ce (PR-66) [Pipeline] { [Pipeline] sh 19:12:06 using GIT_SSH to set credentials SSH Credentials for GitHub 19:12:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/master:refs/remotes/origin/master # timeout=10 19:12:07 > git config core.sparsecheckout # timeout=10 19:12:07 > git checkout -f 1823a67e0868418d03770a63e2cb1eef336783ce # timeout=10 19:12:07 > git remote # timeout=10 19:12:07 > git config --get remote.origin.url # timeout=10 19:12:07 using GIT_SSH to set credentials SSH Credentials for GitHub 19:12:07 > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 19:12:07 > git rev-parse HEAD^{commit} # timeout=10 19:12:07 > git config core.sparsecheckout # timeout=10 19:12:07 > git checkout -f 1823a67e0868418d03770a63e2cb1eef336783ce # timeout=10 19:12:07 + go version 19:12:07 go version go1.15.5 linux/amd64 [Pipeline] } 19:12:07 $ docker stop --time=1 0fc33d986d01ce0a43c341dda46a438994255cbdef1891ff480a3222450610ba 19:12:09 $ docker rm -f 0fc33d986d01ce0a43c341dda46a438994255cbdef1891ff480a3222450610ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:12:10 + docker inspect -f . ci-base-image-x86_64 19:12:10 . [Pipeline] withDockerContainer 19:12:10 prd-centos7-docker-4c-2g-16580 does not seem to be running inside a container 19:12:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 19:12:11 $ docker top d6263b0a516ea64ba4996bbe47042e9fae72a1241a8b920865144d8361ed651e -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:11 + make test 19:12:11 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:12:11 Commit message: "ci: standardize dockerfiles" 19:12:11 > git --version # timeout=10 19:12:11 > git --version # 'git version 2.17.1' 19:12:11 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { 19:12:12 ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:12:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 19:12:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:12:14 + sudo service docker restart 19:12:14 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:12:17 provisioning config files... 19:12:17 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1056081929306592051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:12:17 ---> docker-login.sh 19:12:17 nexus3.edgexfoundry.org:10001 19:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:19 Configure a credential helper to remove this warning. See 19:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:19 19:12:19 Login Succeeded 19:12:19 nexus3.edgexfoundry.org:10002 19:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:19 Configure a credential helper to remove this warning. See 19:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:19 19:12:19 Login Succeeded 19:12:19 nexus3.edgexfoundry.org:10003 19:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:20 Configure a credential helper to remove this warning. See 19:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:20 19:12:20 Login Succeeded 19:12:20 nexus3.edgexfoundry.org:10004 19:12:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:20 Configure a credential helper to remove this warning. See 19:12:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:20 19:12:20 Login Succeeded 19:12:20 docker.io 19:12:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:12:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:12:21 Configure a credential helper to remove this warning. See 19:12:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:12:21 19:12:21 Login Succeeded 19:12:21 ---> docker-login.sh ends [Pipeline] } 19:12:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:12:22 ========================================================= 19:12:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 19:12:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:12:22 + 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 . 19:12:22 Sending build context to Docker daemon 84.48kB 19:12:22 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 19:12:22 Step 2/10 : FROM ${BASE} 19:12:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:12:23 5f621e34cdf4: Pulling fs layer 19:12:23 a4357932f1b6: Pulling fs layer 19:12:23 18c013af1878: Pulling fs layer 19:12:23 00ac8860ef70: Pulling fs layer 19:12:23 63d7cb157983: Pulling fs layer 19:12:23 00ac8860ef70: Waiting 19:12:23 b116817d02f9: Pulling fs layer 19:12:23 745a02a5169b: Pulling fs layer 19:12:23 b116817d02f9: Waiting 19:12:23 63d7cb157983: Waiting 19:12:23 745a02a5169b: Waiting 19:12:23 18c013af1878: Verifying Checksum 19:12:23 18c013af1878: Download complete 19:12:23 a4357932f1b6: Verifying Checksum 19:12:23 a4357932f1b6: Download complete 19:12:23 63d7cb157983: Verifying Checksum 19:12:23 63d7cb157983: Download complete 19:12:23 5f621e34cdf4: Download complete 19:12:23 b116817d02f9: Verifying Checksum 19:12:23 b116817d02f9: Download complete 19:12:23 5f621e34cdf4: Pull complete 19:12:24 a4357932f1b6: Pull complete 19:12:24 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:12:24 ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 56.3% of statements 19:12:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:12:24 18c013af1878: Pull complete 19:12:25 745a02a5169b: Download complete 19:12:26 gofmt -l . 19:12:27 [ "`gofmt -l .`" = "" ] 19:12:27 ./bin/test-go-mod-tidy.sh 19:12:27 00ac8860ef70: Verifying Checksum 19:12:27 00ac8860ef70: Download complete 19:12:27 ./bin/test-attribution-txt.sh [Pipeline] } 19:12:27 $ docker stop --time=1 d6263b0a516ea64ba4996bbe47042e9fae72a1241a8b920865144d8361ed651e 19:12:29 $ docker rm -f d6263b0a516ea64ba4996bbe47042e9fae72a1241a8b920865144d8361ed651e [Pipeline] // withDockerContainer [Pipeline] sh 19:12:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:12:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:12:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:12:34 + ls -al . 19:12:34 total 96 19:12:34 drwxrwxr-x. 8 jenkins jenkins 4096 Dec 17 19:12 . 19:12:34 drwxrwxr-x. 4 jenkins jenkins 28 Dec 17 19:11 .. 19:12:34 -rw-rw-r--. 1 jenkins jenkins 5294 Dec 17 19:11 Attribution.txt 19:12:34 drwxrwxr-x. 2 jenkins jenkins 64 Dec 17 19:11 bin 19:12:34 drwxrwxr-x. 3 jenkins jenkins 32 Dec 17 19:11 cmd 19:12:34 -rw-r--r--. 1 jenkins jenkins 9369 Dec 17 19:12 coverage.out 19:12:34 -rw-rw-r--. 1 jenkins jenkins 1521 Dec 17 19:11 Dockerfile 19:12:34 -rw-rw-r--. 1 jenkins jenkins 993 Dec 17 19:11 Dockerfile.build 19:12:34 -rw-rw-r--. 1 jenkins jenkins 151 Dec 17 19:11 .dockerignore 19:12:34 drwxrwxr-x. 2 jenkins jenkins 93 Dec 17 19:12 driver 19:12:34 drwxrwxr-x. 8 jenkins jenkins 179 Dec 17 19:11 .git 19:12:34 drwxrwxr-x. 2 jenkins jenkins 60 Dec 17 19:11 .github 19:12:34 -rw-rw-r--. 1 jenkins jenkins 339 Dec 17 19:11 .gitignore 19:12:34 -rw-r--r--. 1 jenkins jenkins 267 Dec 17 19:12 go.mod 19:12:34 -rw-r--r--. 1 jenkins jenkins 13790 Dec 17 19:12 go.sum 19:12:34 -rw-rw-r--. 1 jenkins jenkins 680 Dec 17 19:11 Jenkinsfile 19:12:34 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 17 19:11 LICENSE 19:12:34 -rw-rw-r--. 1 jenkins jenkins 951 Dec 17 19:11 Makefile 19:12:34 -rw-rw-r--. 1 jenkins jenkins 5917 Dec 17 19:11 README.md 19:12:34 drwxrwxr-x. 4 jenkins jenkins 71 Dec 17 19:11 snap 19:12:34 -rw-rw-r--. 1 jenkins jenkins 5 Dec 17 19:09 VERSION 19:12:34 -rw-rw-r--. 1 jenkins jenkins 713 Dec 17 19:11 version.go [Pipeline] isUnix [Pipeline] sh 19:12:34 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=1823a67e0868418d03770a63e2cb1eef336783ce --label arch=amd64 --label version=0.0.0 . 19:12:34 Sending build context to Docker daemon 96.26kB 19:12:34 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 19:12:34 Step 2/25 : FROM ${BASE} AS builder 19:12:34 ---> a0f87b96613c 19:12:34 Step 3/25 : ARG MAKE='make build' 19:12:34 ---> Running in 77d28971ceb5 19:12:35 Removing intermediate container 77d28971ceb5 19:12:35 ---> 09c5cd47f966 19:12:35 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 19:12:35 ---> Running in 418cbc1a1248 19:12:35 Removing intermediate container 418cbc1a1248 19:12:35 ---> 807cabd02db7 19:12:35 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:12:35 ---> Running in 4c6673525e2b 19:12:35 Removing intermediate container 4c6673525e2b 19:12:35 ---> 72180f0bfc2c 19:12:35 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:12:35 ---> Running in cbb463e727a3 19:12:36 Removing intermediate container cbb463e727a3 19:12:36 ---> f1de7ef1330b 19:12:36 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:12:36 ---> Running in 12499ea19e1f 19:12:37 00ac8860ef70: Pull complete 19:12:37 63d7cb157983: Pull complete 19:12:37 b116817d02f9: Pull complete 19:12:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:12:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:12:38 OK: 166 MiB in 39 packages 19:12:39 Removing intermediate container 12499ea19e1f 19:12:39 ---> 8b71a1c9a1ed 19:12:39 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 19:12:39 ---> Running in f4ed7b9dc2c5 19:12:39 Removing intermediate container f4ed7b9dc2c5 19:12:39 ---> 464a10b359fd 19:12:39 Step 9/25 : COPY go.mod . 19:12:39 ---> a30187a289dd 19:12:39 Step 10/25 : COPY Makefile . 19:12:39 ---> 42d1b893da68 19:12:39 Step 11/25 : RUN make update 19:12:39 ---> Running in d52dcc1dc2d4 19:12:40 CGO_ENABLED=0 GO111MODULE=on go mod download 19:12:40 745a02a5169b: Pull complete 19:12:40 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 19:12:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 19:12:40 ---> b7e6874047d6 19:12:40 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 19:12:41 Removing intermediate container d52dcc1dc2d4 19:12:41 ---> 8e54fe36b36e 19:12:41 Step 12/25 : COPY . . 19:12:41 ---> dceb81f56ed8 19:12:41 Step 13/25 : RUN $MAKE 19:12:41 ---> Running in 2ece602f8d1b 19:12:41 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 19:12:44 ---> Running in 8d26d3476c21 19:12:44 Removing intermediate container 8d26d3476c21 19:12:44 ---> a68b28f23996 19:12:44 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 19:12:44 ---> Running in 94470e7f3653 19:12:46 Removing intermediate container 94470e7f3653 19:12:46 ---> fcbba792d734 19:12:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:12:46 ---> Running in 94dfbff62013 19:12:47 Removing intermediate container 94dfbff62013 19:12:47 ---> 721da298303f 19:12:47 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:12:47 ---> Running in 1f068bc5785d 19:12:50 Removing intermediate container 1f068bc5785d 19:12:50 ---> 435c45841dbf 19:12:50 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:12:51 ---> Running in 03cea1d16e21 19:12:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:12:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:12:54 Removing intermediate container 2ece602f8d1b 19:12:54 ---> 7a085b3b7a41 19:12:54 Step 14/25 : FROM alpine:3.12 19:12:54 3.12: Pulling from library/alpine 19:12:54 801bfaa63ef2: Pulling fs layer 19:12:54 801bfaa63ef2: Verifying Checksum 19:12:54 801bfaa63ef2: Download complete 19:12:54 801bfaa63ef2: Pull complete 19:12:54 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 19:12:54 Status: Downloaded newer image for alpine:3.12 19:12:54 ---> 389fef711851 19:12:54 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:12:54 ---> Running in 55611973fb6f 19:12:54 OK: 142 MiB in 39 packages 19:12:54 Removing intermediate container 55611973fb6f 19:12:54 ---> 345a6fb7d6c7 19:12:54 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 19:12:54 ---> Running in 88372a0bdbbf 19:12:54 Removing intermediate container 88372a0bdbbf 19:12:54 ---> 1109dfe40600 19:12:54 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 19:12:55 ---> f5d008070aba 19:12:55 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 19:12:55 ---> 9f63a97f96d4 19:12:55 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 19:12:55 Removing intermediate container 03cea1d16e21 19:12:55 ---> 30140c20cca5 19:12:55 Step 8/10 : WORKDIR /device-rest-go 19:12:55 ---> Running in a7701fd6b39e 19:12:56 ---> ff69f527a4e1 19:12:56 Step 20/25 : EXPOSE 49986 19:12:56 ---> Running in 6da42cd35cee 19:12:56 Removing intermediate container 6da42cd35cee 19:12:56 ---> a7195449f048 19:12:56 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 19:12:56 ---> Running in f0c2bea5716c 19:12:56 Removing intermediate container f0c2bea5716c 19:12:56 ---> a874dd73adfa 19:12:56 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:12:56 Removing intermediate container a7701fd6b39e 19:12:56 ---> 44672dd4bafd 19:12:56 Step 9/10 : COPY . . 19:12:56 ---> Running in 57fc36864675 19:12:56 Removing intermediate container 57fc36864675 19:12:56 ---> 26d37d9a2b32 19:12:56 Step 23/25 : LABEL arch=amd64 19:12:56 ---> Running in 62b3251d6a37 19:12:56 Removing intermediate container 62b3251d6a37 19:12:56 ---> 65a7c3967a5a 19:12:56 Step 24/25 : LABEL git_sha=1823a67e0868418d03770a63e2cb1eef336783ce 19:12:56 ---> Running in d9d802cfd640 19:12:57 ---> c3d3c0c03e6c 19:12:57 Step 10/10 : RUN go mod download 19:12:57 Removing intermediate container d9d802cfd640 19:12:57 ---> f7362df00ce3 19:12:57 Step 25/25 : LABEL version=0.0.0 19:12:57 ---> Running in eb83a35d4361 19:12:57 Removing intermediate container eb83a35d4361 19:12:57 ---> a361c22aad3a 19:12:57 [Warning] One or more build-args [ARCH] were not consumed 19:12:57 Successfully built a361c22aad3a 19:12:57 Successfully tagged docker-device-rest-go:latest 19:12:57 ---> Running in ba3c555657fe [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] } 19:13:19 Removing intermediate container ba3c555657fe 19:13:19 ---> 16bf2af730d4 19:13:19 Successfully built 16bf2af730d4 19:13:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:13:20 + docker inspect -f . ci-base-image-arm64 19:13:20 . [Pipeline] withDockerContainer 19:13:20 prd-ubuntu18.04-docker-arm64-4c-16g-16581 does not seem to be running inside a container 19:13:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:13:21 $ docker top f7a9e13e91d289350084ec7e80411eecbe682bdbf1d6c86f64402208a8e833ef -eo pid,comm [Pipeline] { [Pipeline] sh 19:13:22 + go version 19:13:22 go version go1.15.5 linux/arm64 [Pipeline] } 19:13:22 $ docker stop --time=1 f7a9e13e91d289350084ec7e80411eecbe682bdbf1d6c86f64402208a8e833ef 19:13:24 $ docker rm -f f7a9e13e91d289350084ec7e80411eecbe682bdbf1d6c86f64402208a8e833ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:13:26 + docker inspect -f . ci-base-image-arm64 19:13:26 . [Pipeline] withDockerContainer 19:13:26 prd-ubuntu18.04-docker-arm64-4c-16g-16581 does not seem to be running inside a container 19:13:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:13:27 $ docker top 21e210a9bc2649436eca7df97c5bad61d8fddaaa4d776ed8c1ae14e33a9b82f1 -eo pid,comm [Pipeline] { [Pipeline] sh 19:13:28 + make test 19:13:28 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:13:29 ? github.com/edgexfoundry/device-rest-go [no test files] 19:14:08 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:14:08 ok github.com/edgexfoundry/device-rest-go/driver 0.075s coverage: 56.3% of statements 19:14:08 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:14:11 gofmt -l . 19:14:11 [ "`gofmt -l .`" = "" ] 19:14:11 ./bin/test-go-mod-tidy.sh 19:14:12 ./bin/test-attribution-txt.sh [Pipeline] } 19:14:12 $ docker stop --time=1 21e210a9bc2649436eca7df97c5bad61d8fddaaa4d776ed8c1ae14e33a9b82f1 19:14:15 $ docker rm -f 21e210a9bc2649436eca7df97c5bad61d8fddaaa4d776ed8c1ae14e33a9b82f1 [Pipeline] // withDockerContainer [Pipeline] sh 19:14:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:14:16 Warning: overwriting stash ‘coverage-report’ 19:14:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:14:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:14:18 + ls -al . 19:14:18 total 124 19:14:18 drwxrwxr-x 8 jenkins jenkins 4096 Dec 17 19:14 . 19:14:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 19:12 .. 19:14:18 -rw-rw-r-- 1 jenkins jenkins 151 Dec 17 19:12 .dockerignore 19:14:18 drwxrwxr-x 8 jenkins jenkins 4096 Dec 17 19:12 .git 19:14:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 19:12 .github 19:14:18 -rw-rw-r-- 1 jenkins jenkins 339 Dec 17 19:12 .gitignore 19:14:18 -rw-rw-r-- 1 jenkins jenkins 5294 Dec 17 19:12 Attribution.txt 19:14:18 -rw-rw-r-- 1 jenkins jenkins 1521 Dec 17 19:12 Dockerfile 19:14:18 -rw-rw-r-- 1 jenkins jenkins 993 Dec 17 19:12 Dockerfile.build 19:14:18 -rw-rw-r-- 1 jenkins jenkins 680 Dec 17 19:12 Jenkinsfile 19:14:18 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 17 19:12 LICENSE 19:14:18 -rw-rw-r-- 1 jenkins jenkins 951 Dec 17 19:12 Makefile 19:14:18 -rw-rw-r-- 1 jenkins jenkins 5917 Dec 17 19:12 README.md 19:14:18 -rw-rw-r-- 1 jenkins jenkins 5 Dec 17 19:09 VERSION 19:14:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 19:12 bin 19:14:18 drwxrwxr-x 3 jenkins jenkins 4096 Dec 17 19:12 cmd 19:14:18 -rw-r--r-- 1 jenkins jenkins 9369 Dec 17 19:14 coverage.out 19:14:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 19:14 driver 19:14:18 -rw-r--r-- 1 jenkins jenkins 267 Dec 17 19:14 go.mod 19:14:18 -rw-r--r-- 1 jenkins jenkins 13790 Dec 17 19:14 go.sum 19:14:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 19:12 snap 19:14:18 -rw-rw-r-- 1 jenkins jenkins 713 Dec 17 19:12 version.go [Pipeline] isUnix [Pipeline] sh 19:14:18 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1823a67e0868418d03770a63e2cb1eef336783ce --label arch=arm64 --label version=0.0.0 . 19:14:18 Sending build context to Docker daemon 96.26kB 19:14:18 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 19:14:18 Step 2/25 : FROM ${BASE} AS builder 19:14:18 ---> 16bf2af730d4 19:14:18 Step 3/25 : ARG MAKE='make build' 19:14:19 ---> Running in 77ffc72468c6 19:14:19 Removing intermediate container 77ffc72468c6 19:14:19 ---> dea2e37c11b7 19:14:19 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 19:14:19 ---> Running in 85bfcff7452b 19:14:20 Removing intermediate container 85bfcff7452b 19:14:20 ---> 9d6631b382f3 19:14:20 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 19:14:20 ---> Running in 6f25696bb10e 19:14:20 Removing intermediate container 6f25696bb10e 19:14:20 ---> d3b28144c69f 19:14:20 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:14:20 ---> Running in 1ca33018de83 19:14:22 Removing intermediate container 1ca33018de83 19:14:22 ---> 68beaf4c2652 19:14:22 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:14:23 ---> Running in 5c4dc0016c65 19:14:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:14:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:14:26 OK: 142 MiB in 39 packages 19:14:27 Removing intermediate container 5c4dc0016c65 19:14:27 ---> f6d5411c36fb 19:14:27 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 19:14:27 ---> Running in e212c7deae26 19:14:27 Removing intermediate container e212c7deae26 19:14:27 ---> d7b64967724d 19:14:27 Step 9/25 : COPY go.mod . 19:14:28 ---> 788b6f328581 19:14:28 Step 10/25 : COPY Makefile . 19:14:29 ---> e907458c5cec 19:14:29 Step 11/25 : RUN make update 19:14:29 ---> Running in 5be21193ba6c 19:14:30 CGO_ENABLED=0 GO111MODULE=on go mod download 19:14:31 Removing intermediate container 5be21193ba6c 19:14:31 ---> d2b12dc8fabd 19:14:31 Step 12/25 : COPY . . 19:14:32 ---> 33b0da46ef1f 19:14:32 Step 13/25 : RUN $MAKE 19:14:32 ---> Running in abcf4f48e329 19:14:33 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 19:15:00 Removing intermediate container abcf4f48e329 19:15:00 ---> da5dfbb6bea5 19:15:00 Step 14/25 : FROM alpine:3.12 19:15:00 3.12: Pulling from library/alpine 19:15:01 159e5727ea61: Pulling fs layer 19:15:01 159e5727ea61: Download complete 19:15:02 159e5727ea61: Pull complete 19:15:02 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 19:15:02 Status: Downloaded newer image for alpine:3.12 19:15:02 ---> afeebe901d6b 19:15:02 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:15:02 ---> Running in 828a5471ca5f 19:15:02 Removing intermediate container 828a5471ca5f 19:15:02 ---> 7516f6788791 19:15:02 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 19:15:03 ---> Running in 243ca4c5cf79 19:15:03 Removing intermediate container 243ca4c5cf79 19:15:03 ---> 7765f866a75f 19:15:03 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 19:15:03 ---> ee280d3b5261 19:15:03 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 19:15:04 ---> d55f9dc4fc51 19:15:04 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 19:15:05 ---> 72aa9a9170dc 19:15:05 Step 20/25 : EXPOSE 49986 19:15:06 ---> Running in efa52c3749d6 19:15:06 Removing intermediate container efa52c3749d6 19:15:06 ---> 979dfc1eabcc 19:15:06 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 19:15:06 ---> Running in e601aa1047f8 19:15:07 Removing intermediate container e601aa1047f8 19:15:07 ---> d7029e7d52e3 19:15:07 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:15:07 ---> Running in 147126c45b5f 19:15:07 Removing intermediate container 147126c45b5f 19:15:07 ---> 93c08354261c 19:15:07 Step 23/25 : LABEL arch=arm64 19:15:07 ---> Running in 31fa0a79d0b2 19:15:08 Removing intermediate container 31fa0a79d0b2 19:15:08 ---> d016ec85e4ea 19:15:08 Step 24/25 : LABEL git_sha=1823a67e0868418d03770a63e2cb1eef336783ce 19:15:08 ---> Running in 4daff4689371 19:15:08 Removing intermediate container 4daff4689371 19:15:08 ---> 046566908e70 19:15:08 Step 25/25 : LABEL version=0.0.0 19:15:08 ---> Running in fb2efb22aa42 19:15:09 Removing intermediate container fb2efb22aa42 19:15:09 ---> c481b925b3b0 19:15:09 [Warning] One or more build-args [ARCH] were not consumed 19:15:09 Successfully built c481b925b3b0 19:15:09 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 19:15:11 provisioning config files... 19:15:11 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/config780554803887316197tmp [Pipeline] { [Pipeline] sh 19:15:12 + set +x 19:15:12 + curl -s https://codecov.io/bash 19:15:12 + bash -s -- 19:15:12 19:15:12 _____ _ 19:15:12 / ____| | | 19:15:12 | | ___ __| | ___ ___ _____ __ 19:15:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:15:12 | |___| (_) | (_| | __/ (_| (_) \ V / 19:15:12 \_____\___/ \__,_|\___|\___\___/ \_/ 19:15:12 Bash-20201130-cc6d3fe 19:15:12 19:15:12 19:15:12 ==> Jenkins CI detected. 19:15:12 project root: . 19:15:12 --> token set from env 19:15:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:15:12 ==> Running gcov in . (disable via -X gcov) 19:15:12 ==> Python coveragepy not found 19:15:12 ==> Searching for coverage reports in: 19:15:12 + . 19:15:12 -> Found 1 reports 19:15:12 ==> Detecting git/mercurial file structure 19:15:12 ==> Reading reports 19:15:12 + ./coverage.out bytes=9369 19:15:12 ==> Appending adjustments 19:15:12 https://docs.codecov.io/docs/fixing-reports 19:15:12 + Found adjustments 19:15:12 ==> Gzipping contents 19:15:12 4.0K /tmp/codecov.4sShoq.gz 19:15:12 ==> Uploading reports 19:15:12 url: https://codecov.io 19:15:12 query: branch=PR-66&commit=1823a67e0868418d03770a63e2cb1eef336783ce&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-66%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=66&job=&cmd_args= 19:15:12 -> Pinging Codecov 19:15:12 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-66&commit=1823a67e0868418d03770a63e2cb1eef336783ce&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-66%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=66&job=&cmd_args= 19:15:12 -> Uploading to 19:15:12 https://storage.googleapis.com/codecov/v4/raw/2020-12-17/4E5D53B4F1F92C436F7061BF334D961C/1823a67e0868418d03770a63e2cb1eef336783ce/6a4c976b-85e8-483e-b65f-c4fdd3dc30e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201217T191512Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7825deec2752e1f5b4b2dc14e41d8fe5051e3cfee9b5f5900f3444124a0bf3eb 19:15:12 % Total % Received % Xferd Average Speed Time Time Time Current 19:15:12 Dload Upload Total Spent Left Speed 19:15:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 4082 --:--:-- --:--:-- --:--:-- 4090 19:15:13 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/1823a67e0868418d03770a63e2cb1eef336783ce [Pipeline] } 19:15:13 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 19:15:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:15:17 ---> package-listing.sh 19:15:17 ++ facter osfamily 19:15:17 ++ tr '[:upper:]' '[:lower:]' 19:15:17 + OS_FAMILY=redhat 19:15:17 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-66 19:15:17 + START_PACKAGES=/tmp/packages_start.txt 19:15:17 + END_PACKAGES=/tmp/packages_end.txt 19:15:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:15:17 + PACKAGES=/tmp/packages_start.txt 19:15:17 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-66 ']' 19:15:17 + PACKAGES=/tmp/packages_end.txt 19:15:17 + case "${OS_FAMILY}" in 19:15:17 + rpm -qa 19:15:17 + sort 19:15:22 + '[' -f /tmp/packages_start.txt ']' 19:15:22 + '[' -f /tmp/packages_end.txt ']' 19:15:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:15:22 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-66 ']' 19:15:22 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-66/archives/ 19:15:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-66/archives/ [Pipeline] echo 19:15:22 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-rest-go_PR-66/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:15:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:15:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:15:23 19:15:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:15:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:15:23 alpine: Pulling from edgex-lftools-log-publisher 19:15:23 df20fa9351a1: Pulling fs layer 19:15:23 36b3adc4ff6f: Pulling fs layer 19:15:23 8ad3a11d3b57: Pulling fs layer 19:15:23 46f8f816bc3b: Pulling fs layer 19:15:23 93b61091891f: Pulling fs layer 19:15:23 93b9cdb0e59b: Pulling fs layer 19:15:23 5e14af77c1be: Pulling fs layer 19:15:23 01666e4c0597: Pulling fs layer 19:15:23 aa168da1d23b: Pulling fs layer 19:15:23 93b9cdb0e59b: Waiting 19:15:23 5e14af77c1be: Waiting 19:15:23 01666e4c0597: Waiting 19:15:23 aa168da1d23b: Waiting 19:15:23 46f8f816bc3b: Waiting 19:15:23 93b61091891f: Waiting 19:15:23 36b3adc4ff6f: Verifying Checksum 19:15:23 36b3adc4ff6f: Download complete 19:15:23 46f8f816bc3b: Verifying Checksum 19:15:23 46f8f816bc3b: Download complete 19:15:23 df20fa9351a1: Download complete 19:15:24 93b9cdb0e59b: Verifying Checksum 19:15:24 93b9cdb0e59b: Download complete 19:15:24 5e14af77c1be: Verifying Checksum 19:15:24 5e14af77c1be: Download complete 19:15:24 93b61091891f: Verifying Checksum 19:15:24 93b61091891f: Download complete 19:15:24 01666e4c0597: Verifying Checksum 19:15:24 01666e4c0597: Download complete 19:15:24 8ad3a11d3b57: Verifying Checksum 19:15:24 8ad3a11d3b57: Download complete 19:15:24 df20fa9351a1: Pull complete 19:15:24 36b3adc4ff6f: Pull complete 19:15:25 aa168da1d23b: Verifying Checksum 19:15:25 aa168da1d23b: Download complete 19:15:25 8ad3a11d3b57: Pull complete 19:15:26 46f8f816bc3b: Pull complete 19:15:26 93b61091891f: Pull complete 19:15:26 93b9cdb0e59b: Pull complete 19:15:26 5e14af77c1be: Pull complete 19:15:27 01666e4c0597: Pull complete 19:15:35 aa168da1d23b: Pull complete 19:15:35 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:15:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:15:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:15:35 prd-centos7-docker-4c-2g-16577 does not seem to be running inside a container 19:15:35 $ 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-rest-go_PR-66/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-rest-go_PR-66 -v /w/workspace/dgexfoundry_device-rest-go_PR-66:/w/workspace/dgexfoundry_device-rest-go_PR-66:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-66@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-66@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 19:15:39 $ docker top 1dbd1fd88617c276fa4ab0adb8b9f909453fb128190531a60c85b258d9838d03 -eo pid,comm [Pipeline] { [Pipeline] sh 19:15:39 + touch /tmp/pre-build-complete [Pipeline] sh 19:15:40 + mkdir -p /var/log/sa [Pipeline] sh 19:15:40 + ls /var/log/sa-host 19:15:40 + sadf -c /var/log/sa-host/sa17 19:15:40 file_magic: OK 19:15:40 HZ: Using current value: 100 19:15:40 file_header: OK 19:15:40 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 19:15:40 Statistics: 19:15:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:15:40 File successfully converted to sysstat format version 12.2.1 19:15:40 + sadf -c /var/log/sa-host/sa23 19:15:40 file_magic: OK 19:15:40 HZ: Using current value: 100 19:15:40 file_header: OK 19:15:40 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 19:15:40 Statistics: 19:15:40 Hnuu...uuuununununu... 19:15:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:15:40 provisioning config files... 19:15:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/config6031002836602442078tmp [Pipeline] { [Pipeline] echo 19:15:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:15:41 ---> create-netrc.sh [Pipeline] } 19:15:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 19:15:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 19:15:41 ---> python-tools-install.sh [Pipeline] echo 19:15:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:15:42 ---> sudo-logs.sh 19:15:42 Archiving 'sudo' log.. [Pipeline] echo 19:15:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:15:42 ---> job-cost.sh 19:15:42 lf-activate-venv: SKIPPING 19:15:42 INFO: No Stack... 19:15:44 INFO: Retrieving Pricing Info for: v1-standard-2 19:15:44 INFO: Archiving Costs [Pipeline] echo 19:15:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:15:44 ---> logs-deploy.sh 19:15:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-66/1 19:15:44 INFO: archiving workspace using pattern(s): 19:15:46 Archives upload complete. 19:15:46 INFO: archiving logs to Nexus 19:15:47 ---> uname -a: 19:15:47 Linux prd-centos7-docker-4c-2g-16577.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 19:15:47 19:15:47 19:15:47 ---> lscpu: 19:15:47 Architecture: x86_64 19:15:47 CPU op-mode(s): 32-bit, 64-bit 19:15:47 Byte Order: Little Endian 19:15:47 Address sizes: 40 bits physical, 48 bits virtual 19:15:47 CPU(s): 4 19:15:47 On-line CPU(s) list: 0-3 19:15:47 Thread(s) per core: 1 19:15:47 Core(s) per socket: 1 19:15:47 Socket(s): 4 19:15:47 NUMA node(s): 1 19:15:47 Vendor ID: GenuineIntel 19:15:47 CPU family: 6 19:15:47 Model: 44 19:15:47 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 19:15:47 Stepping: 1 19:15:47 CPU MHz: 2933.438 19:15:47 BogoMIPS: 5866.87 19:15:47 Virtualization: VT-x 19:15:47 Hypervisor vendor: KVM 19:15:47 Virtualization type: full 19:15:47 L1d cache: 128 KiB 19:15:47 L1i cache: 128 KiB 19:15:47 L2 cache: 16 MiB 19:15:47 L3 cache: 64 MiB 19:15:47 NUMA node0 CPU(s): 0-3 19:15:47 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 19:15:47 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 19:15:47 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 19:15:47 Vulnerability Meltdown: Mitigation; PTI 19:15:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:15:47 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 19:15:47 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 19:15:47 Vulnerability Srbds: Not affected 19:15:47 Vulnerability Tsx async abort: Not affected 19:15:47 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 19:15:47 19:15:47 19:15:47 ---> nproc: 19:15:47 4 19:15:47 19:15:47 19:15:47 ---> df -h: 19:15:47 Filesystem Size Used Available Use% Mounted on 19:15:47 overlay 50.0G 7.3G 42.7G 15% / 19:15:47 tmpfs 64.0M 0 64.0M 0% /dev 19:15:47 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 19:15:47 shm 64.0M 0 64.0M 0% /dev/shm 19:15:47 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 19:15:47 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 19:15:47 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 19:15:47 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 19:15:47 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-66 19:15:47 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-66@tmp 19:15:47 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 19:15:47 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 19:15:47 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 19:15:47 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 19:15:47 19:15:47 19:15:47 ---> free -m: 19:15:47 total used free shared buff/cache available 19:15:47 Mem: 1837 717 105 0 1014 1015 19:15:47 Swap: 1023 1 1022 19:15:47 19:15:47 19:15:47 ---> ip addr: 19:15:47 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 19:15:47 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 19:15:47 inet 127.0.0.1/8 scope host lo 19:15:47 valid_lft forever preferred_lft forever 19:15:47 inet6 ::1/128 scope host 19:15:47 valid_lft forever preferred_lft forever 19:15:47 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 19:15:47 link/ether fa:16:3e:bb:48:86 brd ff:ff:ff:ff:ff:ff 19:15:47 inet 10.30.123.210/23 brd 10.30.123.255 scope global dynamic eth0 19:15:47 valid_lft 85936sec preferred_lft 85936sec 19:15:47 inet6 fe80::f816:3eff:febb:4886/64 scope link 19:15:47 valid_lft forever preferred_lft forever 19:15:47 3: docker0: mtu 1500 qdisc noqueue state DOWN 19:15:47 link/ether 02:42:e7:cb:6b:ad brd ff:ff:ff:ff:ff:ff 19:15:47 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 19:15:47 valid_lft forever preferred_lft forever 19:15:47 inet6 fe80::42:e7ff:fecb:6bad/64 scope link 19:15:47 valid_lft forever preferred_lft forever 19:15:47 19:15:47 19:15:47 ---> sar -b -r -n DEV: 19:15:47 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/17/20 _x86_64_ (4 CPU) 19:15:47 19:15:47 19:07:53 LINUX RESTART (4 CPU) 19:15:47 19:15:47 19:09:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:15:47 19:10:01 6.77 0.83 5.94 0.00 50.12 654.77 0.00 19:15:47 19:11:01 0.28 0.00 0.28 0.00 0.00 4.18 0.00 19:15:47 19:12:01 0.30 0.00 0.30 0.00 0.00 3.35 0.00 19:15:47 19:13:01 0.42 0.00 0.42 0.00 0.00 4.13 0.00 19:15:47 19:14:01 0.45 0.00 0.45 0.00 0.00 7.34 0.00 19:15:47 19:15:01 0.17 0.00 0.17 0.00 0.00 1.62 0.00 19:15:47 Average: 1.38 0.14 1.25 0.00 8.24 111.08 0.00 19:15:47 19:15:47 19:09:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:15:47 19:10:01 158528 0 619612 32.93 2620 1100784 1097748 37.46 414456 1110444 20 19:15:47 19:11:01 160904 0 617228 32.80 2620 1100792 1079232 36.83 413372 1109480 8 19:15:47 19:12:01 158740 0 619388 32.92 2620 1100796 1079328 36.84 429052 1096156 8 19:15:47 19:13:01 159024 0 619104 32.90 2620 1100796 1079328 36.84 429112 1096156 8 19:15:47 19:14:01 157548 0 620552 32.98 2620 1100824 1079352 36.84 431584 1094972 16 19:15:47 19:15:01 157792 0 620324 32.97 2620 1100808 1079316 36.84 438468 1087856 8 19:15:47 Average: 158756 0 619368 32.92 2620 1100800 1082384 36.94 426007 1099177 11 19:15:47 19:15:47 19:09:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:15:47 19:10:01 eth0 8.18 5.42 7.80 2.49 0.00 0.00 0.00 0.00 19:15:47 19:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 19:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 19:11:01 eth0 1.18 0.08 0.10 0.01 0.00 0.00 0.00 0.00 19:15:47 19:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 19:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 19:12:01 eth0 2.36 0.37 0.51 0.20 0.00 0.00 0.00 0.00 19:15:47 19:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 19:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 19:13:01 eth0 1.63 0.65 0.60 0.40 0.00 0.00 0.00 0.00 19:15:47 19:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 19:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 19:14:01 eth0 1.08 0.47 0.44 0.27 0.00 0.00 0.00 0.00 19:15:47 19:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 19:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 19:15:01 eth0 1.02 0.30 0.32 0.20 0.00 0.00 0.00 0.00 19:15:47 19:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 19:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 Average: eth0 2.56 1.20 1.61 0.59 0.00 0.00 0.00 0.00 19:15:47 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:15:47 19:15:47 19:15:47 ---> sar -P ALL: 19:15:47 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/17/20 _x86_64_ (4 CPU) 19:15:47 19:15:47 19:07:53 LINUX RESTART (4 CPU) 19:15:47 19:15:47 19:09:02 CPU %user %nice %system %iowait %steal %idle 19:15:47 19:10:01 all 0.46 0.00 0.20 0.04 0.00 99.29 19:15:47 19:10:01 0 0.36 0.00 0.17 0.07 0.00 99.41 19:15:47 19:10:01 1 0.54 0.00 0.22 0.05 0.00 99.18 19:15:47 19:10:01 2 0.63 0.00 0.17 0.03 0.02 99.15 19:15:47 19:10:01 3 0.32 0.00 0.24 0.02 0.00 99.42 19:15:47 19:11:01 all 0.14 0.00 0.04 0.00 0.00 99.82 19:15:47 19:11:01 0 0.03 0.00 0.03 0.00 0.00 99.93 19:15:47 19:11:01 1 0.45 0.00 0.03 0.00 0.02 99.50 19:15:47 19:11:01 2 0.07 0.00 0.05 0.00 0.00 99.88 19:15:47 19:11:01 3 0.02 0.00 0.03 0.00 0.00 99.95 19:15:47 19:12:01 all 0.16 0.00 0.04 0.00 0.00 99.79 19:15:47 19:12:01 0 0.07 0.00 0.05 0.00 0.02 99.87 19:15:47 19:12:01 1 0.47 0.00 0.05 0.00 0.00 99.48 19:15:47 19:12:01 2 0.05 0.00 0.02 0.00 0.00 99.93 19:15:47 19:12:01 3 0.07 0.00 0.05 0.00 0.00 99.88 19:15:47 19:13:01 all 0.17 0.00 0.04 0.00 0.00 99.79 19:15:47 19:13:01 0 0.52 0.00 0.02 0.00 0.02 99.45 19:15:47 19:13:01 1 0.05 0.00 0.03 0.00 0.00 99.92 19:15:47 19:13:01 2 0.05 0.00 0.05 0.00 0.00 99.90 19:15:47 19:13:01 3 0.05 0.00 0.05 0.00 0.00 99.90 19:15:47 19:14:01 all 0.18 0.00 0.05 0.00 0.00 99.77 19:15:47 19:14:01 0 0.47 0.00 0.03 0.00 0.00 99.50 19:15:47 19:14:01 1 0.05 0.00 0.07 0.00 0.00 99.88 19:15:47 19:14:01 2 0.10 0.00 0.07 0.00 0.00 99.83 19:15:47 19:14:01 3 0.10 0.00 0.03 0.00 0.00 99.87 19:15:47 19:15:01 all 0.16 0.00 0.06 0.00 0.00 99.78 19:15:47 19:15:01 0 0.52 0.00 0.02 0.00 0.00 99.47 19:15:47 19:15:01 1 0.05 0.00 0.13 0.00 0.00 99.82 19:15:47 19:15:01 2 0.07 0.00 0.07 0.00 0.00 99.87 19:15:47 19:15:01 3 0.02 0.00 0.02 0.00 0.00 99.97 19:15:47 Average: all 0.21 0.00 0.07 0.01 0.00 99.71 19:15:47 Average: 0 0.33 0.00 0.05 0.01 0.01 99.60 19:15:47 Average: 1 0.27 0.00 0.09 0.01 0.00 99.63 19:15:47 Average: 2 0.16 0.00 0.07 0.01 0.00 99.76 19:15:47 Average: 3 0.09 0.00 0.07 0.00 0.00 99.83 19:15:47 19:15:47 19:15:47