Pull request #687 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 2bf6939be2d68e2cd71cd1ab83ae18800bd73949+c21ff6277396b81a1001baea71274dd2dd19f737 (d89897bfcbc4f6d8227cfa19d759af5284f2d964) 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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-687/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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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-687/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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15358 in /w/workspace/dgexfoundry_device-sdk-go_PR-687 [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-687 # 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/687/head:refs/remotes/origin/PR-687 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 Merge succeeded, producing 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 Checking out Revision 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 (PR-687) > git config core.sparsecheckout # timeout=10 > git checkout -f 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 # 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 c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 # timeout=10 Commit message: "fix: use pointer on Executor to correctly update it" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:57:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:57:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:57:09 ========================================================= 08:57:09 EdgeX Global Pipelines Version Info 08:57:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:57:10 ------------------- 08:57:10 stable info: 08:57:10 ------------------- 08:57:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:57:10 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 08:57:10 Message: update stable to v1.0.172 08:57:11 ------------------- 08:57:11 experimental info: 08:57:11 ------------------- 08:57:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:57:11 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 08:57:11 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:57:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:57:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:57:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:57:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:57:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:57:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:57:12 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:57:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:57:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:57:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:57:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:57:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:57:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:57:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:57:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:57:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:57:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:57:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:57:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:57:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:57:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:57:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:57:15 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 08:57:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-687 [Pipeline] echo 08:57:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-687 [Pipeline] echo 08:57:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-687 [Pipeline] echo 08:57:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 [Pipeline] echo 08:57:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bf6939 [Pipeline] echo 08:57:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:57:16 provisioning config files... 08:57:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-687@tmp/config2651562029558922786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:57:16 ---> docker-login.sh 08:57:16 nexus3.edgexfoundry.org:10001 08:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:17 Configure a credential helper to remove this warning. See 08:57:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:17 08:57:17 Login Succeeded 08:57:17 nexus3.edgexfoundry.org:10002 08:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:17 Configure a credential helper to remove this warning. See 08:57:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:17 08:57:17 Login Succeeded 08:57:17 nexus3.edgexfoundry.org:10003 08:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:17 Configure a credential helper to remove this warning. See 08:57:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:17 08:57:17 Login Succeeded 08:57:17 nexus3.edgexfoundry.org:10004 08:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:17 Configure a credential helper to remove this warning. See 08:57:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:17 08:57:17 Login Succeeded 08:57:17 docker.io 08:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:57:18 Configure a credential helper to remove this warning. See 08:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:57:18 08:57:18 Login Succeeded 08:57:18 ---> docker-login.sh ends [Pipeline] } 08:57:18 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 08:57:19 + git log --format=format:%s -1 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 [Pipeline] echo 08:57:19 GIT_COMMIT: 2bf6939be2d68e2cd71cd1ab83ae18800bd73949, Commit Message: fix: use pointer on Executor to correctly update it [Pipeline] echo 08:57:19 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:57:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:57:20 08:57:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:57:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:57:21 latest: Pulling from edgex-devops/git-semver 08:57:21 31603596830f: Pulling fs layer 08:57:21 2a8b12db71e7: Pulling fs layer 08:57:21 6ca5941a6612: Pulling fs layer 08:57:21 ecc8261a40a4: Pulling fs layer 08:57:21 ecc8261a40a4: Waiting 08:57:21 2a8b12db71e7: Verifying Checksum 08:57:21 2a8b12db71e7: Download complete 08:57:21 31603596830f: Verifying Checksum 08:57:21 31603596830f: Download complete 08:57:21 ecc8261a40a4: Verifying Checksum 08:57:21 ecc8261a40a4: Download complete 08:57:21 6ca5941a6612: Verifying Checksum 08:57:21 6ca5941a6612: Download complete 08:57:21 31603596830f: Pull complete 08:57:21 2a8b12db71e7: Pull complete 08:57:22 6ca5941a6612: Pull complete 08:57:22 ecc8261a40a4: Pull complete 08:57:22 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:57:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:57:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:57:22 prd-centos7-docker-4c-2g-15358 does not seem to be running inside a container 08:57:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-687 -v /w/workspace/dgexfoundry_device-sdk-go_PR-687:/w/workspace/dgexfoundry_device-sdk-go_PR-687:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-687@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-687@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 08:57:25 $ docker top 8385797c062b52cfdde5c0b8b89958be18c8ca76635acbac5dc1166cb4d8e862 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:57:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:57:25 [ssh-agent] Looking for ssh-agent implementation... 08:57:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:57:25 $ docker exec 8385797c062b52cfdde5c0b8b89958be18c8ca76635acbac5dc1166cb4d8e862 ssh-agent 08:57:26 SSH_AUTH_SOCK=/tmp/ssh-zk37ggfwjSkz/agent.11 08:57:26 SSH_AGENT_PID=16 08:57:26 Running ssh-add (command line suppressed) 08:57:26 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-687@tmp/private_key_7170522554504942732.key (/w/workspace/dgexfoundry_device-sdk-go_PR-687@tmp/private_key_7170522554504942732.key) 08:57:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:57:26 + git tag --points-at HEAD [Pipeline] } 08:57:26 $ docker exec --env ******** --env ******** 8385797c062b52cfdde5c0b8b89958be18c8ca76635acbac5dc1166cb4d8e862 ssh-agent -k 08:57:26 unset SSH_AUTH_SOCK; 08:57:26 unset SSH_AGENT_PID; 08:57:26 echo Agent pid 16 killed; 08:57:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:57:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:57:27 [ssh-agent] Looking for ssh-agent implementation... 08:57:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:57:27 $ docker exec 8385797c062b52cfdde5c0b8b89958be18c8ca76635acbac5dc1166cb4d8e862 ssh-agent 08:57:27 SSH_AUTH_SOCK=/tmp/ssh-3S4p5F4HyqWo/agent.45 08:57:27 SSH_AGENT_PID=50 08:57:27 Running ssh-add (command line suppressed) 08:57:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-687@tmp/private_key_3483783172543222467.key (/w/workspace/dgexfoundry_device-sdk-go_PR-687@tmp/private_key_3483783172543222467.key) 08:57:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:57:28 + git semver init 08:57:28 # -> Open(): unable to determine branch for HEAD 08:57:28 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-687/.git 08:57:28 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-687 08:57:28 # $SEMVER_REMOTE_NAME = origin 08:57:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:57:28 # $SEMVER_USER_NAME = edgex-jenkins 08:57:28 # $SEMVER_BRANCH = PR-687 08:57:28 # $SEMVER_TEMP = /tmp/semver-467275378 08:57:28 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:57:28 # '/tmp/semver-467275378' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-687/.semver' 08:57:28 # -> Force: false 08:57:28 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-687/.semver [Pipeline] } 08:57:28 $ docker exec --env ******** --env ******** 8385797c062b52cfdde5c0b8b89958be18c8ca76635acbac5dc1166cb4d8e862 ssh-agent -k 08:57:28 unset SSH_AUTH_SOCK; 08:57:28 unset SSH_AGENT_PID; 08:57:28 echo Agent pid 50 killed; 08:57:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:57:29 + git semver [Pipeline] } 08:57:29 $ docker stop --time=1 8385797c062b52cfdde5c0b8b89958be18c8ca76635acbac5dc1166cb4d8e862 08:57:31 $ docker rm -f 8385797c062b52cfdde5c0b8b89958be18c8ca76635acbac5dc1166cb4d8e862 [Pipeline] // withDockerContainer [Pipeline] sh 08:57:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:57:32 Stashed 1 file(s) [Pipeline] echo 08:57:32 [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 08:57:48 Still waiting to schedule task 08:57:48 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:57:48 Still waiting to schedule task 08:57:48 ‘prd-ubuntu18.04-docker-arm64-4c-16g-15356’ is offline 08:59:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15359 in /w/workspace/dgexfoundry_device-sdk-go_PR-687 [Pipeline] { [Pipeline] ws 08:59:34 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:59:35 Running on prd-centos7-docker-4c-2g-15360 in /w/workspace/dgexfoundry_device-sdk-go_PR-687 [Pipeline] { [Pipeline] ws 08:59:35 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:59:37 using credential edgex-jenkins-ssh 08:59:37 Cloning the remote Git repository 08:59:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:59:37 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:59:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:59:38 > git --version # timeout=10 08:59:38 > git --version # 'git version 2.24.3' 08:59:38 using GIT_SSH to set credentials SSH Credentials for GitHub 08:59:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:59:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:59:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:59:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:59:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:59:38 using GIT_SSH to set credentials SSH Credentials for GitHub 08:59:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/687/head:refs/remotes/origin/PR-687 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:59:39 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 08:59:39 using credential edgex-jenkins-ssh 08:59:39 Merge succeeded, producing 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 08:59:39 Checking out Revision 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 (PR-687) 08:59:39 Cloning the remote Git repository 08:59:39 > git config core.sparsecheckout # timeout=10 08:59:39 > git checkout -f 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 # timeout=10 08:59:39 > git remote # timeout=10 08:59:39 > git config --get remote.origin.url # timeout=10 08:59:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:59:39 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 08:59:39 > git rev-parse HEAD^{commit} # timeout=10 08:59:39 > git config core.sparsecheckout # timeout=10 08:59:39 > git checkout -f 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 # timeout=10 08:59:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:59:39 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:59:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:59:39 > git --version # timeout=10 08:59:39 > git --version # 'git version 2.17.1' 08:59:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:59:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:59:41 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 08:59:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:59:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:59:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:59:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:59:41 using GIT_SSH to set credentials SSH Credentials for GitHub 08:59:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/687/head:refs/remotes/origin/PR-687 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:59:41 > git config core.sparsecheckout # timeout=10 08:59:41 > git checkout -f 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 # timeout=10 08:59:42 Merge succeeded, producing 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 08:59:42 Checking out Revision 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 (PR-687) 08:59:43 Commit message: "fix: use pointer on Executor to correctly update it" 08:59:43 > git --version # timeout=10 08:59:43 > git --version # 'git version 2.24.3' 08:59:43 fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 08:59:41 > git remote # timeout=10 08:59:41 > git config --get remote.origin.url # timeout=10 08:59:41 using GIT_SSH to set credentials SSH Credentials for GitHub 08:59:41 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 08:59:42 > git rev-parse HEAD^{commit} # timeout=10 08:59:42 > git config core.sparsecheckout # timeout=10 08:59:42 > git checkout -f 2bf6939be2d68e2cd71cd1ab83ae18800bd73949 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:59:44 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:59:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:59:45 + sudo service docker restart 08:59:45 + true 08:59:45 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { 08:59:46 Commit message: "fix: use pointer on Executor to correctly update it" [Pipeline] wrap 08:59:46 provisioning config files... 08:59:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8769656048903714246tmp 08:59:46 > git --version # timeout=10 08:59:46 > git --version # 'git version 2.17.1' 08:59:46 fatal: bad object 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:46 ---> docker-login.sh 08:59:46 nexus3.edgexfoundry.org:10001 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage 08:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:47 Configure a credential helper to remove this warning. See 08:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:47 08:59:47 Login Succeeded 08:59:47 nexus3.edgexfoundry.org:10002 08:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:47 Configure a credential helper to remove this warning. See 08:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:47 08:59:47 Login Succeeded 08:59:47 nexus3.edgexfoundry.org:10003 08:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:47 Configure a credential helper to remove this warning. See 08:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:47 08:59:47 Login Succeeded 08:59:47 nexus3.edgexfoundry.org:10004 08:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:47 Configure a credential helper to remove this warning. See 08:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:47 08:59:47 Login Succeeded 08:59:47 docker.io 08:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:48 Configure a credential helper to remove this warning. See 08:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:48 08:59:48 Login Succeeded 08:59:48 ---> docker-login.sh ends [Pipeline] } 08:59:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } 08:59:48 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] // withEnv [Pipeline] unstash [Pipeline] sh [Pipeline] echo 08:59:48 ========================================================= 08:59:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:59:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:59:48 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:59:49 + 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 . 08:59:49 Sending build context to Docker daemon 2.385MB 08:59:49 Step 1/8 : ARG BASE=golang:1.15-alpine 08:59:49 Step 2/8 : FROM ${BASE} 08:59:49 + + sudo service dockertrue restart 08:59:49 08:59:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:59:49 188c0c94c7c5: Pulling fs layer 08:59:49 0ef7d3d256c8: Pulling fs layer 08:59:49 de9db76c5a1d: Pulling fs layer 08:59:49 bca2f99d35d6: Pulling fs layer 08:59:49 93359f2a8cfa: Pulling fs layer 08:59:49 7c6f9722023f: Pulling fs layer 08:59:49 a35cf1a2eb13: Pulling fs layer 08:59:49 93359f2a8cfa: Waiting 08:59:49 7c6f9722023f: Waiting 08:59:49 a35cf1a2eb13: Waiting 08:59:49 bca2f99d35d6: Waiting 08:59:49 de9db76c5a1d: Verifying Checksum 08:59:49 de9db76c5a1d: Download complete 08:59:49 0ef7d3d256c8: Verifying Checksum 08:59:49 0ef7d3d256c8: Download complete 08:59:49 93359f2a8cfa: Verifying Checksum 08:59:49 93359f2a8cfa: Download complete 08:59:49 7c6f9722023f: Verifying Checksum 08:59:49 7c6f9722023f: Download complete 08:59:49 188c0c94c7c5: Verifying Checksum 08:59:49 188c0c94c7c5: Download complete 08:59:49 188c0c94c7c5: Pull complete 08:59:49 0ef7d3d256c8: Pull complete 08:59:49 de9db76c5a1d: Pull complete 08:59:51 a35cf1a2eb13: Verifying Checksum 08:59:51 a35cf1a2eb13: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:59:52 provisioning config files... 08:59:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3449393415129015808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:52 bca2f99d35d6: Verifying Checksum 08:59:52 bca2f99d35d6: Download complete 08:59:52 ---> docker-login.sh 08:59:52 nexus3.edgexfoundry.org:10001 08:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:53 Configure a credential helper to remove this warning. See 08:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:53 08:59:53 Login Succeeded 08:59:53 nexus3.edgexfoundry.org:10002 08:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:54 Configure a credential helper to remove this warning. See 08:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:54 08:59:54 Login Succeeded 08:59:54 nexus3.edgexfoundry.org:10003 08:59:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:54 Configure a credential helper to remove this warning. See 08:59:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:54 08:59:54 Login Succeeded 08:59:54 nexus3.edgexfoundry.org:10004 08:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:55 Configure a credential helper to remove this warning. See 08:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:55 08:59:55 Login Succeeded 08:59:55 docker.io 08:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:59:56 Configure a credential helper to remove this warning. See 08:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:59:56 08:59:56 Login Succeeded 08:59:56 ---> docker-login.sh ends [Pipeline] } 08:59:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 08:59:56 bca2f99d35d6: Pull complete [Pipeline] echo 08:59:56 ========================================================= 08:59:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:59:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:59:57 93359f2a8cfa: Pull complete 08:59:57 7c6f9722023f: Pull complete 08:59:57 + 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 . 08:59:57 Sending build context to Docker daemon 2.384MB 08:59:57 Step 1/8 : ARG BASE=golang:1.15-alpine 08:59:57 Step 2/8 : FROM ${BASE} 08:59:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:59:57 5f621e34cdf4: Pulling fs layer 08:59:57 a4357932f1b6: Pulling fs layer 08:59:57 18c013af1878: Pulling fs layer 08:59:57 00ac8860ef70: Pulling fs layer 08:59:57 63d7cb157983: Pulling fs layer 08:59:57 b116817d02f9: Pulling fs layer 08:59:57 745a02a5169b: Pulling fs layer 08:59:57 00ac8860ef70: Waiting 08:59:57 63d7cb157983: Waiting 08:59:57 b116817d02f9: Waiting 08:59:57 745a02a5169b: Waiting 08:59:57 18c013af1878: Verifying Checksum 08:59:57 18c013af1878: Download complete 08:59:57 a4357932f1b6: Verifying Checksum 08:59:57 a4357932f1b6: Download complete 08:59:57 63d7cb157983: Verifying Checksum 08:59:57 63d7cb157983: Download complete 08:59:57 b116817d02f9: Verifying Checksum 08:59:57 b116817d02f9: Download complete 08:59:58 5f621e34cdf4: Verifying Checksum 08:59:58 5f621e34cdf4: Download complete 08:59:58 5f621e34cdf4: Pull complete 08:59:59 a4357932f1b6: Pull complete 08:59:59 18c013af1878: Pull complete 08:59:59 745a02a5169b: Verifying Checksum 08:59:59 745a02a5169b: Download complete 09:00:01 a35cf1a2eb13: Pull complete 09:00:01 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:00:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:00:01 ---> a62c8e92a672 09:00:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:00:01 ---> Running in 87266dd169b1 09:00:01 00ac8860ef70: Verifying Checksum 09:00:01 00ac8860ef70: Download complete 09:00:01 Removing intermediate container 87266dd169b1 09:00:01 ---> 62c786f0c1a4 09:00:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:00:01 ---> Running in aff3f7d11973 09:00:02 Removing intermediate container aff3f7d11973 09:00:02 ---> ba05f13697d8 09:00:02 Step 5/8 : RUN apk add --no-cache make git 09:00:02 ---> Running in 8b7eef2f0d42 09:00:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:00:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:00:05 OK: 166 MiB in 39 packages 09:00:05 Removing intermediate container 8b7eef2f0d42 09:00:05 ---> 22f6b65eb0ab 09:00:05 Step 6/8 : WORKDIR /device-sdk-go 09:00:05 ---> Running in 084d78c7f409 09:00:05 Removing intermediate container 084d78c7f409 09:00:05 ---> 38ff5ed914dc 09:00:05 Step 7/8 : COPY . . 09:00:06 ---> c7d0cedb3d44 09:00:06 Step 8/8 : RUN go mod download 09:00:07 ---> Running in 2eb2bfbb400e 09:00:11 00ac8860ef70: Pull complete 09:00:11 63d7cb157983: Pull complete 09:00:12 b116817d02f9: Pull complete 09:00:16 745a02a5169b: Pull complete 09:00:16 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:00:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:00:16 ---> b7e6874047d6 09:00:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:00:19 ---> Running in 86033249c9ef 09:00:19 Removing intermediate container 86033249c9ef 09:00:19 ---> 8899f17fce32 09:00:19 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:00:19 ---> Running in 310f55981a17 09:00:21 Removing intermediate container 310f55981a17 09:00:21 ---> 9884e13b8475 09:00:21 Step 5/8 : RUN apk add --no-cache make git 09:00:21 ---> Running in 1345abd7fe04 09:00:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:00:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:00:24 OK: 142 MiB in 39 packages 09:00:25 Removing intermediate container 2eb2bfbb400e 09:00:25 ---> 7f751fbe44bc 09:00:25 Successfully built 7f751fbe44bc 09:00:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:00:25 Removing intermediate container 1345abd7fe04 09:00:25 ---> 4a13d24d8b9d 09:00:25 Step 6/8 : WORKDIR /device-sdk-go 09:00:25 + docker inspect -f . ci-base-image-x86_64 09:00:25 . 09:00:25 ---> Running in 10206ec12810 [Pipeline] withDockerContainer 09:00:25 prd-centos7-docker-4c-2g-15360 does not seem to be running inside a container 09:00:25 $ 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 09:00:26 Removing intermediate container 10206ec12810 09:00:26 ---> 9937fe187c6a 09:00:26 Step 7/8 : COPY . . 09:00:26 $ docker top 2a62c7ff813f141e83520890a62a4dd78a884a7c7c00b153d02d0dff95c37cc7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:27 + go version 09:00:27 go version go1.15.5 linux/amd64 [Pipeline] } 09:00:27 $ docker stop --time=1 2a62c7ff813f141e83520890a62a4dd78a884a7c7c00b153d02d0dff95c37cc7 09:00:27 ---> 5552a407a41f 09:00:27 Step 8/8 : RUN go mod download 09:00:27 ---> Running in 3157061da6f5 09:00:28 $ docker rm -f 2a62c7ff813f141e83520890a62a4dd78a884a7c7c00b153d02d0dff95c37cc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:00:29 + docker inspect -f . ci-base-image-x86_64 09:00:29 . [Pipeline] withDockerContainer 09:00:29 prd-centos7-docker-4c-2g-15360 does not seem to be running inside a container 09:00:29 $ 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 09:00:30 $ docker top cf37a9cfad8faccda740466ee24fc6b2cbbb28e96202d028d94b3c8e3d041e9a -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:30 + make test 09:00:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:00:37 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:00:49 Removing intermediate container 3157061da6f5 09:00:49 ---> 55a4e630d874 09:00:49 Successfully built 55a4e630d874 09:00:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:00:50 + docker inspect -f . ci-base-image-arm64 09:00:50 . [Pipeline] withDockerContainer 09:00:50 prd-ubuntu18.04-docker-arm64-4c-16g-15359 does not seem to be running inside a container 09:00:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:00:52 $ docker top df98b8405084da9504ac3d4c682057d1fa7d65e1a322ccdc8ab529a50edadc70 -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:52 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:00:52 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:00:52 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:00:52 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.045s coverage: 20.6% of statements 09:00:52 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.440s coverage: 97.1% of statements 09:00:53 + go version 09:00:53 go version go1.15.5 linux/arm64 [Pipeline] } 09:00:53 $ docker stop --time=1 df98b8405084da9504ac3d4c682057d1fa7d65e1a322ccdc8ab529a50edadc70 09:00:55 $ docker rm -f df98b8405084da9504ac3d4c682057d1fa7d65e1a322ccdc8ab529a50edadc70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:00:56 + docker inspect -f . ci-base-image-arm64 09:00:56 . [Pipeline] withDockerContainer 09:00:56 prd-ubuntu18.04-docker-arm64-4c-16g-15359 does not seem to be running inside a container 09:00:56 $ 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-arm64 cat 09:00:58 $ docker top 76a7fbd3f66c1449457091f175dc4349d28ecf66db2c578ecc217ef5a51e1c6f -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:59 + make test 09:00:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:01:21 ? github.com/edgexfoundry/device-sdk-go [no test files] 09:01:25 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 9.4% of statements 09:01:25 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.053s coverage: 21.9% of statements 09:01:25 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:01:25 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.198s coverage: 42.5% of statements 09:01:25 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:01:25 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.264s coverage: 68.9% of statements 09:01:25 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:01:25 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:01:25 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:01:25 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:01:25 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.073s coverage: 52.6% of statements 09:01:25 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:01:25 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:01:25 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:01:25 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.206s coverage: 68.9% of statements 09:01:25 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.053s coverage: 4.7% of statements 09:01:25 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:01:25 GO111MODULE=on go vet ./... 09:01:31 gofmt -l . 09:01:31 [ "`gofmt -l .`" = "" ] 09:01:31 ./bin/test-attribution-txt.sh 09:01:31 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:01:31 $ docker stop --time=1 cf37a9cfad8faccda740466ee24fc6b2cbbb28e96202d028d94b3c8e3d041e9a 09:01:33 $ docker rm -f cf37a9cfad8faccda740466ee24fc6b2cbbb28e96202d028d94b3c8e3d041e9a [Pipeline] // withDockerContainer [Pipeline] sh 09:01:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:01:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:01:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:01:36 + ls -al . 09:01:36 total 208 09:01:36 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 10 09:01 . 09:01:36 drwxrwxr-x. 4 jenkins jenkins 28 Dec 10 08:59 .. 09:01:36 drwxrwxr-x. 2 jenkins jenkins 64 Dec 10 08:59 bin 09:01:36 -rw-r--r--. 1 jenkins jenkins 127610 Dec 10 09:01 coverage.out 09:01:36 -rw-rw-r--. 1 jenkins jenkins 936 Dec 10 08:59 Dockerfile.build 09:01:36 -rw-rw-r--. 1 jenkins jenkins 140 Dec 10 08:59 .dockerignore 09:01:36 drwxrwxr-x. 4 jenkins jenkins 48 Dec 10 08:59 example 09:01:36 drwxrwxr-x. 8 jenkins jenkins 179 Dec 10 08:59 .git 09:01:36 drwxrwxr-x. 2 jenkins jenkins 103 Dec 10 08:59 .github 09:01:36 -rw-rw-r--. 1 jenkins jenkins 138 Dec 10 08:59 .gitignore 09:01:36 -rw-r--r--. 1 jenkins jenkins 518 Dec 10 09:01 go.mod 09:01:36 -rw-r--r--. 1 jenkins jenkins 13631 Dec 10 09:01 go.sum 09:01:36 drwxrwxr-x. 15 jenkins jenkins 211 Dec 10 08:59 internal 09:01:36 -rw-rw-r--. 1 jenkins jenkins 901 Dec 10 08:59 Jenkinsfile 09:01:36 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 10 08:59 LICENSE 09:01:36 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 10 08:59 Makefile 09:01:36 drwxrwxr-x. 4 jenkins jenkins 26 Dec 10 08:59 openapi 09:01:36 drwxrwxr-x. 5 jenkins jenkins 50 Dec 10 08:59 pkg 09:01:36 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 10 08:59 README.md 09:01:36 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 10 08:59 RELEASE-NOTES.txt 09:01:36 drwxrwxr-x. 4 jenkins jenkins 54 Dec 10 08:59 snap 09:01:36 -rw-rw-r--. 1 jenkins jenkins 5 Dec 10 08:57 VERSION 09:01:36 -rw-rw-r--. 1 jenkins jenkins 222 Dec 10 08:59 version.go [Pipeline] isUnix [Pipeline] sh 09:01:36 + 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=2bf6939be2d68e2cd71cd1ab83ae18800bd73949 --label arch=amd64 --label version=0.0.0 . 09:01:36 Sending build context to Docker daemon 2.514MB 09:01:36 Step 1/24 : ARG BASE=golang:1.15-alpine 09:01:36 Step 2/24 : FROM ${BASE} AS builder 09:01:36 ---> 7f751fbe44bc 09:01:36 Step 3/24 : ARG MAKE='make build' 09:01:37 ---> Running in a39cd8c0fc58 09:01:37 Removing intermediate container a39cd8c0fc58 09:01:37 ---> 71987e4f65c5 09:01:37 Step 4/24 : WORKDIR /device-sdk-go 09:01:37 ---> Running in 7a348b5c76fe 09:01:37 Removing intermediate container 7a348b5c76fe 09:01:37 ---> a8a2eb879565 09:01:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:01:37 ---> Running in 161db8de0ead 09:01:38 Removing intermediate container 161db8de0ead 09:01:38 ---> b4b668b7e096 09:01:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:01:38 ---> Running in 75f770548bb0 09:01:38 Removing intermediate container 75f770548bb0 09:01:38 ---> a0e2d8cfcf23 09:01:38 Step 7/24 : RUN apk add --update --no-cache make git 09:01:38 ---> Running in 089b1ea071d7 09:01:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:01:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:01:40 OK: 166 MiB in 39 packages 09:01:41 Removing intermediate container 089b1ea071d7 09:01:41 ---> bbaeb4c24b8a 09:01:41 Step 8/24 : COPY . . 09:01:42 ---> d0fabfe45ee0 09:01:42 Step 9/24 : RUN ${MAKE} 09:01:42 ---> Running in 79c8eebb0a6a 09:01:42 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 09:01:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:01:52 Removing intermediate container 79c8eebb0a6a 09:01:52 ---> db05cbadf4e7 09:01:52 Step 10/24 : FROM scratch 09:01:52 ---> 09:01:52 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:01:52 ---> Running in 0713a4437bf5 09:01:52 Removing intermediate container 0713a4437bf5 09:01:52 ---> 8fd2f5163b44 09:01:52 Step 12/24 : ENV APP_PORT=49990 09:01:52 ---> Running in 2bb89eeb2609 09:01:52 Removing intermediate container 2bb89eeb2609 09:01:52 ---> ba3bfd27b1b5 09:01:52 Step 13/24 : EXPOSE $APP_PORT 09:01:52 ---> Running in 535bc8eef4b5 09:01:52 Removing intermediate container 535bc8eef4b5 09:01:52 ---> adeac612b1b0 09:01:52 Step 14/24 : WORKDIR / 09:01:52 ---> Running in 798e506e0dfa 09:01:52 Removing intermediate container 798e506e0dfa 09:01:52 ---> 471a14312ae2 09:01:52 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:01:53 ---> a7b310c93049 09:01:53 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:01:53 ---> 4efd5e20f67d 09:01:53 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:01:53 ---> e6a547e53edd 09:01:53 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:01:54 ---> 855b11d75422 09:01:54 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:01:54 ---> 6975235b81d1 09:01:54 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:01:54 ---> Running in 348014f9e2ce 09:01:54 Removing intermediate container 348014f9e2ce 09:01:54 ---> 8be88003e555 09:01:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:01:54 ---> Running in 743528b495a2 09:01:54 Removing intermediate container 743528b495a2 09:01:54 ---> 012b6c40becb 09:01:54 Step 22/24 : LABEL arch=amd64 09:01:55 ---> Running in d69b8766a334 09:01:55 Removing intermediate container d69b8766a334 09:01:55 ---> 398c74bc9df4 09:01:55 Step 23/24 : LABEL git_sha=2bf6939be2d68e2cd71cd1ab83ae18800bd73949 09:01:55 ---> Running in ed57e4ac144f 09:01:55 Removing intermediate container ed57e4ac144f 09:01:55 ---> 7c57947ee7ae 09:01:55 Step 24/24 : LABEL version=0.0.0 09:01:55 ---> Running in 24f4c00a5280 09:01:55 Removing intermediate container 24f4c00a5280 09:01:55 ---> 606834d0a29b 09:01:55 [Warning] One or more build-args [ARCH] were not consumed 09:01:55 Successfully built 606834d0a29b 09:01:55 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] } 09:02:00 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 09:02:00 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 09:02:00 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 09:02:00 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.138s coverage: 20.6% of statements 09:02:05 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.176s coverage: 97.1% of statements 09:02:31 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.137s coverage: 9.4% of statements 09:02:31 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.140s coverage: 21.9% of statements 09:02:31 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 09:02:31 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.574s coverage: 42.5% of statements 09:02:31 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 09:02:31 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.783s coverage: 68.9% of statements 09:02:31 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 09:02:31 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 09:02:31 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 09:02:31 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 09:02:31 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.189s coverage: 52.6% of statements 09:02:31 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 09:02:31 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 09:02:31 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 09:02:31 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.997s coverage: 68.9% of statements 09:02:31 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.121s coverage: 4.7% of statements 09:02:31 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 09:02:32 GO111MODULE=on go vet ./... 09:03:04 gofmt -l . 09:03:04 [ "`gofmt -l .`" = "" ] 09:03:04 ./bin/test-attribution-txt.sh 09:03:04 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:03:04 $ docker stop --time=1 76a7fbd3f66c1449457091f175dc4349d28ecf66db2c578ecc217ef5a51e1c6f 09:03:06 $ docker rm -f 76a7fbd3f66c1449457091f175dc4349d28ecf66db2c578ecc217ef5a51e1c6f [Pipeline] // withDockerContainer [Pipeline] sh 09:03:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:03:08 Warning: overwriting stash ‘coverage-report’ 09:03:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:03:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:03:10 + ls -al . 09:03:10 total 244 09:03:10 drwxrwxr-x 10 jenkins jenkins 4096 Dec 10 09:03 . 09:03:10 drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 08:59 .. 09:03:10 -rw-rw-r-- 1 jenkins jenkins 140 Dec 10 08:59 .dockerignore 09:03:10 drwxrwxr-x 8 jenkins jenkins 4096 Dec 10 08:59 .git 09:03:10 drwxrwxr-x 2 jenkins jenkins 4096 Dec 10 08:59 .github 09:03:10 -rw-rw-r-- 1 jenkins jenkins 138 Dec 10 08:59 .gitignore 09:03:10 -rw-rw-r-- 1 jenkins jenkins 936 Dec 10 08:59 Dockerfile.build 09:03:10 -rw-rw-r-- 1 jenkins jenkins 901 Dec 10 08:59 Jenkinsfile 09:03:10 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 10 08:59 LICENSE 09:03:10 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 10 08:59 Makefile 09:03:10 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 10 08:59 README.md 09:03:10 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 10 08:59 RELEASE-NOTES.txt 09:03:10 -rw-rw-r-- 1 jenkins jenkins 5 Dec 10 08:57 VERSION 09:03:10 drwxrwxr-x 2 jenkins jenkins 4096 Dec 10 08:59 bin 09:03:10 -rw-r--r-- 1 jenkins jenkins 127610 Dec 10 09:02 coverage.out 09:03:10 drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 08:59 example 09:03:10 -rw-r--r-- 1 jenkins jenkins 518 Dec 10 09:03 go.mod 09:03:10 -rw-r--r-- 1 jenkins jenkins 13631 Dec 10 09:03 go.sum 09:03:10 drwxrwxr-x 15 jenkins jenkins 4096 Dec 10 08:59 internal 09:03:10 drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 08:59 openapi 09:03:10 drwxrwxr-x 5 jenkins jenkins 4096 Dec 10 08:59 pkg 09:03:10 drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 08:59 snap 09:03:10 -rw-rw-r-- 1 jenkins jenkins 222 Dec 10 08:59 version.go [Pipeline] isUnix [Pipeline] sh 09:03:10 + 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=2bf6939be2d68e2cd71cd1ab83ae18800bd73949 --label arch=arm64 --label version=0.0.0 . 09:03:11 Sending build context to Docker daemon 2.513MB 09:03:11 Step 1/24 : ARG BASE=golang:1.15-alpine 09:03:11 Step 2/24 : FROM ${BASE} AS builder 09:03:11 ---> 55a4e630d874 09:03:11 Step 3/24 : ARG MAKE='make build' 09:03:11 ---> Running in d7e767f38c19 09:03:12 Removing intermediate container d7e767f38c19 09:03:12 ---> fe05dacdf34e 09:03:12 Step 4/24 : WORKDIR /device-sdk-go 09:03:12 ---> Running in 5477cc81eb3f 09:03:12 Removing intermediate container 5477cc81eb3f 09:03:12 ---> 05569e64c9df 09:03:12 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:03:12 ---> Running in 21834c46c69a 09:03:13 Removing intermediate container 21834c46c69a 09:03:13 ---> b5e4a5d369c2 09:03:13 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:03:13 ---> Running in 6dcc055813fa 09:03:15 Removing intermediate container 6dcc055813fa 09:03:15 ---> 1ea63716aa62 09:03:15 Step 7/24 : RUN apk add --update --no-cache make git 09:03:15 ---> Running in 1e710596a130 09:03:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:03:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:03:18 OK: 142 MiB in 39 packages 09:03:19 Removing intermediate container 1e710596a130 09:03:19 ---> 27fa6a72a1ea 09:03:19 Step 8/24 : COPY . . 09:03:20 ---> 41659ffedde0 09:03:20 Step 9/24 : RUN ${MAKE} 09:03:20 ---> Running in a1b278b815b9 09:03:21 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:03:48 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:03:49 Removing intermediate container a1b278b815b9 09:03:49 ---> 389ae3f358f2 09:03:49 Step 10/24 : FROM scratch 09:03:49 ---> 09:03:49 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:03:49 ---> Running in 2e735b2762a5 09:03:49 Removing intermediate container 2e735b2762a5 09:03:49 ---> a56db67208f6 09:03:49 Step 12/24 : ENV APP_PORT=49990 09:03:49 ---> Running in edddd620d45a 09:03:50 Removing intermediate container edddd620d45a 09:03:50 ---> 67f91cb7289a 09:03:50 Step 13/24 : EXPOSE $APP_PORT 09:03:50 ---> Running in c3dbfe9c0b5c 09:03:50 Removing intermediate container c3dbfe9c0b5c 09:03:50 ---> a5d1781e7e64 09:03:50 Step 14/24 : WORKDIR / 09:03:50 ---> Running in c65fabd311a9 09:03:51 Removing intermediate container c65fabd311a9 09:03:51 ---> 3d8dfdb16011 09:03:51 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:03:52 ---> 746e41e640c7 09:03:52 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:03:53 ---> bed39a332905 09:03:53 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:03:53 ---> 1591cecabb7b 09:03:53 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:03:54 ---> cd5adb5bb95d 09:03:54 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:03:55 ---> 994f88cef2f1 09:03:55 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:03:55 ---> Running in d1762884b3b8 09:03:55 Removing intermediate container d1762884b3b8 09:03:55 ---> a30eb172416f 09:03:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:03:55 ---> Running in 979a417062fe 09:03:56 Removing intermediate container 979a417062fe 09:03:56 ---> ad94129c5596 09:03:56 Step 22/24 : LABEL arch=arm64 09:03:56 ---> Running in 62a702e6b806 09:03:56 Removing intermediate container 62a702e6b806 09:03:56 ---> a2239a0c3200 09:03:56 Step 23/24 : LABEL git_sha=2bf6939be2d68e2cd71cd1ab83ae18800bd73949 09:03:56 ---> Running in 36c83f509425 09:03:57 Removing intermediate container 36c83f509425 09:03:57 ---> 556c56c40a2a 09:03:57 Step 24/24 : LABEL version=0.0.0 09:03:57 ---> Running in 52b2f6842f15 09:03:57 Removing intermediate container 52b2f6842f15 09:03:57 ---> 9f8d2d978a13 09:03:57 [Warning] One or more build-args [ARCH] were not consumed 09:03:58 Successfully built 9f8d2d978a13 09:03:58 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 09:04:00 provisioning config files... 09:04:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-687@tmp/config3129984576999133494tmp [Pipeline] { [Pipeline] sh 09:04:01 + set +x 09:04:01 + curl -s https://codecov.io/bash 09:04:01 + bash -s -- 09:04:01 09:04:01 _____ _ 09:04:01 / ____| | | 09:04:01 | | ___ __| | ___ ___ _____ __ 09:04:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:04:01 | |___| (_) | (_| | __/ (_| (_) \ V / 09:04:01 \_____\___/ \__,_|\___|\___\___/ \_/ 09:04:01 Bash-20201130-cc6d3fe 09:04:01 09:04:01 09:04:01 ==> Jenkins CI detected. 09:04:01 project root: . 09:04:01 --> token set from env 09:04:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:04:01 ==> Running gcov in . (disable via -X gcov) 09:04:01 ==> Python coveragepy not found 09:04:01 ==> Searching for coverage reports in: 09:04:01 + . 09:04:01 -> Found 1 reports 09:04:01 ==> Detecting git/mercurial file structure 09:04:01 ==> Reading reports 09:04:01 + ./coverage.out bytes=127610 09:04:01 ==> Appending adjustments 09:04:01 https://docs.codecov.io/docs/fixing-reports 09:04:01 + Found adjustments 09:04:01 ==> Gzipping contents 09:04:01 24K /tmp/codecov.WTdOzb.gz 09:04:01 ==> Uploading reports 09:04:01 url: https://codecov.io 09:04:01 query: branch=PR-687&commit=2bf6939be2d68e2cd71cd1ab83ae18800bd73949&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-687%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=687&job=&cmd_args= 09:04:01 -> Pinging Codecov 09:04:01 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-687&commit=2bf6939be2d68e2cd71cd1ab83ae18800bd73949&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-687%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=687&job=&cmd_args= 09:04:02 -> Uploading to 09:04:02 https://storage.googleapis.com/codecov/v4/raw/2020-12-10/7E55EF52A471D76F132DFD9A03CDDE97/2bf6939be2d68e2cd71cd1ab83ae18800bd73949/7d0dcced-72d3-4816-b74b-858d3cf8196f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201210%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201210T090402Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18afcecf5f0a50a141761d3379ac3abb61cf504987b46d1f4df14aa3f7d233fb 09:04:02 % Total % Received % Xferd Average Speed Time Time Time Current 09:04:02 Dload Upload Total Spent Left Speed 09:04:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20877 0 0 100 20877 0 38893 --:--:-- --:--:-- --:--:-- 38877 09:04:02 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2bf6939be2d68e2cd71cd1ab83ae18800bd73949 [Pipeline] } 09:04:03 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 09:04:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:04:07 ---> package-listing.sh 09:04:07 ++ facter osfamily 09:04:07 ++ tr '[:upper:]' '[:lower:]' 09:04:07 + OS_FAMILY=redhat 09:04:07 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-687 09:04:07 + START_PACKAGES=/tmp/packages_start.txt 09:04:07 + END_PACKAGES=/tmp/packages_end.txt 09:04:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:04:07 + PACKAGES=/tmp/packages_start.txt 09:04:07 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-687 ']' 09:04:07 + PACKAGES=/tmp/packages_end.txt 09:04:07 + case "${OS_FAMILY}" in 09:04:07 + rpm -qa 09:04:07 + sort 09:04:12 + '[' -f /tmp/packages_start.txt ']' 09:04:12 + '[' -f /tmp/packages_end.txt ']' 09:04:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:04:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-687 ']' 09:04:12 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-687/archives/ 09:04:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-687/archives/ [Pipeline] echo 09:04:12 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-687/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:04:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:04:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:04:13 09:04:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:04:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:04:13 alpine: Pulling from edgex-lftools-log-publisher 09:04:13 df20fa9351a1: Pulling fs layer 09:04:13 36b3adc4ff6f: Pulling fs layer 09:04:13 8ad3a11d3b57: Pulling fs layer 09:04:13 46f8f816bc3b: Pulling fs layer 09:04:13 93b61091891f: Pulling fs layer 09:04:13 93b9cdb0e59b: Pulling fs layer 09:04:13 5e14af77c1be: Pulling fs layer 09:04:13 01666e4c0597: Pulling fs layer 09:04:13 aa168da1d23b: Pulling fs layer 09:04:13 46f8f816bc3b: Waiting 09:04:13 93b61091891f: Waiting 09:04:13 93b9cdb0e59b: Waiting 09:04:13 01666e4c0597: Waiting 09:04:13 aa168da1d23b: Waiting 09:04:13 5e14af77c1be: Waiting 09:04:13 36b3adc4ff6f: Verifying Checksum 09:04:13 36b3adc4ff6f: Download complete 09:04:14 46f8f816bc3b: Verifying Checksum 09:04:14 46f8f816bc3b: Download complete 09:04:14 df20fa9351a1: Download complete 09:04:14 93b9cdb0e59b: Verifying Checksum 09:04:14 93b9cdb0e59b: Download complete 09:04:14 5e14af77c1be: Verifying Checksum 09:04:14 5e14af77c1be: Download complete 09:04:14 93b61091891f: Verifying Checksum 09:04:14 93b61091891f: Download complete 09:04:14 01666e4c0597: Verifying Checksum 09:04:14 01666e4c0597: Download complete 09:04:14 df20fa9351a1: Pull complete 09:04:14 36b3adc4ff6f: Pull complete 09:04:14 8ad3a11d3b57: Verifying Checksum 09:04:14 8ad3a11d3b57: Download complete 09:04:15 8ad3a11d3b57: Pull complete 09:04:15 46f8f816bc3b: Pull complete 09:04:16 aa168da1d23b: Verifying Checksum 09:04:16 aa168da1d23b: Download complete 09:04:16 93b61091891f: Pull complete 09:04:16 93b9cdb0e59b: Pull complete 09:04:17 5e14af77c1be: Pull complete 09:04:17 01666e4c0597: Pull complete 09:04:23 aa168da1d23b: Pull complete 09:04:23 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:04:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:04:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:04:23 prd-centos7-docker-4c-2g-15358 does not seem to be running inside a container 09:04:23 $ 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-687/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-687 -v /w/workspace/dgexfoundry_device-sdk-go_PR-687:/w/workspace/dgexfoundry_device-sdk-go_PR-687:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-687@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-687@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 09:04:27 $ docker top 6dff49fdca1ae759e22af3c63697ed6d20e062c32a95d8592f06dd9901b57441 -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:28 + touch /tmp/pre-build-complete [Pipeline] sh 09:04:28 + mkdir -p /var/log/sa [Pipeline] sh 09:04:28 + ls /var/log/sa-host 09:04:28 + sadf -c /var/log/sa-host/sa10 09:04:28 file_magic: OK 09:04:28 HZ: Using current value: 100 09:04:28 file_header: OK 09:04:28 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 09:04:28 Statistics: 09:04:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:04:28 File successfully converted to sysstat format version 12.2.1 09:04:28 + sadf -c /var/log/sa-host/sa23 09:04:28 file_magic: OK 09:04:28 HZ: Using current value: 100 09:04:28 file_header: OK 09:04:28 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 09:04:28 Statistics: 09:04:28 Hnuu...uuuununununu... 09:04:28 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:04:29 provisioning config files... 09:04:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-687@tmp/config5887728295901302896tmp [Pipeline] { [Pipeline] echo 09:04:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:04:29 ---> create-netrc.sh [Pipeline] } 09:04:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:04:30 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:04:30 ---> python-tools-install.sh [Pipeline] echo 09:04:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:04:30 ---> sudo-logs.sh 09:04:30 Archiving 'sudo' log.. [Pipeline] echo 09:04:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:04:31 ---> job-cost.sh 09:04:31 lf-activate-venv: SKIPPING 09:04:31 INFO: No Stack... 09:04:32 INFO: Retrieving Pricing Info for: v1-standard-2 09:04:33 INFO: Archiving Costs [Pipeline] echo 09:04:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:04:33 ---> logs-deploy.sh 09:04:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-687/1 09:04:33 INFO: archiving workspace using pattern(s): 09:04:35 Archives upload complete. 09:04:35 INFO: archiving logs to Nexus 09:04:36 ---> uname -a: 09:04:36 Linux prd-centos7-docker-4c-2g-15358.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 09:04:36 09:04:36 09:04:36 ---> lscpu: 09:04:36 Architecture: x86_64 09:04:36 CPU op-mode(s): 32-bit, 64-bit 09:04:36 Byte Order: Little Endian 09:04:36 Address sizes: 40 bits physical, 48 bits virtual 09:04:36 CPU(s): 4 09:04:36 On-line CPU(s) list: 0-3 09:04:36 Thread(s) per core: 1 09:04:36 Core(s) per socket: 1 09:04:36 Socket(s): 4 09:04:36 NUMA node(s): 1 09:04:36 Vendor ID: GenuineIntel 09:04:36 CPU family: 6 09:04:36 Model: 44 09:04:36 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 09:04:36 Stepping: 1 09:04:36 CPU MHz: 2933.442 09:04:36 BogoMIPS: 5866.88 09:04:36 Virtualization: VT-x 09:04:36 Hypervisor vendor: KVM 09:04:36 Virtualization type: full 09:04:36 L1d cache: 128 KiB 09:04:36 L1i cache: 128 KiB 09:04:36 L2 cache: 16 MiB 09:04:36 L3 cache: 64 MiB 09:04:36 NUMA node0 CPU(s): 0-3 09:04:36 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 09:04:36 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 09:04:36 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 09:04:36 Vulnerability Meltdown: Mitigation; PTI 09:04:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:04:36 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 09:04:36 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 09:04:36 Vulnerability Srbds: Not affected 09:04:36 Vulnerability Tsx async abort: Not affected 09:04:36 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 09:04:36 09:04:36 09:04:36 ---> nproc: 09:04:36 4 09:04:36 09:04:36 09:04:36 ---> df -h: 09:04:36 Filesystem Size Used Available Use% Mounted on 09:04:36 overlay 50.0G 7.3G 42.7G 15% / 09:04:36 tmpfs 64.0M 0 64.0M 0% /dev 09:04:36 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 09:04:36 shm 64.0M 0 64.0M 0% /dev/shm 09:04:36 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 09:04:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 09:04:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 09:04:36 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 09:04:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 09:04:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 09:04:36 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 09:04:36 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-687 09:04:36 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-687@tmp 09:04:36 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 09:04:36 09:04:36 09:04:36 ---> free -m: 09:04:36 total used free shared buff/cache available 09:04:36 Mem: 1837 712 86 0 1037 1020 09:04:36 Swap: 1023 0 1023 09:04:36 09:04:36 09:04:36 ---> ip addr: 09:04:36 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 09:04:36 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 09:04:36 inet 127.0.0.1/8 scope host lo 09:04:36 valid_lft forever preferred_lft forever 09:04:36 inet6 ::1/128 scope host 09:04:36 valid_lft forever preferred_lft forever 09:04:36 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 09:04:36 link/ether fa:16:3e:2c:f8:bc brd ff:ff:ff:ff:ff:ff 09:04:36 inet 10.30.123.225/23 brd 10.30.123.255 scope global dynamic eth0 09:04:36 valid_lft 85917sec preferred_lft 85917sec 09:04:36 inet6 fe80::f816:3eff:fe2c:f8bc/64 scope link 09:04:36 valid_lft forever preferred_lft forever 09:04:36 3: docker0: mtu 1500 qdisc noqueue state DOWN 09:04:36 link/ether 02:42:86:78:24:d5 brd ff:ff:ff:ff:ff:ff 09:04:36 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 09:04:36 valid_lft forever preferred_lft forever 09:04:36 inet6 fe80::42:86ff:fe78:24d5/64 scope link 09:04:36 valid_lft forever preferred_lft forever 09:04:36 09:04:36 09:04:36 ---> sar -b -r -n DEV: 09:04:36 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/10/20 _x86_64_ (4 CPU) 09:04:36 09:04:36 08:56:20 LINUX RESTART (4 CPU) 09:04:36 09:04:36 08:57:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:04:36 08:58:01 48.76 12.32 36.43 0.00 4510.45 3270.98 0.00 09:04:36 08:59:01 1.62 0.00 1.62 0.00 0.00 28.88 0.00 09:04:36 09:00:01 0.28 0.00 0.28 0.00 0.00 3.35 0.00 09:04:36 09:01:01 0.35 0.02 0.33 0.00 0.13 4.16 0.00 09:04:36 09:02:01 0.38 0.08 0.30 0.00 1.60 4.78 0.00 09:04:36 09:03:01 0.35 0.00 0.35 0.00 0.00 4.70 0.00 09:04:36 09:04:01 0.30 0.05 0.25 0.00 3.60 2.56 0.00 09:04:36 Average: 7.34 1.76 5.58 0.00 636.05 467.64 0.00 09:04:36 09:04:36 08:57:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:04:36 08:58:01 170740 0 578692 30.76 2620 1129492 1104648 37.70 379712 1131548 20 09:04:36 08:59:01 172724 0 576700 30.65 2620 1129500 1077248 36.76 380700 1128776 20 09:04:36 09:00:01 172132 0 577288 30.68 2620 1129504 1077392 36.77 390764 1119512 16 09:04:36 09:01:01 170900 0 578464 30.74 2620 1129560 1079588 36.84 392428 1118884 20 09:04:36 09:02:01 171140 0 578152 30.73 2620 1129632 1077852 36.79 408828 1102592 12 09:04:36 09:03:01 171844 0 577440 30.69 2620 1129640 1077756 36.78 408420 1102592 12 09:04:36 09:04:01 166028 0 582824 30.98 2620 1130072 1081932 36.92 412708 1102740 344 09:04:36 Average: 170787 0 578509 30.75 2620 1129629 1082345 36.94 396223 1115235 63 09:04:36 09:04:36 08:57:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:04:36 08:58:01 eth0 202.81 151.85 504.17 46.43 0.00 0.00 0.00 0.00 09:04:36 08:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 08:58:01 docker0 10.17 7.52 1.47 20.65 0.00 0.00 0.00 0.00 09:04:36 08:59:01 eth0 0.90 0.02 0.08 0.00 0.00 0.00 0.00 0.00 09:04:36 08:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 08:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 09:00:01 eth0 0.80 0.37 0.30 0.17 0.00 0.00 0.00 0.00 09:04:36 09:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 09:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 09:01:01 eth0 0.12 0.08 0.01 0.04 0.00 0.00 0.00 0.00 09:04:36 09:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 09:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 09:02:01 eth0 0.25 0.18 0.14 0.07 0.00 0.00 0.00 0.00 09:04:36 09:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 09:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 09:03:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 09:04:36 09:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 09:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 09:04:01 eth0 3.33 1.90 3.21 0.80 0.00 0.00 0.00 0.00 09:04:36 09:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 09:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 Average: eth0 29.35 21.76 71.55 6.70 0.00 0.00 0.00 0.00 09:04:36 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 09:04:36 Average: docker0 1.43 1.06 0.21 2.91 0.00 0.00 0.00 0.00 09:04:36 09:04:36 09:04:36 ---> sar -P ALL: 09:04:36 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/10/20 _x86_64_ (4 CPU) 09:04:36 09:04:36 08:56:20 LINUX RESTART (4 CPU) 09:04:36 09:04:36 08:57:02 CPU %user %nice %system %iowait %steal %idle 09:04:36 08:58:01 all 4.16 0.00 2.59 1.44 0.03 91.79 09:04:36 08:58:01 0 3.74 0.00 2.74 0.38 0.03 93.11 09:04:36 08:58:01 1 5.06 0.00 2.42 0.26 0.03 92.23 09:04:36 08:58:01 2 3.72 0.00 2.56 0.97 0.02 92.73 09:04:36 08:58:01 3 4.13 0.00 2.63 4.15 0.02 89.08 09:04:36 08:59:01 all 0.17 0.00 0.05 0.00 0.00 99.78 09:04:36 08:59:01 0 0.53 0.00 0.03 0.00 0.00 99.43 09:04:36 08:59:01 1 0.07 0.00 0.07 0.00 0.00 99.87 09:04:36 08:59:01 2 0.05 0.00 0.05 0.00 0.00 99.90 09:04:36 08:59:01 3 0.03 0.00 0.05 0.00 0.00 99.92 09:04:36 09:00:01 all 0.17 0.00 0.04 0.00 0.00 99.79 09:04:36 09:00:01 0 0.53 0.00 0.05 0.00 0.00 99.42 09:04:36 09:00:01 1 0.07 0.00 0.03 0.00 0.00 99.90 09:04:36 09:00:01 2 0.07 0.00 0.07 0.00 0.00 99.87 09:04:36 09:00:01 3 0.02 0.00 0.02 0.00 0.00 99.97 09:04:36 09:01:01 all 0.05 0.00 0.04 0.00 0.00 99.90 09:04:36 09:01:01 0 0.03 0.00 0.03 0.00 0.00 99.93 09:04:36 09:01:01 1 0.12 0.00 0.03 0.00 0.00 99.85 09:04:36 09:01:01 2 0.03 0.00 0.03 0.00 0.00 99.93 09:04:36 09:01:01 3 0.03 0.00 0.05 0.02 0.00 99.90 09:04:36 09:02:01 all 0.16 0.00 0.10 0.00 0.00 99.74 09:04:36 09:02:01 0 0.03 0.00 0.08 0.00 0.00 99.88 09:04:36 09:02:01 1 0.48 0.00 0.03 0.00 0.00 99.48 09:04:36 09:02:01 2 0.05 0.00 0.22 0.00 0.00 99.73 09:04:36 09:02:01 3 0.07 0.00 0.07 0.00 0.00 99.87 09:04:36 09:03:01 all 0.15 0.00 0.03 0.00 0.00 99.82 09:04:36 09:03:01 0 0.00 0.00 0.02 0.00 0.00 99.98 09:04:36 09:03:01 1 0.52 0.00 0.03 0.00 0.00 99.45 09:04:36 09:03:01 2 0.03 0.00 0.03 0.00 0.00 99.93 09:04:36 09:03:01 3 0.03 0.00 0.05 0.00 0.00 99.92 09:04:36 09:04:01 all 0.39 0.00 0.15 0.00 0.00 99.45 09:04:36 09:04:01 0 0.47 0.00 0.25 0.00 0.00 99.28 09:04:36 09:04:01 1 0.73 0.00 0.10 0.02 0.00 99.15 09:04:36 09:04:01 2 0.23 0.00 0.10 0.00 0.00 99.67 09:04:36 09:04:01 3 0.13 0.00 0.15 0.00 0.02 99.70 09:04:36 Average: all 0.74 0.00 0.42 0.20 0.00 98.63 09:04:36 Average: 0 0.75 0.00 0.45 0.05 0.00 98.74 09:04:36 Average: 1 0.99 0.00 0.38 0.04 0.00 98.58 09:04:36 Average: 2 0.59 0.00 0.43 0.14 0.00 98.84 09:04:36 Average: 3 0.62 0.00 0.42 0.58 0.00 98.37 09:04:36 09:04:36 09:04:36