Pull request #661 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at cbcd560d226450c2fc49532ec953a0990705dfef rather than c3824a12f3cc5d1966e4db57f289fddfad20a307 Obtained Jenkinsfile from cbcd560d226450c2fc49532ec953a0990705dfef 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-661/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-661/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-13816 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [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-661 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit c3824a12f3cc5d1966e4db57f289fddfad20a307 Merge succeeded, producing 21a5e02e5573075b8a0f1e54bd48fbb3635a306b Checking out Revision 21a5e02e5573075b8a0f1e54bd48fbb3635a306b (PR-661) > git config core.sparsecheckout # timeout=10 > git checkout -f c3824a12f3cc5d1966e4db57f289fddfad20a307 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21a5e02e5573075b8a0f1e54bd48fbb3635a306b # timeout=10 Commit message: "Merge commit 'cbcd560d226450c2fc49532ec953a0990705dfef' into HEAD" 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:46:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:46:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:46:19 ========================================================= 06:46:19 EdgeX Global Pipelines Version Info 06:46:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:46:21 ------------------- 06:46:21 stable info: 06:46:21 ------------------- 06:46:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:46:21 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 06:46:21 Message: update stable to v1.0.167 06:46:22 ------------------- 06:46:22 experimental info: 06:46:22 ------------------- 06:46:22 Commited By: **** collab-it+edgex@linuxfoundation.org 06:46:22 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 06:46:22 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:46:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:46:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:46:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:46:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:46:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:46:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:46:24 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:46:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:46:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:46:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:46:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:46:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:46:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:46:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:46:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:46:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:46:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:46:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:46:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:46:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:46:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:46:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:46:27 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:46:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-661 [Pipeline] echo 06:46:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-661 [Pipeline] echo 06:46:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-661 [Pipeline] echo 06:46:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21a5e02e5573075b8a0f1e54bd48fbb3635a306b [Pipeline] echo 06:46:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21a5e02 [Pipeline] echo 06:46:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:46:28 provisioning config files... 06:46:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config6673209340957936180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:46:28 ---> docker-login.sh 06:46:28 nexus3.edgexfoundry.org:10001 06:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:29 Configure a credential helper to remove this warning. See 06:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:29 06:46:29 Login Succeeded 06:46:29 nexus3.edgexfoundry.org:10002 06:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:29 Configure a credential helper to remove this warning. See 06:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:29 06:46:29 Login Succeeded 06:46:29 nexus3.edgexfoundry.org:10003 06:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:29 Configure a credential helper to remove this warning. See 06:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:29 06:46:29 Login Succeeded 06:46:29 nexus3.edgexfoundry.org:10004 06:46:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:30 Configure a credential helper to remove this warning. See 06:46:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:30 06:46:30 Login Succeeded 06:46:30 docker.io 06:46:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:30 Configure a credential helper to remove this warning. See 06:46:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:30 06:46:30 Login Succeeded 06:46:30 ---> docker-login.sh ends [Pipeline] } 06:46:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:46:32 + git log --format=format:%s -1 21a5e02e5573075b8a0f1e54bd48fbb3635a306b [Pipeline] echo 06:46:32 GIT_COMMIT: 21a5e02e5573075b8a0f1e54bd48fbb3635a306b, Commit Message: Merge commit 'cbcd560d226450c2fc49532ec953a0990705dfef' into HEAD [Pipeline] echo 06:46:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:46:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:46:33 06:46:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:46:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:46:34 latest: Pulling from edgex-devops/git-semver 06:46:34 31603596830f: Pulling fs layer 06:46:34 2a8b12db71e7: Pulling fs layer 06:46:34 6ca5941a6612: Pulling fs layer 06:46:34 ecc8261a40a4: Pulling fs layer 06:46:34 ecc8261a40a4: Waiting 06:46:34 2a8b12db71e7: Verifying Checksum 06:46:34 2a8b12db71e7: Download complete 06:46:34 31603596830f: Verifying Checksum 06:46:34 31603596830f: Download complete 06:46:34 ecc8261a40a4: Verifying Checksum 06:46:34 ecc8261a40a4: Download complete 06:46:34 6ca5941a6612: Verifying Checksum 06:46:34 6ca5941a6612: Download complete 06:46:34 31603596830f: Pull complete 06:46:35 2a8b12db71e7: Pull complete 06:46:36 6ca5941a6612: Pull complete 06:46:36 ecc8261a40a4: Pull complete 06:46:36 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:46:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:46:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:46:36 prd-centos7-docker-4c-2g-13816 does not seem to be running inside a container 06:46:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:46:39 $ docker top 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:46:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:46:39 [ssh-agent] Looking for ssh-agent implementation... 06:46:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:46:40 $ docker exec 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 ssh-agent 06:46:40 SSH_AUTH_SOCK=/tmp/ssh-blwYBoYG6zhN/agent.12 06:46:40 SSH_AGENT_PID=18 06:46:40 Running ssh-add (command line suppressed) 06:46:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_1075172326175369885.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_1075172326175369885.key) 06:46:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:46:41 + git tag --points-at HEAD [Pipeline] } 06:46:41 $ docker exec --env ******** --env ******** 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 ssh-agent -k 06:46:41 unset SSH_AUTH_SOCK; 06:46:41 unset SSH_AGENT_PID; 06:46:41 echo Agent pid 18 killed; 06:46:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:46:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:46:41 [ssh-agent] Looking for ssh-agent implementation... 06:46:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:46:41 $ docker exec 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 ssh-agent 06:46:41 SSH_AUTH_SOCK=/tmp/ssh-u4OW9bHXaXcl/agent.49 06:46:41 SSH_AGENT_PID=55 06:46:41 Running ssh-add (command line suppressed) 06:46:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_1515422292627462774.key (/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/private_key_1515422292627462774.key) 06:46:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:46:42 + git semver init 06:46:42 # -> Open(): unable to determine branch for HEAD 06:46:42 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.git 06:46:42 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-661 06:46:42 # $SEMVER_REMOTE_NAME = origin 06:46:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:46:42 # $SEMVER_USER_NAME = edgex-jenkins 06:46:42 # $SEMVER_BRANCH = PR-661 06:46:42 # $SEMVER_TEMP = /tmp/semver-835319716 06:46:42 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:46:44 # '/tmp/semver-835319716' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver' 06:46:44 # -> Force: false 06:46:44 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-661/.semver [Pipeline] } 06:46:44 $ docker exec --env ******** --env ******** 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 ssh-agent -k 06:46:44 unset SSH_AUTH_SOCK; 06:46:44 unset SSH_AGENT_PID; 06:46:44 echo Agent pid 55 killed; 06:46:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:46:45 + git semver [Pipeline] } 06:46:45 $ docker stop --time=1 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 06:46:47 $ docker rm -f 98b02a4d50eec0f1db3ecf1e833cd532abb01fdd69eb9ad13165a9bfb8aa57d7 [Pipeline] // withDockerContainer [Pipeline] sh 06:46:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:46:48 Stashed 1 file(s) [Pipeline] echo 06:46:48 [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:47:04 Still waiting to schedule task 06:47:04 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13816’ 06:47:04 Still waiting to schedule task 06:47:04 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline 06:49:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13817 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 06:49:22 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:49:27 using credential edgex-jenkins-ssh 06:49:27 Cloning the remote Git repository 06:49:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:49:27 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:49:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:49:27 > git --version # timeout=10 06:49:27 > git --version # 'git version 2.17.1' 06:49:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:49:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:49:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:49:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:49:29 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit c3824a12f3cc5d1966e4db57f289fddfad20a307 06:49:30 Merge succeeded, producing e3604121932ae06c19ff3cc85391805df84b7470 06:49:30 Checking out Revision e3604121932ae06c19ff3cc85391805df84b7470 (PR-661) 06:49:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:49:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:49:29 using GIT_SSH to set credentials SSH Credentials for GitHub 06:49:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:49:29 > git config core.sparsecheckout # timeout=10 06:49:29 > git checkout -f c3824a12f3cc5d1966e4db57f289fddfad20a307 # timeout=10 06:49:29 > git remote # timeout=10 06:49:30 > git config --get remote.origin.url # timeout=10 06:49:30 using GIT_SSH to set credentials SSH Credentials for GitHub 06:49:30 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 06:49:30 > git rev-parse HEAD^{commit} # timeout=10 06:49:30 > git config core.sparsecheckout # timeout=10 06:49:30 > git checkout -f e3604121932ae06c19ff3cc85391805df84b7470 # timeout=10 06:49:34 Commit message: "Merge commit 'cbcd560d226450c2fc49532ec953a0990705dfef' into HEAD" 06:49:34 First time build. Skipping changelog. 06:49:34 > git --version # timeout=10 06:49:34 > git --version # 'git version 2.17.1' 06:49:34 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:49:36 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:49:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:49:37 + sudo service docker restart 06:49:37 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:49:40 provisioning config files... 06:49:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4941320426224474597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:49:40 ---> docker-login.sh 06:49:40 nexus3.edgexfoundry.org:10001 06:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:41 Configure a credential helper to remove this warning. See 06:49:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:41 06:49:41 Login Succeeded 06:49:41 nexus3.edgexfoundry.org:10002 06:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:42 Configure a credential helper to remove this warning. See 06:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:42 06:49:42 Login Succeeded 06:49:42 nexus3.edgexfoundry.org:10003 06:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:42 Configure a credential helper to remove this warning. See 06:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:42 06:49:42 Login Succeeded 06:49:42 nexus3.edgexfoundry.org:10004 06:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:43 Configure a credential helper to remove this warning. See 06:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:43 06:49:43 Login Succeeded 06:49:43 docker.io 06:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:44 Running on prd-centos7-docker-4c-2g-13818 in /w/workspace/dgexfoundry_device-sdk-go_PR-661 [Pipeline] { [Pipeline] ws 06:49:44 Running in /w/workspace/device-sdk-go/1 [Pipeline] { 06:49:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:44 Configure a credential helper to remove this warning. See 06:49:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:44 06:49:44 Login Succeeded 06:49:44 ---> docker-login.sh ends [Pipeline] checkout [Pipeline] } 06:49:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:49:44 ========================================================= 06:49:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:49:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:49:45 + 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:49:45 Sending build context to Docker daemon 2.374MB 06:49:45 Step 1/8 : ARG BASE=golang:1.15-alpine 06:49:45 Step 2/8 : FROM ${BASE} 06:49:45 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:49:45 b538f80385f9: Pulling fs layer 06:49:45 74f711af9a0d: Pulling fs layer 06:49:45 99f96fe45779: Pulling fs layer 06:49:45 8529a6b9a6be: Pulling fs layer 06:49:45 45590311c82a: Pulling fs layer 06:49:45 69ca0ff8b7b3: Pulling fs layer 06:49:45 209524e5b208: Pulling fs layer 06:49:45 8529a6b9a6be: Waiting 06:49:45 45590311c82a: Waiting 06:49:45 209524e5b208: Waiting 06:49:45 69ca0ff8b7b3: Waiting 06:49:45 99f96fe45779: Verifying Checksum 06:49:45 99f96fe45779: Download complete 06:49:45 74f711af9a0d: Download complete 06:49:45 45590311c82a: Verifying Checksum 06:49:45 45590311c82a: Download complete 06:49:46 69ca0ff8b7b3: Verifying Checksum 06:49:46 69ca0ff8b7b3: Download complete 06:49:46 b538f80385f9: Download complete 06:49:47 b538f80385f9: Pull complete 06:49:47 74f711af9a0d: Pull complete 06:49:47 99f96fe45779: Pull complete 06:49:47 using credential edgex-jenkins-ssh 06:49:48 Cloning the remote Git repository 06:49:48 209524e5b208: Verifying Checksum 06:49:48 209524e5b208: Download complete 06:49:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:49:48 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:49:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:49:48 > git --version # timeout=10 06:49:48 > git --version # 'git version 2.24.3' 06:49:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:49:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:49:49 Merging remotes/origin/master commit cbcd560d226450c2fc49532ec953a0990705dfef into PR head commit c3824a12f3cc5d1966e4db57f289fddfad20a307 06:49:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:49:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:49:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:49:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:49:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:49:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/661/head:refs/remotes/origin/PR-661 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:49:49 > git config core.sparsecheckout # timeout=10 06:49:49 > git checkout -f c3824a12f3cc5d1966e4db57f289fddfad20a307 # timeout=10 06:49:49 > git remote # timeout=10 06:49:49 > git config --get remote.origin.url # timeout=10 06:49:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:49:49 > git merge cbcd560d226450c2fc49532ec953a0990705dfef # timeout=10 06:49:49 Merge succeeded, producing 3c750e0f9f6b4e9fa892109da590dbc57e12cf24 06:49:49 Checking out Revision 3c750e0f9f6b4e9fa892109da590dbc57e12cf24 (PR-661) 06:49:50 8529a6b9a6be: Verifying Checksum 06:49:50 8529a6b9a6be: Download complete 06:49:49 > git rev-parse HEAD^{commit} # timeout=10 06:49:49 > git config core.sparsecheckout # timeout=10 06:49:49 > git checkout -f 3c750e0f9f6b4e9fa892109da590dbc57e12cf24 # timeout=10 06:49:53 Commit message: "Merge commit 'cbcd560d226450c2fc49532ec953a0990705dfef' into HEAD" 06:49:53 First time build. Skipping changelog. 06:49:53 > git --version # timeout=10 06:49:53 > git --version # 'git version 2.24.3' 06:49:53 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:49:55 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:49:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:49:56 + true 06:49:56 + sudo service docker restart 06:49:56 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:49:57 provisioning config files... 06:49:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2088906916358444218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:49:58 ---> docker-login.sh 06:49:58 nexus3.edgexfoundry.org:10001 06:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:58 Configure a credential helper to remove this warning. See 06:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:58 06:49:58 Login Succeeded 06:49:58 nexus3.edgexfoundry.org:10002 06:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:59 Configure a credential helper to remove this warning. See 06:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:59 06:49:59 Login Succeeded 06:49:59 nexus3.edgexfoundry.org:10003 06:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:59 Configure a credential helper to remove this warning. See 06:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:59 06:49:59 Login Succeeded 06:49:59 nexus3.edgexfoundry.org:10004 06:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:49:59 Configure a credential helper to remove this warning. See 06:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:49:59 06:49:59 Login Succeeded 06:49:59 docker.io 06:49:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:50:00 Configure a credential helper to remove this warning. See 06:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:50:00 06:50:00 Login Succeeded 06:50:00 ---> docker-login.sh ends [Pipeline] } 06:50:00 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:50:00 8529a6b9a6be: Pull complete 06:50:00 45590311c82a: Pull complete [Pipeline] echo 06:50:01 ========================================================= 06:50:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:50:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:50:01 69ca0ff8b7b3: Pull complete 06:50:01 + 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:50:01 Sending build context to Docker daemon 2.375MB 06:50:01 Step 1/8 : ARG BASE=golang:1.15-alpine 06:50:01 Step 2/8 : FROM ${BASE} 06:50:02 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:50:02 df20fa9351a1: Pulling fs layer 06:50:02 ed8968b2872e: Pulling fs layer 06:50:02 a92cc7c5fd73: Pulling fs layer 06:50:02 e871e8e8d7a9: Pulling fs layer 06:50:02 e73272ec9a57: Pulling fs layer 06:50:02 1e910a182e73: Pulling fs layer 06:50:02 4e634b169226: Pulling fs layer 06:50:02 e871e8e8d7a9: Waiting 06:50:02 e73272ec9a57: Waiting 06:50:02 1e910a182e73: Waiting 06:50:02 4e634b169226: Waiting 06:50:02 a92cc7c5fd73: Download complete 06:50:02 ed8968b2872e: Verifying Checksum 06:50:02 ed8968b2872e: Download complete 06:50:02 e73272ec9a57: Verifying Checksum 06:50:02 e73272ec9a57: Download complete 06:50:02 df20fa9351a1: Verifying Checksum 06:50:02 df20fa9351a1: Download complete 06:50:02 1e910a182e73: Verifying Checksum 06:50:02 1e910a182e73: Download complete 06:50:02 df20fa9351a1: Pull complete 06:50:02 ed8968b2872e: Pull complete 06:50:03 a92cc7c5fd73: Pull complete 06:50:05 4e634b169226: Verifying Checksum 06:50:05 4e634b169226: Download complete 06:50:05 209524e5b208: Pull complete 06:50:05 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:50:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:50:05 ---> 5bddaf1c2fca 06:50:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:50:07 ---> Running in fe913d48b40a 06:50:07 e871e8e8d7a9: Verifying Checksum 06:50:07 e871e8e8d7a9: Download complete 06:50:08 Removing intermediate container fe913d48b40a 06:50:08 ---> 11c0394c44d1 06:50:08 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:50:08 ---> Running in b6adb70273f4 06:50:10 Removing intermediate container b6adb70273f4 06:50:10 ---> e4d202ccc827 06:50:10 Step 5/8 : RUN apk add --no-cache make git 06:50:10 ---> Running in 90ad89bdc93b 06:50:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:50:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:50:13 OK: 142 MiB in 39 packages 06:50:14 e871e8e8d7a9: Pull complete 06:50:14 e73272ec9a57: Pull complete 06:50:14 1e910a182e73: Pull complete 06:50:14 Removing intermediate container 90ad89bdc93b 06:50:14 ---> 84aa7d032961 06:50:14 Step 6/8 : WORKDIR /device-sdk-go 06:50:14 ---> Running in ed0ec82153af 06:50:15 Removing intermediate container ed0ec82153af 06:50:15 ---> 8bb38d3449e2 06:50:15 Step 7/8 : COPY . . 06:50:16 ---> 6bf57cb68987 06:50:16 Step 8/8 : RUN go mod download 06:50:16 ---> Running in e5276528a519 06:50:21 4e634b169226: Pull complete 06:50:21 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:50:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:50:21 ---> f7629b54cfaa 06:50:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:50:21 ---> Running in f20c77226004 06:50:21 Removing intermediate container f20c77226004 06:50:21 ---> 9d9c68c35b29 06:50:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:50:21 ---> Running in 0ff21d5bbaec 06:50:22 Removing intermediate container 0ff21d5bbaec 06:50:22 ---> 56a50d4c6e1c 06:50:22 Step 5/8 : RUN apk add --no-cache make git 06:50:22 ---> Running in f513aa940564 06:50:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:50:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:50:25 OK: 166 MiB in 39 packages 06:50:25 Removing intermediate container f513aa940564 06:50:25 ---> 8acec1750fbf 06:50:25 Step 6/8 : WORKDIR /device-sdk-go 06:50:25 ---> Running in 3a13858383b1 06:50:25 Removing intermediate container 3a13858383b1 06:50:25 ---> 17949308501b 06:50:25 Step 7/8 : COPY . . 06:50:26 ---> bb430ffca13a 06:50:26 Step 8/8 : RUN go mod download 06:50:26 ---> Running in 071242ee109e 06:50:38 Removing intermediate container e5276528a519 06:50:38 ---> 04b6927ff2c8 06:50:38 Successfully built 04b6927ff2c8 06:50:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:50:39 + docker inspect -f . ci-base-image-arm64 06:50:39 . [Pipeline] withDockerContainer 06:50:39 prd-ubuntu18.04-docker-arm64-4c-16g-13817 does not seem to be running inside a container 06:50:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:50:41 $ docker top 6047f03c31fdcfacb62521a78de4800a52775a346c92d291490b610ce2b02305 -eo pid,comm [Pipeline] { [Pipeline] sh 06:50:42 + go version 06:50:42 go version go1.15.2 linux/arm64 [Pipeline] } 06:50:42 $ docker stop --time=1 6047f03c31fdcfacb62521a78de4800a52775a346c92d291490b610ce2b02305 06:50:44 $ docker rm -f 6047f03c31fdcfacb62521a78de4800a52775a346c92d291490b610ce2b02305 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:50:45 + docker inspect -f . ci-base-image-arm64 06:50:45 . [Pipeline] withDockerContainer 06:50:45 prd-ubuntu18.04-docker-arm64-4c-16g-13817 does not seem to be running inside a container 06:50:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:50:47 $ docker top ebe8fc6059a49bd28833609466d5378fac3a3489b08ee1b04fd8f50ff24c556a -eo pid,comm [Pipeline] { [Pipeline] sh 06:50:48 + make test 06:50:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:50:49 Removing intermediate container 071242ee109e 06:50:49 ---> ab815484ea9b 06:50:49 Successfully built ab815484ea9b 06:50:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:50:49 + docker inspect -f . ci-base-image-x86_64 06:50:49 . [Pipeline] withDockerContainer 06:50:49 prd-centos7-docker-4c-2g-13818 does not seem to be running inside a container 06:50:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:50:50 $ docker top 52157e9d1f3b5a3fb0ee2c86864c6343e14ed0bdfe29b0ab2eb4eb64884ad633 -eo pid,comm [Pipeline] { [Pipeline] sh 06:50:51 + go version 06:50:51 go version go1.15.2 linux/amd64 [Pipeline] } 06:50:51 $ docker stop --time=1 52157e9d1f3b5a3fb0ee2c86864c6343e14ed0bdfe29b0ab2eb4eb64884ad633 06:50:53 $ docker rm -f 52157e9d1f3b5a3fb0ee2c86864c6343e14ed0bdfe29b0ab2eb4eb64884ad633 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:50:54 + docker inspect -f . ci-base-image-x86_64 06:50:54 . [Pipeline] withDockerContainer 06:50:54 prd-centos7-docker-4c-2g-13818 does not seem to be running inside a container 06:50:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:50:55 $ docker top f4e0c8470085776e9f5bcff4172321031906fb7de999519f74ba803e54ac73bf -eo pid,comm [Pipeline] { [Pipeline] sh 06:50:56 + make test 06:50:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:51:06 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:51:10 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:51:25 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:51:25 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:51:25 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:51:25 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.066s coverage: 20.0% of statements 06:51:28 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.617s coverage: 97.1% of statements 06:51:49 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:51:49 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:51:49 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:51:49 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.108s coverage: 20.0% of statements 06:51:52 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.262s coverage: 97.1% of statements 06:52:00 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 9.4% of statements 06:52:00 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.097s coverage: 21.9% of statements 06:52:00 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:52:00 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.235s coverage: 42.5% of statements 06:52:00 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:52:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.305s coverage: 68.9% of statements 06:52:00 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:52:00 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:52:00 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:52:00 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:52:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.077s coverage: 52.6% of statements 06:52:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:52:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:52:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:52:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.996s coverage: 68.9% of statements 06:52:00 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.064s coverage: 4.7% of statements 06:52:00 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:52:00 GO111MODULE=on go vet ./... 06:52:10 gofmt -l . 06:52:10 [ "`gofmt -l .`" = "" ] 06:52:10 ./bin/test-attribution-txt.sh 06:52:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:52:11 $ docker stop --time=1 f4e0c8470085776e9f5bcff4172321031906fb7de999519f74ba803e54ac73bf 06:52:13 $ docker rm -f f4e0c8470085776e9f5bcff4172321031906fb7de999519f74ba803e54ac73bf [Pipeline] // withDockerContainer [Pipeline] sh 06:52:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:52:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:52:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:52:18 + ls -al . 06:52:18 total 208 06:52:18 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 30 06:52 . 06:52:18 drwxrwxr-x. 4 jenkins jenkins 28 Nov 30 06:49 .. 06:52:18 drwxrwxr-x. 2 jenkins jenkins 64 Nov 30 06:49 bin 06:52:18 -rw-r--r--. 1 jenkins jenkins 127698 Nov 30 06:51 coverage.out 06:52:18 -rw-rw-r--. 1 jenkins jenkins 936 Nov 30 06:49 Dockerfile.build 06:52:18 -rw-rw-r--. 1 jenkins jenkins 140 Nov 30 06:49 .dockerignore 06:52:18 drwxrwxr-x. 4 jenkins jenkins 48 Nov 30 06:49 example 06:52:18 drwxrwxr-x. 8 jenkins jenkins 179 Nov 30 06:49 .git 06:52:18 drwxrwxr-x. 2 jenkins jenkins 60 Nov 30 06:49 .github 06:52:18 -rw-rw-r--. 1 jenkins jenkins 138 Nov 30 06:49 .gitignore 06:52:18 -rw-r--r--. 1 jenkins jenkins 518 Nov 30 06:52 go.mod 06:52:18 -rw-r--r--. 1 jenkins jenkins 13631 Nov 30 06:52 go.sum 06:52:18 drwxrwxr-x. 15 jenkins jenkins 211 Nov 30 06:49 internal 06:52:18 -rw-rw-r--. 1 jenkins jenkins 901 Nov 30 06:49 Jenkinsfile 06:52:18 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 30 06:49 LICENSE 06:52:18 -rw-rw-r--. 1 jenkins jenkins 1013 Nov 30 06:49 Makefile 06:52:18 drwxrwxr-x. 4 jenkins jenkins 26 Nov 30 06:49 openapi 06:52:18 drwxrwxr-x. 5 jenkins jenkins 50 Nov 30 06:49 pkg 06:52:18 -rw-rw-r--. 1 jenkins jenkins 5897 Nov 30 06:49 README.md 06:52:18 -rw-rw-r--. 1 jenkins jenkins 4291 Nov 30 06:49 RELEASE-NOTES.txt 06:52:18 drwxrwxr-x. 4 jenkins jenkins 54 Nov 30 06:49 snap 06:52:18 -rw-rw-r--. 1 jenkins jenkins 5 Nov 30 06:46 VERSION 06:52:18 -rw-rw-r--. 1 jenkins jenkins 222 Nov 30 06:49 version.go [Pipeline] isUnix [Pipeline] sh 06:52:18 + 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=21a5e02e5573075b8a0f1e54bd48fbb3635a306b --label arch=amd64 --label version=0.0.0 . 06:52:19 Sending build context to Docker daemon 2.503MB 06:52:19 Step 1/24 : ARG BASE=golang:1.15-alpine 06:52:19 Step 2/24 : FROM ${BASE} AS builder 06:52:19 ---> ab815484ea9b 06:52:19 Step 3/24 : ARG MAKE='make build' 06:52:19 ---> Running in 94c773fd94a1 06:52:19 Removing intermediate container 94c773fd94a1 06:52:19 ---> 897503adebd6 06:52:19 Step 4/24 : WORKDIR /device-sdk-go 06:52:19 ---> Running in 6dedbf36c040 06:52:20 Removing intermediate container 6dedbf36c040 06:52:20 ---> d51ec84b2525 06:52:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:52:20 ---> Running in d4f66c48f6d0 06:52:20 Removing intermediate container d4f66c48f6d0 06:52:20 ---> 1163c0349626 06:52:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:52:20 ---> Running in 745037bf16a8 06:52:21 Removing intermediate container 745037bf16a8 06:52:21 ---> 2524e66e633c 06:52:21 Step 7/24 : RUN apk add --update --no-cache make git 06:52:21 ---> Running in e356f32d6f6d 06:52:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:52:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:52:23 OK: 166 MiB in 39 packages 06:52:24 Removing intermediate container e356f32d6f6d 06:52:24 ---> b753f7d614e6 06:52:24 Step 8/24 : COPY . . 06:52:24 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.153s coverage: 9.4% of statements 06:52:24 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.115s coverage: 21.9% of statements 06:52:24 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:52:24 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.607s coverage: 42.5% of statements 06:52:24 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:52:24 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.808s coverage: 68.9% of statements 06:52:24 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:52:24 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:52:24 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:52:24 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:52:24 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.171s coverage: 52.6% of statements 06:52:24 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:52:24 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:52:24 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 06:52:24 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.912s coverage: 68.9% of statements 06:52:24 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.131s coverage: 4.7% of statements 06:52:24 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:52:24 GO111MODULE=on go vet ./... 06:52:25 ---> 9f3fa6d73729 06:52:25 Step 9/24 : RUN ${MAKE} 06:52:25 ---> Running in b93d960aa6fc 06:52:26 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:52:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:52:39 Removing intermediate container b93d960aa6fc 06:52:39 ---> 8e177b107f43 06:52:39 Step 10/24 : FROM scratch 06:52:39 ---> 06:52:39 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:52:39 ---> Running in fb1fa71f3b1c 06:52:39 Removing intermediate container fb1fa71f3b1c 06:52:39 ---> f6a37149b94c 06:52:39 Step 12/24 : ENV APP_PORT=49990 06:52:39 ---> Running in 8a95c28634ff 06:52:39 Removing intermediate container 8a95c28634ff 06:52:39 ---> 3e9db5a75c4e 06:52:39 Step 13/24 : EXPOSE $APP_PORT 06:52:39 ---> Running in c946276852a3 06:52:40 Removing intermediate container c946276852a3 06:52:40 ---> 33925ad0c20b 06:52:40 Step 14/24 : WORKDIR / 06:52:40 ---> Running in 51c7d33cc3e2 06:52:40 Removing intermediate container 51c7d33cc3e2 06:52:40 ---> d2c3e7c33643 06:52:40 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:52:41 ---> f81b80325729 06:52:41 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:52:41 ---> 8a76610f892f 06:52:41 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:52:41 ---> 77dae42cc6c4 06:52:41 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:52:42 ---> 4536b71bcf80 06:52:42 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:52:42 ---> 5c09c99197d3 06:52:42 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:52:42 ---> Running in c7b96ec11170 06:52:42 Removing intermediate container c7b96ec11170 06:52:42 ---> 746406186bf0 06:52:42 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:52:42 ---> Running in 0946c1b7454a 06:52:43 Removing intermediate container 0946c1b7454a 06:52:43 ---> 6f08a5a0269c 06:52:43 Step 22/24 : LABEL arch=amd64 06:52:43 ---> Running in f4e9e5ff187e 06:52:43 Removing intermediate container f4e9e5ff187e 06:52:43 ---> 421193515166 06:52:43 Step 23/24 : LABEL git_sha=21a5e02e5573075b8a0f1e54bd48fbb3635a306b 06:52:43 ---> Running in 61c4a06b379e 06:52:43 Removing intermediate container 61c4a06b379e 06:52:43 ---> 7071b4c65565 06:52:43 Step 24/24 : LABEL version=0.0.0 06:52:43 ---> Running in bb78e2460d84 06:52:43 Removing intermediate container bb78e2460d84 06:52:43 ---> e1ca012f432b 06:52:43 [Warning] One or more build-args [ARCH] were not consumed 06:52:43 Successfully built e1ca012f432b 06:52:43 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:52:57 gofmt -l . 06:52:57 [ "`gofmt -l .`" = "" ] 06:52:57 ./bin/test-attribution-txt.sh 06:52:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:52:57 $ docker stop --time=1 ebe8fc6059a49bd28833609466d5378fac3a3489b08ee1b04fd8f50ff24c556a 06:52:59 $ docker rm -f ebe8fc6059a49bd28833609466d5378fac3a3489b08ee1b04fd8f50ff24c556a [Pipeline] // withDockerContainer [Pipeline] sh 06:53:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:53:00 Warning: overwriting stash ‘coverage-report’ 06:53:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:53:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:53:03 + ls -al . 06:53:03 total 244 06:53:03 drwxrwxr-x 10 jenkins jenkins 4096 Nov 30 06:52 . 06:53:03 drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 06:49 .. 06:53:03 -rw-rw-r-- 1 jenkins jenkins 140 Nov 30 06:49 .dockerignore 06:53:03 drwxrwxr-x 8 jenkins jenkins 4096 Nov 30 06:49 .git 06:53:03 drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 06:49 .github 06:53:03 -rw-rw-r-- 1 jenkins jenkins 138 Nov 30 06:49 .gitignore 06:53:03 -rw-rw-r-- 1 jenkins jenkins 936 Nov 30 06:49 Dockerfile.build 06:53:03 -rw-rw-r-- 1 jenkins jenkins 901 Nov 30 06:49 Jenkinsfile 06:53:03 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 30 06:49 LICENSE 06:53:03 -rw-rw-r-- 1 jenkins jenkins 1013 Nov 30 06:49 Makefile 06:53:03 -rw-rw-r-- 1 jenkins jenkins 5897 Nov 30 06:49 README.md 06:53:03 -rw-rw-r-- 1 jenkins jenkins 4291 Nov 30 06:49 RELEASE-NOTES.txt 06:53:03 -rw-rw-r-- 1 jenkins jenkins 5 Nov 30 06:46 VERSION 06:53:03 drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 06:49 bin 06:53:03 -rw-r--r-- 1 jenkins jenkins 127698 Nov 30 06:52 coverage.out 06:53:03 drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 06:49 example 06:53:03 -rw-r--r-- 1 jenkins jenkins 518 Nov 30 06:52 go.mod 06:53:03 -rw-r--r-- 1 jenkins jenkins 13631 Nov 30 06:52 go.sum 06:53:03 drwxrwxr-x 15 jenkins jenkins 4096 Nov 30 06:49 internal 06:53:03 drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 06:49 openapi 06:53:03 drwxrwxr-x 5 jenkins jenkins 4096 Nov 30 06:49 pkg 06:53:03 drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 06:49 snap 06:53:03 -rw-rw-r-- 1 jenkins jenkins 222 Nov 30 06:49 version.go [Pipeline] isUnix [Pipeline] sh 06:53:03 + 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=21a5e02e5573075b8a0f1e54bd48fbb3635a306b --label arch=arm64 --label version=0.0.0 . 06:53:04 Sending build context to Docker daemon 2.502MB 06:53:04 Step 1/24 : ARG BASE=golang:1.15-alpine 06:53:04 Step 2/24 : FROM ${BASE} AS builder 06:53:04 ---> 04b6927ff2c8 06:53:04 Step 3/24 : ARG MAKE='make build' 06:53:04 ---> Running in 9d6483b9431e 06:53:04 Removing intermediate container 9d6483b9431e 06:53:04 ---> 245b8769df22 06:53:04 Step 4/24 : WORKDIR /device-sdk-go 06:53:04 ---> Running in 8297905d0f86 06:53:05 Removing intermediate container 8297905d0f86 06:53:05 ---> fe25ed6d52a7 06:53:05 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:53:05 ---> Running in 1b6e2d88a7b6 06:53:06 Removing intermediate container 1b6e2d88a7b6 06:53:06 ---> c3c96e913a4d 06:53:06 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:53:06 ---> Running in ae59a94ae5c0 06:53:08 Removing intermediate container ae59a94ae5c0 06:53:08 ---> af20100995ae 06:53:08 Step 7/24 : RUN apk add --update --no-cache make git 06:53:08 ---> Running in 8b2918c1ee29 06:53:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:53:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:53:15 OK: 142 MiB in 39 packages 06:53:15 Removing intermediate container 8b2918c1ee29 06:53:15 ---> 7debf6da0a0e 06:53:15 Step 8/24 : COPY . . 06:53:17 ---> 8af1d38c3fbd 06:53:17 Step 9/24 : RUN ${MAKE} 06:53:17 ---> Running in f5849557ca04 06:53:18 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:53:45 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:53:45 Removing intermediate container f5849557ca04 06:53:45 ---> 681f182a3d10 06:53:45 Step 10/24 : FROM scratch 06:53:45 ---> 06:53:45 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:53:45 ---> Running in 180c2fa0c411 06:53:45 Removing intermediate container 180c2fa0c411 06:53:45 ---> be8bf37c0005 06:53:45 Step 12/24 : ENV APP_PORT=49990 06:53:45 ---> Running in da646e85844c 06:53:46 Removing intermediate container da646e85844c 06:53:46 ---> 99cecaf139fd 06:53:46 Step 13/24 : EXPOSE $APP_PORT 06:53:46 ---> Running in 63e525681107 06:53:46 Removing intermediate container 63e525681107 06:53:46 ---> 43c36beaf50d 06:53:46 Step 14/24 : WORKDIR / 06:53:46 ---> Running in b1384c60435d 06:53:47 Removing intermediate container b1384c60435d 06:53:47 ---> 92f96318ced4 06:53:47 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:53:48 ---> 1308318ed951 06:53:48 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:53:49 ---> 2fbdb10d646d 06:53:49 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:53:50 ---> 31ec24b3b040 06:53:50 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:53:50 ---> 97066f82feb4 06:53:50 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:53:51 ---> 3df47aef0bc0 06:53:51 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:53:51 ---> Running in 4b1d3fb9ae6a 06:53:51 Removing intermediate container 4b1d3fb9ae6a 06:53:51 ---> 63db5f35870f 06:53:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:53:52 ---> Running in 8f801129169c 06:53:52 Removing intermediate container 8f801129169c 06:53:52 ---> ecb6ba862a28 06:53:52 Step 22/24 : LABEL arch=arm64 06:53:52 ---> Running in 0e8fd425d7b9 06:53:53 Removing intermediate container 0e8fd425d7b9 06:53:53 ---> e6eb1e6e7fb7 06:53:53 Step 23/24 : LABEL git_sha=21a5e02e5573075b8a0f1e54bd48fbb3635a306b 06:53:53 ---> Running in 0817b62a69fe 06:53:54 Removing intermediate container 0817b62a69fe 06:53:54 ---> bff9b4b66c04 06:53:54 Step 24/24 : LABEL version=0.0.0 06:53:54 ---> Running in f3b95c2f9ee7 06:53:54 Removing intermediate container f3b95c2f9ee7 06:53:54 ---> 912049c3c5b4 06:53:54 [Warning] One or more build-args [ARCH] were not consumed 06:53:54 Successfully built 912049c3c5b4 06:53:54 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:53:57 provisioning config files... 06:53:57 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config2046894421123753784tmp [Pipeline] { [Pipeline] sh 06:53:57 + set +x 06:53:57 + curl -s https://codecov.io/bash 06:53:57 + bash -s -- 06:53:57 06:53:57 _____ _ 06:53:57 / ____| | | 06:53:57 | | ___ __| | ___ ___ _____ __ 06:53:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:53:57 | |___| (_) | (_| | __/ (_| (_) \ V / 06:53:57 \_____\___/ \__,_|\___|\___\___/ \_/ 06:53:57 Bash-20201124-79cbc08 06:53:57 06:53:57 06:53:57 ==> Jenkins CI detected. 06:53:57 project root: . 06:53:57 --> token set from env 06:53:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:53:57 ==> Running gcov in . (disable via -X gcov) 06:53:57 ==> Python coveragepy not found 06:53:57 ==> Searching for coverage reports in: 06:53:57 + . 06:53:57 -> Found 1 reports 06:53:57 ==> Detecting git/mercurial file structure 06:53:57 ==> Reading reports 06:53:57 + ./coverage.out bytes=127698 06:53:57 ==> Appending adjustments 06:53:57 https://docs.codecov.io/docs/fixing-reports 06:53:58 + Found adjustments 06:53:58 ==> Gzipping contents 06:53:58 24K /tmp/codecov.9etnvi.gz 06:53:58 ==> Uploading reports 06:53:58 url: https://codecov.io 06:53:58 query: branch=PR-661&commit=21a5e02e5573075b8a0f1e54bd48fbb3635a306b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 06:53:58 -> Pinging Codecov 06:53:58 https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-661&commit=21a5e02e5573075b8a0f1e54bd48fbb3635a306b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-661%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=661&job=&cmd_args= 06:53:59 -> Uploading to 06:53:59 https://storage.googleapis.com/codecov/v4/raw/2020-11-30/7E55EF52A471D76F132DFD9A03CDDE97/21a5e02e5573075b8a0f1e54bd48fbb3635a306b/81fb6d0b-e6e2-4d79-8e7d-0c0588e3bafe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201130T065358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c4086f9afae9b07ba7f240eee941a7a70a980fa0091e61ce72035a335d9ceaa9 06:53:59 % Total % Received % Xferd Average Speed Time Time Time Current 06:53:59 Dload Upload Total Spent Left Speed 06:53:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20882 0 0 100 20882 0 46120 --:--:-- --:--:-- --:--:-- 46097 06:53:59 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/21a5e02e5573075b8a0f1e54bd48fbb3635a306b [Pipeline] } 06:53:59 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:54:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:54:05 ---> package-listing.sh 06:54:05 ++ facter osfamily 06:54:05 ++ tr '[:upper:]' '[:lower:]' 06:54:05 + OS_FAMILY=redhat 06:54:05 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-661 06:54:05 + START_PACKAGES=/tmp/packages_start.txt 06:54:05 + END_PACKAGES=/tmp/packages_end.txt 06:54:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:54:05 + PACKAGES=/tmp/packages_start.txt 06:54:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 06:54:05 + PACKAGES=/tmp/packages_end.txt 06:54:05 + case "${OS_FAMILY}" in 06:54:05 + rpm -qa 06:54:05 + sort 06:54:11 + '[' -f /tmp/packages_start.txt ']' 06:54:11 + '[' -f /tmp/packages_end.txt ']' 06:54:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:54:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-661 ']' 06:54:11 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ 06:54:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-661/archives/ [Pipeline] echo 06:54:11 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-661/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:54:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:54:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:54:11 06:54:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:54:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:54:12 alpine: Pulling from edgex-lftools-log-publisher 06:54:12 df20fa9351a1: Pulling fs layer 06:54:12 36b3adc4ff6f: Pulling fs layer 06:54:12 8ad3a11d3b57: Pulling fs layer 06:54:12 46f8f816bc3b: Pulling fs layer 06:54:12 93b61091891f: Pulling fs layer 06:54:12 93b9cdb0e59b: Pulling fs layer 06:54:12 5e14af77c1be: Pulling fs layer 06:54:12 01666e4c0597: Pulling fs layer 06:54:12 aa168da1d23b: Pulling fs layer 06:54:12 93b9cdb0e59b: Waiting 06:54:12 5e14af77c1be: Waiting 06:54:12 01666e4c0597: Waiting 06:54:12 aa168da1d23b: Waiting 06:54:12 46f8f816bc3b: Waiting 06:54:12 93b61091891f: Waiting 06:54:12 36b3adc4ff6f: Verifying Checksum 06:54:12 36b3adc4ff6f: Download complete 06:54:12 46f8f816bc3b: Verifying Checksum 06:54:12 46f8f816bc3b: Download complete 06:54:12 df20fa9351a1: Verifying Checksum 06:54:12 93b9cdb0e59b: Verifying Checksum 06:54:12 93b9cdb0e59b: Download complete 06:54:12 5e14af77c1be: Download complete 06:54:12 93b61091891f: Verifying Checksum 06:54:12 01666e4c0597: Verifying Checksum 06:54:12 01666e4c0597: Download complete 06:54:13 df20fa9351a1: Pull complete 06:54:13 36b3adc4ff6f: Pull complete 06:54:13 8ad3a11d3b57: Verifying Checksum 06:54:13 8ad3a11d3b57: Download complete 06:54:15 8ad3a11d3b57: Pull complete 06:54:15 46f8f816bc3b: Pull complete 06:54:16 93b61091891f: Pull complete 06:54:16 93b9cdb0e59b: Pull complete 06:54:16 aa168da1d23b: Verifying Checksum 06:54:16 aa168da1d23b: Download complete 06:54:17 5e14af77c1be: Pull complete 06:54:17 01666e4c0597: Pull complete 06:54:27 aa168da1d23b: Pull complete 06:54:27 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:54:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:54:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:54:27 prd-centos7-docker-4c-2g-13816 does not seem to be running inside a container 06:54:27 $ 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-661/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-661 -v /w/workspace/dgexfoundry_device-sdk-go_PR-661:/w/workspace/dgexfoundry_device-sdk-go_PR-661:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:54:30 $ docker top cd3ad0e465105bb1203ef9272e648e77ff4bd6793c2f0ef6f3ac99d2acad9189 -eo pid,comm [Pipeline] { [Pipeline] sh 06:54:31 + touch /tmp/pre-build-complete [Pipeline] sh 06:54:31 + mkdir -p /var/log/sa [Pipeline] sh 06:54:32 + ls /var/log/sa-host 06:54:32 + sadf -c /var/log/sa-host/sa23 06:54:32 file_magic: OK 06:54:32 HZ: Using current value: 100 06:54:32 file_header: OK 06:54:32 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:54:32 Statistics: 06:54:32 Hnuu...uuuununununu... 06:54:32 File successfully converted to sysstat format version 12.2.1 06:54:32 + sadf -c /var/log/sa-host/sa30 06:54:32 file_magic: OK 06:54:32 HZ: Using current value: 100 06:54:32 file_header: OK 06:54:32 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:54:32 Statistics: 06:54:32 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:54:32 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:54:32 provisioning config files... 06:54:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp/config6960853414474453829tmp [Pipeline] { [Pipeline] echo 06:54:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:54:33 ---> create-netrc.sh [Pipeline] } 06:54:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:54:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:54:33 ---> python-tools-install.sh [Pipeline] echo 06:54:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:54:34 ---> sudo-logs.sh 06:54:34 Archiving 'sudo' log.. [Pipeline] echo 06:54:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:54:34 ---> job-cost.sh 06:54:34 lf-activate-venv: SKIPPING 06:54:34 INFO: No Stack... 06:54:36 INFO: Retrieving Pricing Info for: v1-standard-2 06:54:36 INFO: Archiving Costs [Pipeline] echo 06:54:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:54:36 ---> logs-deploy.sh 06:54:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-661/1 06:54:36 INFO: archiving workspace using pattern(s): 06:54:38 Archives upload complete. 06:54:38 INFO: archiving logs to Nexus 06:54:40 ---> uname -a: 06:54:40 Linux prd-centos7-docker-4c-2g-13816.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:54:40 06:54:40 06:54:40 ---> lscpu: 06:54:40 Architecture: x86_64 06:54:40 CPU op-mode(s): 32-bit, 64-bit 06:54:40 Byte Order: Little Endian 06:54:40 Address sizes: 40 bits physical, 48 bits virtual 06:54:40 CPU(s): 4 06:54:40 On-line CPU(s) list: 0-3 06:54:40 Thread(s) per core: 1 06:54:40 Core(s) per socket: 1 06:54:40 Socket(s): 4 06:54:40 NUMA node(s): 1 06:54:40 Vendor ID: GenuineIntel 06:54:40 CPU family: 6 06:54:40 Model: 44 06:54:40 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:54:40 Stepping: 1 06:54:40 CPU MHz: 2933.438 06:54:40 BogoMIPS: 5866.87 06:54:40 Virtualization: VT-x 06:54:40 Hypervisor vendor: KVM 06:54:40 Virtualization type: full 06:54:40 L1d cache: 128 KiB 06:54:40 L1i cache: 128 KiB 06:54:40 L2 cache: 16 MiB 06:54:40 L3 cache: 64 MiB 06:54:40 NUMA node0 CPU(s): 0-3 06:54:40 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:54:40 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:54:40 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:54:40 Vulnerability Meltdown: Mitigation; PTI 06:54:40 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:54:40 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:54:40 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:54:40 Vulnerability Srbds: Not affected 06:54:40 Vulnerability Tsx async abort: Not affected 06:54:40 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:54:40 06:54:40 06:54:40 ---> nproc: 06:54:40 4 06:54:40 06:54:40 06:54:40 ---> df -h: 06:54:40 Filesystem Size Used Available Use% Mounted on 06:54:40 overlay 50.0G 7.3G 42.7G 15% / 06:54:40 tmpfs 64.0M 0 64.0M 0% /dev 06:54:40 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:54:40 shm 64.0M 0 64.0M 0% /dev/shm 06:54:40 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 06:54:40 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 06:54:40 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 06:54:40 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 06:54:40 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 06:54:40 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 06:54:40 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661 06:54:40 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-661@tmp 06:54:40 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 06:54:40 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 06:54:40 06:54:40 06:54:40 ---> free -m: 06:54:40 total used free shared buff/cache available 06:54:40 Mem: 1837 723 80 0 1033 1010 06:54:40 Swap: 1023 1 1022 06:54:40 06:54:40 06:54:40 ---> ip addr: 06:54:40 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:54:40 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:54:40 inet 127.0.0.1/8 scope host lo 06:54:40 valid_lft forever preferred_lft forever 06:54:40 inet6 ::1/128 scope host 06:54:40 valid_lft forever preferred_lft forever 06:54:40 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 06:54:40 link/ether fa:16:3e:9f:ed:55 brd ff:ff:ff:ff:ff:ff 06:54:40 inet 10.30.123.60/23 brd 10.30.123.255 scope global dynamic eth0 06:54:40 valid_lft 85856sec preferred_lft 85856sec 06:54:40 inet6 fe80::f816:3eff:fe9f:ed55/64 scope link 06:54:40 valid_lft forever preferred_lft forever 06:54:40 3: docker0: mtu 1500 qdisc noqueue state DOWN 06:54:40 link/ether 02:42:ee:bc:50:f0 brd ff:ff:ff:ff:ff:ff 06:54:40 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 06:54:40 valid_lft forever preferred_lft forever 06:54:40 inet6 fe80::42:eeff:febc:50f0/64 scope link 06:54:40 valid_lft forever preferred_lft forever 06:54:40 06:54:40 06:54:40 ---> sar -b -r -n DEV: 06:54:40 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/30/20 _x86_64_ (4 CPU) 06:54:40 06:54:40 06:45:25 LINUX RESTART (4 CPU) 06:54:40 06:54:40 06:46:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:54:40 06:47:01 59.97 19.16 40.81 0.00 5449.79 3765.11 0.00 06:54:40 06:48:01 2.16 0.00 2.16 0.00 0.00 41.86 0.00 06:54:40 06:49:01 0.15 0.00 0.15 0.00 0.00 1.88 0.00 06:54:40 06:50:02 0.28 0.00 0.28 0.00 0.00 3.20 0.00 06:54:40 06:51:01 0.20 0.00 0.20 0.00 0.00 2.81 0.00 06:54:40 06:52:01 0.42 0.00 0.42 0.00 0.00 5.95 0.00 06:54:40 06:53:01 0.25 0.00 0.25 0.00 0.00 2.70 0.00 06:54:40 06:54:01 0.35 0.08 0.27 0.00 7.32 11.60 0.00 06:54:40 Average: 8.00 2.41 5.58 0.00 684.24 480.85 0.00 06:54:40 06:54:40 06:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:54:40 06:47:01 162172 0 607608 32.29 2620 1109144 1123760 38.35 445068 1075504 144 06:54:40 06:48:01 167404 0 602424 32.02 2620 1109096 1086308 37.07 442724 1073044 20 06:54:40 06:49:01 168460 0 601364 31.96 2620 1109100 1078084 36.79 455104 1059808 8 06:54:40 06:50:02 166380 0 603444 32.07 2620 1109100 1078300 36.80 457988 1059288 16 06:54:40 06:51:01 167752 0 602064 32.00 2620 1109108 1078084 36.79 456384 1059728 16 06:54:40 06:52:01 167340 0 602472 32.02 2620 1109112 1078156 36.80 456912 1059708 8 06:54:40 06:53:01 167684 0 602124 32.00 2620 1109116 1078084 36.79 456544 1059708 8 06:54:40 06:54:01 164020 0 605412 32.18 2620 1109492 1078580 36.81 459284 1059836 44 06:54:40 Average: 166402 0 603364 32.07 2620 1109158 1084920 37.03 453751 1063328 33 06:54:40 06:54:40 06:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:54:40 06:47:01 eth0 357.33 239.22 1055.32 90.44 0.00 0.00 0.00 0.00 06:54:40 06:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:47:01 docker0 10.43 8.80 1.40 20.34 0.00 0.00 0.00 0.00 06:54:40 06:48:01 eth0 2.53 1.85 2.94 0.15 0.00 0.00 0.00 0.00 06:54:40 06:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:49:01 eth0 0.68 0.08 0.06 0.01 0.00 0.00 0.00 0.00 06:54:40 06:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:50:02 eth0 1.35 0.80 0.58 0.38 0.00 0.00 0.00 0.00 06:54:40 06:50:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:50:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:51:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 06:54:40 06:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:52:01 eth0 0.30 0.18 0.14 0.07 0.00 0.00 0.00 0.00 06:54:40 06:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:53:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 06:54:40 06:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:54:01 eth0 5.91 3.59 5.15 2.10 0.00 0.00 0.00 0.00 06:54:40 06:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 06:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 Average: eth0 46.18 30.83 133.44 11.68 0.00 0.00 0.00 0.00 06:54:40 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:54:40 Average: docker0 1.31 1.10 0.18 2.55 0.00 0.00 0.00 0.00 06:54:40 06:54:40 06:54:40 ---> sar -P ALL: 06:54:40 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/30/20 _x86_64_ (4 CPU) 06:54:40 06:54:40 06:45:25 LINUX RESTART (4 CPU) 06:54:40 06:54:40 06:46:01 CPU %user %nice %system %iowait %steal %idle 06:54:40 06:47:01 all 12.93 0.00 3.94 1.11 4.16 77.86 06:54:40 06:47:01 0 9.86 0.00 4.19 0.82 4.91 80.21 06:54:40 06:47:01 1 14.67 0.00 3.56 1.05 3.91 76.81 06:54:40 06:47:01 2 16.24 0.00 3.41 1.15 3.50 75.69 06:54:40 06:47:01 3 10.96 0.00 4.59 1.42 4.31 78.72 06:54:40 06:48:01 all 0.16 0.00 0.08 0.00 0.03 99.73 06:54:40 06:48:01 0 0.10 0.00 0.08 0.00 0.02 99.80 06:54:40 06:48:01 1 0.10 0.00 0.07 0.00 0.03 99.80 06:54:40 06:48:01 2 0.38 0.00 0.08 0.00 0.03 99.50 06:54:40 06:48:01 3 0.07 0.00 0.07 0.00 0.03 99.83 06:54:40 06:49:01 all 0.16 0.00 0.11 0.00 0.16 99.57 06:54:40 06:49:01 0 0.03 0.00 0.13 0.00 0.13 99.70 06:54:40 06:49:01 1 0.13 0.00 0.13 0.00 0.17 99.57 06:54:40 06:49:01 2 0.05 0.00 0.07 0.00 0.17 99.72 06:54:40 06:49:01 3 0.42 0.00 0.10 0.00 0.18 99.30 06:54:40 06:50:02 all 0.12 0.00 0.04 0.00 0.21 99.63 06:54:40 06:50:02 0 0.03 0.00 0.03 0.00 0.10 99.83 06:54:40 06:50:02 1 0.37 0.00 0.05 0.00 0.25 99.33 06:54:40 06:50:02 2 0.05 0.00 0.05 0.00 0.33 99.57 06:54:40 06:50:02 3 0.03 0.00 0.03 0.00 0.17 99.77 06:54:40 06:51:01 all 0.15 0.00 0.10 0.00 0.19 99.56 06:54:40 06:51:01 0 0.19 0.00 0.08 0.00 0.07 99.66 06:54:40 06:51:01 1 0.30 0.00 0.14 0.00 0.14 99.42 06:54:40 06:51:01 2 0.05 0.00 0.08 0.00 0.36 99.51 06:54:40 06:51:01 3 0.05 0.00 0.10 0.00 0.22 99.63 06:54:40 06:52:01 all 0.13 0.00 0.05 0.00 0.20 99.62 06:54:40 06:52:01 0 0.02 0.00 0.10 0.00 0.05 99.83 06:54:40 06:52:01 1 0.25 0.00 0.03 0.00 0.20 99.52 06:54:40 06:52:01 2 0.12 0.00 0.05 0.00 0.37 99.47 06:54:40 06:52:01 3 0.13 0.00 0.03 0.00 0.17 99.67 06:54:40 06:53:01 all 0.12 0.00 0.06 0.00 0.21 99.61 06:54:40 06:53:01 0 0.00 0.00 0.05 0.00 0.10 99.85 06:54:40 06:53:01 1 0.05 0.00 0.03 0.00 0.18 99.73 06:54:40 06:53:01 2 0.40 0.00 0.07 0.00 0.30 99.23 06:54:40 06:53:01 3 0.03 0.00 0.08 0.00 0.27 99.62 06:54:40 06:54:01 all 0.49 0.00 0.29 0.00 0.14 99.09 06:54:40 06:54:01 0 0.52 0.00 0.27 0.00 0.13 99.08 06:54:40 06:54:01 1 0.25 0.00 0.33 0.00 0.12 99.30 06:54:40 06:54:01 2 0.78 0.00 0.30 0.00 0.15 98.77 06:54:40 06:54:01 3 0.40 0.00 0.25 0.00 0.15 99.20 06:54:40 Average: all 1.75 0.00 0.57 0.14 0.65 96.90 06:54:40 Average: 0 1.32 0.00 0.61 0.10 0.68 97.30 06:54:40 Average: 1 1.97 0.00 0.53 0.13 0.61 96.76 06:54:40 Average: 2 2.21 0.00 0.50 0.14 0.64 96.50 06:54:40 Average: 3 1.48 0.00 0.64 0.17 0.68 97.02 06:54:40 06:54:40 06:54:40