Pull request #917 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 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0+6cc4c25230d964bbb6ccd74e42769d1c7a10d9be (0e06ef93ca934a046756069d2a799f5bf5c2f970) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-917/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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-917/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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@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-4310 in /w/workspace/dgexfoundry_device-sdk-go_PR-917 [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-917 # 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 Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 > 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/917/head:refs/remotes/origin/PR-917 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 # timeout=10 Merge succeeded, producing 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 Checking out Revision 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 (PR-917) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 # timeout=10 Commit message: "build: update snap build to use Golang 1.16" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:17:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:17:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:17:16 ========================================================= 03:17:16 EdgeX Global Pipelines Version Info 03:17:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:17:18 ------------------- 03:17:18 stable info: 03:17:18 ------------------- 03:17:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:17:18 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 03:17:18 Message: update stable to v1.0.191 03:17:19 ------------------- 03:17:19 experimental info: 03:17:19 ------------------- 03:17:19 Commited By: **** collab-it+edgex@linuxfoundation.org 03:17:19 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 03:17:19 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:17:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:17:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:17:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:17:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:17:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:17:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 03:17:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:17:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-917 [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-917 [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-917 [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6dcb0bd [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:17:21 provisioning config files... 03:17:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-917@tmp/config5538645633288627328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:22 ---> docker-login.sh 03:17:22 nexus3.edgexfoundry.org:10001 03:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:22 Configure a credential helper to remove this warning. See 03:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:22 03:17:22 Login Succeeded 03:17:22 nexus3.edgexfoundry.org:10002 03:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:22 Configure a credential helper to remove this warning. See 03:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:22 03:17:22 Login Succeeded 03:17:22 nexus3.edgexfoundry.org:10003 03:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:23 Configure a credential helper to remove this warning. See 03:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:23 03:17:23 Login Succeeded 03:17:23 nexus3.edgexfoundry.org:10004 03:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:23 Configure a credential helper to remove this warning. See 03:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:23 03:17:23 Login Succeeded 03:17:23 docker.io 03:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:23 Configure a credential helper to remove this warning. See 03:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:23 03:17:23 Login Succeeded 03:17:23 ---> docker-login.sh ends [Pipeline] } 03:17:23 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:17:24 + git log --format=format:%s -1 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 [Pipeline] echo 03:17:24 GIT_COMMIT: 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0, Commit Message: build: update snap build to use Golang 1.16 [Pipeline] echo 03:17:24 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:17:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:17:25 03:17:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:17:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:17:25 latest: Pulling from edgex-devops/git-semver 03:17:25 31603596830f: Pulling fs layer 03:17:25 54011a49482f: Pulling fs layer 03:17:25 a6820b24f6d8: Pulling fs layer 03:17:25 f581987b2513: Pulling fs layer 03:17:25 f581987b2513: Waiting 03:17:25 54011a49482f: Verifying Checksum 03:17:25 54011a49482f: Download complete 03:17:25 31603596830f: Verifying Checksum 03:17:25 31603596830f: Download complete 03:17:25 f581987b2513: Verifying Checksum 03:17:25 f581987b2513: Download complete 03:17:25 a6820b24f6d8: Verifying Checksum 03:17:25 a6820b24f6d8: Download complete 03:17:26 31603596830f: Pull complete 03:17:26 54011a49482f: Pull complete 03:17:26 a6820b24f6d8: Pull complete 03:17:27 f581987b2513: Pull complete 03:17:27 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 03:17:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:17:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:17:27 prd-centos7-docker-4c-2g-4310 does not seem to be running inside a container 03:17:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-917 -v /w/workspace/dgexfoundry_device-sdk-go_PR-917:/w/workspace/dgexfoundry_device-sdk-go_PR-917:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-917@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-917@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:17:29 $ docker top d2070ed18210e370de5da8a11c86a8e8aa57c50f4de5a7c14e4e0dbc4751bfd0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:17:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:17:30 [ssh-agent] Looking for ssh-agent implementation... 03:17:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:17:30 $ docker exec d2070ed18210e370de5da8a11c86a8e8aa57c50f4de5a7c14e4e0dbc4751bfd0 ssh-agent 03:17:30 SSH_AUTH_SOCK=/tmp/ssh-kJQmvYBRgQV3/agent.12 03:17:30 SSH_AGENT_PID=17 03:17:30 Running ssh-add (command line suppressed) 03:17:30 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-917@tmp/private_key_7081453323894483812.key (/w/workspace/dgexfoundry_device-sdk-go_PR-917@tmp/private_key_7081453323894483812.key) 03:17:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:17:31 + git tag --points-at HEAD [Pipeline] } 03:17:31 $ docker exec --env ******** --env ******** d2070ed18210e370de5da8a11c86a8e8aa57c50f4de5a7c14e4e0dbc4751bfd0 ssh-agent -k 03:17:31 unset SSH_AUTH_SOCK; 03:17:31 unset SSH_AGENT_PID; 03:17:31 echo Agent pid 17 killed; 03:17:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:17:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:17:31 [ssh-agent] Looking for ssh-agent implementation... 03:17:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:17:31 $ docker exec d2070ed18210e370de5da8a11c86a8e8aa57c50f4de5a7c14e4e0dbc4751bfd0 ssh-agent 03:17:31 SSH_AUTH_SOCK=/tmp/ssh-jH86rSxQoUnP/agent.46 03:17:31 SSH_AGENT_PID=51 03:17:31 Running ssh-add (command line suppressed) 03:17:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-917@tmp/private_key_744418154521313361.key (/w/workspace/dgexfoundry_device-sdk-go_PR-917@tmp/private_key_744418154521313361.key) 03:17:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:17:32 + git semver init 03:17:32 # -> Open(): unable to determine branch for HEAD 03:17:32 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-917/.git 03:17:32 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-917 03:17:32 # $SEMVER_REMOTE_NAME = origin 03:17:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:17:32 # $SEMVER_USER_NAME = edgex-jenkins 03:17:32 # $SEMVER_BRANCH = PR-917 03:17:32 # $SEMVER_TEMP = /tmp/semver-644240390 03:17:32 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:17:33 # '/tmp/semver-644240390' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-917/.semver' 03:17:33 # -> Force: false 03:17:33 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-917/.semver [Pipeline] } 03:17:33 $ docker exec --env ******** --env ******** d2070ed18210e370de5da8a11c86a8e8aa57c50f4de5a7c14e4e0dbc4751bfd0 ssh-agent -k 03:17:33 unset SSH_AUTH_SOCK; 03:17:33 unset SSH_AGENT_PID; 03:17:33 echo Agent pid 51 killed; 03:17:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:17:33 + git semver [Pipeline] } 03:17:34 $ docker stop --time=1 d2070ed18210e370de5da8a11c86a8e8aa57c50f4de5a7c14e4e0dbc4751bfd0 03:17:35 $ docker rm -f d2070ed18210e370de5da8a11c86a8e8aa57c50f4de5a7c14e4e0dbc4751bfd0 [Pipeline] // withDockerContainer [Pipeline] sh 03:17:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:17:36 Stashed 1 file(s) [Pipeline] echo 03:17:36 [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:17:52 Still waiting to schedule task 03:17:52 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4307’ is offline; ‘prd-centos7-docker-4c-2g-4311’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ 03:17:52 Still waiting to schedule task 03:17:52 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 03:17:57 Running on prd-centos7-docker-4c-2g-4311 in /w/workspace/dgexfoundry_device-sdk-go_PR-917 [Pipeline] { [Pipeline] ws 03:17:57 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:17:59 using credential edgex-jenkins-ssh 03:17:59 Cloning the remote Git repository 03:17:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:18:00 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:18:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:18:00 > git --version # timeout=10 03:18:00 > git --version # 'git version 2.24.3' 03:18:00 using GIT_SSH to set credentials SSH Credentials for GitHub 03:18:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:18:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:18:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:18:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:18:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:18:01 Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 03:18:01 Merge succeeded, producing 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 03:18:01 Checking out Revision 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 (PR-917) 03:18:00 using GIT_SSH to set credentials SSH Credentials for GitHub 03:18:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/917/head:refs/remotes/origin/PR-917 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:18:01 > git config core.sparsecheckout # timeout=10 03:18:01 > git checkout -f 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 # timeout=10 03:18:01 > git remote # timeout=10 03:18:01 > git config --get remote.origin.url # timeout=10 03:18:01 using GIT_SSH to set credentials SSH Credentials for GitHub 03:18:01 > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 03:18:01 > git rev-parse HEAD^{commit} # timeout=10 03:18:01 > git config core.sparsecheckout # timeout=10 03:18:01 > git checkout -f 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 # timeout=10 03:18:05 Commit message: "build: update snap build to use Golang 1.16" 03:18:05 > git --version # timeout=10 03:18:05 > git --version # 'git version 2.24.3' 03:18:05 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:18:06 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:18:07 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:18:07 + sudo service docker restart 03:18:07 + true 03:18:07 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:18:08 provisioning config files... 03:18:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2472713292981130286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:09 ---> docker-login.sh 03:18:09 nexus3.edgexfoundry.org:10001 03:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:09 Configure a credential helper to remove this warning. See 03:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:09 03:18:09 Login Succeeded 03:18:09 nexus3.edgexfoundry.org:10002 03:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:10 Configure a credential helper to remove this warning. See 03:18:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:10 03:18:10 Login Succeeded 03:18:10 nexus3.edgexfoundry.org:10003 03:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:10 Configure a credential helper to remove this warning. See 03:18:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:10 03:18:10 Login Succeeded 03:18:10 nexus3.edgexfoundry.org:10004 03:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:10 Configure a credential helper to remove this warning. See 03:18:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:10 03:18:10 Login Succeeded 03:18:10 docker.io 03:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:10 Configure a credential helper to remove this warning. See 03:18:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:10 03:18:10 Login Succeeded 03:18:10 ---> docker-login.sh ends [Pipeline] } 03:18:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:18:11 ========================================================= 03:18:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 03:18:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:18:11 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 03:18:11 Sending build context to Docker daemon 2.53MB 03:18:11 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 03:18:11 Step 2/8 : FROM ${BASE} 03:18:11 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 03:18:11 540db60ca938: Pulling fs layer 03:18:11 adcc1eea9eea: Pulling fs layer 03:18:11 4c4ab2625f07: Pulling fs layer 03:18:11 0510c868ecb4: Pulling fs layer 03:18:11 afea3b2eda06: Pulling fs layer 03:18:11 7809a108b3ef: Pulling fs layer 03:18:11 f706445af74f: Pulling fs layer 03:18:11 0510c868ecb4: Waiting 03:18:11 afea3b2eda06: Waiting 03:18:11 7809a108b3ef: Waiting 03:18:11 f706445af74f: Waiting 03:18:11 4c4ab2625f07: Verifying Checksum 03:18:11 4c4ab2625f07: Download complete 03:18:11 adcc1eea9eea: Download complete 03:18:11 afea3b2eda06: Verifying Checksum 03:18:11 afea3b2eda06: Download complete 03:18:11 7809a108b3ef: Verifying Checksum 03:18:11 7809a108b3ef: Download complete 03:18:11 540db60ca938: Verifying Checksum 03:18:11 540db60ca938: Download complete 03:18:12 540db60ca938: Pull complete 03:18:12 adcc1eea9eea: Pull complete 03:18:12 4c4ab2625f07: Pull complete 03:18:13 f706445af74f: Verifying Checksum 03:18:13 f706445af74f: Download complete 03:18:14 0510c868ecb4: Verifying Checksum 03:18:14 0510c868ecb4: Download complete 03:18:19 0510c868ecb4: Pull complete 03:18:19 afea3b2eda06: Pull complete 03:18:19 7809a108b3ef: Pull complete 03:18:28 f706445af74f: Pull complete 03:18:28 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 03:18:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 03:18:28 ---> b068be0155e3 03:18:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:18:29 ---> Running in 7f99ac9f71ee 03:18:29 Removing intermediate container 7f99ac9f71ee 03:18:29 ---> d560758a233f 03:18:29 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:18:29 ---> Running in 79ce004637f5 03:18:30 Removing intermediate container 79ce004637f5 03:18:30 ---> a1403451ae12 03:18:30 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 03:18:30 ---> Running in afd49b547790 03:18:31 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 03:18:33 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 03:18:34 (1/6) Installing libc-dev (0.7.2-r3) 03:18:34 (2/6) Installing libsodium (1.0.18-r0) 03:18:34 (3/6) Installing pkgconf (1.7.3-r0) 03:18:34 (4/6) Installing libsodium-dev (1.0.18-r0) 03:18:34 (5/6) Installing libzmq (4.3.3-r1) 03:18:34 (6/6) Installing zeromq-dev (4.3.3-r1) 03:18:35 Executing busybox-1.32.1-r6.trigger 03:18:35 OK: 150 MiB in 46 packages 03:18:35 Removing intermediate container afd49b547790 03:18:35 ---> 099cd6578b50 03:18:35 Step 6/8 : WORKDIR /device-sdk-go 03:18:35 ---> Running in b24dda20d228 03:18:35 Removing intermediate container b24dda20d228 03:18:35 ---> 90c1551848a8 03:18:35 Step 7/8 : COPY . . 03:18:37 ---> f47659f93b62 03:18:37 Step 8/8 : RUN go mod download 03:18:37 ---> Running in a1fc129ab516 03:19:04 Removing intermediate container a1fc129ab516 03:19:04 ---> 2f2f2861a167 03:19:04 Successfully built 2f2f2861a167 03:19:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:19:04 + docker inspect -f . ci-base-image-x86_64 03:19:04 . [Pipeline] withDockerContainer 03:19:04 prd-centos7-docker-4c-2g-4311 does not seem to be running inside a container 03:19:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:19:05 $ docker top e2f8252288f5199b3141e2ef2f045343f34efb26530bc16feb688dff29d3aa11 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:05 + go version 03:19:05 go version go1.16.3 linux/amd64 [Pipeline] } 03:19:05 $ docker stop --time=1 e2f8252288f5199b3141e2ef2f045343f34efb26530bc16feb688dff29d3aa11 03:19:07 $ docker rm -f e2f8252288f5199b3141e2ef2f045343f34efb26530bc16feb688dff29d3aa11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:19:08 + docker inspect -f . ci-base-image-x86_64 03:19:08 . [Pipeline] withDockerContainer 03:19:08 prd-centos7-docker-4c-2g-4311 does not seem to be running inside a container 03:19:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:19:08 $ docker top 8f5294b1a6fbb907935835c98a4ddd9dc71607a9bb981da2f9cfe872eaad68c1 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:09 + go mod tidy [Pipeline] sh 03:19:10 + make test 03:19:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:19:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:19:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4312 in /w/workspace/dgexfoundry_device-sdk-go_PR-917 [Pipeline] { [Pipeline] ws 03:19:31 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:19:36 using credential edgex-jenkins-ssh 03:19:36 Cloning the remote Git repository 03:19:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:19:36 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:19:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:19:36 > git --version # timeout=10 03:19:36 > git --version # 'git version 2.17.1' 03:19:36 using GIT_SSH to set credentials SSH Credentials for GitHub 03:19:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:19:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:19:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:19:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:19:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:19:38 using GIT_SSH to set credentials SSH Credentials for GitHub 03:19:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/917/head:refs/remotes/origin/PR-917 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:19:39 Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 03:19:39 Merge succeeded, producing 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 03:19:39 Checking out Revision 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 (PR-917) 03:19:39 > git config core.sparsecheckout # timeout=10 03:19:39 > git checkout -f 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 # timeout=10 03:19:39 > git remote # timeout=10 03:19:39 > git config --get remote.origin.url # timeout=10 03:19:39 using GIT_SSH to set credentials SSH Credentials for GitHub 03:19:39 > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 03:19:39 > git rev-parse HEAD^{commit} # timeout=10 03:19:39 > git config core.sparsecheckout # timeout=10 03:19:39 > git checkout -f 6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 # timeout=10 03:19:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:19:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:19:41 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:19:43 Commit message: "build: update snap build to use Golang 1.16" 03:19:43 > git --version # timeout=10 03:19:43 > git --version # 'git version 2.17.1' 03:19:43 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:19:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:19:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.075s coverage: 25.4% of statements 03:19:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:19:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 28.1% of statements 03:19:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.107s coverage: 78.9% of statements 03:19:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:19:46 + sudo service docker restart 03:19:46 + true 03:19:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.062s coverage: 10.7% of statements 03:19:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 03:19:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 03:19:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:19:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.102s coverage: 30.2% of statements 03:19:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:19:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 03:19:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:19:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:19:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 58.4% of statements 03:19:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.261s coverage: 89.2% of statements 03:19:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 03:19:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 5.0% of statements 03:19:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:19:48 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:19:48 provisioning config files... 03:19:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2869487728599325164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:49 ---> docker-login.sh 03:19:49 nexus3.edgexfoundry.org:10001 03:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:50 Configure a credential helper to remove this warning. See 03:19:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:50 03:19:50 Login Succeeded 03:19:50 nexus3.edgexfoundry.org:10002 03:19:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:51 Configure a credential helper to remove this warning. See 03:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:51 03:19:51 Login Succeeded 03:19:51 nexus3.edgexfoundry.org:10003 03:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:51 Configure a credential helper to remove this warning. See 03:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:51 03:19:51 Login Succeeded 03:19:51 nexus3.edgexfoundry.org:10004 03:19:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:51 Configure a credential helper to remove this warning. See 03:19:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:51 03:19:51 Login Succeeded 03:19:51 docker.io 03:19:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:52 Configure a credential helper to remove this warning. See 03:19:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:52 03:19:52 Login Succeeded 03:19:52 ---> docker-login.sh ends [Pipeline] } 03:19:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:19:53 ========================================================= 03:19:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 03:19:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:19: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.16-alpine . 03:19:54 Sending build context to Docker daemon 2.529MB 03:19:54 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 03:19:54 Step 2/8 : FROM ${BASE} 03:19:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:19:54 595b0fe564bb: Pulling fs layer 03:19:54 7186ed65a4f7: Pulling fs layer 03:19:54 316046926c0a: Pulling fs layer 03:19:54 4ebd0625c992: Pulling fs layer 03:19:54 207e8628e3a3: Pulling fs layer 03:19:54 c791037a9be2: Pulling fs layer 03:19:54 ffd874e62e21: Pulling fs layer 03:19:54 4ebd0625c992: Waiting 03:19:54 207e8628e3a3: Waiting 03:19:54 c791037a9be2: Waiting 03:19:54 ffd874e62e21: Waiting 03:19:54 316046926c0a: Verifying Checksum 03:19:54 316046926c0a: Download complete 03:19:54 7186ed65a4f7: Verifying Checksum 03:19:54 7186ed65a4f7: Download complete 03:19:54 207e8628e3a3: Download complete 03:19:54 c791037a9be2: Download complete 03:19:54 595b0fe564bb: Download complete 03:19:54 595b0fe564bb: Pull complete 03:19:55 7186ed65a4f7: Pull complete 03:19:56 316046926c0a: Pull complete 03:19:56 ffd874e62e21: Download complete 03:19:57 4ebd0625c992: Verifying Checksum 03:19:57 4ebd0625c992: Download complete 03:20:10 4ebd0625c992: Pull complete 03:20:10 207e8628e3a3: Pull complete 03:20:10 c791037a9be2: Pull complete 03:20:10 gofmt -l . 03:20:10 [ "`gofmt -l .`" = "" ] 03:20:10 ./bin/test-attribution-txt.sh 03:20:10 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:20:10 $ docker stop --time=1 8f5294b1a6fbb907935835c98a4ddd9dc71607a9bb981da2f9cfe872eaad68c1 03:20:11 $ docker rm -f 8f5294b1a6fbb907935835c98a4ddd9dc71607a9bb981da2f9cfe872eaad68c1 [Pipeline] // withDockerContainer [Pipeline] sh 03:20:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:20:12 ffd874e62e21: Pull complete 03:20:12 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 03:20:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 03:20:12 ---> cfc18b08335c 03:20:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:20:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:20:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:20:14 + ls -al . 03:20:14 total 212 03:20:14 drwxrwxr-x. 10 jenkins jenkins 4096 May 11 03:20 . 03:20:14 drwxrwxr-x. 4 jenkins jenkins 28 May 11 03:18 .. 03:20:14 drwxrwxr-x. 2 jenkins jenkins 64 May 11 03:18 bin 03:20:14 -rw-r--r--. 1 jenkins jenkins 124141 May 11 03:19 coverage.out 03:20:14 -rw-rw-r--. 1 jenkins jenkins 987 May 11 03:18 Dockerfile.build 03:20:14 -rw-rw-r--. 1 jenkins jenkins 140 May 11 03:18 .dockerignore 03:20:14 drwxrwxr-x. 5 jenkins jenkins 62 May 11 03:18 example 03:20:14 drwxrwxr-x. 8 jenkins jenkins 179 May 11 03:18 .git 03:20:14 drwxrwxr-x. 2 jenkins jenkins 103 May 11 03:18 .github 03:20:14 -rw-rw-r--. 1 jenkins jenkins 138 May 11 03:18 .gitignore 03:20:14 -rw-r--r--. 1 jenkins jenkins 575 May 11 03:20 go.mod 03:20:14 -rw-r--r--. 1 jenkins jenkins 20637 May 11 03:19 go.sum 03:20:14 drwxrwxr-x. 15 jenkins jenkins 222 May 11 03:18 internal 03:20:14 -rw-rw-r--. 1 jenkins jenkins 901 May 11 03:18 Jenkinsfile 03:20:14 -rw-rw-r--. 1 jenkins jenkins 11341 May 11 03:18 LICENSE 03:20:14 -rw-rw-r--. 1 jenkins jenkins 1000 May 11 03:18 Makefile 03:20:14 drwxrwxr-x. 4 jenkins jenkins 26 May 11 03:18 openapi 03:20:14 drwxrwxr-x. 5 jenkins jenkins 50 May 11 03:18 pkg 03:20:14 -rw-rw-r--. 1 jenkins jenkins 7652 May 11 03:18 README.md 03:20:14 -rw-rw-r--. 1 jenkins jenkins 6616 May 11 03:18 RELEASE-NOTES.txt 03:20:14 drwxrwxr-x. 4 jenkins jenkins 54 May 11 03:18 snap 03:20:14 -rw-rw-r--. 1 jenkins jenkins 5 May 11 03:17 VERSION 03:20:14 -rw-rw-r--. 1 jenkins jenkins 222 May 11 03:18 version.go [Pipeline] isUnix [Pipeline] sh 03:20:14 + 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=6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 --label arch=amd64 --label version=0.0.0 . 03:20:15 Sending build context to Docker daemon 2.655MB 03:20:15 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 03:20:15 Step 2/23 : FROM ${BASE} AS builder 03:20:15 ---> 2f2f2861a167 03:20:15 Step 3/23 : WORKDIR /device-sdk-go 03:20:15 ---> Running in ef702251b361 03:20:15 Removing intermediate container ef702251b361 03:20:15 ---> 8fc689767842 03:20:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:20:15 ---> Running in 9f1a1c6dd7c7 03:20:15 ---> Running in 9e39af0c1e7d 03:20:15 Removing intermediate container 9e39af0c1e7d 03:20:15 ---> 7c946c8ddf38 03:20:15 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:20:15 ---> Running in e2027c79d7cc 03:20:16 Removing intermediate container e2027c79d7cc 03:20:16 ---> 74257f08c9ba 03:20:16 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:20:16 ---> Running in 17240068bf3e 03:20:17 Removing intermediate container 17240068bf3e 03:20:17 ---> afd91af45086 03:20:17 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:20:17 ---> Running in f0237f34c52d 03:20:17 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 03:20:18 Removing intermediate container 9f1a1c6dd7c7 03:20:18 ---> 74748b764be8 03:20:18 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 03:20:18 ---> Running in 6d77709cfe87 03:20:19 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 03:20:19 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 03:20:19 OK: 150 MiB in 46 packages 03:20:20 Removing intermediate container f0237f34c52d 03:20:20 ---> 6bcbdec29e91 03:20:20 Step 7/23 : COPY . . 03:20:21 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 03:20:21 ---> 1dce8911b43c 03:20:21 Step 8/23 : RUN go mod download 03:20:21 ---> Running in b650f2701cc7 03:20:22 Removing intermediate container b650f2701cc7 03:20:22 ---> 7868c6ef5984 03:20:22 Step 9/23 : RUN make build 03:20:22 ---> Running in a0fa4c4c63cf 03:20:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:20:24 (1/6) Installing libc-dev (0.7.2-r3) 03:20:24 (2/6) Installing libsodium (1.0.18-r0) 03:20:25 (3/6) Installing pkgconf (1.7.3-r0) 03:20:25 (4/6) Installing libsodium-dev (1.0.18-r0) 03:20:25 (5/6) Installing libzmq (4.3.3-r1) 03:20:25 (6/6) Installing zeromq-dev (4.3.3-r1) 03:20:26 Executing busybox-1.32.1-r6.trigger 03:20:26 OK: 139 MiB in 46 packages 03:20:27 Removing intermediate container 6d77709cfe87 03:20:27 ---> 858d069c306e 03:20:27 Step 6/8 : WORKDIR /device-sdk-go 03:20:27 ---> Running in b179a02afbab 03:20:28 Removing intermediate container b179a02afbab 03:20:28 ---> 8b4a12b1ef4b 03:20:28 Step 7/8 : COPY . . 03:20:29 ---> 0ff0e3a7f6d2 03:20:29 Step 8/8 : RUN go mod download 03:20:29 ---> Running in 26ac8c7df28c 03:20:35 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 03:20:35 Removing intermediate container a0fa4c4c63cf 03:20:35 ---> 33906021f637 03:20:35 Step 10/23 : FROM alpine:3.12 03:20:36 3.12: Pulling from library/alpine 03:20:36 339de151aab4: Pulling fs layer 03:20:36 339de151aab4: Verifying Checksum 03:20:36 339de151aab4: Download complete 03:20:36 339de151aab4: Pull complete 03:20:36 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 03:20:36 Status: Downloaded newer image for alpine:3.12 03:20:36 ---> 13621d1b12d4 03:20:36 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:20:37 ---> Running in ee78135cba50 03:20:37 Removing intermediate container ee78135cba50 03:20:37 ---> df90d6ff73f4 03:20:37 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:20:37 ---> Running in db5c0320fbc8 03:20:37 Removing intermediate container db5c0320fbc8 03:20:37 ---> 02363550abcb 03:20:37 Step 13/23 : RUN apk add --update --no-cache zeromq 03:20:37 ---> Running in b0e10ee41fa1 03:20:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:20:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:20:40 (1/5) Installing libgcc (9.3.0-r2) 03:20:40 (2/5) Installing libsodium (1.0.18-r0) 03:20:40 (3/5) Installing libstdc++ (9.3.0-r2) 03:20:42 (4/5) Installing libzmq (4.3.3-r0) 03:20:42 (5/5) Installing zeromq (4.3.3-r0) 03:20:42 Executing busybox-1.31.1-r20.trigger 03:20:42 OK: 8 MiB in 19 packages 03:20:42 Removing intermediate container b0e10ee41fa1 03:20:42 ---> c6d2c53eef94 03:20:42 Step 14/23 : WORKDIR / 03:20:42 ---> Running in 013ad7c8563e 03:20:43 Removing intermediate container 013ad7c8563e 03:20:43 ---> 50d4e3310c30 03:20:43 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:20:43 ---> 072c157fe975 03:20:43 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:20:43 ---> f221daac6f06 03:20:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:20:44 ---> 65a632a1579e 03:20:44 Step 18/23 : EXPOSE 49990 03:20:44 ---> Running in de0b956b8653 03:20:44 Removing intermediate container de0b956b8653 03:20:44 ---> 49ce6770ad5a 03:20:44 Step 19/23 : ENTRYPOINT ["/device-simple"] 03:20:44 ---> Running in 6d28bb42665a 03:20:44 Removing intermediate container 6d28bb42665a 03:20:44 ---> 3b0ce411ae15 03:20:44 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:20:44 ---> Running in 4e1ea5325ede 03:20:44 Removing intermediate container 4e1ea5325ede 03:20:44 ---> 941132d6c60d 03:20:44 Step 21/23 : LABEL arch=amd64 03:20:44 ---> Running in c04cfcfb8686 03:20:45 Removing intermediate container c04cfcfb8686 03:20:45 ---> fb8b651a2fd1 03:20:45 Step 22/23 : LABEL git_sha=6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 03:20:45 ---> Running in cb49b186ba32 03:20:45 Removing intermediate container cb49b186ba32 03:20:45 ---> cb9e053ca32d 03:20:45 Step 23/23 : LABEL version=0.0.0 03:20:45 ---> Running in bc5fb4f71b14 03:20:45 Removing intermediate container bc5fb4f71b14 03:20:45 ---> 1731a48d9479 03:20:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 03:20:45 Successfully built 1731a48d9479 03:20:45 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 Post stage [Pipeline] libraryResource [Pipeline] sh 03:20:46 ---> job-cost.sh 03:20:46 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oZFm 03:20:56 Removing intermediate container 26ac8c7df28c 03:20:56 ---> 9bd6c67e905b 03:20:56 Successfully built 9bd6c67e905b 03:20:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:20:56 + docker inspect -f . ci-base-image-arm64 03:20:56 . [Pipeline] withDockerContainer 03:20:56 prd-ubuntu18.04-docker-arm64-4c-16g-4312 does not seem to be running inside a container 03:20: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 ******** ci-base-image-arm64 cat 03:20:58 $ docker top ecb3954b41b8c2aed7b63860b88f5777bb7720b54b24c343dd462b4b428cfeab -eo pid,comm [Pipeline] { [Pipeline] sh 03:20:59 + go version 03:20:59 go version go1.16.3 linux/arm64 [Pipeline] } 03:20:59 $ docker stop --time=1 ecb3954b41b8c2aed7b63860b88f5777bb7720b54b24c343dd462b4b428cfeab 03:21:01 $ docker rm -f ecb3954b41b8c2aed7b63860b88f5777bb7720b54b24c343dd462b4b428cfeab 03:21:01 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:21:02 + docker inspect -f . ci-base-image-arm64 03:21:02 . [Pipeline] withDockerContainer 03:21:02 prd-ubuntu18.04-docker-arm64-4c-16g-4312 does not seem to be running inside a container 03:21:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:21:04 $ docker top abdb26fbe65068f68ef9205de0874a494a49d5b421a5a8b32e60f2403ea89304 -eo pid,comm [Pipeline] { [Pipeline] sh 03:21:05 + go mod tidy [Pipeline] sh 03:21:06 + make test 03:21:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:21:28 lf-activate-venv(): INFO: Adding /tmp/venv-oZFm/bin to PATH 03:21:28 INFO: No Stack... 03:21:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:21:28 INFO: Retrieving Pricing Info for: v1-standard-2 03:21:29 INFO: Archiving Costs [Pipeline] sh 03:21:29 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 03:21:29 + cut -d, -f6 [Pipeline] lock 03:21:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-917-1-stack-cost] 03:21:29 Resource [jenkins-edgexfoundry-device-sdk-go-PR-917-1-stack-cost] did not exist. Created. 03:21:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-917-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:21:30 + echo total: 0.029999999329447746 [Pipeline] stash 03:21:30 Stashed 1 file(s) [Pipeline] } 03:21:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-917-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:22:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:22:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:22:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:22:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.186s coverage: 25.4% of statements 03:22:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:22:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.139s coverage: 28.1% of statements 03:22:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.162s coverage: 78.9% of statements 03:22:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.165s coverage: 10.7% of statements 03:22:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 03:22:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 03:22:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:22:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.251s coverage: 30.2% of statements 03:22:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:22:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 03:22:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:22:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:22:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.444s coverage: 58.4% of statements 03:22:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.199s coverage: 89.2% of statements 03:22:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 03:22:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.134s coverage: 5.0% of statements 03:22:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:22:48 GO111MODULE=on go vet ./... 03:23:44 gofmt -l . 03:23:44 [ "`gofmt -l .`" = "" ] 03:23:44 ./bin/test-attribution-txt.sh 03:23:44 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:23:44 $ docker stop --time=1 abdb26fbe65068f68ef9205de0874a494a49d5b421a5a8b32e60f2403ea89304 03:23:46 $ docker rm -f abdb26fbe65068f68ef9205de0874a494a49d5b421a5a8b32e60f2403ea89304 [Pipeline] // withDockerContainer [Pipeline] sh 03:23:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:23:48 Warning: overwriting stash ‘coverage-report’ 03:23:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:23:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:23:50 + ls -al . 03:23:50 total 248 03:23:50 drwxrwxr-x 10 jenkins jenkins 4096 May 11 03:23 . 03:23:50 drwxrwxr-x 4 jenkins jenkins 4096 May 11 03:19 .. 03:23:50 -rw-rw-r-- 1 jenkins jenkins 140 May 11 03:19 .dockerignore 03:23:50 drwxrwxr-x 8 jenkins jenkins 4096 May 11 03:19 .git 03:23:50 drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:19 .github 03:23:50 -rw-rw-r-- 1 jenkins jenkins 138 May 11 03:19 .gitignore 03:23:50 -rw-rw-r-- 1 jenkins jenkins 987 May 11 03:19 Dockerfile.build 03:23:50 -rw-rw-r-- 1 jenkins jenkins 901 May 11 03:19 Jenkinsfile 03:23:50 -rw-rw-r-- 1 jenkins jenkins 11341 May 11 03:19 LICENSE 03:23:50 -rw-rw-r-- 1 jenkins jenkins 1000 May 11 03:19 Makefile 03:23:50 -rw-rw-r-- 1 jenkins jenkins 7652 May 11 03:19 README.md 03:23:50 -rw-rw-r-- 1 jenkins jenkins 6616 May 11 03:19 RELEASE-NOTES.txt 03:23:50 -rw-rw-r-- 1 jenkins jenkins 5 May 11 03:17 VERSION 03:23:50 drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:19 bin 03:23:50 -rw-r--r-- 1 jenkins jenkins 124140 May 11 03:22 coverage.out 03:23:50 drwxrwxr-x 5 jenkins jenkins 4096 May 11 03:19 example 03:23:50 -rw-r--r-- 1 jenkins jenkins 575 May 11 03:23 go.mod 03:23:50 -rw-r--r-- 1 jenkins jenkins 20637 May 11 03:21 go.sum 03:23:50 drwxrwxr-x 15 jenkins jenkins 4096 May 11 03:19 internal 03:23:50 drwxrwxr-x 4 jenkins jenkins 4096 May 11 03:19 openapi 03:23:50 drwxrwxr-x 5 jenkins jenkins 4096 May 11 03:19 pkg 03:23:50 drwxrwxr-x 4 jenkins jenkins 4096 May 11 03:19 snap 03:23:50 -rw-rw-r-- 1 jenkins jenkins 222 May 11 03:19 version.go [Pipeline] isUnix [Pipeline] sh 03:23:50 + 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=6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 --label arch=arm64 --label version=0.0.0 . 03:23:51 Sending build context to Docker daemon 2.654MB 03:23:51 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 03:23:51 Step 2/23 : FROM ${BASE} AS builder 03:23:51 ---> 9bd6c67e905b 03:23:51 Step 3/23 : WORKDIR /device-sdk-go 03:23:51 ---> Running in 44e14a15f9c4 03:23:52 Removing intermediate container 44e14a15f9c4 03:23:52 ---> 066778dc4dbd 03:23:52 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:23:52 ---> Running in 7a929c9dbea5 03:23:52 Removing intermediate container 7a929c9dbea5 03:23:52 ---> eb89d842b977 03:23:52 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:23:52 ---> Running in 9331c1f783f5 03:23:54 Removing intermediate container 9331c1f783f5 03:23:54 ---> e51fa55a7ea4 03:23:54 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:23:55 ---> Running in de51faa0dd00 03:23:56 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 03:23:58 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 03:24:00 OK: 139 MiB in 46 packages 03:24:02 Removing intermediate container de51faa0dd00 03:24:02 ---> 242d0c144083 03:24:02 Step 7/23 : COPY . . 03:24:04 ---> d6c17d87b8d3 03:24:04 Step 8/23 : RUN go mod download 03:24:05 ---> Running in 3b0b6c86870c 03:24:08 Removing intermediate container 3b0b6c86870c 03:24:08 ---> acaafc39dfa2 03:24:08 Step 9/23 : RUN make build 03:24:09 ---> Running in 3a873b678581 03:24:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:24:42 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 03:24:46 Removing intermediate container 3a873b678581 03:24:46 ---> e7c27d3eae7a 03:24:46 Step 10/23 : FROM alpine:3.12 03:24:46 3.12: Pulling from library/alpine 03:24:46 d2f70382dc9a: Pulling fs layer 03:24:46 d2f70382dc9a: Download complete 03:24:46 d2f70382dc9a: Pull complete 03:24:46 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 03:24:46 Status: Downloaded newer image for alpine:3.12 03:24:46 ---> 9852663dfa18 03:24:46 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:24:47 ---> Running in a5bd0a285278 03:24:47 Removing intermediate container a5bd0a285278 03:24:47 ---> 4f0ea80d3537 03:24:47 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:24:47 ---> Running in 5aad11844a30 03:24:49 Removing intermediate container 5aad11844a30 03:24:49 ---> e69ddb353686 03:24:49 Step 13/23 : RUN apk add --update --no-cache zeromq 03:24:50 ---> Running in e24a90ec6dce 03:24:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:24:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:24:53 (1/5) Installing libgcc (9.3.0-r2) 03:24:53 (2/5) Installing libsodium (1.0.18-r0) 03:24:53 (3/5) Installing libstdc++ (9.3.0-r2) 03:24:54 (4/5) Installing libzmq (4.3.3-r0) 03:24:54 (5/5) Installing zeromq (4.3.3-r0) 03:24:54 Executing busybox-1.31.1-r20.trigger 03:24:54 OK: 8 MiB in 19 packages 03:24:56 Removing intermediate container e24a90ec6dce 03:24:56 ---> fabd8fe65b8f 03:24:56 Step 14/23 : WORKDIR / 03:24:56 ---> Running in d1214c824fe5 03:24:56 Removing intermediate container d1214c824fe5 03:24:56 ---> a306345009df 03:24:56 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:24:57 ---> 66be97704a8e 03:24:57 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:24:58 ---> 25e355e4b178 03:24:58 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:24:59 ---> f3814e57030c 03:24:59 Step 18/23 : EXPOSE 49990 03:24:59 ---> Running in 22a7549af8d0 03:24:59 Removing intermediate container 22a7549af8d0 03:24:59 ---> 78d46b0513db 03:24:59 Step 19/23 : ENTRYPOINT ["/device-simple"] 03:25:00 ---> Running in 4ace4b5473d2 03:25:00 Removing intermediate container 4ace4b5473d2 03:25:00 ---> 342153c1c076 03:25:00 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:25:00 ---> Running in ea9eff086982 03:25:00 Removing intermediate container ea9eff086982 03:25:00 ---> f15d411afc98 03:25:00 Step 21/23 : LABEL arch=arm64 03:25:01 ---> Running in d37bedbee9b6 03:25:01 Removing intermediate container d37bedbee9b6 03:25:01 ---> 3b6d22336a3b 03:25:01 Step 22/23 : LABEL git_sha=6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 03:25:01 ---> Running in 4cfcf99ef1a2 03:25:02 Removing intermediate container 4cfcf99ef1a2 03:25:02 ---> d612616b5557 03:25:02 Step 23/23 : LABEL version=0.0.0 03:25:02 ---> Running in 50a6dda1a855 03:25:02 Removing intermediate container 50a6dda1a855 03:25:02 ---> cdb4b7321f6d 03:25:02 [Warning] One or more build-args [ARCH MAKE] were not consumed 03:25:02 Successfully built cdb4b7321f6d 03:25:02 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 Post stage [Pipeline] libraryResource [Pipeline] sh 03:25:03 ---> job-cost.sh 03:25:03 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-41AX 03:25:42 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:27:04 lf-activate-venv(): INFO: Adding /tmp/venv-41AX/bin to PATH 03:27:04 INFO: No Stack... 03:27:04 INFO: Retrieving Pricing Info for: lf-standard-4 03:27:05 INFO: Archiving Costs [Pipeline] sh 03:27:05 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 03:27:05 + cut -d, -f6 [Pipeline] lock 03:27:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-917-1-stack-cost] 03:27:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-917-1-stack-cost] did not exist. Created. 03:27:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-917-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:27:06 /w/workspace/device-sdk-go/1@tmp/durable-1a7a193d/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-1a7a193d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 03:27:06 + echo total: 0.20999999344348907 [Pipeline] stash 03:27:06 Warning: overwriting stash ‘stack-cost’ 03:27:06 Stashed 1 file(s) [Pipeline] } 03:27:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-917-1-stack-cost] [Pipeline] // lock [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:27:07 provisioning config files... 03:27:07 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-917@tmp/config8381185623917224317tmp [Pipeline] { [Pipeline] sh 03:27:08 + set +x 03:27:08 + curl -s https://codecov.io/bash 03:27:08 + bash -s -- 03:27:08 03:27:08 _____ _ 03:27:08 / ____| | | 03:27:08 | | ___ __| | ___ ___ _____ __ 03:27:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:27:08 | |___| (_) | (_| | __/ (_| (_) \ V / 03:27:08 \_____\___/ \__,_|\___|\___\___/ \_/ 03:27:08 Bash-1.0.2 03:27:08 03:27:08 03:27:08 ==> git version 2.24.3 found 03:27:08 ==> 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:27:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 03:27:08 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 03:27:08 ==> Jenkins CI detected. 03:27:08 project root: . 03:27:08 --> token set from env 03:27:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:27:08 ==> Running gcov in . (disable via -X gcov) 03:27:08 ==> Python coveragepy not found 03:27:08 ==> Searching for coverage reports in: 03:27:08 + . 03:27:08 -> Found 1 reports 03:27:08 ==> Detecting git/mercurial file structure 03:27:08 ==> Reading reports 03:27:08 + ./coverage.out bytes=124140 03:27:08 ==> Appending adjustments 03:27:08 https://docs.codecov.io/docs/fixing-reports 03:27:09 + Found adjustments 03:27:09 ==> Gzipping contents 03:27:09 16K /tmp/codecov.cquHsr.gz 03:27:09 ==> Uploading reports 03:27:09 url: https://codecov.io 03:27:09 query: branch=PR-917&commit=6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-917%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=917&job=&cmd_args= 03:27:09 -> Pinging Codecov 03:27:09 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-917&commit=6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-917%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=917&job=&cmd_args= 03:27:09 -> Uploading to 03:27:09 https://storage.googleapis.com/codecov/v4/raw/2021-05-11/7E55EF52A471D76F132DFD9A03CDDE97/6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0/2f081bea-4e58-4c27-8a71-6fea0183b3bf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T032709Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fb66e4b16ba6a6c88f9d6f4f3d1d7b1dca295c9dc1da3f221f5d0ad6949ea2ef 03:27:09 % Total % Received % Xferd Average Speed Time Time Time Current 03:27:09 Dload Upload Total Spent Left Speed 03:27:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16221 0 0 100 16221 0 38631 --:--:-- --:--:-- --:--:-- 38621 100 16221 0 0 100 16221 0 38610 --:--:-- --:--:-- --:--:-- 38621 03:27:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6dcb0bd4f289bb52343e9987c9d5ac57ebd97cd0 [Pipeline] } 03:27:09 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] { (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:27:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:27:12 ---> package-listing.sh 03:27:12 ++ facter osfamily 03:27:12 ++ tr '[:upper:]' '[:lower:]' 03:27:12 + OS_FAMILY=redhat 03:27:12 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-917 03:27:12 + START_PACKAGES=/tmp/packages_start.txt 03:27:12 + END_PACKAGES=/tmp/packages_end.txt 03:27:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:27:12 + PACKAGES=/tmp/packages_start.txt 03:27:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-917 ']' 03:27:12 + PACKAGES=/tmp/packages_end.txt 03:27:12 + case "${OS_FAMILY}" in 03:27:12 + rpm -qa 03:27:12 + sort 03:27:17 + '[' -f /tmp/packages_start.txt ']' 03:27:17 + '[' -f /tmp/packages_end.txt ']' 03:27:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:27:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-917 ']' 03:27:17 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-917/archives/ 03:27:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-917/archives/ [Pipeline] echo 03:27:17 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-917/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:27:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:27:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:27:18 03:27:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 03:27:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:27:18 alpine: Pulling from edgex-lftools-log-publisher 03:27:18 df20fa9351a1: Pulling fs layer 03:27:18 36b3adc4ff6f: Pulling fs layer 03:27:18 8ad3a11d3b57: Pulling fs layer 03:27:18 46f8f816bc3b: Pulling fs layer 03:27:18 93b61091891f: Pulling fs layer 03:27:18 93b9cdb0e59b: Pulling fs layer 03:27:18 5e14af77c1be: Pulling fs layer 03:27:18 01666e4c0597: Pulling fs layer 03:27:18 aa168da1d23b: Pulling fs layer 03:27:18 93b9cdb0e59b: Waiting 03:27:18 46f8f816bc3b: Waiting 03:27:18 aa168da1d23b: Waiting 03:27:18 93b61091891f: Waiting 03:27:18 01666e4c0597: Waiting 03:27:18 5e14af77c1be: Waiting 03:27:18 36b3adc4ff6f: Verifying Checksum 03:27:18 36b3adc4ff6f: Download complete 03:27:18 46f8f816bc3b: Verifying Checksum 03:27:18 46f8f816bc3b: Download complete 03:27:18 df20fa9351a1: Download complete 03:27:18 93b9cdb0e59b: Verifying Checksum 03:27:18 93b9cdb0e59b: Download complete 03:27:18 93b61091891f: Verifying Checksum 03:27:18 93b61091891f: Download complete 03:27:18 5e14af77c1be: Verifying Checksum 03:27:18 5e14af77c1be: Download complete 03:27:18 01666e4c0597: Verifying Checksum 03:27:18 01666e4c0597: Download complete 03:27:18 8ad3a11d3b57: Verifying Checksum 03:27:18 8ad3a11d3b57: Download complete 03:27:19 df20fa9351a1: Pull complete 03:27:19 36b3adc4ff6f: Pull complete 03:27:20 8ad3a11d3b57: Pull complete 03:27:20 46f8f816bc3b: Pull complete 03:27:21 93b61091891f: Pull complete 03:27:21 aa168da1d23b: Verifying Checksum 03:27:21 aa168da1d23b: Download complete 03:27:21 93b9cdb0e59b: Pull complete 03:27:21 5e14af77c1be: Pull complete 03:27:21 01666e4c0597: Pull complete 03:27:28 aa168da1d23b: Pull complete 03:27:28 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 03:27:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 03:27:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 03:27:28 prd-centos7-docker-4c-2g-4310 does not seem to be running inside a container 03:27:28 $ 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-917/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-917 -v /w/workspace/dgexfoundry_device-sdk-go_PR-917:/w/workspace/dgexfoundry_device-sdk-go_PR-917:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-917@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-917@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 03:27:34 $ docker top ee7900efb8cf2616eecbcbc8171951f757d2893fd6cb0dde6d3258f8243ab569 -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:34 + touch /tmp/pre-build-complete [Pipeline] sh 03:27:34 + mkdir -p /var/log/sa [Pipeline] sh 03:27:35 + ls /var/log/sa-host 03:27:35 + sadf -c /var/log/sa-host/sa11 03:27:35 file_magic: OK 03:27:35 HZ: Using current value: 100 03:27:35 file_header: OK 03:27:35 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:27:35 Statistics: 03:27:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:27:35 File successfully converted to sysstat format version 12.2.1 03:27:35 + sadf -c /var/log/sa-host/sa23 03:27:35 file_magic: OK 03:27:35 HZ: Using current value: 100 03:27:35 file_header: OK 03:27:35 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:27:35 Statistics: 03:27:35 Hnuu...uuuununununu... 03:27:35 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:27:35 provisioning config files... 03:27:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-917@tmp/config124496586018398655tmp [Pipeline] { [Pipeline] echo 03:27:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:27:36 ---> create-netrc.sh [Pipeline] } 03:27:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 03:27:36 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 03:27:36 ---> python-tools-install.sh [Pipeline] echo 03:27:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:27:36 ---> sudo-logs.sh 03:27:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:27:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:27:37 ---> job-cost.sh 03:27:37 lf-activate-venv: SKIPPING 03:27:37 DEBUG: total: 0.20999999344348907 03:27:37 INFO: Retrieving Stack Cost... 03:27:38 INFO: Retrieving Pricing Info for: v1-standard-2 03:27:38 INFO: Archiving Costs [Pipeline] echo 03:27:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:27:39 ---> logs-deploy.sh 03:27:39 lf-activate-venv: SKIPPING 03:27:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-917/1 03:27:39 INFO: archiving workspace using pattern(s): 03:27:41 Archives upload complete. 03:27:41 INFO: archiving logs to Nexus