Pull request #702 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0950bb47099977d66490f327b10e1294d49aff53+b058260e0a173cbd20e8373902e2c8ff53da770e (83c9f0b0fec21884112ddc33b97d52feb27463eb) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-702/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-702/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-16977 in /w/workspace/dgexfoundry_device-sdk-go_PR-702 [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-702 # 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/702/head:refs/remotes/origin/PR-702 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit 0950bb47099977d66490f327b10e1294d49aff53 Merge succeeded, producing 0950bb47099977d66490f327b10e1294d49aff53 Checking out Revision 0950bb47099977d66490f327b10e1294d49aff53 (PR-702) > git config core.sparsecheckout # timeout=10 > git checkout -f 0950bb47099977d66490f327b10e1294d49aff53 # 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 b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0950bb47099977d66490f327b10e1294d49aff53 # timeout=10 Commit message: "feat: update DS in metadata to reflect config change" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:04:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:04:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:04:02 ========================================================= 03:04:02 EdgeX Global Pipelines Version Info 03:04:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:04:03 ------------------- 03:04:03 stable info: 03:04:03 ------------------- 03:04:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:04:03 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 03:04:03 Message: update stable to v1.0.173 03:04:04 ------------------- 03:04:04 experimental info: 03:04:04 ------------------- 03:04:04 Commited By: **** collab-it+edgex@linuxfoundation.org 03:04:04 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 03:04:04 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:04:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:04:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:04:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:04:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:04:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:04:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:04:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:04:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:04:08 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 03:04:08 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 03:04:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-702 [Pipeline] echo 03:04:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-702 [Pipeline] echo 03:04:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-702 [Pipeline] echo 03:04:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0950bb47099977d66490f327b10e1294d49aff53 [Pipeline] echo 03:04:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0950bb4 [Pipeline] echo 03:04:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:04:09 provisioning config files... 03:04:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/config2874764940581171447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:04:10 ---> docker-login.sh 03:04:10 nexus3.edgexfoundry.org:10001 03:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:04:11 Configure a credential helper to remove this warning. See 03:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:04:11 03:04:11 Login Succeeded 03:04:11 nexus3.edgexfoundry.org:10002 03:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:04:11 Configure a credential helper to remove this warning. See 03:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:04:11 03:04:11 Login Succeeded 03:04:11 nexus3.edgexfoundry.org:10003 03:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:04:11 Configure a credential helper to remove this warning. See 03:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:04:11 03:04:11 Login Succeeded 03:04:11 nexus3.edgexfoundry.org:10004 03:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:04:11 Configure a credential helper to remove this warning. See 03:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:04:11 03:04:11 Login Succeeded 03:04:11 docker.io 03:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:04:11 Configure a credential helper to remove this warning. See 03:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:04:11 03:04:11 Login Succeeded 03:04:12 ---> docker-login.sh ends [Pipeline] } 03:04:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:04:13 + git log --format=format:%s -1 0950bb47099977d66490f327b10e1294d49aff53 [Pipeline] echo 03:04:13 GIT_COMMIT: 0950bb47099977d66490f327b10e1294d49aff53, Commit Message: feat: update DS in metadata to reflect config change [Pipeline] echo 03:04:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:04:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:04:14 03:04:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:04:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:04:15 latest: Pulling from edgex-devops/git-semver 03:04:15 31603596830f: Pulling fs layer 03:04:15 2a8b12db71e7: Pulling fs layer 03:04:15 6ca5941a6612: Pulling fs layer 03:04:15 ecc8261a40a4: Pulling fs layer 03:04:15 ecc8261a40a4: Waiting 03:04:15 2a8b12db71e7: Verifying Checksum 03:04:15 2a8b12db71e7: Download complete 03:04:15 31603596830f: Verifying Checksum 03:04:15 31603596830f: Download complete 03:04:15 ecc8261a40a4: Verifying Checksum 03:04:15 ecc8261a40a4: Download complete 03:04:15 6ca5941a6612: Verifying Checksum 03:04:15 6ca5941a6612: Download complete 03:04:15 31603596830f: Pull complete 03:04:15 2a8b12db71e7: Pull complete 03:04:16 6ca5941a6612: Pull complete 03:04:16 ecc8261a40a4: Pull complete 03:04:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:04:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:04:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:04:16 prd-centos7-docker-4c-2g-16977 does not seem to be running inside a container 03:04:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-702 -v /w/workspace/dgexfoundry_device-sdk-go_PR-702:/w/workspace/dgexfoundry_device-sdk-go_PR-702:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-702@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 03:04:19 $ docker top 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:04:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:04:19 [ssh-agent] Looking for ssh-agent implementation... 03:04:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:04:19 $ docker exec 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f ssh-agent 03:04:19 SSH_AUTH_SOCK=/tmp/ssh-KfATCH56UNcO/agent.12 03:04:19 SSH_AGENT_PID=17 03:04:19 Running ssh-add (command line suppressed) 03:04:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_551808918360920434.key (/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_551808918360920434.key) 03:04:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:04:20 + git tag --points-at HEAD [Pipeline] } 03:04:20 $ docker exec --env ******** --env ******** 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f ssh-agent -k 03:04:20 unset SSH_AUTH_SOCK; 03:04:20 unset SSH_AGENT_PID; 03:04:20 echo Agent pid 17 killed; 03:04:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:04:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:04:20 [ssh-agent] Looking for ssh-agent implementation... 03:04:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:04:21 $ docker exec 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f ssh-agent 03:04:21 SSH_AUTH_SOCK=/tmp/ssh-DI3dYiQRcelL/agent.47 03:04:21 SSH_AGENT_PID=52 03:04:21 Running ssh-add (command line suppressed) 03:04:21 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_3669420202146895630.key (/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/private_key_3669420202146895630.key) 03:04:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:04:21 + git semver init 03:04:21 # -> Open(): unable to determine branch for HEAD 03:04:21 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-702/.git 03:04:21 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-702 03:04:21 # $SEMVER_REMOTE_NAME = origin 03:04:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:04:21 # $SEMVER_USER_NAME = edgex-jenkins 03:04:21 # $SEMVER_BRANCH = PR-702 03:04:21 # $SEMVER_TEMP = /tmp/semver-373514822 03:04:21 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:04:22 # '/tmp/semver-373514822' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-702/.semver' 03:04:22 # -> Force: false 03:04:22 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-702/.semver [Pipeline] } 03:04:22 $ docker exec --env ******** --env ******** 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f ssh-agent -k 03:04:22 unset SSH_AUTH_SOCK; 03:04:22 unset SSH_AGENT_PID; 03:04:22 echo Agent pid 52 killed; 03:04:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:04:23 + git semver [Pipeline] } 03:04:23 $ docker stop --time=1 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f 03:04:24 $ docker rm -f 68d227d3361b3cc98f52ad890fae71e54dd7c370d77d5892fc73eaeb3926aa9f [Pipeline] // withDockerContainer [Pipeline] sh 03:04:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:04:25 Stashed 1 file(s) [Pipeline] echo 03:04:25 [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 03:04:41 Still waiting to schedule task 03:04:41 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:04:41 Still waiting to schedule task 03:04:41 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:06:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16979 in /w/workspace/dgexfoundry_device-sdk-go_PR-702 [Pipeline] { [Pipeline] ws 03:06:31 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:06:36 using credential edgex-jenkins-ssh 03:06:36 Cloning the remote Git repository 03:06:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:06:36 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:06:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:06:36 > git --version # timeout=10 03:06:36 > git --version # 'git version 2.17.1' 03:06:36 using GIT_SSH to set credentials SSH Credentials for GitHub 03:06:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:06:38 Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit 0950bb47099977d66490f327b10e1294d49aff53 03:06:38 Merge succeeded, producing 0950bb47099977d66490f327b10e1294d49aff53 03:06:38 Checking out Revision 0950bb47099977d66490f327b10e1294d49aff53 (PR-702) 03:06:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:06:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:06:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:06:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:06:37 using GIT_SSH to set credentials SSH Credentials for GitHub 03:06:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/702/head:refs/remotes/origin/PR-702 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:06:38 > git config core.sparsecheckout # timeout=10 03:06:38 > git checkout -f 0950bb47099977d66490f327b10e1294d49aff53 # timeout=10 03:06:38 > git remote # timeout=10 03:06:38 > git config --get remote.origin.url # timeout=10 03:06:38 using GIT_SSH to set credentials SSH Credentials for GitHub 03:06:38 > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 03:06:38 > git rev-parse HEAD^{commit} # timeout=10 03:06:38 > git config core.sparsecheckout # timeout=10 03:06:38 > git checkout -f 0950bb47099977d66490f327b10e1294d49aff53 # timeout=10 03:06:43 Commit message: "feat: update DS in metadata to reflect config change" 03:06:43 > git --version # timeout=10 03:06:43 > git --version # 'git version 2.17.1' 03:06:43 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:06:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:06:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:06:45 + true 03:06:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:06:48 provisioning config files... 03:06:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2289271196555160596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:06:49 ---> docker-login.sh 03:06:49 nexus3.edgexfoundry.org:10001 03:06:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:06:50 Configure a credential helper to remove this warning. See 03:06:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:06:50 03:06:50 Login Succeeded 03:06:50 nexus3.edgexfoundry.org:10002 03:06:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:06:50 Configure a credential helper to remove this warning. See 03:06:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:06:50 03:06:50 Login Succeeded 03:06:50 nexus3.edgexfoundry.org:10003 03:06:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:06:51 Configure a credential helper to remove this warning. See 03:06:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:06:51 03:06:51 Login Succeeded 03:06:51 nexus3.edgexfoundry.org:10004 03:06:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:06:51 Configure a credential helper to remove this warning. See 03:06:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:06:51 03:06:51 Login Succeeded 03:06:51 docker.io 03:06:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:06:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:06:52 Configure a credential helper to remove this warning. See 03:06:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:06:52 03:06:52 Login Succeeded 03:06:52 ---> docker-login.sh ends [Pipeline] } 03:06:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:06:53 ========================================================= 03:06:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 03:06:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:06:53 + 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 . 03:06:53 Sending build context to Docker daemon 2.416MB 03:06:53 Step 1/8 : ARG BASE=golang:1.15-alpine 03:06:53 Step 2/8 : FROM ${BASE} 03:06:54 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:06:54 5f621e34cdf4: Pulling fs layer 03:06:54 a4357932f1b6: Pulling fs layer 03:06:54 18c013af1878: Pulling fs layer 03:06:54 00ac8860ef70: Pulling fs layer 03:06:54 63d7cb157983: Pulling fs layer 03:06:54 b116817d02f9: Pulling fs layer 03:06:54 745a02a5169b: Pulling fs layer 03:06:54 00ac8860ef70: Waiting 03:06:54 63d7cb157983: Waiting 03:06:54 b116817d02f9: Waiting 03:06:54 745a02a5169b: Waiting 03:06:54 18c013af1878: Verifying Checksum 03:06:54 18c013af1878: Download complete 03:06:54 a4357932f1b6: Verifying Checksum 03:06:54 a4357932f1b6: Download complete 03:06:54 63d7cb157983: Download complete 03:06:54 b116817d02f9: Verifying Checksum 03:06:54 b116817d02f9: Download complete 03:06:54 5f621e34cdf4: Verifying Checksum 03:06:55 5f621e34cdf4: Pull complete 03:06:55 a4357932f1b6: Pull complete 03:06:56 18c013af1878: Pull complete 03:06:57 745a02a5169b: Verifying Checksum 03:06:57 745a02a5169b: Download complete 03:06:58 00ac8860ef70: Verifying Checksum 03:06:58 00ac8860ef70: Download complete 03:07:08 00ac8860ef70: Pull complete 03:07:08 63d7cb157983: Pull complete 03:07:08 b116817d02f9: Pull complete 03:07:13 745a02a5169b: Pull complete 03:07:13 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 03:07:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 03:07:13 ---> b7e6874047d6 03:07:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:07:15 ---> Running in 0f583c69dfe1 03:07:15 Removing intermediate container 0f583c69dfe1 03:07:15 ---> 77434e07e7ee 03:07:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:07:15 ---> Running in f50a2f022969 03:07:18 Running on prd-centos7-docker-4c-2g-16980 in /w/workspace/dgexfoundry_device-sdk-go_PR-702 [Pipeline] { 03:07:18 Removing intermediate container f50a2f022969 03:07:18 ---> ab995f3b4a78 03:07:18 Step 5/8 : RUN apk add --no-cache make git 03:07:18 ---> Running in df518ecc3c90 [Pipeline] ws 03:07:18 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:07:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:07:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:07:20 using credential edgex-jenkins-ssh 03:07:21 Cloning the remote Git repository 03:07:21 OK: 142 MiB in 39 packages 03:07:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:07:22 Removing intermediate container df518ecc3c90 03:07:22 ---> 3b0daad61e32 03:07:22 Step 6/8 : WORKDIR /device-sdk-go 03:07:21 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:07:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:07:21 > git --version # timeout=10 03:07:21 > git --version # 'git version 2.24.3' 03:07:21 using GIT_SSH to set credentials SSH Credentials for GitHub 03:07:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:07:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:07:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:07:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:07:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:07:22 using GIT_SSH to set credentials SSH Credentials for GitHub 03:07:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/702/head:refs/remotes/origin/PR-702 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:07:22 ---> Running in 9fae1fa23dc1 03:07:22 Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit 0950bb47099977d66490f327b10e1294d49aff53 03:07:22 Merge succeeded, producing 0950bb47099977d66490f327b10e1294d49aff53 03:07:22 Checking out Revision 0950bb47099977d66490f327b10e1294d49aff53 (PR-702) 03:07:22 Removing intermediate container 9fae1fa23dc1 03:07:22 ---> ecc831137849 03:07:22 Step 7/8 : COPY . . 03:07:22 > git config core.sparsecheckout # timeout=10 03:07:22 > git checkout -f 0950bb47099977d66490f327b10e1294d49aff53 # timeout=10 03:07:22 > git remote # timeout=10 03:07:22 > git config --get remote.origin.url # timeout=10 03:07:22 using GIT_SSH to set credentials SSH Credentials for GitHub 03:07:22 > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 03:07:22 > git rev-parse HEAD^{commit} # timeout=10 03:07:22 > git config core.sparsecheckout # timeout=10 03:07:22 > git checkout -f 0950bb47099977d66490f327b10e1294d49aff53 # timeout=10 03:07:24 ---> b9da4177dce2 03:07:24 Step 8/8 : RUN go mod download 03:07:24 ---> Running in eee1e2a5c215 03:07:26 Commit message: "feat: update DS in metadata to reflect config change" 03:07:26 > git --version # timeout=10 03:07:26 > git --version # 'git version 2.24.3' 03:07:26 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:07:27 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:07:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:07:28 + sudo service docker restart 03:07:28 + true 03:07:28 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:07:29 provisioning config files... 03:07:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4127794012812576545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:07:29 ---> docker-login.sh 03:07:29 nexus3.edgexfoundry.org:10001 03:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:30 Configure a credential helper to remove this warning. See 03:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:30 03:07:30 Login Succeeded 03:07:30 nexus3.edgexfoundry.org:10002 03:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:30 Configure a credential helper to remove this warning. See 03:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:30 03:07:30 Login Succeeded 03:07:30 nexus3.edgexfoundry.org:10003 03:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:30 Configure a credential helper to remove this warning. See 03:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:30 03:07:30 Login Succeeded 03:07:30 nexus3.edgexfoundry.org:10004 03:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:30 Configure a credential helper to remove this warning. See 03:07:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:30 03:07:30 Login Succeeded 03:07:30 docker.io 03:07:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:31 Configure a credential helper to remove this warning. See 03:07:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:31 03:07:31 Login Succeeded 03:07:31 ---> docker-login.sh ends [Pipeline] } 03:07:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:07:31 ========================================================= 03:07:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:07:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:07:32 + 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 . 03:07:32 Sending build context to Docker daemon 2.417MB 03:07:32 Step 1/8 : ARG BASE=golang:1.15-alpine 03:07:32 Step 2/8 : FROM ${BASE} 03:07:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:07:32 188c0c94c7c5: Pulling fs layer 03:07:32 0ef7d3d256c8: Pulling fs layer 03:07:32 de9db76c5a1d: Pulling fs layer 03:07:32 bca2f99d35d6: Pulling fs layer 03:07:32 93359f2a8cfa: Pulling fs layer 03:07:32 7c6f9722023f: Pulling fs layer 03:07:32 a35cf1a2eb13: Pulling fs layer 03:07:32 bca2f99d35d6: Waiting 03:07:32 7c6f9722023f: Waiting 03:07:32 93359f2a8cfa: Waiting 03:07:32 de9db76c5a1d: Verifying Checksum 03:07:32 de9db76c5a1d: Download complete 03:07:32 0ef7d3d256c8: Verifying Checksum 03:07:32 0ef7d3d256c8: Download complete 03:07:32 93359f2a8cfa: Verifying Checksum 03:07:32 93359f2a8cfa: Download complete 03:07:32 188c0c94c7c5: Verifying Checksum 03:07:32 188c0c94c7c5: Download complete 03:07:32 7c6f9722023f: Verifying Checksum 03:07:32 7c6f9722023f: Download complete 03:07:32 188c0c94c7c5: Pull complete 03:07:33 0ef7d3d256c8: Pull complete 03:07:33 de9db76c5a1d: Pull complete 03:07:34 a35cf1a2eb13: Verifying Checksum 03:07:34 a35cf1a2eb13: Download complete 03:07:35 bca2f99d35d6: Verifying Checksum 03:07:35 bca2f99d35d6: Download complete 03:07:40 bca2f99d35d6: Pull complete 03:07:40 93359f2a8cfa: Pull complete 03:07:40 7c6f9722023f: Pull complete 03:07:46 Removing intermediate container eee1e2a5c215 03:07:46 ---> 766bff5a538d 03:07:46 Successfully built 766bff5a538d 03:07:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:07:46 + docker inspect -f . ci-base-image-arm64 03:07:46 . 03:07:46 a35cf1a2eb13: Pull complete 03:07:46 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 03:07:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:07:46 ---> a62c8e92a672 03:07:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:07:46 ---> Running in 062627b09035 03:07:46 Removing intermediate container 062627b09035 03:07:46 ---> 98b67a2616ca 03:07:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:07:46 ---> Running in d5e65e2488d0 [Pipeline] withDockerContainer 03:07:47 prd-ubuntu18.04-docker-arm64-4c-16g-16979 does not seem to be running inside a container 03:07:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:07:47 Removing intermediate container d5e65e2488d0 03:07:47 ---> 3499103b3b08 03:07:47 Step 5/8 : RUN apk add --no-cache make git 03:07:47 ---> Running in 84d56cea64dd 03:07:48 $ docker top 95158e5372bfbf09e546d3270060f0650d59593bdee8ebb2d849e655be29a3db -eo pid,comm 03:07:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh 03:07:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:07:49 + go version 03:07:49 go version go1.15.5 linux/arm64 [Pipeline] } 03:07:49 $ docker stop --time=1 95158e5372bfbf09e546d3270060f0650d59593bdee8ebb2d849e655be29a3db 03:07:50 OK: 166 MiB in 39 packages 03:07:50 Removing intermediate container 84d56cea64dd 03:07:50 ---> 65bf36d98441 03:07:50 Step 6/8 : WORKDIR /device-sdk-go 03:07:50 ---> Running in 552fa4334e94 03:07:50 Removing intermediate container 552fa4334e94 03:07:50 ---> 9a4ed65564cc 03:07:50 Step 7/8 : COPY . . 03:07:51 $ docker rm -f 95158e5372bfbf09e546d3270060f0650d59593bdee8ebb2d849e655be29a3db [Pipeline] // withDockerContainer [Pipeline] } 03:07:52 ---> 38e0f9015cf7 03:07:52 Step 8/8 : RUN go mod download 03:07:52 ---> Running in ca7deadccf5c [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:07:53 + docker inspect -f . ci-base-image-arm64 03:07:53 . [Pipeline] withDockerContainer 03:07:53 prd-ubuntu18.04-docker-arm64-4c-16g-16979 does not seem to be running inside a container 03:07:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:07:55 $ docker top ad8faffa1b056f1101bbbc5bb077ed65720e643e326d2033618cd9dc04e349de -eo pid,comm [Pipeline] { [Pipeline] sh 03:07:56 + make test 03:07:56 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:08:10 Removing intermediate container ca7deadccf5c 03:08:10 ---> 69d732e19bd8 03:08:10 Successfully built 69d732e19bd8 03:08:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:08:10 + docker inspect -f . ci-base-image-x86_64 03:08:10 . [Pipeline] withDockerContainer 03:08:10 prd-centos7-docker-4c-2g-16980 does not seem to be running inside a container 03:08:11 $ 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 03:08:11 $ docker top d83d3193b61e972b78703117538f6231ea8933f40a0992aa5b3c82d47d0f1777 -eo pid,comm [Pipeline] { [Pipeline] sh 03:08:12 + go version 03:08:12 go version go1.15.5 linux/amd64 [Pipeline] } 03:08:12 $ docker stop --time=1 d83d3193b61e972b78703117538f6231ea8933f40a0992aa5b3c82d47d0f1777 03:08:13 $ docker rm -f d83d3193b61e972b78703117538f6231ea8933f40a0992aa5b3c82d47d0f1777 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:08:14 + docker inspect -f . ci-base-image-x86_64 03:08:14 . [Pipeline] withDockerContainer 03:08:15 prd-centos7-docker-4c-2g-16980 does not seem to be running inside a container 03:08:15 $ 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 03:08:16 $ docker top ef1272149291a011bfb156f48b8826af22c538cfc1a2540af37eec26b4cfa48e -eo pid,comm [Pipeline] { [Pipeline] sh 03:08:16 + make test 03:08:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:08:18 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:08:23 ? github.com/edgexfoundry/device-sdk-go [no test files] 03:08:38 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:08:38 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:08:38 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:08:38 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 19.4% of statements 03:08:39 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.469s coverage: 97.1% of statements 03:08:57 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 03:08:57 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 03:08:57 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 03:08:57 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.124s coverage: 19.4% of statements 03:09:00 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.196s coverage: 97.1% of statements 03:09:11 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 9.4% of statements 03:09:11 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements 03:09:11 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:09:11 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.212s coverage: 42.5% of statements 03:09:11 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:09:11 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.295s coverage: 68.9% of statements 03:09:11 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:09:11 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:09:11 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:09:11 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 03:09:11 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.070s coverage: 53.8% of statements 03:09:11 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 03:09:11 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 03:09:11 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 03:09:11 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.262s coverage: 68.9% of statements 03:09:11 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.053s coverage: 4.2% of statements 03:09:11 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:09:11 GO111MODULE=on go vet ./... 03:09:17 gofmt -l . 03:09:17 [ "`gofmt -l .`" = "" ] 03:09:17 ./bin/test-attribution-txt.sh 03:09:18 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:09:18 $ docker stop --time=1 ef1272149291a011bfb156f48b8826af22c538cfc1a2540af37eec26b4cfa48e 03:09:20 $ docker rm -f ef1272149291a011bfb156f48b8826af22c538cfc1a2540af37eec26b4cfa48e [Pipeline] // withDockerContainer [Pipeline] sh 03:09:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:09:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:09:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:09:24 + ls -al . 03:09:24 total 208 03:09:24 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 21 03:09 . 03:09:24 drwxrwxr-x. 4 jenkins jenkins 28 Dec 21 03:07 .. 03:09:24 drwxrwxr-x. 2 jenkins jenkins 64 Dec 21 03:07 bin 03:09:24 -rw-r--r--. 1 jenkins jenkins 130526 Dec 21 03:09 coverage.out 03:09:24 -rw-rw-r--. 1 jenkins jenkins 936 Dec 21 03:07 Dockerfile.build 03:09:24 -rw-rw-r--. 1 jenkins jenkins 140 Dec 21 03:07 .dockerignore 03:09:24 drwxrwxr-x. 4 jenkins jenkins 48 Dec 21 03:07 example 03:09:24 drwxrwxr-x. 8 jenkins jenkins 179 Dec 21 03:07 .git 03:09:24 drwxrwxr-x. 2 jenkins jenkins 103 Dec 21 03:07 .github 03:09:24 -rw-rw-r--. 1 jenkins jenkins 138 Dec 21 03:07 .gitignore 03:09:24 -rw-r--r--. 1 jenkins jenkins 488 Dec 21 03:09 go.mod 03:09:24 -rw-r--r--. 1 jenkins jenkins 13631 Dec 21 03:09 go.sum 03:09:24 drwxrwxr-x. 15 jenkins jenkins 211 Dec 21 03:07 internal 03:09:24 -rw-rw-r--. 1 jenkins jenkins 901 Dec 21 03:07 Jenkinsfile 03:09:24 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 21 03:07 LICENSE 03:09:24 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 21 03:07 Makefile 03:09:24 drwxrwxr-x. 4 jenkins jenkins 26 Dec 21 03:07 openapi 03:09:24 drwxrwxr-x. 5 jenkins jenkins 50 Dec 21 03:07 pkg 03:09:24 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 21 03:07 README.md 03:09:24 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 21 03:07 RELEASE-NOTES.txt 03:09:24 drwxrwxr-x. 4 jenkins jenkins 54 Dec 21 03:07 snap 03:09:24 -rw-rw-r--. 1 jenkins jenkins 5 Dec 21 03:04 VERSION 03:09:24 -rw-rw-r--. 1 jenkins jenkins 222 Dec 21 03:07 version.go [Pipeline] isUnix [Pipeline] sh 03:09:24 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=0950bb47099977d66490f327b10e1294d49aff53 --label arch=amd64 --label version=0.0.0 . 03:09:25 Sending build context to Docker daemon 2.548MB 03:09:25 Step 1/24 : ARG BASE=golang:1.15-alpine 03:09:25 Step 2/24 : FROM ${BASE} AS builder 03:09:25 ---> 69d732e19bd8 03:09:25 Step 3/24 : ARG MAKE='make build' 03:09:25 ---> Running in 8ead32898d69 03:09:25 Removing intermediate container 8ead32898d69 03:09:25 ---> 3ada36f734fb 03:09:25 Step 4/24 : WORKDIR /device-sdk-go 03:09:25 ---> Running in 8c54cd46ab41 03:09:25 Removing intermediate container 8c54cd46ab41 03:09:25 ---> 9f95c251ddf5 03:09:25 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:09:25 ---> Running in c6e5ebc25687 03:09:26 Removing intermediate container c6e5ebc25687 03:09:26 ---> 6d569ae0f77e 03:09:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:09:26 ---> Running in 04740d593445 03:09:27 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.134s coverage: 9.4% of statements 03:09:27 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.108s coverage: 21.9% of statements 03:09:27 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 03:09:27 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.596s coverage: 42.5% of statements 03:09:27 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 03:09:27 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.794s coverage: 68.9% of statements 03:09:27 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 03:09:27 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 03:09:27 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 03:09:27 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 03:09:27 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.180s coverage: 53.8% of statements 03:09:27 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 03:09:27 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 03:09:27 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 03:09:27 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.160s coverage: 68.9% of statements 03:09:27 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.120s coverage: 4.2% of statements 03:09:27 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 03:09:27 Removing intermediate container 04740d593445 03:09:27 ---> 17e9f64f0eca 03:09:27 Step 7/24 : RUN apk add --update --no-cache make git 03:09:27 ---> Running in 30ffdc1df79f 03:09:27 GO111MODULE=on go vet ./... 03:09:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:09:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:09:28 OK: 166 MiB in 39 packages 03:09:29 Removing intermediate container 30ffdc1df79f 03:09:29 ---> e8845d2618eb 03:09:29 Step 8/24 : COPY . . 03:09:30 ---> 107db7dbab3b 03:09:30 Step 9/24 : RUN ${MAKE} 03:09:30 ---> Running in 7528a1ee34b0 03:09:30 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 03:09:38 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:09:40 Removing intermediate container 7528a1ee34b0 03:09:40 ---> 214d0f677eab 03:09:40 Step 10/24 : FROM scratch 03:09:40 ---> 03:09:40 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:09:40 ---> Running in c04dbf4a7b24 03:09:40 Removing intermediate container c04dbf4a7b24 03:09:40 ---> 2e8e3f52f555 03:09:40 Step 12/24 : ENV APP_PORT=49990 03:09:40 ---> Running in 0407295c9b0c 03:09:40 Removing intermediate container 0407295c9b0c 03:09:40 ---> c3a9e1319fb7 03:09:40 Step 13/24 : EXPOSE $APP_PORT 03:09:40 ---> Running in d8f950d1449b 03:09:41 Removing intermediate container d8f950d1449b 03:09:41 ---> efa1666998ca 03:09:41 Step 14/24 : WORKDIR / 03:09:41 ---> Running in 5936cdeee209 03:09:41 Removing intermediate container 5936cdeee209 03:09:41 ---> 65b9210fc8e3 03:09:41 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:09:41 ---> 93a9d4180cb9 03:09:41 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:09:42 ---> f63e9fdc6422 03:09:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:09:42 ---> bf09a376cfe0 03:09:42 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:09:42 ---> edaa31f3fab4 03:09:42 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:09:42 ---> 63a70ae0b1dc 03:09:42 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:09:42 ---> Running in ca43e44e2da6 03:09:43 Removing intermediate container ca43e44e2da6 03:09:43 ---> 45e37c9a5607 03:09:43 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:09:43 ---> Running in dc4b3ae07678 03:09:43 Removing intermediate container dc4b3ae07678 03:09:43 ---> 5fab9b69eaec 03:09:43 Step 22/24 : LABEL arch=amd64 03:09:43 ---> Running in e869da682b37 03:09:43 Removing intermediate container e869da682b37 03:09:43 ---> 838b3946c6e2 03:09:43 Step 23/24 : LABEL git_sha=0950bb47099977d66490f327b10e1294d49aff53 03:09:43 ---> Running in 4b9d7359308a 03:09:43 Removing intermediate container 4b9d7359308a 03:09:43 ---> c058a30c90fa 03:09:43 Step 24/24 : LABEL version=0.0.0 03:09:43 ---> Running in dbe3322e3550 03:09:43 Removing intermediate container dbe3322e3550 03:09:43 ---> e6f048a311d7 03:09:43 [Warning] One or more build-args [ARCH] were not consumed 03:09:43 Successfully built e6f048a311d7 03:09: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] } 03:09:59 gofmt -l . 03:09:59 [ "`gofmt -l .`" = "" ] 03:09:59 ./bin/test-attribution-txt.sh 03:09:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:09:59 $ docker stop --time=1 ad8faffa1b056f1101bbbc5bb077ed65720e643e326d2033618cd9dc04e349de 03:10:01 $ docker rm -f ad8faffa1b056f1101bbbc5bb077ed65720e643e326d2033618cd9dc04e349de [Pipeline] // withDockerContainer [Pipeline] sh 03:10:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:10:03 Warning: overwriting stash ‘coverage-report’ 03:10:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:10:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:10:05 + ls -al . 03:10:05 total 244 03:10:05 drwxrwxr-x 10 jenkins jenkins 4096 Dec 21 03:09 . 03:10:05 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:06 .. 03:10:05 -rw-rw-r-- 1 jenkins jenkins 140 Dec 21 03:06 .dockerignore 03:10:05 drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 03:06 .git 03:10:05 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 03:06 .github 03:10:05 -rw-rw-r-- 1 jenkins jenkins 138 Dec 21 03:06 .gitignore 03:10:05 -rw-rw-r-- 1 jenkins jenkins 936 Dec 21 03:06 Dockerfile.build 03:10:05 -rw-rw-r-- 1 jenkins jenkins 901 Dec 21 03:06 Jenkinsfile 03:10:05 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 21 03:06 LICENSE 03:10:05 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 21 03:06 Makefile 03:10:05 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 21 03:06 README.md 03:10:05 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 21 03:06 RELEASE-NOTES.txt 03:10:05 -rw-rw-r-- 1 jenkins jenkins 5 Dec 21 03:04 VERSION 03:10:05 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 03:06 bin 03:10:05 -rw-r--r-- 1 jenkins jenkins 130526 Dec 21 03:09 coverage.out 03:10:05 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:06 example 03:10:05 -rw-r--r-- 1 jenkins jenkins 488 Dec 21 03:09 go.mod 03:10:05 -rw-r--r-- 1 jenkins jenkins 13631 Dec 21 03:09 go.sum 03:10:05 drwxrwxr-x 15 jenkins jenkins 4096 Dec 21 03:06 internal 03:10:05 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:06 openapi 03:10:05 drwxrwxr-x 5 jenkins jenkins 4096 Dec 21 03:06 pkg 03:10:05 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 03:06 snap 03:10:05 -rw-rw-r-- 1 jenkins jenkins 222 Dec 21 03:06 version.go [Pipeline] isUnix [Pipeline] sh 03:10:05 + 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=0950bb47099977d66490f327b10e1294d49aff53 --label arch=arm64 --label version=0.0.0 . 03:10:06 Sending build context to Docker daemon 2.547MB 03:10:06 Step 1/24 : ARG BASE=golang:1.15-alpine 03:10:06 Step 2/24 : FROM ${BASE} AS builder 03:10:06 ---> 766bff5a538d 03:10:06 Step 3/24 : ARG MAKE='make build' 03:10:06 ---> Running in 21b9a1af127b 03:10:06 Removing intermediate container 21b9a1af127b 03:10:06 ---> 9d40ff6b0229 03:10:06 Step 4/24 : WORKDIR /device-sdk-go 03:10:06 ---> Running in a3971f0eddfe 03:10:07 Removing intermediate container a3971f0eddfe 03:10:07 ---> c1babde2ad67 03:10:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:10:07 ---> Running in a75e27cfa3a5 03:10:07 Removing intermediate container a75e27cfa3a5 03:10:07 ---> 1e1c80ea7517 03:10:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:10:08 ---> Running in e3c5263388fc 03:10:10 Removing intermediate container e3c5263388fc 03:10:10 ---> d4c892dbb1d9 03:10:10 Step 7/24 : RUN apk add --update --no-cache make git 03:10:10 ---> Running in 1765e28e1367 03:10:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:10:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:10:12 OK: 142 MiB in 39 packages 03:10:13 Removing intermediate container 1765e28e1367 03:10:13 ---> b23925854a8f 03:10:13 Step 8/24 : COPY . . 03:10:14 ---> 1cb091d2099c 03:10:14 Step 9/24 : RUN ${MAKE} 03:10:14 ---> Running in 1761f64b9b0d 03:10:15 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 03:10:42 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:10:42 Removing intermediate container 1761f64b9b0d 03:10:42 ---> 4e62eaa71342 03:10:42 Step 10/24 : FROM scratch 03:10:42 ---> 03:10:42 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:10:42 ---> Running in 6508091965d5 03:10:43 Removing intermediate container 6508091965d5 03:10:43 ---> 6e43f29aa005 03:10:43 Step 12/24 : ENV APP_PORT=49990 03:10:43 ---> Running in 767019291cfc 03:10:43 Removing intermediate container 767019291cfc 03:10:43 ---> 9c3c2a681701 03:10:43 Step 13/24 : EXPOSE $APP_PORT 03:10:43 ---> Running in f9a29d54b8dc 03:10:43 Removing intermediate container f9a29d54b8dc 03:10:43 ---> 729c822c2b81 03:10:43 Step 14/24 : WORKDIR / 03:10:44 ---> Running in fa65db65131e 03:10:44 Removing intermediate container fa65db65131e 03:10:44 ---> 40f3e5149c80 03:10:44 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:10:45 ---> e318be95797e 03:10:45 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:10:46 ---> c81b85f475c3 03:10:46 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:10:47 ---> b6eebf5c44bf 03:10:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 03:10:47 ---> 26f1786f80d3 03:10:47 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 03:10:48 ---> 68a3aea2ead8 03:10:48 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 03:10:48 ---> Running in 0968e588f1cc 03:10:48 Removing intermediate container 0968e588f1cc 03:10:48 ---> 4bd5e55308ed 03:10:48 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:10:49 ---> Running in dc51abc8fa71 03:10:49 Removing intermediate container dc51abc8fa71 03:10:49 ---> 161935e7e4d0 03:10:49 Step 22/24 : LABEL arch=arm64 03:10:49 ---> Running in 42ed7f1effdb 03:10:50 Removing intermediate container 42ed7f1effdb 03:10:50 ---> 7e8cdfc4d72f 03:10:50 Step 23/24 : LABEL git_sha=0950bb47099977d66490f327b10e1294d49aff53 03:10:50 ---> Running in c4b1d549af1c 03:10:50 Removing intermediate container c4b1d549af1c 03:10:50 ---> 7ec471dbced4 03:10:50 Step 24/24 : LABEL version=0.0.0 03:10:50 ---> Running in d323f0de9edf 03:10:51 Removing intermediate container d323f0de9edf 03:10:51 ---> 75e1ca9c1da5 03:10:51 [Warning] One or more build-args [ARCH] were not consumed 03:10:51 Successfully built 75e1ca9c1da5 03:10:51 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 03:10:53 provisioning config files... 03:10:53 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/config1143094827177968833tmp [Pipeline] { [Pipeline] sh 03:10:54 + set +x 03:10:54 + curl -s https://codecov.io/bash 03:10:54 + bash -s -- 03:10:54 03:10:54 _____ _ 03:10:54 / ____| | | 03:10:54 | | ___ __| | ___ ___ _____ __ 03:10:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:10:54 | |___| (_) | (_| | __/ (_| (_) \ V / 03:10:54 \_____\___/ \__,_|\___|\___\___/ \_/ 03:10:54 Bash-20201217-3d3df35 03:10:54 03:10:54 03:10:54 git version 2.24.3 found 03:10:54 curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 03:10:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 03:10:54 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found 03:10:54 ==> Jenkins CI detected. 03:10:54 project root: . 03:10:54 --> token set from env 03:10:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:10:54 ==> Running gcov in . (disable via -X gcov) 03:10:54 ==> Python coveragepy not found 03:10:54 ==> Searching for coverage reports in: 03:10:54 + . 03:10:54 -> Found 1 reports 03:10:54 ==> Detecting git/mercurial file structure 03:10:54 ==> Reading reports 03:10:54 + ./coverage.out bytes=130526 03:10:54 ==> Appending adjustments 03:10:54 https://docs.codecov.io/docs/fixing-reports 03:10:55 + Found adjustments 03:10:55 ==> Gzipping contents 03:10:55 24K /tmp/codecov.QxWI9I.gz 03:10:55 ==> Uploading reports 03:10:55 url: https://codecov.io 03:10:55 query: branch=PR-702&commit=0950bb47099977d66490f327b10e1294d49aff53&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-702%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=702&job=&cmd_args= 03:10:55 -> Pinging Codecov 03:10:55 https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-702&commit=0950bb47099977d66490f327b10e1294d49aff53&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-702%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=702&job=&cmd_args= 03:10:55 -> Uploading to 03:10:55 https://storage.googleapis.com/codecov/v4/raw/2020-12-21/7E55EF52A471D76F132DFD9A03CDDE97/0950bb47099977d66490f327b10e1294d49aff53/a2cb79ce-3f75-4aa6-98a6-27754d255c9a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201221T031055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2bd02dbbf8b45b3fca405a2b1af7bf804119397dff6693c3d7c936803ed4027f 03:10:55 % Total % Received % Xferd Average Speed Time Time Time Current 03:10:55 Dload Upload Total Spent Left Speed 03:10:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21280 0 0 100 21280 0 37151 --:--:-- --:--:-- --:--:-- 37202 03:10:55 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0950bb47099977d66490f327b10e1294d49aff53 [Pipeline] } 03:10:55 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 03:10:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:10:59 ---> package-listing.sh 03:10:59 ++ facter osfamily 03:10:59 ++ tr '[:upper:]' '[:lower:]' 03:10:59 + OS_FAMILY=redhat 03:10:59 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-702 03:10:59 + START_PACKAGES=/tmp/packages_start.txt 03:10:59 + END_PACKAGES=/tmp/packages_end.txt 03:10:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:10:59 + PACKAGES=/tmp/packages_start.txt 03:10:59 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-702 ']' 03:10:59 + PACKAGES=/tmp/packages_end.txt 03:10:59 + case "${OS_FAMILY}" in 03:10:59 + rpm -qa 03:10:59 + sort 03:11:05 + '[' -f /tmp/packages_start.txt ']' 03:11:05 + '[' -f /tmp/packages_end.txt ']' 03:11:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:11:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-702 ']' 03:11:05 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-702/archives/ 03:11:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-702/archives/ [Pipeline] echo 03:11:05 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-702/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:11:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:11:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:11:05 03:11:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:11:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:11:06 alpine: Pulling from edgex-lftools-log-publisher 03:11:06 df20fa9351a1: Pulling fs layer 03:11:06 36b3adc4ff6f: Pulling fs layer 03:11:06 8ad3a11d3b57: Pulling fs layer 03:11:06 46f8f816bc3b: Pulling fs layer 03:11:06 93b61091891f: Pulling fs layer 03:11:06 93b9cdb0e59b: Pulling fs layer 03:11:06 5e14af77c1be: Pulling fs layer 03:11:06 01666e4c0597: Pulling fs layer 03:11:06 aa168da1d23b: Pulling fs layer 03:11:06 46f8f816bc3b: Waiting 03:11:06 93b61091891f: Waiting 03:11:06 93b9cdb0e59b: Waiting 03:11:06 5e14af77c1be: Waiting 03:11:06 aa168da1d23b: Waiting 03:11:06 36b3adc4ff6f: Verifying Checksum 03:11:06 36b3adc4ff6f: Download complete 03:11:06 46f8f816bc3b: Verifying Checksum 03:11:06 46f8f816bc3b: Download complete 03:11:06 df20fa9351a1: Download complete 03:11:06 93b61091891f: Verifying Checksum 03:11:06 93b61091891f: Download complete 03:11:06 93b9cdb0e59b: Download complete 03:11:06 5e14af77c1be: Verifying Checksum 03:11:06 5e14af77c1be: Download complete 03:11:06 01666e4c0597: Verifying Checksum 03:11:06 01666e4c0597: Download complete 03:11:06 8ad3a11d3b57: Verifying Checksum 03:11:06 8ad3a11d3b57: Download complete 03:11:06 df20fa9351a1: Pull complete 03:11:07 36b3adc4ff6f: Pull complete 03:11:07 8ad3a11d3b57: Pull complete 03:11:07 46f8f816bc3b: Pull complete 03:11:08 aa168da1d23b: Verifying Checksum 03:11:08 aa168da1d23b: Download complete 03:11:09 93b61091891f: Pull complete 03:11:09 93b9cdb0e59b: Pull complete 03:11:09 5e14af77c1be: Pull complete 03:11:09 01666e4c0597: Pull complete 03:11:16 aa168da1d23b: Pull complete 03:11:16 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:11:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:11:16 prd-centos7-docker-4c-2g-16977 does not seem to be running inside a container 03:11:16 $ 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-702/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-702 -v /w/workspace/dgexfoundry_device-sdk-go_PR-702:/w/workspace/dgexfoundry_device-sdk-go_PR-702:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-702@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 03:11:23 $ docker top c24befb8665c7d6a93f9f8a3db41d4a6d7aa053e0db74e183941216b47ba09f0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:23 + touch /tmp/pre-build-complete [Pipeline] sh 03:11:23 + mkdir -p /var/log/sa [Pipeline] sh 03:11:24 + ls /var/log/sa-host 03:11:24 + sadf -c /var/log/sa-host/sa21 03:11:24 file_magic: OK 03:11:24 HZ: Using current value: 100 03:11:24 file_header: OK 03:11:24 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 03:11:24 Statistics: 03:11:24 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:11:24 File successfully converted to sysstat format version 12.2.1 03:11:24 + sadf -c /var/log/sa-host/sa23 03:11:24 file_magic: OK 03:11:24 HZ: Using current value: 100 03:11:24 file_header: OK 03:11:24 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 03:11:24 Statistics: 03:11:24 Hnuu...uuuununununu... 03:11:24 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:11:24 provisioning config files... 03:11:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp/config4090339679800268501tmp [Pipeline] { [Pipeline] echo 03:11:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:11:25 ---> create-netrc.sh [Pipeline] } 03:11:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:11:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:11:26 ---> python-tools-install.sh [Pipeline] echo 03:11:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:11:26 ---> sudo-logs.sh 03:11:26 Archiving 'sudo' log.. [Pipeline] echo 03:11:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:11:26 ---> job-cost.sh 03:11:26 lf-activate-venv: SKIPPING 03:11:26 INFO: No Stack... 03:11:27 INFO: Retrieving Pricing Info for: v1-standard-2 03:11:28 INFO: Archiving Costs [Pipeline] echo 03:11:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:11:28 ---> logs-deploy.sh 03:11:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-702/1 03:11:28 INFO: archiving workspace using pattern(s): 03:11:30 Archives upload complete. 03:11:30 INFO: archiving logs to Nexus 03:11:31 ---> uname -a: 03:11:31 Linux prd-centos7-docker-4c-2g-16977.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 03:11:31 03:11:31 03:11:31 ---> lscpu: 03:11:31 Architecture: x86_64 03:11:31 CPU op-mode(s): 32-bit, 64-bit 03:11:31 Byte Order: Little Endian 03:11:31 Address sizes: 40 bits physical, 48 bits virtual 03:11:31 CPU(s): 4 03:11:31 On-line CPU(s) list: 0-3 03:11:31 Thread(s) per core: 1 03:11:31 Core(s) per socket: 1 03:11:31 Socket(s): 4 03:11:31 NUMA node(s): 1 03:11:31 Vendor ID: GenuineIntel 03:11:31 CPU family: 6 03:11:31 Model: 44 03:11:31 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 03:11:31 Stepping: 1 03:11:31 CPU MHz: 2933.442 03:11:31 BogoMIPS: 5866.88 03:11:31 Virtualization: VT-x 03:11:31 Hypervisor vendor: KVM 03:11:31 Virtualization type: full 03:11:31 L1d cache: 128 KiB 03:11:31 L1i cache: 128 KiB 03:11:31 L2 cache: 16 MiB 03:11:31 L3 cache: 64 MiB 03:11:31 NUMA node0 CPU(s): 0-3 03:11:31 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 03:11:31 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 03:11:31 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 03:11:31 Vulnerability Meltdown: Mitigation; PTI 03:11:31 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:11:31 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 03:11:31 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 03:11:31 Vulnerability Srbds: Not affected 03:11:31 Vulnerability Tsx async abort: Not affected 03:11:31 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 03:11:31 03:11:31 03:11:31 ---> nproc: 03:11:31 4 03:11:31 03:11:31 03:11:31 ---> df -h: 03:11:31 Filesystem Size Used Available Use% Mounted on 03:11:31 overlay 50.0G 7.3G 42.7G 15% / 03:11:31 tmpfs 64.0M 0 64.0M 0% /dev 03:11:31 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 03:11:31 shm 64.0M 0 64.0M 0% /dev/shm 03:11:31 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 03:11:31 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 03:11:31 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 03:11:31 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 03:11:31 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-702 03:11:31 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-702@tmp 03:11:31 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 03:11:31 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 03:11:31 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 03:11:31 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 03:11:31 03:11:31 03:11:31 ---> free -m: 03:11:31 total used free shared buff/cache available 03:11:31 Mem: 1837 721 95 0 1020 1010 03:11:31 Swap: 1023 1 1022 03:11:31 03:11:31 03:11:31 ---> ip addr: 03:11:31 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 03:11:31 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 03:11:31 inet 127.0.0.1/8 scope host lo 03:11:31 valid_lft forever preferred_lft forever 03:11:31 inet6 ::1/128 scope host 03:11:31 valid_lft forever preferred_lft forever 03:11:31 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 03:11:31 link/ether fa:16:3e:0e:8f:a8 brd ff:ff:ff:ff:ff:ff 03:11:31 inet 10.30.122.222/23 brd 10.30.123.255 scope global dynamic eth0 03:11:31 valid_lft 85922sec preferred_lft 85922sec 03:11:31 inet6 fe80::f816:3eff:fe0e:8fa8/64 scope link 03:11:31 valid_lft forever preferred_lft forever 03:11:31 3: docker0: mtu 1500 qdisc noqueue state DOWN 03:11:31 link/ether 02:42:d7:37:e6:d4 brd ff:ff:ff:ff:ff:ff 03:11:31 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 03:11:31 valid_lft forever preferred_lft forever 03:11:31 inet6 fe80::42:d7ff:fe37:e6d4/64 scope link 03:11:31 valid_lft forever preferred_lft forever 03:11:31 03:11:31 03:11:31 ---> sar -b -r -n DEV: 03:11:31 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/21/20 _x86_64_ (4 CPU) 03:11:31 03:11:31 03:03:19 LINUX RESTART (4 CPU) 03:11:31 03:11:31 03:04:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 03:11:31 03:05:01 35.29 12.40 22.89 0.00 4662.90 3252.26 0.00 03:11:31 03:06:01 1.08 0.00 1.08 0.00 0.00 22.20 0.00 03:11:31 03:07:01 0.28 0.00 0.28 0.00 0.00 4.66 0.00 03:11:31 03:08:01 0.23 0.00 0.23 0.00 0.00 3.05 0.00 03:11:31 03:09:01 0.22 0.00 0.22 0.00 0.00 2.50 0.00 03:11:31 03:10:01 0.65 0.00 0.65 0.00 0.00 7.74 0.00 03:11:31 03:11:01 19.65 18.83 0.82 0.00 2326.19 17.90 0.00 03:11:31 Average: 8.07 4.42 3.65 0.00 981.13 459.74 0.00 03:11:31 03:11:31 03:04:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 03:11:31 03:05:01 163780 0 618932 32.89 2620 1096212 1091056 37.24 406692 1112180 16 03:11:31 03:06:01 167272 0 615432 32.71 2620 1096220 1069912 36.51 406484 1109424 12 03:11:31 03:07:01 167660 0 615040 32.69 2620 1096224 1057744 36.10 420264 1095424 8 03:11:31 03:08:01 165916 0 616784 32.78 2620 1096224 1057744 36.10 422244 1095244 8 03:11:31 03:09:01 166548 0 616144 32.75 2620 1096232 1057672 36.10 428040 1089020 16 03:11:31 03:10:01 167432 0 615256 32.70 2620 1096236 1057576 36.09 427560 1089020 8 03:11:31 03:11:01 71884 0 640776 34.06 2620 1166264 1094376 37.35 452820 1157872 76 03:11:31 Average: 152927 0 619766 32.94 2620 1106230 1069440 36.50 423443 1106883 21 03:11:31 03:11:31 03:04:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 03:11:31 03:05:01 eth0 92.80 77.97 377.02 34.50 0.00 0.00 0.00 0.00 03:11:31 03:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 03:05:01 docker0 11.14 8.53 1.51 21.47 0.00 0.00 0.00 0.00 03:11:31 03:06:01 eth0 3.86 1.55 2.85 0.10 0.00 0.00 0.00 0.00 03:11:31 03:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 03:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 03:07:01 eth0 1.07 0.33 0.32 0.20 0.00 0.00 0.00 0.00 03:11:31 03:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 03:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 03:08:01 eth0 0.57 0.32 0.27 0.20 0.00 0.00 0.00 0.00 03:11:31 03:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 03:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 03:09:01 eth0 0.27 0.20 0.14 0.07 0.00 0.00 0.00 0.00 03:11:31 03:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 03:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 03:10:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 03:11:31 03:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 03:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 03:11:01 eth0 9.31 5.78 9.00 3.36 0.00 0.00 0.00 0.00 03:11:31 03:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 03:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 Average: eth0 15.06 12.01 54.14 5.35 0.00 0.00 0.00 0.00 03:11:31 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 03:11:31 Average: docker0 1.55 1.18 0.21 2.98 0.00 0.00 0.00 0.00 03:11:31 03:11:31 03:11:31 ---> sar -P ALL: 03:11:31 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/21/20 _x86_64_ (4 CPU) 03:11:31 03:11:31 03:03:19 LINUX RESTART (4 CPU) 03:11:31 03:11:31 03:04:03 CPU %user %nice %system %iowait %steal %idle 03:11:31 03:05:01 all 3.11 0.00 1.97 0.67 0.00 94.24 03:11:31 03:05:01 0 3.10 0.00 2.41 0.95 0.00 93.54 03:11:31 03:05:01 1 2.79 0.00 1.42 0.75 0.00 95.04 03:11:31 03:05:01 2 3.22 0.00 1.90 0.74 0.00 94.13 03:11:31 03:05:01 3 3.34 0.00 2.15 0.24 0.02 94.25 03:11:31 03:06:01 all 0.19 0.00 0.04 0.00 0.00 99.77 03:11:31 03:06:01 0 0.08 0.00 0.03 0.00 0.00 99.88 03:11:31 03:06:01 1 0.07 0.00 0.05 0.00 0.00 99.88 03:11:31 03:06:01 2 0.05 0.00 0.03 0.00 0.02 99.90 03:11:31 03:06:01 3 0.55 0.00 0.03 0.00 0.00 99.42 03:11:31 03:07:01 all 0.17 0.00 0.06 0.00 0.00 99.76 03:11:31 03:07:01 0 0.05 0.00 0.08 0.00 0.00 99.87 03:11:31 03:07:01 1 0.07 0.00 0.05 0.00 0.02 99.87 03:11:31 03:07:01 2 0.05 0.00 0.07 0.00 0.00 99.88 03:11:31 03:07:01 3 0.53 0.00 0.03 0.00 0.00 99.43 03:11:31 03:08:01 all 0.16 0.00 0.02 0.00 0.00 99.83 03:11:31 03:08:01 0 0.02 0.00 0.00 0.00 0.00 99.98 03:11:31 03:08:01 1 0.05 0.00 0.03 0.00 0.00 99.92 03:11:31 03:08:01 2 0.08 0.00 0.02 0.00 0.00 99.90 03:11:31 03:08:01 3 0.48 0.00 0.02 0.00 0.00 99.50 03:11:31 03:09:01 all 0.15 0.00 0.04 0.00 0.00 99.81 03:11:31 03:09:01 0 0.03 0.00 0.08 0.00 0.00 99.88 03:11:31 03:09:01 1 0.03 0.00 0.03 0.00 0.00 99.93 03:11:31 03:09:01 2 0.03 0.00 0.02 0.00 0.00 99.95 03:11:31 03:09:01 3 0.52 0.00 0.02 0.00 0.00 99.47 03:11:31 03:10:01 all 0.15 0.00 0.03 0.00 0.00 99.82 03:11:31 03:10:01 0 0.02 0.00 0.03 0.00 0.00 99.95 03:11:31 03:10:01 1 0.03 0.00 0.02 0.00 0.00 99.95 03:11:31 03:10:01 2 0.03 0.00 0.03 0.00 0.00 99.93 03:11:31 03:10:01 3 0.52 0.00 0.03 0.00 0.00 99.45 03:11:31 03:11:01 all 0.88 0.00 0.35 0.43 0.00 98.33 03:11:31 03:11:01 0 0.77 0.00 0.57 0.02 0.02 98.63 03:11:31 03:11:01 1 0.53 0.00 0.20 0.03 0.00 99.23 03:11:31 03:11:01 2 0.52 0.00 0.20 0.02 0.00 99.27 03:11:31 03:11:01 3 1.68 0.00 0.45 1.67 0.00 96.20 03:11:31 Average: all 0.67 0.00 0.35 0.16 0.00 98.82 03:11:31 Average: 0 0.57 0.00 0.45 0.13 0.00 98.85 03:11:31 Average: 1 0.50 0.00 0.25 0.11 0.00 99.14 03:11:31 Average: 2 0.56 0.00 0.32 0.11 0.00 99.02 03:11:31 Average: 3 1.08 0.00 0.38 0.27 0.00 98.27 03:11:31 03:11:31 03:11:31