Pull request #659 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3430a9171b0bba3767ec0b595fcec02b551882e3+34e320ac99befae92f8b4aae2047dc1351ba020b (e3f2efeab67efeccb1ed5c71723183ab5743ce96) 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 using credential edgex-jenkins-ssh 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-659/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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-659/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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-13487 in /w/workspace/dgexfoundry_device-sdk-go_PR-659 [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-659 # timeout=10 Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit 3430a9171b0bba3767ec0b595fcec02b551882e3 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/659/head:refs/remotes/origin/PR-659 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing 3430a9171b0bba3767ec0b595fcec02b551882e3 Checking out Revision 3430a9171b0bba3767ec0b595fcec02b551882e3 (PR-659) > git config core.sparsecheckout # timeout=10 > git checkout -f 3430a9171b0bba3767ec0b595fcec02b551882e3 # 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 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3430a9171b0bba3767ec0b595fcec02b551882e3 # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:36:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:36:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:36:56 ========================================================= 06:36:56 EdgeX Global Pipelines Version Info 06:36:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:36:57 ------------------- 06:36:57 stable info: 06:36:57 ------------------- 06:36:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:36:57 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 06:36:57 Message: update stable to v1.0.167 06:36:58 ------------------- 06:36:58 experimental info: 06:36:58 ------------------- 06:36:58 Commited By: **** collab-it+edgex@linuxfoundation.org 06:36:58 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 06:36:58 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:36:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:36:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:36:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:36:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:36:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:37:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:37:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:37:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:37:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:37:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:37:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:37:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:37:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:37:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:37:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:37:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:37:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:37:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:37:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:37:03 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:37:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-659 [Pipeline] echo 06:37:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-659 [Pipeline] echo 06:37:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-659 [Pipeline] echo 06:37:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3430a9171b0bba3767ec0b595fcec02b551882e3 [Pipeline] echo 06:37:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3430a91 [Pipeline] echo 06:37:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:37:04 provisioning config files... 06:37:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/config6714294624109248126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:04 ---> docker-login.sh 06:37:04 nexus3.edgexfoundry.org:10001 06:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:05 Configure a credential helper to remove this warning. See 06:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:05 06:37:05 Login Succeeded 06:37:05 nexus3.edgexfoundry.org:10002 06:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:05 Configure a credential helper to remove this warning. See 06:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:05 06:37:05 Login Succeeded 06:37:05 nexus3.edgexfoundry.org:10003 06:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:05 Configure a credential helper to remove this warning. See 06:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:05 06:37:05 Login Succeeded 06:37:05 nexus3.edgexfoundry.org:10004 06:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:05 Configure a credential helper to remove this warning. See 06:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:05 06:37:05 Login Succeeded 06:37:05 docker.io 06:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:06 Configure a credential helper to remove this warning. See 06:37:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:06 06:37:06 Login Succeeded 06:37:06 ---> docker-login.sh ends [Pipeline] } 06:37:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:37:07 + git log --format=format:%s -1 3430a9171b0bba3767ec0b595fcec02b551882e3 [Pipeline] echo 06:37:07 GIT_COMMIT: 3430a9171b0bba3767ec0b595fcec02b551882e3, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 [Pipeline] echo 06:37:07 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:37:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:37:07 06:37:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:37:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:37:08 latest: Pulling from edgex-devops/git-semver 06:37:08 31603596830f: Pulling fs layer 06:37:08 2a8b12db71e7: Pulling fs layer 06:37:08 6ca5941a6612: Pulling fs layer 06:37:08 ecc8261a40a4: Pulling fs layer 06:37:08 ecc8261a40a4: Waiting 06:37:08 2a8b12db71e7: Verifying Checksum 06:37:08 2a8b12db71e7: Download complete 06:37:08 31603596830f: Verifying Checksum 06:37:08 31603596830f: Download complete 06:37:08 ecc8261a40a4: Verifying Checksum 06:37:08 ecc8261a40a4: Download complete 06:37:08 6ca5941a6612: Verifying Checksum 06:37:08 6ca5941a6612: Download complete 06:37:08 31603596830f: Pull complete 06:37:08 2a8b12db71e7: Pull complete 06:37:09 6ca5941a6612: Pull complete 06:37:09 ecc8261a40a4: Pull complete 06:37:09 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:37:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:37:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:37:09 prd-centos7-docker-4c-2g-13487 does not seem to be running inside a container 06:37:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-659 -v /w/workspace/dgexfoundry_device-sdk-go_PR-659:/w/workspace/dgexfoundry_device-sdk-go_PR-659:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-659@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:37:12 $ docker top 20a403b0d78a5bdf3b3cdc072c97524b3d7e4b4e0f610348aea6f095db2b0285 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:37:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:37:12 [ssh-agent] Looking for ssh-agent implementation... 06:37:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:37:13 $ docker exec 20a403b0d78a5bdf3b3cdc072c97524b3d7e4b4e0f610348aea6f095db2b0285 ssh-agent 06:37:13 SSH_AUTH_SOCK=/tmp/ssh-ft6H2jCPAIYb/agent.11 06:37:13 SSH_AGENT_PID=17 06:37:13 Running ssh-add (command line suppressed) 06:37:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/private_key_4799796336834537843.key (/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/private_key_4799796336834537843.key) 06:37:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:37:13 + git tag --points-at HEAD [Pipeline] } 06:37:13 $ docker exec --env ******** --env ******** 20a403b0d78a5bdf3b3cdc072c97524b3d7e4b4e0f610348aea6f095db2b0285 ssh-agent -k 06:37:13 unset SSH_AUTH_SOCK; 06:37:13 unset SSH_AGENT_PID; 06:37:13 echo Agent pid 17 killed; 06:37:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:37:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:37:14 [ssh-agent] Looking for ssh-agent implementation... 06:37:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:37:14 $ docker exec 20a403b0d78a5bdf3b3cdc072c97524b3d7e4b4e0f610348aea6f095db2b0285 ssh-agent 06:37:14 SSH_AUTH_SOCK=/tmp/ssh-axmZL5Uy81XF/agent.46 06:37:14 SSH_AGENT_PID=52 06:37:14 Running ssh-add (command line suppressed) 06:37:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/private_key_9070697196677025487.key (/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/private_key_9070697196677025487.key) 06:37:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:37:15 + git semver init 06:37:15 # -> Open(): unable to determine branch for HEAD 06:37:15 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-659/.git 06:37:15 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-659 06:37:15 # $SEMVER_REMOTE_NAME = origin 06:37:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:37:15 # $SEMVER_USER_NAME = edgex-jenkins 06:37:15 # $SEMVER_BRANCH = PR-659 06:37:15 # $SEMVER_TEMP = /tmp/semver-932952843 06:37:15 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:37:15 # '/tmp/semver-932952843' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-659/.semver' 06:37:15 # -> Force: false 06:37:15 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-659/.semver [Pipeline] } 06:37:15 $ docker exec --env ******** --env ******** 20a403b0d78a5bdf3b3cdc072c97524b3d7e4b4e0f610348aea6f095db2b0285 ssh-agent -k 06:37:15 unset SSH_AUTH_SOCK; 06:37:15 unset SSH_AGENT_PID; 06:37:15 echo Agent pid 52 killed; 06:37:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:37:16 + git semver [Pipeline] } 06:37:16 $ docker stop --time=1 20a403b0d78a5bdf3b3cdc072c97524b3d7e4b4e0f610348aea6f095db2b0285 06:37:17 $ docker rm -f 20a403b0d78a5bdf3b3cdc072c97524b3d7e4b4e0f610348aea6f095db2b0285 [Pipeline] // withDockerContainer [Pipeline] sh 06:37:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:37:18 Stashed 1 file(s) [Pipeline] echo 06:37:18 [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 06:37:34 Still waiting to schedule task 06:37:34 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:37:34 Still waiting to schedule task 06:37:34 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline 06:39:37 Running on prd-centos7-docker-4c-2g-13490 in /w/workspace/dgexfoundry_device-sdk-go_PR-659 [Pipeline] { [Pipeline] ws 06:39:38 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:39:42 using credential edgex-jenkins-ssh 06:39:42 Cloning the remote Git repository 06:39:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:39:42 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:39:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:39:42 > git --version # timeout=10 06:39:42 > git --version # 'git version 2.24.3' 06:39:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:39:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:43 Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit 3430a9171b0bba3767ec0b595fcec02b551882e3 06:39:43 Merge succeeded, producing 3430a9171b0bba3767ec0b595fcec02b551882e3 06:39:43 Checking out Revision 3430a9171b0bba3767ec0b595fcec02b551882e3 (PR-659) 06:39:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:39:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:39:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/659/head:refs/remotes/origin/PR-659 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:39:43 > git config core.sparsecheckout # timeout=10 06:39:43 > git checkout -f 3430a9171b0bba3767ec0b595fcec02b551882e3 # timeout=10 06:39:43 > git remote # timeout=10 06:39:43 > git config --get remote.origin.url # timeout=10 06:39:43 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:43 > git merge 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 06:39:43 > git rev-parse HEAD^{commit} # timeout=10 06:39:43 > git config core.sparsecheckout # timeout=10 06:39:43 > git checkout -f 3430a9171b0bba3767ec0b595fcec02b551882e3 # timeout=10 06:39:48 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0" 06:39:48 > git --version # timeout=10 06:39:48 > git --version # 'git version 2.24.3' 06:39:48 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:39:49 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:39:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:39:50 + sudo service docker restart 06:39:50 + true 06:39:50 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:39:52 provisioning config files... 06:39:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6064386940379129695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:52 ---> docker-login.sh 06:39:52 nexus3.edgexfoundry.org:10001 06:39:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:53 Configure a credential helper to remove this warning. See 06:39:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:53 06:39:53 Login Succeeded 06:39:53 nexus3.edgexfoundry.org:10002 06:39:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:53 Configure a credential helper to remove this warning. See 06:39:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:53 06:39:53 Login Succeeded 06:39:53 nexus3.edgexfoundry.org:10003 06:39:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:53 Configure a credential helper to remove this warning. See 06:39:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:53 06:39:53 Login Succeeded 06:39:53 nexus3.edgexfoundry.org:10004 06:39:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:54 Configure a credential helper to remove this warning. See 06:39:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:54 06:39:54 Login Succeeded 06:39:54 docker.io 06:39:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:54 Configure a credential helper to remove this warning. See 06:39:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:54 06:39:54 Login Succeeded 06:39:54 ---> docker-login.sh ends [Pipeline] } 06:39:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:39:55 ========================================================= 06:39:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:39:55 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:39:56 + 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 . 06:39:56 Sending build context to Docker daemon 2.36MB 06:39:56 Step 1/8 : ARG BASE=golang:1.15-alpine 06:39:56 Step 2/8 : FROM ${BASE} 06:39:56 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:39:56 df20fa9351a1: Pulling fs layer 06:39:56 ed8968b2872e: Pulling fs layer 06:39:56 a92cc7c5fd73: Pulling fs layer 06:39:56 e871e8e8d7a9: Pulling fs layer 06:39:56 e73272ec9a57: Pulling fs layer 06:39:56 1e910a182e73: Pulling fs layer 06:39:56 4e634b169226: Pulling fs layer 06:39:56 1e910a182e73: Waiting 06:39:56 e871e8e8d7a9: Waiting 06:39:56 e73272ec9a57: Waiting 06:39:56 4e634b169226: Waiting 06:39:56 a92cc7c5fd73: Verifying Checksum 06:39:56 a92cc7c5fd73: Download complete 06:39:56 ed8968b2872e: Verifying Checksum 06:39:56 ed8968b2872e: Download complete 06:39:56 e73272ec9a57: Verifying Checksum 06:39:56 e73272ec9a57: Download complete 06:39:56 1e910a182e73: Download complete 06:39:57 df20fa9351a1: Verifying Checksum 06:39:57 df20fa9351a1: Download complete 06:39:57 df20fa9351a1: Pull complete 06:39:57 ed8968b2872e: Pull complete 06:39:57 a92cc7c5fd73: Pull complete 06:40:00 4e634b169226: Verifying Checksum 06:40:00 4e634b169226: Download complete 06:40:02 e871e8e8d7a9: Verifying Checksum 06:40:02 e871e8e8d7a9: Download complete 06:40:12 e871e8e8d7a9: Pull complete 06:40:12 e73272ec9a57: Pull complete 06:40:12 1e910a182e73: Pull complete 06:40:17 4e634b169226: Pull complete 06:40:17 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:40:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:40:17 ---> f7629b54cfaa 06:40:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:40:17 ---> Running in c0fa7d2a7598 06:40:17 Removing intermediate container c0fa7d2a7598 06:40:17 ---> 14e06d0f3d2c 06:40:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:40:17 ---> Running in 9d51c92ae3b7 06:40:19 Removing intermediate container 9d51c92ae3b7 06:40:19 ---> 7badfb83590c 06:40:19 Step 5/8 : RUN apk add --no-cache make git 06:40:19 ---> Running in 6975d210d017 06:40:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:40:20 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13491 in /w/workspace/dgexfoundry_device-sdk-go_PR-659 [Pipeline] { [Pipeline] ws 06:40:20 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:40:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:40:22 OK: 166 MiB in 39 packages 06:40:22 Removing intermediate container 6975d210d017 06:40:22 ---> 53d6fbb32d56 06:40:22 Step 6/8 : WORKDIR /device-sdk-go 06:40:22 ---> Running in c18bc3a8c6de 06:40:22 Removing intermediate container c18bc3a8c6de 06:40:22 ---> 7708a70997fd 06:40:22 Step 7/8 : COPY . . 06:40:23 ---> 01850ab2c32b 06:40:23 Step 8/8 : RUN go mod download 06:40:23 ---> Running in f66791fdf6ec 06:40:25 using credential edgex-jenkins-ssh 06:40:25 Cloning the remote Git repository 06:40:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:40:25 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:40:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:40:25 > git --version # timeout=10 06:40:25 > git --version # 'git version 2.17.1' 06:40:25 using GIT_SSH to set credentials SSH Credentials for GitHub 06:40:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:40:27 Merging remotes/origin/master commit 34e320ac99befae92f8b4aae2047dc1351ba020b into PR head commit 3430a9171b0bba3767ec0b595fcec02b551882e3 06:40:27 Merge succeeded, producing 3430a9171b0bba3767ec0b595fcec02b551882e3 06:40:27 Checking out Revision 3430a9171b0bba3767ec0b595fcec02b551882e3 (PR-659) 06:40:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:40:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:40:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:40:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:40:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:40:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/659/head:refs/remotes/origin/PR-659 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:40:27 > git config core.sparsecheckout # timeout=10 06:40:27 > git checkout -f 3430a9171b0bba3767ec0b595fcec02b551882e3 # timeout=10 06:40:27 > git remote # timeout=10 06:40:27 > git config --get remote.origin.url # timeout=10 06:40:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:40:27 > git merge 34e320ac99befae92f8b4aae2047dc1351ba020b # timeout=10 06:40:27 > git rev-parse HEAD^{commit} # timeout=10 06:40:27 > git config core.sparsecheckout # timeout=10 06:40:27 > git checkout -f 3430a9171b0bba3767ec0b595fcec02b551882e3 # timeout=10 06:40:32 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0" 06:40:32 > git --version # timeout=10 06:40:32 > git --version # 'git version 2.17.1' 06:40:32 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:40:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:40:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:40:34 + sudo service docker restart 06:40:34 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:40:37 provisioning config files... 06:40:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config830836695578161900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:40:38 ---> docker-login.sh 06:40:38 nexus3.edgexfoundry.org:10001 06:40:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:39 Configure a credential helper to remove this warning. See 06:40:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:39 06:40:39 Login Succeeded 06:40:39 nexus3.edgexfoundry.org:10002 06:40:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:39 Configure a credential helper to remove this warning. See 06:40:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:39 06:40:39 Login Succeeded 06:40:39 nexus3.edgexfoundry.org:10003 06:40:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:40 Configure a credential helper to remove this warning. See 06:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:40 06:40:40 Login Succeeded 06:40:40 nexus3.edgexfoundry.org:10004 06:40:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:40 Configure a credential helper to remove this warning. See 06:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:40 06:40:40 Login Succeeded 06:40:41 docker.io 06:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:41 Configure a credential helper to remove this warning. See 06:40:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:41 06:40:41 Login Succeeded 06:40:41 ---> docker-login.sh ends [Pipeline] } 06:40:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:40:42 ========================================================= 06:40:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:40:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:40:42 + 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 . 06:40:42 Sending build context to Docker daemon 2.359MB 06:40:42 Step 1/8 : ARG BASE=golang:1.15-alpine 06:40:42 Step 2/8 : FROM ${BASE} 06:40:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:40:43 b538f80385f9: Pulling fs layer 06:40:43 74f711af9a0d: Pulling fs layer 06:40:43 99f96fe45779: Pulling fs layer 06:40:43 8529a6b9a6be: Pulling fs layer 06:40:43 45590311c82a: Pulling fs layer 06:40:43 69ca0ff8b7b3: Pulling fs layer 06:40:43 209524e5b208: Pulling fs layer 06:40:43 45590311c82a: Waiting 06:40:43 69ca0ff8b7b3: Waiting 06:40:43 209524e5b208: Waiting 06:40:43 8529a6b9a6be: Waiting 06:40:43 99f96fe45779: Verifying Checksum 06:40:43 99f96fe45779: Download complete 06:40:43 74f711af9a0d: Verifying Checksum 06:40:43 74f711af9a0d: Download complete 06:40:43 45590311c82a: Verifying Checksum 06:40:43 45590311c82a: Download complete 06:40:43 69ca0ff8b7b3: Verifying Checksum 06:40:43 69ca0ff8b7b3: Download complete 06:40:43 b538f80385f9: Verifying Checksum 06:40:43 b538f80385f9: Download complete 06:40:44 b538f80385f9: Pull complete 06:40:45 74f711af9a0d: Pull complete 06:40:45 99f96fe45779: Pull complete 06:40:46 209524e5b208: Verifying Checksum 06:40:46 209524e5b208: Download complete 06:40:47 8529a6b9a6be: Verifying Checksum 06:40:47 8529a6b9a6be: Download complete 06:40:57 8529a6b9a6be: Pull complete 06:40:57 45590311c82a: Pull complete 06:40:58 69ca0ff8b7b3: Pull complete 06:41:02 209524e5b208: Pull complete 06:41:02 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:41:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:41:02 ---> 5bddaf1c2fca 06:41:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:41:05 ---> Running in 86638469a89e 06:41:05 Removing intermediate container 86638469a89e 06:41:05 ---> fb1818ba2e42 06:41:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:41:05 ---> Running in 2fd647ad0925 06:41:08 Removing intermediate container 2fd647ad0925 06:41:08 ---> 0779ff99756f 06:41:08 Step 5/8 : RUN apk add --no-cache make git 06:41:08 ---> Running in ecf3316b0cde 06:41:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:41:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:41:10 OK: 142 MiB in 39 packages 06:41:12 Removing intermediate container ecf3316b0cde 06:41:12 ---> 12a72c081cd5 06:41:12 Step 6/8 : WORKDIR /device-sdk-go 06:41:12 ---> Running in e492c2a5d325 06:41:12 Removing intermediate container e492c2a5d325 06:41:12 ---> e733f156e063 06:41:12 Step 7/8 : COPY . . 06:41:13 ---> 84c34f15a49a 06:41:13 Step 8/8 : RUN go mod download 06:41:14 ---> Running in 3e5f76869c1c 06:41:45 Removing intermediate container f66791fdf6ec 06:41:45 ---> 03afacb50880 06:41:45 Successfully built 03afacb50880 06:41:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:41:46 + docker inspect -f . ci-base-image-x86_64 06:41:46 . [Pipeline] withDockerContainer 06:41:46 prd-centos7-docker-4c-2g-13490 does not seem to be running inside a container 06:41:46 $ 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 ******** ci-base-image-x86_64 cat 06:41:46 Removing intermediate container 3e5f76869c1c 06:41:46 ---> 55ae3cc36cf4 06:41:46 Successfully built 55ae3cc36cf4 06:41:46 Successfully tagged ci-base-image-arm64:latest 06:41:47 $ docker top 136255d8e04635ad35804b25e87528a171dd635473788130b77d05214ebd80f3 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 06:41:48 + go version 06:41:48 go version go1.15.2 linux/amd64 [Pipeline] } 06:41:48 $ docker stop --time=1 136255d8e04635ad35804b25e87528a171dd635473788130b77d05214ebd80f3 06:41:48 + docker inspect -f . ci-base-image-arm64 06:41:48 . 06:41:49 $ docker rm -f 136255d8e04635ad35804b25e87528a171dd635473788130b77d05214ebd80f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 06:41:50 prd-ubuntu18.04-docker-arm64-4c-16g-13491 does not seem to be running inside a container 06:41:50 $ 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 ******** ci-base-image-arm64 cat 06:41:51 $ docker top 044aa799b8ff5f43039da0e6d7d90a598f17aaad44f62a85afe10256865fea84 -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:41:52 + go version 06:41:52 go version go1.15.2 linux/arm64 [Pipeline] } 06:41:53 $ docker stop --time=1 044aa799b8ff5f43039da0e6d7d90a598f17aaad44f62a85afe10256865fea84 06:41:53 + docker inspect -f . ci-base-image-x86_64 06:41:53 . 06:41:54 $ docker rm -f 044aa799b8ff5f43039da0e6d7d90a598f17aaad44f62a85afe10256865fea84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 06:41:55 prd-centos7-docker-4c-2g-13490 does not seem to be running inside a container 06:41:55 $ 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 ******** ci-base-image-x86_64 cat 06:41:57 $ docker top 90f6b2c32e788dd01db65b86bce6d3bd2794f6dff7a8bb57f58cddb3a20c67ce -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 06:41:57 + make test 06:41:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:41:58 + docker inspect -f . ci-base-image-arm64 06:41:58 . [Pipeline] withDockerContainer 06:41:58 prd-ubuntu18.04-docker-arm64-4c-16g-13491 does not seem to be running inside a container 06:41:58 $ 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 ******** ci-base-image-arm64 cat 06:42:00 $ docker top e41bcd23bb95fd724a696ae564d9a59e5883d103898c648057f6cf21bc48986f -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:01 + make test 06:42:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:42:10 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:42:23 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:42:32 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:42:32 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:42:32 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:42:32 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.083s coverage: 20.6% of statements 06:42:34 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.655s coverage: 97.1% of statements 06:43:01 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.082s coverage: 9.4% of statements 06:43:01 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.089s coverage: 21.9% of statements 06:43:01 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:43:01 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.347s coverage: 42.5% of statements 06:43:01 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:43:01 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.353s coverage: 68.9% of statements 06:43:01 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:43:01 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:43:01 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:43:01 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:43:01 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.104s coverage: 52.6% of statements 06:43:01 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:43:01 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:43:01 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:43:01 ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.549s coverage: 68.9% of statements 06:43:01 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.134s coverage: 4.7% of statements 06:43:01 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:43:01 GO111MODULE=on go vet ./... 06:43:02 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:43:02 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:43:02 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:43:02 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.136s coverage: 20.6% of statements 06:43:03 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.192s coverage: 97.1% of statements 06:43:17 gofmt -l . 06:43:17 [ "`gofmt -l .`" = "" ] 06:43:17 ./bin/test-attribution-txt.sh 06:43:18 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:43:19 $ docker stop --time=1 90f6b2c32e788dd01db65b86bce6d3bd2794f6dff7a8bb57f58cddb3a20c67ce 06:43:21 $ docker rm -f 90f6b2c32e788dd01db65b86bce6d3bd2794f6dff7a8bb57f58cddb3a20c67ce [Pipeline] // withDockerContainer [Pipeline] sh 06:43:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:43:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:43:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:43:24 + ls -al . 06:43:24 total 208 06:43:24 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 26 06:43 . 06:43:24 drwxrwxr-x. 4 jenkins jenkins 28 Nov 26 06:39 .. 06:43:24 drwxrwxr-x. 2 jenkins jenkins 64 Nov 26 06:39 bin 06:43:24 -rw-r--r--. 1 jenkins jenkins 127610 Nov 26 06:43 coverage.out 06:43:24 -rw-rw-r--. 1 jenkins jenkins 936 Nov 26 06:39 Dockerfile.build 06:43:24 -rw-rw-r--. 1 jenkins jenkins 140 Nov 26 06:39 .dockerignore 06:43:24 drwxrwxr-x. 4 jenkins jenkins 48 Nov 26 06:39 example 06:43:24 drwxrwxr-x. 8 jenkins jenkins 179 Nov 26 06:39 .git 06:43:24 drwxrwxr-x. 2 jenkins jenkins 60 Nov 26 06:39 .github 06:43:24 -rw-rw-r--. 1 jenkins jenkins 138 Nov 26 06:39 .gitignore 06:43:24 -rw-r--r--. 1 jenkins jenkins 518 Nov 26 06:43 go.mod 06:43:24 -rw-r--r--. 1 jenkins jenkins 13436 Nov 26 06:43 go.sum 06:43:24 drwxrwxr-x. 15 jenkins jenkins 211 Nov 26 06:39 internal 06:43:24 -rw-rw-r--. 1 jenkins jenkins 901 Nov 26 06:39 Jenkinsfile 06:43:24 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 26 06:39 LICENSE 06:43:24 -rw-rw-r--. 1 jenkins jenkins 1013 Nov 26 06:39 Makefile 06:43:24 drwxrwxr-x. 4 jenkins jenkins 26 Nov 26 06:39 openapi 06:43:24 drwxrwxr-x. 5 jenkins jenkins 50 Nov 26 06:39 pkg 06:43:24 -rw-rw-r--. 1 jenkins jenkins 5897 Nov 26 06:39 README.md 06:43:24 -rw-rw-r--. 1 jenkins jenkins 4291 Nov 26 06:39 RELEASE-NOTES.txt 06:43:24 drwxrwxr-x. 4 jenkins jenkins 54 Nov 26 06:39 snap 06:43:24 -rw-rw-r--. 1 jenkins jenkins 5 Nov 26 06:37 VERSION 06:43:24 -rw-rw-r--. 1 jenkins jenkins 222 Nov 26 06:39 version.go [Pipeline] isUnix [Pipeline] sh 06:43:24 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=3430a9171b0bba3767ec0b595fcec02b551882e3 --label arch=amd64 --label version=0.0.0 . 06:43:25 Sending build context to Docker daemon 2.489MB 06:43:25 Step 1/24 : ARG BASE=golang:1.15-alpine 06:43:25 Step 2/24 : FROM ${BASE} AS builder 06:43:25 ---> 03afacb50880 06:43:25 Step 3/24 : ARG MAKE='make build' 06:43:26 ---> Running in 0a5f5e877df2 06:43:26 Removing intermediate container 0a5f5e877df2 06:43:26 ---> 3e67f5a7f222 06:43:26 Step 4/24 : WORKDIR /device-sdk-go 06:43:26 ---> Running in aa63a7fdbf72 06:43:26 Removing intermediate container aa63a7fdbf72 06:43:26 ---> 3ee3e511fd9b 06:43:26 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:43:26 ---> Running in 930036c56dc6 06:43:26 Removing intermediate container 930036c56dc6 06:43:26 ---> c08b0c3e7c5e 06:43:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:26 ---> Running in e3ec1acff5ae 06:43:28 Removing intermediate container e3ec1acff5ae 06:43:28 ---> 1391bcc76adf 06:43:28 Step 7/24 : RUN apk add --update --no-cache make git 06:43:28 ---> Running in d0f134b8524a 06:43:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:43:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:43:29 OK: 166 MiB in 39 packages 06:43:30 Removing intermediate container d0f134b8524a 06:43:30 ---> cb43c64574c9 06:43:30 Step 8/24 : COPY . . 06:43:31 ---> 85108082e210 06:43:31 Step 9/24 : RUN ${MAKE} 06:43:31 ---> Running in d1f8792b06db 06:43:32 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 06:43:36 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.146s coverage: 9.4% of statements 06:43:36 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.9% of statements 06:43:36 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:43:36 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.598s coverage: 42.5% of statements 06:43:36 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:43:36 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.778s coverage: 68.9% of statements 06:43:36 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:43:36 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:43:36 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:43:36 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:43:36 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.174s coverage: 52.6% of statements 06:43:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:43:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:43:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:43:36 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.930s coverage: 68.9% of statements 06:43:36 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.7% of statements 06:43:36 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:43:36 GO111MODULE=on go vet ./... 06:43:47 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:43:48 Removing intermediate container d1f8792b06db 06:43:48 ---> 8ae71af51041 06:43:48 Step 10/24 : FROM scratch 06:43:48 ---> 06:43:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:43:48 ---> Running in 8dc374370325 06:43:48 Removing intermediate container 8dc374370325 06:43:48 ---> 37b98e6a04c3 06:43:48 Step 12/24 : ENV APP_PORT=49990 06:43:48 ---> Running in db445c914a89 06:43:48 Removing intermediate container db445c914a89 06:43:48 ---> 5951c0332159 06:43:48 Step 13/24 : EXPOSE $APP_PORT 06:43:48 ---> Running in a256946593f2 06:43:48 Removing intermediate container a256946593f2 06:43:48 ---> 92a6fac95ed1 06:43:48 Step 14/24 : WORKDIR / 06:43:49 ---> Running in a3dd719d0175 06:43:49 Removing intermediate container a3dd719d0175 06:43:49 ---> 9f97381e451f 06:43:49 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:43:49 ---> dc80886544f7 06:43:49 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:43:49 ---> 64fa3d60a8c3 06:43:49 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:43:50 ---> a5a1162d0c01 06:43:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:43:50 ---> ecdcba51aff6 06:43:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:43:50 ---> 0481ea2aa41c 06:43:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:43:50 ---> Running in 9ad29dfda9fd 06:43:51 Removing intermediate container 9ad29dfda9fd 06:43:51 ---> 025608c308c4 06:43:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:43:51 ---> Running in 2daefe3c4f39 06:43:51 Removing intermediate container 2daefe3c4f39 06:43:51 ---> b70e474190bf 06:43:51 Step 22/24 : LABEL arch=amd64 06:43:51 ---> Running in f1a37cce8c18 06:43:51 Removing intermediate container f1a37cce8c18 06:43:51 ---> 8dbc88ad86ef 06:43:51 Step 23/24 : LABEL git_sha=3430a9171b0bba3767ec0b595fcec02b551882e3 06:43:51 ---> Running in 65c46a123862 06:43:51 Removing intermediate container 65c46a123862 06:43:51 ---> 7f4f961c28dd 06:43:51 Step 24/24 : LABEL version=0.0.0 06:43:51 ---> Running in 7d20b56175d3 06:43:52 Removing intermediate container 7d20b56175d3 06:43:52 ---> 254418b63011 06:43:52 [Warning] One or more build-args [ARCH] were not consumed 06:43:52 Successfully built 254418b63011 06:43:52 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:44:02 gofmt -l . 06:44:03 [ "`gofmt -l .`" = "" ] 06:44:03 ./bin/test-attribution-txt.sh 06:44:04 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:44:05 $ docker stop --time=1 e41bcd23bb95fd724a696ae564d9a59e5883d103898c648057f6cf21bc48986f 06:44:07 $ docker rm -f e41bcd23bb95fd724a696ae564d9a59e5883d103898c648057f6cf21bc48986f [Pipeline] // withDockerContainer [Pipeline] sh 06:44:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:44:08 Warning: overwriting stash ‘coverage-report’ 06:44:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:44:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:44:10 + ls -al . 06:44:10 total 244 06:44:10 drwxrwxr-x 10 jenkins jenkins 4096 Nov 26 06:44 . 06:44:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 06:40 .. 06:44:10 -rw-rw-r-- 1 jenkins jenkins 140 Nov 26 06:40 .dockerignore 06:44:10 drwxrwxr-x 8 jenkins jenkins 4096 Nov 26 06:40 .git 06:44:10 drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 06:40 .github 06:44:10 -rw-rw-r-- 1 jenkins jenkins 138 Nov 26 06:40 .gitignore 06:44:10 -rw-rw-r-- 1 jenkins jenkins 936 Nov 26 06:40 Dockerfile.build 06:44:10 -rw-rw-r-- 1 jenkins jenkins 901 Nov 26 06:40 Jenkinsfile 06:44:10 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 26 06:40 LICENSE 06:44:10 -rw-rw-r-- 1 jenkins jenkins 1013 Nov 26 06:40 Makefile 06:44:10 -rw-rw-r-- 1 jenkins jenkins 5897 Nov 26 06:40 README.md 06:44:10 -rw-rw-r-- 1 jenkins jenkins 4291 Nov 26 06:40 RELEASE-NOTES.txt 06:44:10 -rw-rw-r-- 1 jenkins jenkins 5 Nov 26 06:37 VERSION 06:44:10 drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 06:40 bin 06:44:10 -rw-r--r-- 1 jenkins jenkins 127610 Nov 26 06:43 coverage.out 06:44:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 06:40 example 06:44:10 -rw-r--r-- 1 jenkins jenkins 518 Nov 26 06:44 go.mod 06:44:10 -rw-r--r-- 1 jenkins jenkins 13436 Nov 26 06:44 go.sum 06:44:10 drwxrwxr-x 15 jenkins jenkins 4096 Nov 26 06:40 internal 06:44:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 06:40 openapi 06:44:10 drwxrwxr-x 5 jenkins jenkins 4096 Nov 26 06:40 pkg 06:44:10 drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 06:40 snap 06:44:10 -rw-rw-r-- 1 jenkins jenkins 222 Nov 26 06:40 version.go [Pipeline] isUnix [Pipeline] sh 06:44:11 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3430a9171b0bba3767ec0b595fcec02b551882e3 --label arch=arm64 --label version=0.0.0 . 06:44:11 Sending build context to Docker daemon 2.488MB 06:44:11 Step 1/24 : ARG BASE=golang:1.15-alpine 06:44:11 Step 2/24 : FROM ${BASE} AS builder 06:44:11 ---> 55ae3cc36cf4 06:44:11 Step 3/24 : ARG MAKE='make build' 06:44:12 ---> Running in 125780dd5d19 06:44:12 Removing intermediate container 125780dd5d19 06:44:12 ---> c7e62bbb7ba5 06:44:12 Step 4/24 : WORKDIR /device-sdk-go 06:44:12 ---> Running in e535b40e18e5 06:44:13 Removing intermediate container e535b40e18e5 06:44:13 ---> d6c51bb255d1 06:44:13 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:44:13 ---> Running in c76cd0af5df6 06:44:13 Removing intermediate container c76cd0af5df6 06:44:13 ---> 91596f2c69fd 06:44:13 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:13 ---> Running in 8211db64b314 06:44:15 Removing intermediate container 8211db64b314 06:44:15 ---> b9bf995db34d 06:44:15 Step 7/24 : RUN apk add --update --no-cache make git 06:44:16 ---> Running in 83a964766905 06:44:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:44:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:44:18 OK: 142 MiB in 39 packages 06:44:19 Removing intermediate container 83a964766905 06:44:19 ---> 2901af1fe09d 06:44:19 Step 8/24 : COPY . . 06:44:21 ---> 6b12ab34dca7 06:44:21 Step 9/24 : RUN ${MAKE} 06:44:21 ---> Running in 30c96cc0b4a3 06:44:21 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 06:44:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:44:48 Removing intermediate container 30c96cc0b4a3 06:44:48 ---> d84af5ef816c 06:44:48 Step 10/24 : FROM scratch 06:44:48 ---> 06:44:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:44:48 ---> Running in d35d98d9e8b1 06:44:48 Removing intermediate container d35d98d9e8b1 06:44:48 ---> a97429b2dfdb 06:44:48 Step 12/24 : ENV APP_PORT=49990 06:44:48 ---> Running in d89d5347ca86 06:44:49 Removing intermediate container d89d5347ca86 06:44:49 ---> 0ac4d31669b0 06:44:49 Step 13/24 : EXPOSE $APP_PORT 06:44:49 ---> Running in 2d1f1278b335 06:44:49 Removing intermediate container 2d1f1278b335 06:44:49 ---> 84b5f5a36a79 06:44:49 Step 14/24 : WORKDIR / 06:44:49 ---> Running in bb4e0b2167cf 06:44:50 Removing intermediate container bb4e0b2167cf 06:44:50 ---> a8ffebdcfcd3 06:44:50 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:44:51 ---> 14f31d07438c 06:44:51 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:44:52 ---> 070dd492a69c 06:44:52 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:44:52 ---> b85e296036cf 06:44:52 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:44:53 ---> a23989bea786 06:44:53 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:44:54 ---> 80d40325a3f7 06:44:54 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:44:54 ---> Running in b73f28188c4a 06:44:54 Removing intermediate container b73f28188c4a 06:44:54 ---> 63039524b97e 06:44:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:44:54 ---> Running in 46bf16cea04a 06:44:55 Removing intermediate container 46bf16cea04a 06:44:55 ---> 3d61d81a72f2 06:44:55 Step 22/24 : LABEL arch=arm64 06:44:55 ---> Running in 785e8686788c 06:44:56 Removing intermediate container 785e8686788c 06:44:56 ---> fdb7af5a3491 06:44:56 Step 23/24 : LABEL git_sha=3430a9171b0bba3767ec0b595fcec02b551882e3 06:44:56 ---> Running in d28417936c38 06:44:56 Removing intermediate container d28417936c38 06:44:56 ---> 4ec32edd9ca0 06:44:56 Step 24/24 : LABEL version=0.0.0 06:44:56 ---> Running in d3d26d828192 06:44:56 Removing intermediate container d3d26d828192 06:44:56 ---> 5cb211a651d1 06:44:56 [Warning] One or more build-args [ARCH] were not consumed 06:44:57 Successfully built 5cb211a651d1 06:44:57 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:44:59 provisioning config files... 06:44:59 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/config6576124985751334440tmp [Pipeline] { [Pipeline] sh 06:45:00 + set +x 06:45:00 + curl -s https://codecov.io/bash 06:45:00 + bash -s -- 06:45:00 06:45:00 _____ _ 06:45:00 / ____| | | 06:45:00 | | ___ __| | ___ ___ _____ __ 06:45:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:45:00 | |___| (_) | (_| | __/ (_| (_) \ V / 06:45:00 \_____\___/ \__,_|\___|\___\___/ \_/ 06:45:00 Bash-20201124-79cbc08 06:45:00 06:45:00 06:45:00 ==> Jenkins CI detected. 06:45:00 project root: . 06:45:00 --> token set from env 06:45:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:45:00 ==> Running gcov in . (disable via -X gcov) 06:45:00 ==> Python coveragepy not found 06:45:00 ==> Searching for coverage reports in: 06:45:00 + . 06:45:00 -> Found 1 reports 06:45:00 ==> Detecting git/mercurial file structure 06:45:00 ==> Reading reports 06:45:00 + ./coverage.out bytes=127610 06:45:00 ==> Appending adjustments 06:45:00 https://docs.codecov.io/docs/fixing-reports 06:45:00 + Found adjustments 06:45:00 ==> Gzipping contents 06:45:00 24K /tmp/codecov.dCUNeH.gz 06:45:00 ==> Uploading reports 06:45:00 url: https://codecov.io 06:45:00 query: branch=PR-659&commit=3430a9171b0bba3767ec0b595fcec02b551882e3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-659%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=659&job=&cmd_args= 06:45:00 -> Pinging Codecov 06:45:00 https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-659&commit=3430a9171b0bba3767ec0b595fcec02b551882e3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-659%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=659&job=&cmd_args= 06:45:01 -> Uploading to 06:45:01 https://storage.googleapis.com/codecov/v4/raw/2020-11-26/7E55EF52A471D76F132DFD9A03CDDE97/3430a9171b0bba3767ec0b595fcec02b551882e3/a42691b9-7c30-4e69-9b92-a4d3f4bb3198.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201126T064501Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=94268ddb25aa29fc5f5779527190dfc50b9ac27ccd5d4c3a9ec18c7c6986448c 06:45:01 % Total % Received % Xferd Average Speed Time Time Time Current 06:45:01 Dload Upload Total Spent Left Speed 06:45:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20886 0 0 100 20886 0 42547 --:--:-- --:--:-- --:--:-- 42537 06:45:01 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3430a9171b0bba3767ec0b595fcec02b551882e3 [Pipeline] } 06:45:01 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 06:45:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:45:06 ---> package-listing.sh 06:45:06 ++ facter osfamily 06:45:06 ++ tr '[:upper:]' '[:lower:]' 06:45:06 + OS_FAMILY=redhat 06:45:06 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-659 06:45:06 + START_PACKAGES=/tmp/packages_start.txt 06:45:06 + END_PACKAGES=/tmp/packages_end.txt 06:45:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:45:06 + PACKAGES=/tmp/packages_start.txt 06:45:06 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-659 ']' 06:45:06 + PACKAGES=/tmp/packages_end.txt 06:45:06 + case "${OS_FAMILY}" in 06:45:06 + rpm -qa 06:45:06 + sort 06:45:10 + '[' -f /tmp/packages_start.txt ']' 06:45:10 + '[' -f /tmp/packages_end.txt ']' 06:45:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:45:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-659 ']' 06:45:10 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-659/archives/ 06:45:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-659/archives/ [Pipeline] echo 06:45:10 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-659/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:45:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:45:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:45:11 06:45:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:45:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:45:11 alpine: Pulling from edgex-lftools-log-publisher 06:45:11 df20fa9351a1: Pulling fs layer 06:45:11 36b3adc4ff6f: Pulling fs layer 06:45:11 8ad3a11d3b57: Pulling fs layer 06:45:11 46f8f816bc3b: Pulling fs layer 06:45:11 93b61091891f: Pulling fs layer 06:45:11 93b9cdb0e59b: Pulling fs layer 06:45:11 5e14af77c1be: Pulling fs layer 06:45:11 01666e4c0597: Pulling fs layer 06:45:11 aa168da1d23b: Pulling fs layer 06:45:11 93b61091891f: Waiting 06:45:11 93b9cdb0e59b: Waiting 06:45:11 5e14af77c1be: Waiting 06:45:11 01666e4c0597: Waiting 06:45:11 46f8f816bc3b: Waiting 06:45:11 aa168da1d23b: Waiting 06:45:11 36b3adc4ff6f: Download complete 06:45:11 46f8f816bc3b: Verifying Checksum 06:45:11 46f8f816bc3b: Download complete 06:45:11 df20fa9351a1: Verifying Checksum 06:45:11 df20fa9351a1: Download complete 06:45:11 93b9cdb0e59b: Verifying Checksum 06:45:11 93b9cdb0e59b: Download complete 06:45:11 5e14af77c1be: Download complete 06:45:11 93b61091891f: Verifying Checksum 06:45:11 93b61091891f: Download complete 06:45:11 01666e4c0597: Verifying Checksum 06:45:11 01666e4c0597: Download complete 06:45:11 8ad3a11d3b57: Verifying Checksum 06:45:11 8ad3a11d3b57: Download complete 06:45:12 df20fa9351a1: Pull complete 06:45:12 36b3adc4ff6f: Pull complete 06:45:13 aa168da1d23b: Verifying Checksum 06:45:13 aa168da1d23b: Download complete 06:45:14 8ad3a11d3b57: Pull complete 06:45:14 46f8f816bc3b: Pull complete 06:45:14 93b61091891f: Pull complete 06:45:14 93b9cdb0e59b: Pull complete 06:45:15 5e14af77c1be: Pull complete 06:45:15 01666e4c0597: Pull complete 06:45:21 aa168da1d23b: Pull complete 06:45:21 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:45:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:45:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:45:22 prd-centos7-docker-4c-2g-13487 does not seem to be running inside a container 06:45:22 $ 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-659/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-659 -v /w/workspace/dgexfoundry_device-sdk-go_PR-659:/w/workspace/dgexfoundry_device-sdk-go_PR-659:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:45:25 $ docker top 04cdb6e2519ed3394b1da88270d88c3cf3652b89a9a680a30dabef10016f6553 -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:25 + touch /tmp/pre-build-complete [Pipeline] sh 06:45:25 + mkdir -p /var/log/sa [Pipeline] sh 06:45:26 + ls /var/log/sa-host 06:45:26 + sadf -c /var/log/sa-host/sa23 06:45:26 file_magic: OK 06:45:26 HZ: Using current value: 100 06:45:26 file_header: OK 06:45:26 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:45:26 Statistics: 06:45:26 Hnuu...uuuununununu... 06:45:26 File successfully converted to sysstat format version 12.2.1 06:45:26 + sadf -c /var/log/sa-host/sa26 06:45:26 file_magic: OK 06:45:26 HZ: Using current value: 100 06:45:26 file_header: OK 06:45:26 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:45:26 Statistics: 06:45:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:45:26 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:45:26 provisioning config files... 06:45:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp/config2081030732714539113tmp [Pipeline] { [Pipeline] echo 06:45:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:45:27 ---> create-netrc.sh [Pipeline] } 06:45:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:45:27 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:45:27 ---> python-tools-install.sh [Pipeline] echo 06:45:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:45:28 ---> sudo-logs.sh 06:45:28 Archiving 'sudo' log.. [Pipeline] echo 06:45:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:45:28 ---> job-cost.sh 06:45:28 lf-activate-venv: SKIPPING 06:45:28 INFO: No Stack... 06:45:29 INFO: Retrieving Pricing Info for: v1-standard-2 06:45:30 INFO: Archiving Costs [Pipeline] echo 06:45:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:45:30 ---> logs-deploy.sh 06:45:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-659/1 06:45:30 INFO: archiving workspace using pattern(s): 06:45:31 Archives upload complete. 06:45:32 INFO: archiving logs to Nexus 06:45:33 ---> uname -a: 06:45:33 Linux prd-centos7-docker-4c-2g-13487.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:45:33 06:45:33 06:45:33 ---> lscpu: 06:45:33 Architecture: x86_64 06:45:33 CPU op-mode(s): 32-bit, 64-bit 06:45:33 Byte Order: Little Endian 06:45:33 Address sizes: 40 bits physical, 48 bits virtual 06:45:33 CPU(s): 4 06:45:33 On-line CPU(s) list: 0-3 06:45:33 Thread(s) per core: 1 06:45:33 Core(s) per socket: 1 06:45:33 Socket(s): 4 06:45:33 NUMA node(s): 1 06:45:33 Vendor ID: GenuineIntel 06:45:33 CPU family: 6 06:45:33 Model: 44 06:45:33 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:45:33 Stepping: 1 06:45:33 CPU MHz: 2933.442 06:45:33 BogoMIPS: 5866.88 06:45:33 Virtualization: VT-x 06:45:33 Hypervisor vendor: KVM 06:45:33 Virtualization type: full 06:45:33 L1d cache: 128 KiB 06:45:33 L1i cache: 128 KiB 06:45:33 L2 cache: 16 MiB 06:45:33 L3 cache: 64 MiB 06:45:33 NUMA node0 CPU(s): 0-3 06:45:33 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:45:33 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:45:33 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:45:33 Vulnerability Meltdown: Mitigation; PTI 06:45:33 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:45:33 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:45:33 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:45:33 Vulnerability Srbds: Not affected 06:45:33 Vulnerability Tsx async abort: Not affected 06:45:33 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 06:45:33 06:45:33 06:45:33 ---> nproc: 06:45:33 4 06:45:33 06:45:33 06:45:33 ---> df -h: 06:45:33 Filesystem Size Used Available Use% Mounted on 06:45:33 overlay 50.0G 7.3G 42.7G 15% / 06:45:33 tmpfs 64.0M 0 64.0M 0% /dev 06:45:33 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:45:33 shm 64.0M 0 64.0M 0% /dev/shm 06:45:33 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:45:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:45:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:45:33 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:45:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:45:33 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:45:33 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-659 06:45:33 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-659@tmp 06:45:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:45:33 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:45:33 06:45:33 06:45:33 ---> free -m: 06:45:33 total used free shared buff/cache available 06:45:33 Mem: 1837 718 83 0 1035 1013 06:45:33 Swap: 1023 1 1022 06:45:33 06:45:33 06:45:33 ---> ip addr: 06:45:33 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:45:33 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:45:33 inet 127.0.0.1/8 scope host lo 06:45:33 valid_lft forever preferred_lft forever 06:45:33 inet6 ::1/128 scope host 06:45:33 valid_lft forever preferred_lft forever 06:45:33 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:45:33 link/ether fa:16:3e:ed:0c:99 brd ff:ff:ff:ff:ff:ff 06:45:33 inet 10.30.123.87/23 brd 10.30.123.255 scope global dynamic eth0 06:45:33 valid_lft 85851sec preferred_lft 85851sec 06:45:33 inet6 fe80::f816:3eff:feed:c99/64 scope link 06:45:33 valid_lft forever preferred_lft forever 06:45:33 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:45:33 link/ether 02:42:25:99:9f:cb brd ff:ff:ff:ff:ff:ff 06:45:33 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:45:33 valid_lft forever preferred_lft forever 06:45:33 inet6 fe80::42:25ff:fe99:9fcb/64 scope link 06:45:33 valid_lft forever preferred_lft forever 06:45:33 06:45:33 06:45:33 ---> sar -b -r -n DEV: 06:45:33 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/26/20 _x86_64_ (4 CPU) 06:45:33 06:45:33 06:36:11 LINUX RESTART (4 CPU) 06:45:33 06:45:33 06:37:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:45:33 06:38:01 31.79 11.28 20.51 0.00 4556.53 3201.03 0.00 06:45:33 06:39:01 1.87 0.00 1.87 0.00 0.00 36.84 0.00 06:45:33 06:40:01 0.48 0.00 0.48 0.00 0.00 5.60 0.00 06:45:33 06:41:01 0.23 0.00 0.23 0.00 0.00 3.05 0.00 06:45:33 06:42:01 0.22 0.00 0.22 0.00 0.00 2.61 0.00 06:45:33 06:43:01 0.47 0.00 0.47 0.00 0.00 7.03 0.00 06:45:33 06:44:01 0.23 0.00 0.23 0.00 0.00 2.83 0.00 06:45:33 06:45:01 0.28 0.13 0.15 0.00 13.32 1.88 0.00 06:45:33 Average: 4.33 1.39 2.95 0.00 554.75 396.06 0.00 06:45:33 06:45:33 06:37:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:45:33 06:38:01 161628 0 587052 31.20 2620 1130244 1123948 38.36 424124 1095600 20 06:45:33 06:39:01 169460 0 579212 30.78 2620 1130252 1059948 36.17 423188 1090484 12 06:45:33 06:40:01 169504 0 579164 30.78 2620 1130256 1059924 36.17 425132 1088424 8 06:45:33 06:41:01 167808 0 580860 30.87 2620 1130256 1059972 36.18 427064 1087896 8 06:45:33 06:42:01 168548 0 580112 30.83 2620 1130264 1059852 36.17 433632 1081072 16 06:45:33 06:43:01 167916 0 580740 30.87 2620 1130268 1059912 36.17 441608 1073712 16 06:45:33 06:44:01 168924 0 579728 30.81 2620 1130272 1059780 36.17 440792 1073712 8 06:45:33 06:45:01 161060 0 587024 31.20 2620 1130840 1074452 36.67 447024 1073976 184 06:45:33 Average: 166856 0 581736 30.92 2620 1130332 1069724 36.51 432820 1083110 34 06:45:33 06:45:33 06:37:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:45:33 06:38:01 eth0 80.66 65.29 370.02 27.58 0.00 0.00 0.00 0.00 06:45:33 06:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:38:01 docker0 7.04 4.93 1.19 20.80 0.00 0.00 0.00 0.00 06:45:33 06:39:01 eth0 5.08 2.56 3.61 0.52 0.00 0.00 0.00 0.00 06:45:33 06:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:40:01 eth0 1.32 0.25 0.35 0.19 0.00 0.00 0.00 0.00 06:45:33 06:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:41:01 eth0 0.52 0.35 0.27 0.20 0.00 0.00 0.00 0.00 06:45:33 06:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:42:01 eth0 0.35 0.18 0.15 0.07 0.00 0.00 0.00 0.00 06:45:33 06:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:43:01 eth0 0.52 0.37 0.27 0.17 0.00 0.00 0.00 0.00 06:45:33 06:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:44:01 eth0 0.12 0.10 0.01 0.04 0.00 0.00 0.00 0.00 06:45:33 06:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:45:01 eth0 4.78 2.80 4.13 1.51 0.00 0.00 0.00 0.00 06:45:33 06:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 06:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 Average: eth0 11.38 8.76 46.02 3.69 0.00 0.00 0.00 0.00 06:45:33 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:45:33 Average: docker0 0.86 0.60 0.14 2.53 0.00 0.00 0.00 0.00 06:45:33 06:45:33 06:45:33 ---> sar -P ALL: 06:45:33 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/26/20 _x86_64_ (4 CPU) 06:45:33 06:45:33 06:36:11 LINUX RESTART (4 CPU) 06:45:33 06:45:33 06:37:03 CPU %user %nice %system %iowait %steal %idle 06:45:33 06:38:01 all 2.40 0.00 1.56 0.55 0.01 95.48 06:45:33 06:38:01 0 2.66 0.00 1.59 0.36 0.02 95.37 06:45:33 06:38:01 1 2.21 0.00 1.66 0.07 0.02 96.04 06:45:33 06:38:01 2 2.40 0.00 1.56 0.33 0.00 95.71 06:45:33 06:38:01 3 2.34 0.00 1.42 1.44 0.02 94.79 06:45:33 06:39:01 all 0.18 0.00 0.05 0.00 0.00 99.77 06:45:33 06:39:01 0 0.53 0.00 0.07 0.00 0.00 99.40 06:45:33 06:39:01 1 0.05 0.00 0.03 0.00 0.00 99.92 06:45:33 06:39:01 2 0.07 0.00 0.05 0.00 0.00 99.88 06:45:33 06:39:01 3 0.07 0.00 0.05 0.00 0.00 99.88 06:45:33 06:40:01 all 0.18 0.00 0.08 0.00 0.00 99.74 06:45:33 06:40:01 0 0.52 0.00 0.02 0.00 0.00 99.47 06:45:33 06:40:01 1 0.05 0.00 0.13 0.00 0.00 99.82 06:45:33 06:40:01 2 0.08 0.00 0.07 0.00 0.00 99.85 06:45:33 06:40:01 3 0.07 0.00 0.10 0.00 0.00 99.83 06:45:33 06:41:01 all 0.15 0.00 0.02 0.00 0.00 99.83 06:45:33 06:41:01 0 0.53 0.00 0.03 0.00 0.00 99.43 06:45:33 06:41:01 1 0.02 0.00 0.00 0.00 0.00 99.98 06:45:33 06:41:01 2 0.03 0.00 0.03 0.00 0.00 99.93 06:45:33 06:41:01 3 0.03 0.00 0.02 0.00 0.00 99.95 06:45:33 06:42:01 all 0.15 0.00 0.04 0.00 0.00 99.81 06:45:33 06:42:01 0 0.07 0.00 0.02 0.00 0.00 99.92 06:45:33 06:42:01 1 0.03 0.00 0.08 0.00 0.00 99.88 06:45:33 06:42:01 2 0.47 0.00 0.03 0.00 0.00 99.50 06:45:33 06:42:01 3 0.05 0.00 0.02 0.00 0.00 99.93 06:45:33 06:43:01 all 0.08 0.00 0.03 0.00 0.00 99.89 06:45:33 06:43:01 0 0.07 0.00 0.00 0.00 0.00 99.93 06:45:33 06:43:01 1 0.07 0.00 0.07 0.00 0.00 99.87 06:45:33 06:43:01 2 0.13 0.00 0.05 0.00 0.00 99.82 06:45:33 06:43:01 3 0.03 0.00 0.02 0.00 0.00 99.95 06:45:33 06:44:01 all 0.03 0.00 0.02 0.00 0.00 99.95 06:45:33 06:44:01 0 0.03 0.00 0.02 0.00 0.00 99.95 06:45:33 06:44:01 1 0.05 0.00 0.05 0.00 0.00 99.90 06:45:33 06:44:01 2 0.03 0.00 0.02 0.00 0.00 99.95 06:45:33 06:44:01 3 0.02 0.00 0.00 0.00 0.00 99.98 06:45:33 06:45:01 all 0.50 0.00 0.23 0.00 0.00 99.27 06:45:33 06:45:01 0 0.62 0.00 0.32 0.00 0.00 99.07 06:45:33 06:45:01 1 0.68 0.00 0.30 0.00 0.00 99.02 06:45:33 06:45:01 2 0.52 0.00 0.18 0.00 0.00 99.30 06:45:33 06:45:01 3 0.18 0.00 0.12 0.02 0.00 99.68 06:45:33 Average: all 0.45 0.00 0.25 0.07 0.00 99.23 06:45:33 Average: 0 0.62 0.00 0.25 0.04 0.00 99.08 06:45:33 Average: 1 0.39 0.00 0.28 0.01 0.00 99.32 06:45:33 Average: 2 0.46 0.00 0.24 0.04 0.00 99.26 06:45:33 Average: 3 0.34 0.00 0.21 0.18 0.00 99.27 06:45:33 06:45:33 06:45:33