Pull request #710 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e0d0a96e3e310c273e1c8f98aeacde55ee940b3a+42e5a1ea61e0adb23423a933a3224d1395f33e87 (b7625ef15371c2df1d8c7d29e3db3acc68580416) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-710/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-710/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-17870 in /w/workspace/dgexfoundry_device-sdk-go_PR-710 [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-710 # 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 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit e0d0a96e3e310c273e1c8f98aeacde55ee940b3a Merge succeeded, producing e0d0a96e3e310c273e1c8f98aeacde55ee940b3a Checking out Revision e0d0a96e3e310c273e1c8f98aeacde55ee940b3a (PR-710) > 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/710/head:refs/remotes/origin/PR-710 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # 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 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:38:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:38:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:38:57 ========================================================= 05:38:57 EdgeX Global Pipelines Version Info 05:38:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:38:58 ------------------- 05:38:58 stable info: 05:38:58 ------------------- 05:38:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:38:58 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 05:38:58 Message: update stable to v1.0.173 05:38:59 ------------------- 05:38:59 experimental info: 05:38:59 ------------------- 05:38:59 Commited By: **** collab-it+edgex@linuxfoundation.org 05:38:59 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 05:38:59 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:38:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:39:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:39:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:39:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:39:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:39:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:39:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:39:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:39:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:39:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:39:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:39:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:39:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:39:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:39:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:39:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:39:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:39:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:39:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:39:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:39:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:39:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:39:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:39:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:39:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:39:03 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 05:39:03 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 05:39:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-710 [Pipeline] echo 05:39:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-710 [Pipeline] echo 05:39:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-710 [Pipeline] echo 05:39:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [Pipeline] echo 05:39:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0d0a96 [Pipeline] echo 05:39:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:39:04 provisioning config files... 05:39:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/config4605104730133610062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:05 ---> docker-login.sh 05:39:05 nexus3.edgexfoundry.org:10001 05:39:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:05 Configure a credential helper to remove this warning. See 05:39:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:05 05:39:05 Login Succeeded 05:39:05 nexus3.edgexfoundry.org:10002 05:39:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:06 Configure a credential helper to remove this warning. See 05:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:06 05:39:06 Login Succeeded 05:39:06 nexus3.edgexfoundry.org:10003 05:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:06 Configure a credential helper to remove this warning. See 05:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:06 05:39:06 Login Succeeded 05:39:06 nexus3.edgexfoundry.org:10004 05:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:06 Configure a credential helper to remove this warning. See 05:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:06 05:39:06 Login Succeeded 05:39:06 docker.io 05:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:39:06 Configure a credential helper to remove this warning. See 05:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:39:06 05:39:06 Login Succeeded 05:39:06 ---> docker-login.sh ends [Pipeline] } 05:39:06 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 05:39:07 + git log --format=format:%s -1 e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [Pipeline] echo 05:39:07 GIT_COMMIT: e0d0a96e3e310c273e1c8f98aeacde55ee940b3a, Commit Message: build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.3 [Pipeline] echo 05:39:07 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:39:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:39:08 05:39:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:39:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:39:09 latest: Pulling from edgex-devops/git-semver 05:39:09 31603596830f: Pulling fs layer 05:39:09 2a8b12db71e7: Pulling fs layer 05:39:09 6ca5941a6612: Pulling fs layer 05:39:09 ecc8261a40a4: Pulling fs layer 05:39:09 ecc8261a40a4: Waiting 05:39:09 2a8b12db71e7: Verifying Checksum 05:39:09 31603596830f: Verifying Checksum 05:39:09 31603596830f: Download complete 05:39:09 6ca5941a6612: Verifying Checksum 05:39:09 6ca5941a6612: Download complete 05:39:09 ecc8261a40a4: Verifying Checksum 05:39:09 ecc8261a40a4: Download complete 05:39:09 31603596830f: Pull complete 05:39:10 2a8b12db71e7: Pull complete 05:39:10 6ca5941a6612: Pull complete 05:39:11 ecc8261a40a4: Pull complete 05:39:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:39:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:39:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:39:11 prd-centos7-docker-4c-2g-17870 does not seem to be running inside a container 05:39:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-710 -v /w/workspace/dgexfoundry_device-sdk-go_PR-710:/w/workspace/dgexfoundry_device-sdk-go_PR-710:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-710@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:39:13 $ docker top deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:39:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:39:13 [ssh-agent] Looking for ssh-agent implementation... 05:39:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:39:14 $ docker exec deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 ssh-agent 05:39:14 SSH_AUTH_SOCK=/tmp/ssh-tBcx00JHlPL1/agent.11 05:39:14 SSH_AGENT_PID=16 05:39:14 Running ssh-add (command line suppressed) 05:39:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/private_key_6082328304027478677.key (/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/private_key_6082328304027478677.key) 05:39:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:39:14 + git tag --points-at HEAD [Pipeline] } 05:39:14 $ docker exec --env ******** --env ******** deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 ssh-agent -k 05:39:15 unset SSH_AUTH_SOCK; 05:39:15 unset SSH_AGENT_PID; 05:39:15 echo Agent pid 16 killed; 05:39:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:39:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:39:15 [ssh-agent] Looking for ssh-agent implementation... 05:39:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:39:15 $ docker exec deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 ssh-agent 05:39:15 SSH_AUTH_SOCK=/tmp/ssh-WYRkKy6b3HNY/agent.44 05:39:15 SSH_AGENT_PID=49 05:39:15 Running ssh-add (command line suppressed) 05:39:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/private_key_1718122235609968221.key (/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/private_key_1718122235609968221.key) 05:39:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:39:16 + git semver init 05:39:16 # -> Open(): unable to determine branch for HEAD 05:39:16 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-710/.git 05:39:16 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-710 05:39:16 # $SEMVER_REMOTE_NAME = origin 05:39:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:39:16 # $SEMVER_USER_NAME = edgex-jenkins 05:39:16 # $SEMVER_BRANCH = PR-710 05:39:16 # $SEMVER_TEMP = /tmp/semver-085304684 05:39:16 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:39:16 # '/tmp/semver-085304684' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-710/.semver' 05:39:16 # -> Force: false 05:39:16 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-710/.semver [Pipeline] } 05:39:16 $ docker exec --env ******** --env ******** deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 ssh-agent -k 05:39:16 unset SSH_AUTH_SOCK; 05:39:16 unset SSH_AGENT_PID; 05:39:16 echo Agent pid 49 killed; 05:39:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:39:17 + git semver [Pipeline] } 05:39:17 $ docker stop --time=1 deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 05:39:18 $ docker rm -f deb4ba1ecb81ac14ee4cbb7041b366c0acdef2d081af7178e3b9c2942ea1ce79 [Pipeline] // withDockerContainer [Pipeline] sh 05:39:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:39:19 Stashed 1 file(s) [Pipeline] echo 05:39:19 [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 05:39:35 Still waiting to schedule task 05:39:35 ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-17871’ is offline 05:39:35 Still waiting to schedule task 05:39:35 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:40:58 Running on prd-centos7-docker-4c-2g-17874 in /w/workspace/dgexfoundry_device-sdk-go_PR-710 [Pipeline] { [Pipeline] ws 05:40:58 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:41:00 using credential edgex-jenkins-ssh 05:41:00 Cloning the remote Git repository 05:41:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:41:00 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:41:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:41:00 > git --version # timeout=10 05:41:00 > git --version # 'git version 2.24.3' 05:41:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:02 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit e0d0a96e3e310c273e1c8f98aeacde55ee940b3a 05:41:02 Merge succeeded, producing e0d0a96e3e310c273e1c8f98aeacde55ee940b3a 05:41:02 Checking out Revision e0d0a96e3e310c273e1c8f98aeacde55ee940b3a (PR-710) 05:41:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:41:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:41:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:41:01 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/710/head:refs/remotes/origin/PR-710 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:41:01 > git config core.sparsecheckout # timeout=10 05:41:01 > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 05:41:01 > git remote # timeout=10 05:41:01 > git config --get remote.origin.url # timeout=10 05:41:01 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:01 > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 05:41:01 > git rev-parse HEAD^{commit} # timeout=10 05:41:01 > git config core.sparsecheckout # timeout=10 05:41:01 > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 05:41:05 Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.3" 05:41:05 > git --version # timeout=10 05:41:05 > git --version # 'git version 2.24.3' 05:41:05 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:41:07 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:41:07 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:41:07 + sudo service docker restart 05:41:07 + true 05:41:07 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:41:09 provisioning config files... 05:41:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2789803258960934016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:41:09 ---> docker-login.sh 05:41:09 nexus3.edgexfoundry.org:10001 05:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:10 Configure a credential helper to remove this warning. See 05:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:10 05:41:10 Login Succeeded 05:41:10 nexus3.edgexfoundry.org:10002 05:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:10 Configure a credential helper to remove this warning. See 05:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:10 05:41:10 Login Succeeded 05:41:10 nexus3.edgexfoundry.org:10003 05:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:10 Configure a credential helper to remove this warning. See 05:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:10 05:41:10 Login Succeeded 05:41:10 nexus3.edgexfoundry.org:10004 05:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:10 Configure a credential helper to remove this warning. See 05:41:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:10 05:41:10 Login Succeeded 05:41:10 docker.io 05:41:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:11 Configure a credential helper to remove this warning. See 05:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:11 05:41:11 Login Succeeded 05:41:11 ---> docker-login.sh ends [Pipeline] } 05:41:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:41:11 ========================================================= 05:41:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:41:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:41:12 + 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 . 05:41:12 Sending build context to Docker daemon 2.424MB 05:41:12 Step 1/8 : ARG BASE=golang:1.15-alpine 05:41:12 Step 2/8 : FROM ${BASE} 05:41:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:41:12 188c0c94c7c5: Pulling fs layer 05:41:12 0ef7d3d256c8: Pulling fs layer 05:41:12 de9db76c5a1d: Pulling fs layer 05:41:12 bca2f99d35d6: Pulling fs layer 05:41:12 93359f2a8cfa: Pulling fs layer 05:41:12 7c6f9722023f: Pulling fs layer 05:41:12 a35cf1a2eb13: Pulling fs layer 05:41:12 93359f2a8cfa: Waiting 05:41:12 7c6f9722023f: Waiting 05:41:12 a35cf1a2eb13: Waiting 05:41:12 bca2f99d35d6: Waiting 05:41:12 de9db76c5a1d: Verifying Checksum 05:41:12 de9db76c5a1d: Download complete 05:41:12 0ef7d3d256c8: Download complete 05:41:12 93359f2a8cfa: Verifying Checksum 05:41:12 93359f2a8cfa: Download complete 05:41:12 7c6f9722023f: Verifying Checksum 05:41:12 7c6f9722023f: Download complete 05:41:12 188c0c94c7c5: Verifying Checksum 05:41:12 188c0c94c7c5: Download complete 05:41:12 188c0c94c7c5: Pull complete 05:41:13 0ef7d3d256c8: Pull complete 05:41:13 de9db76c5a1d: Pull complete 05:41:15 a35cf1a2eb13: Verifying Checksum 05:41:15 a35cf1a2eb13: Download complete 05:41:15 bca2f99d35d6: Verifying Checksum 05:41:15 bca2f99d35d6: Download complete 05:41:21 bca2f99d35d6: Pull complete 05:41:21 93359f2a8cfa: Pull complete 05:41:21 7c6f9722023f: Pull complete 05:41:25 a35cf1a2eb13: Pull complete 05:41:25 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:41:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:41:25 ---> a62c8e92a672 05:41:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:41:25 ---> Running in a0e6baf65e07 05:41:25 Removing intermediate container a0e6baf65e07 05:41:25 ---> 2e317923841d 05:41:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:41:25 ---> Running in d67dffd322ad 05:41:27 Removing intermediate container d67dffd322ad 05:41:27 ---> 0fec86873269 05:41:27 Step 5/8 : RUN apk add --no-cache make git 05:41:27 ---> Running in aeb4629d159f 05:41:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:41:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:41:28 OK: 166 MiB in 39 packages 05:41:28 Removing intermediate container aeb4629d159f 05:41:28 ---> d9c93a9141fb 05:41:28 Step 6/8 : WORKDIR /device-sdk-go 05:41:29 ---> Running in 20c4df45a87d 05:41:29 Removing intermediate container 20c4df45a87d 05:41:29 ---> 2ed3ee44fac8 05:41:29 Step 7/8 : COPY . . 05:41:30 ---> 9b4338d4e43c 05:41:30 Step 8/8 : RUN go mod download 05:41:30 ---> Running in be9c30c0a90a 05:41:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17873 in /w/workspace/dgexfoundry_device-sdk-go_PR-710 [Pipeline] { [Pipeline] ws 05:41:37 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:41:43 using credential edgex-jenkins-ssh 05:41:43 Cloning the remote Git repository 05:41:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:41:43 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:41:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:41:43 > git --version # timeout=10 05:41:43 > git --version # 'git version 2.17.1' 05:41:43 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:45 Merging remotes/origin/master commit 42e5a1ea61e0adb23423a933a3224d1395f33e87 into PR head commit e0d0a96e3e310c273e1c8f98aeacde55ee940b3a 05:41:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:41:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:41:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:41:44 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/710/head:refs/remotes/origin/PR-710 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:41:45 > git config core.sparsecheckout # timeout=10 05:41:45 > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 05:41:45 Merge succeeded, producing e0d0a96e3e310c273e1c8f98aeacde55ee940b3a 05:41:45 Checking out Revision e0d0a96e3e310c273e1c8f98aeacde55ee940b3a (PR-710) 05:41:45 > git remote # timeout=10 05:41:45 > git config --get remote.origin.url # timeout=10 05:41:45 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:45 > git merge 42e5a1ea61e0adb23423a933a3224d1395f33e87 # timeout=10 05:41:45 > git rev-parse HEAD^{commit} # timeout=10 05:41:45 > git config core.sparsecheckout # timeout=10 05:41:45 > git checkout -f e0d0a96e3e310c273e1c8f98aeacde55ee940b3a # timeout=10 05:41:50 Commit message: "build(deps): bump github.com/google/uuid from 1.1.2 to 1.1.3" 05:41:50 > git --version # timeout=10 05:41:50 > git --version # 'git version 2.17.1' 05:41:50 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:41:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:41:53 Removing intermediate container be9c30c0a90a 05:41:53 ---> 4e45081df4b5 05:41:53 Successfully built 4e45081df4b5 05:41:53 Successfully tagged ci-base-image-x86_64:latest 05:41:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 05:41:53 + sudo service docker restart 05:41:53 + true 05:41:53 + docker inspect -f . ci-base-image-x86_64 05:41:53 . [Pipeline] withDockerContainer 05:41:54 prd-centos7-docker-4c-2g-17874 does not seem to be running inside a container 05:41:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:41:54 $ docker top e0eee5617fb9ae0ecc36ab0b657d86e2f20afd84416fe76495e34c192452819b -eo pid,comm [Pipeline] { [Pipeline] sh 05:41:55 + go version 05:41:55 go version go1.15.5 linux/amd64 [Pipeline] } 05:41:55 $ docker stop --time=1 e0eee5617fb9ae0ecc36ab0b657d86e2f20afd84416fe76495e34c192452819b 05:41:57 $ docker rm -f e0eee5617fb9ae0ecc36ab0b657d86e2f20afd84416fe76495e34c192452819b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] wrap 05:41:57 provisioning config files... 05:41:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config78982566191122555tmp [Pipeline] // stage [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 05:41:58 ---> docker-login.sh 05:41:58 nexus3.edgexfoundry.org:10001 [Pipeline] isUnix [Pipeline] sh 05:41:58 + docker inspect -f . ci-base-image-x86_64 05:41:58 . [Pipeline] withDockerContainer 05:41:58 prd-centos7-docker-4c-2g-17874 does not seem to be running inside a container 05:41:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:41:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:59 Configure a credential helper to remove this warning. See 05:41:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:59 05:41:59 Login Succeeded 05:41:59 nexus3.edgexfoundry.org:10002 05:41:59 $ docker top da5de062cdc339c2f75bf5266062134052ee673f3c4a404b48c5b0f25bcb9bdf -eo pid,comm [Pipeline] { [Pipeline] sh 05:41:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:59 Configure a credential helper to remove this warning. See 05:41:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:59 05:41:59 Login Succeeded 05:41:59 nexus3.edgexfoundry.org:10003 05:41:59 + make test 05:41:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:00 Configure a credential helper to remove this warning. See 05:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:00 05:42:00 Login Succeeded 05:42:00 nexus3.edgexfoundry.org:10004 05:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:01 Configure a credential helper to remove this warning. See 05:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:01 05:42:01 Login Succeeded 05:42:01 docker.io 05:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:01 Configure a credential helper to remove this warning. See 05:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:01 05:42:01 Login Succeeded 05:42:01 ---> docker-login.sh ends [Pipeline] } 05:42:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:42:02 ========================================================= 05:42:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:42:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:42:03 + 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 . 05:42:03 Sending build context to Docker daemon 2.421MB 05:42:03 Step 1/8 : ARG BASE=golang:1.15-alpine 05:42:03 Step 2/8 : FROM ${BASE} 05:42:03 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:42:03 5f621e34cdf4: Pulling fs layer 05:42:03 a4357932f1b6: Pulling fs layer 05:42:03 18c013af1878: Pulling fs layer 05:42:03 00ac8860ef70: Pulling fs layer 05:42:03 63d7cb157983: Pulling fs layer 05:42:03 b116817d02f9: Pulling fs layer 05:42:03 745a02a5169b: Pulling fs layer 05:42:03 00ac8860ef70: Waiting 05:42:03 63d7cb157983: Waiting 05:42:03 b116817d02f9: Waiting 05:42:03 745a02a5169b: Waiting 05:42:03 a4357932f1b6: Download complete 05:42:03 18c013af1878: Verifying Checksum 05:42:03 18c013af1878: Download complete 05:42:03 63d7cb157983: Verifying Checksum 05:42:03 63d7cb157983: Download complete 05:42:03 5f621e34cdf4: Verifying Checksum 05:42:03 5f621e34cdf4: Download complete 05:42:03 b116817d02f9: Verifying Checksum 05:42:03 b116817d02f9: Download complete 05:42:04 5f621e34cdf4: Pull complete 05:42:05 a4357932f1b6: Pull complete 05:42:05 18c013af1878: Pull complete 05:42:05 745a02a5169b: Verifying Checksum 05:42:05 745a02a5169b: Download complete 05:42:06 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:42:07 00ac8860ef70: Verifying Checksum 05:42:07 00ac8860ef70: Download complete 05:42:17 00ac8860ef70: Pull complete 05:42:18 63d7cb157983: Pull complete 05:42:18 b116817d02f9: Pull complete 05:42:21 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:42:21 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:42:21 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:42:22 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.069s coverage: 19.4% of statements 05:42:22 745a02a5169b: Pull complete 05:42:22 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:42:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:42:22 ---> b7e6874047d6 05:42:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:42:24 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.484s coverage: 97.1% of statements 05:42:25 ---> Running in d2f4ea5d1f3a 05:42:25 Removing intermediate container d2f4ea5d1f3a 05:42:25 ---> 0071621539fa 05:42:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:42:25 ---> Running in d46818d2ebd7 05:42:28 Removing intermediate container d46818d2ebd7 05:42:28 ---> 005d9f4d6d69 05:42:28 Step 5/8 : RUN apk add --no-cache make git 05:42:28 ---> Running in 8f8e05426757 05:42:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:42:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:42:31 OK: 142 MiB in 39 packages 05:42:31 Removing intermediate container 8f8e05426757 05:42:31 ---> 4974399d4104 05:42:31 Step 6/8 : WORKDIR /device-sdk-go 05:42:32 ---> Running in 43e1e9e57e4e 05:42:32 Removing intermediate container 43e1e9e57e4e 05:42:32 ---> 6b23e3d75ad7 05:42:32 Step 7/8 : COPY . . 05:42:33 ---> c5c28f616e21 05:42:33 Step 8/8 : RUN go mod download 05:42:33 ---> Running in b20a75c945c2 05:42:56 Removing intermediate container b20a75c945c2 05:42:56 ---> 7e9d6d340013 05:42:56 Successfully built 7e9d6d340013 05:42:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:42:56 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.060s coverage: 9.4% of statements 05:42:56 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.058s coverage: 21.9% of statements 05:42:56 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:42:56 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.248s coverage: 42.5% of statements 05:42:56 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:42:56 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.289s coverage: 68.9% of statements 05:42:56 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:42:56 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:42:56 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:42:56 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:42:56 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.077s coverage: 53.8% of statements 05:42:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 05:42:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 05:42:56 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:42:56 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.737s coverage: 68.9% of statements 05:42:56 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.076s coverage: 4.2% of statements 05:42:56 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:42:56 GO111MODULE=on go vet ./... 05:42:56 + docker inspect -f . ci-base-image-arm64 05:42:56 . [Pipeline] withDockerContainer 05:42:56 prd-ubuntu18.04-docker-arm64-4c-16g-17873 does not seem to be running inside a container 05:42: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 ******** ci-base-image-arm64 cat 05:42:58 $ docker top f6141cbb71d2427009138c3a5b710acc82001a4cbddaf56f43e123ecae4f52ee -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:59 + go version 05:42:59 go version go1.15.5 linux/arm64 [Pipeline] } 05:42:59 $ docker stop --time=1 f6141cbb71d2427009138c3a5b710acc82001a4cbddaf56f43e123ecae4f52ee 05:43:02 $ docker rm -f f6141cbb71d2427009138c3a5b710acc82001a4cbddaf56f43e123ecae4f52ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 05:43:03 gofmt -l . 05:43:03 [ "`gofmt -l .`" = "" ] 05:43:03 ./bin/test-attribution-txt.sh 05:43:03 ./bin/test-go-mod-tidy.sh [Pipeline] isUnix [Pipeline] sh [Pipeline] } 05:43:03 $ docker stop --time=1 da5de062cdc339c2f75bf5266062134052ee673f3c4a404b48c5b0f25bcb9bdf 05:43:03 + docker inspect -f . ci-base-image-arm64 05:43:03 . 05:43:05 $ docker rm -f da5de062cdc339c2f75bf5266062134052ee673f3c4a404b48c5b0f25bcb9bdf [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withDockerContainer 05:43:06 + sudo chown -R jenkins:jenkins . 05:43:06 prd-ubuntu18.04-docker-arm64-4c-16g-17873 does not seem to be running inside a container 05:43:06 $ 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 ******** ci-base-image-arm64 cat 05:43:07 $ docker top 0d26d605fd2b04a92814107666c3f97667566d56b434440a01625b76ba49485a -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh 05:43:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 05:43:09 + make test 05:43:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:43:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:43:11 + ls -al . 05:43:11 total 208 05:43:11 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 31 05:43 . 05:43:11 drwxrwxr-x. 4 jenkins jenkins 28 Dec 31 05:41 .. 05:43:11 drwxrwxr-x. 2 jenkins jenkins 64 Dec 31 05:41 bin 05:43:11 -rw-r--r--. 1 jenkins jenkins 130526 Dec 31 05:42 coverage.out 05:43:11 -rw-rw-r--. 1 jenkins jenkins 936 Dec 31 05:41 Dockerfile.build 05:43:11 -rw-rw-r--. 1 jenkins jenkins 140 Dec 31 05:41 .dockerignore 05:43:11 drwxrwxr-x. 4 jenkins jenkins 48 Dec 31 05:41 example 05:43:11 drwxrwxr-x. 8 jenkins jenkins 179 Dec 31 05:41 .git 05:43:11 drwxrwxr-x. 2 jenkins jenkins 103 Dec 31 05:41 .github 05:43:11 -rw-rw-r--. 1 jenkins jenkins 138 Dec 31 05:41 .gitignore 05:43:11 -rw-r--r--. 1 jenkins jenkins 488 Dec 31 05:43 go.mod 05:43:11 -rw-r--r--. 1 jenkins jenkins 13716 Dec 31 05:43 go.sum 05:43:11 drwxrwxr-x. 15 jenkins jenkins 211 Dec 31 05:41 internal 05:43:11 -rw-rw-r--. 1 jenkins jenkins 901 Dec 31 05:41 Jenkinsfile 05:43:11 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 31 05:41 LICENSE 05:43:11 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 31 05:41 Makefile 05:43:11 drwxrwxr-x. 4 jenkins jenkins 26 Dec 31 05:41 openapi 05:43:11 drwxrwxr-x. 5 jenkins jenkins 50 Dec 31 05:41 pkg 05:43:11 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 31 05:41 README.md 05:43:11 -rw-rw-r--. 1 jenkins jenkins 6616 Dec 31 05:41 RELEASE-NOTES.txt 05:43:11 drwxrwxr-x. 4 jenkins jenkins 54 Dec 31 05:41 snap 05:43:11 -rw-rw-r--. 1 jenkins jenkins 5 Dec 31 05:39 VERSION 05:43:11 -rw-rw-r--. 1 jenkins jenkins 222 Dec 31 05:41 version.go [Pipeline] isUnix [Pipeline] sh 05:43:12 + 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=e0d0a96e3e310c273e1c8f98aeacde55ee940b3a --label arch=amd64 --label version=0.0.0 . 05:43:12 Sending build context to Docker daemon 2.555MB 05:43:12 Step 1/24 : ARG BASE=golang:1.15-alpine 05:43:12 Step 2/24 : FROM ${BASE} AS builder 05:43:12 ---> 4e45081df4b5 05:43:12 Step 3/24 : ARG MAKE='make build' 05:43:13 ---> Running in 0d09acf72c2d 05:43:13 Removing intermediate container 0d09acf72c2d 05:43:13 ---> 2f09726deabe 05:43:13 Step 4/24 : WORKDIR /device-sdk-go 05:43:13 ---> Running in 2fad834a0346 05:43:13 Removing intermediate container 2fad834a0346 05:43:13 ---> ace03b71e8c7 05:43:13 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:43:13 ---> Running in 46580d27de06 05:43:13 Removing intermediate container 46580d27de06 05:43:13 ---> 00742a252173 05:43:13 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:43:13 ---> Running in 80d3d8be42ad 05:43:14 Removing intermediate container 80d3d8be42ad 05:43:14 ---> 0d87c660fb37 05:43:14 Step 7/24 : RUN apk add --update --no-cache make git 05:43:14 ---> Running in 753af51c9fcf 05:43:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:43:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:43:16 OK: 166 MiB in 39 packages 05:43:16 Removing intermediate container 753af51c9fcf 05:43:16 ---> 2548bc3572da 05:43:16 Step 8/24 : COPY . . 05:43:17 ---> 921af22bc43e 05:43:17 Step 9/24 : RUN ${MAKE} 05:43:17 ---> Running in 0381838e3cdf 05:43:18 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:43:26 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:43:28 Removing intermediate container 0381838e3cdf 05:43:28 ---> 57520696541f 05:43:28 Step 10/24 : FROM scratch 05:43:28 ---> 05:43:28 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:43:28 ---> Running in a363cf2cdac3 05:43:28 Removing intermediate container a363cf2cdac3 05:43:28 ---> a5247ce36a1e 05:43:28 Step 12/24 : ENV APP_PORT=49990 05:43:28 ---> Running in 135b285898a0 05:43:28 Removing intermediate container 135b285898a0 05:43:28 ---> b19169efe281 05:43:28 Step 13/24 : EXPOSE $APP_PORT 05:43:28 ---> Running in 838b2f0c94e3 05:43:28 Removing intermediate container 838b2f0c94e3 05:43:28 ---> 70bf5cdc1317 05:43:28 Step 14/24 : WORKDIR / 05:43:29 ---> Running in 4906b242c8a7 05:43:29 Removing intermediate container 4906b242c8a7 05:43:29 ---> a8ae93f2e090 05:43:29 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:43:29 ---> c902c67851bf 05:43:29 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:43:30 ---> c7734a7b542c 05:43:30 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:43:30 ---> c84f6cc3ed98 05:43:30 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:43:30 ---> 53a715e1000d 05:43:30 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:43:30 ---> 89294b76bdf8 05:43:30 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:43:30 ---> Running in c3c9e201ab6b 05:43:30 Removing intermediate container c3c9e201ab6b 05:43:30 ---> b3544a155027 05:43:30 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:43:30 ---> Running in a887e64fe0f0 05:43:31 Removing intermediate container a887e64fe0f0 05:43:31 ---> 1bf246a5d407 05:43:31 Step 22/24 : LABEL arch=amd64 05:43:31 ---> Running in f49becdc625c 05:43:31 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:43:31 Removing intermediate container f49becdc625c 05:43:31 ---> 2e78684bd54c 05:43:31 Step 23/24 : LABEL git_sha=e0d0a96e3e310c273e1c8f98aeacde55ee940b3a 05:43:31 ---> Running in add21f516d2b 05:43:31 Removing intermediate container add21f516d2b 05:43:31 ---> ca1963d3e187 05:43:31 Step 24/24 : LABEL version=0.0.0 05:43:31 ---> Running in 42780c834948 05:43:31 Removing intermediate container 42780c834948 05:43:31 ---> cc077d3a738e 05:43:31 [Warning] One or more build-args [ARCH] were not consumed 05:43:31 Successfully built cc077d3a738e 05:43:31 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] } 05:44:10 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:44:10 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:44:10 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:44:10 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.182s coverage: 19.4% of statements 05:44:12 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.239s coverage: 97.1% of statements 05:44:44 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.118s coverage: 9.4% of statements 05:44:44 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.121s coverage: 21.9% of statements 05:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:44:44 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.618s coverage: 42.5% of statements 05:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:44:44 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.776s coverage: 68.9% of statements 05:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:44:44 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.177s coverage: 53.8% of statements 05:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 05:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 05:44:44 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:44:44 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.669s coverage: 68.9% of statements 05:44:44 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.132s coverage: 4.2% of statements 05:44:44 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:44:44 GO111MODULE=on go vet ./... 05:45:11 gofmt -l . 05:45:11 [ "`gofmt -l .`" = "" ] 05:45:11 ./bin/test-attribution-txt.sh 05:45:12 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:45:12 $ docker stop --time=1 0d26d605fd2b04a92814107666c3f97667566d56b434440a01625b76ba49485a 05:45:15 $ docker rm -f 0d26d605fd2b04a92814107666c3f97667566d56b434440a01625b76ba49485a [Pipeline] // withDockerContainer [Pipeline] sh 05:45:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:45:16 Warning: overwriting stash ‘coverage-report’ 05:45:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:18 + ls -al . 05:45:18 total 244 05:45:18 drwxrwxr-x 10 jenkins jenkins 4096 Dec 31 05:45 . 05:45:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 31 05:41 .. 05:45:18 -rw-rw-r-- 1 jenkins jenkins 140 Dec 31 05:41 .dockerignore 05:45:18 drwxrwxr-x 8 jenkins jenkins 4096 Dec 31 05:41 .git 05:45:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 31 05:41 .github 05:45:18 -rw-rw-r-- 1 jenkins jenkins 138 Dec 31 05:41 .gitignore 05:45:18 -rw-rw-r-- 1 jenkins jenkins 936 Dec 31 05:41 Dockerfile.build 05:45:18 -rw-rw-r-- 1 jenkins jenkins 901 Dec 31 05:41 Jenkinsfile 05:45:18 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 31 05:41 LICENSE 05:45:18 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 31 05:41 Makefile 05:45:18 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 31 05:41 README.md 05:45:18 -rw-rw-r-- 1 jenkins jenkins 6616 Dec 31 05:41 RELEASE-NOTES.txt 05:45:18 -rw-rw-r-- 1 jenkins jenkins 5 Dec 31 05:39 VERSION 05:45:18 drwxrwxr-x 2 jenkins jenkins 4096 Dec 31 05:41 bin 05:45:18 -rw-r--r-- 1 jenkins jenkins 130526 Dec 31 05:44 coverage.out 05:45:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 31 05:41 example 05:45:18 -rw-r--r-- 1 jenkins jenkins 488 Dec 31 05:45 go.mod 05:45:18 -rw-r--r-- 1 jenkins jenkins 13716 Dec 31 05:45 go.sum 05:45:18 drwxrwxr-x 15 jenkins jenkins 4096 Dec 31 05:41 internal 05:45:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 31 05:41 openapi 05:45:18 drwxrwxr-x 5 jenkins jenkins 4096 Dec 31 05:41 pkg 05:45:18 drwxrwxr-x 4 jenkins jenkins 4096 Dec 31 05:41 snap 05:45:18 -rw-rw-r-- 1 jenkins jenkins 222 Dec 31 05:41 version.go [Pipeline] isUnix [Pipeline] sh 05:45:18 + 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=e0d0a96e3e310c273e1c8f98aeacde55ee940b3a --label arch=arm64 --label version=0.0.0 . 05:45:19 Sending build context to Docker daemon 2.552MB 05:45:19 Step 1/24 : ARG BASE=golang:1.15-alpine 05:45:19 Step 2/24 : FROM ${BASE} AS builder 05:45:19 ---> 7e9d6d340013 05:45:19 Step 3/24 : ARG MAKE='make build' 05:45:19 ---> Running in cd8313802925 05:45:20 Removing intermediate container cd8313802925 05:45:20 ---> ab75775f46d6 05:45:20 Step 4/24 : WORKDIR /device-sdk-go 05:45:20 ---> Running in 15655e6991ee 05:45:20 Removing intermediate container 15655e6991ee 05:45:20 ---> ebdffff902d7 05:45:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:45:21 ---> Running in b898f393fc25 05:45:21 Removing intermediate container b898f393fc25 05:45:21 ---> 58ed59c5f1b2 05:45:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:45:22 ---> Running in a442a5786ca0 05:45:24 Removing intermediate container a442a5786ca0 05:45:24 ---> 9d5e7281d531 05:45:24 Step 7/24 : RUN apk add --update --no-cache make git 05:45:24 ---> Running in 1c943bc72cab 05:45:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:45:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:45:26 OK: 142 MiB in 39 packages 05:45:27 Removing intermediate container 1c943bc72cab 05:45:27 ---> 5648899502f2 05:45:27 Step 8/24 : COPY . . 05:45:29 ---> e6d71fbe656c 05:45:29 Step 9/24 : RUN ${MAKE} 05:45:29 ---> Running in 5cf1c3d5e9d9 05:45:30 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:45:57 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:45:57 Removing intermediate container 5cf1c3d5e9d9 05:45:57 ---> 6b48614ec7d0 05:45:57 Step 10/24 : FROM scratch 05:45:57 ---> 05:45:57 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:45:57 ---> Running in bc48d71f624e 05:45:57 Removing intermediate container bc48d71f624e 05:45:57 ---> 6382b7d4902a 05:45:57 Step 12/24 : ENV APP_PORT=49990 05:45:57 ---> Running in 5c3081de0a18 05:45:58 Removing intermediate container 5c3081de0a18 05:45:58 ---> 7543a69a1017 05:45:58 Step 13/24 : EXPOSE $APP_PORT 05:45:58 ---> Running in 78573de6644c 05:45:58 Removing intermediate container 78573de6644c 05:45:58 ---> 073c51bbd796 05:45:58 Step 14/24 : WORKDIR / 05:45:58 ---> Running in 5c5f14b53df5 05:45:59 Removing intermediate container 5c5f14b53df5 05:45:59 ---> a3c28e0c72b3 05:45:59 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:46:00 ---> d68ef95406c5 05:46:00 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:46:00 ---> 28a88adb3fd6 05:46:00 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:46:01 ---> 8daced35eb8c 05:46:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:46:02 ---> 0ad99aef37b3 05:46:02 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:46:03 ---> f8572f0e2ed7 05:46:03 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:46:03 ---> Running in ccf8a8c16d65 05:46:03 Removing intermediate container ccf8a8c16d65 05:46:03 ---> 5cb1666d4904 05:46:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:46:03 ---> Running in 8a7a72d9724b 05:46:04 Removing intermediate container 8a7a72d9724b 05:46:04 ---> b5985878d3cd 05:46:04 Step 22/24 : LABEL arch=arm64 05:46:04 ---> Running in 30e3249469d5 05:46:05 Removing intermediate container 30e3249469d5 05:46:05 ---> f25d6d76e7ef 05:46:05 Step 23/24 : LABEL git_sha=e0d0a96e3e310c273e1c8f98aeacde55ee940b3a 05:46:05 ---> Running in ce514bf48fe7 05:46:05 Removing intermediate container ce514bf48fe7 05:46:05 ---> 4353c958055d 05:46:05 Step 24/24 : LABEL version=0.0.0 05:46:05 ---> Running in 15a6250bdc02 05:46:06 Removing intermediate container 15a6250bdc02 05:46:06 ---> 5380c522e147 05:46:06 [Warning] One or more build-args [ARCH] were not consumed 05:46:06 Successfully built 5380c522e147 05:46:06 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 05:46:09 provisioning config files... 05:46:09 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/config3576050176844615619tmp [Pipeline] { [Pipeline] sh 05:46:09 + set +x 05:46:09 + curl -s https://codecov.io/bash 05:46:09 + bash -s -- 05:46:10 05:46:10 _____ _ 05:46:10 / ____| | | 05:46:10 | | ___ __| | ___ ___ _____ __ 05:46:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:46:10 | |___| (_) | (_| | __/ (_| (_) \ V / 05:46:10 \_____\___/ \__,_|\___|\___\___/ \_/ 05:46:10 Bash-20201231-23d4836 05:46:10 05:46:10 05:46:10 ==> git version 2.24.3 found 05:46:10 ==> 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 05:46:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:46:10 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:46:10 ==> Jenkins CI detected. 05:46:10 project root: . 05:46:10 --> token set from env 05:46:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:46:10 ==> Running gcov in . (disable via -X gcov) 05:46:10 ==> Python coveragepy not found 05:46:10 ==> Searching for coverage reports in: 05:46:10 + . 05:46:10 -> Found 1 reports 05:46:10 ==> Detecting git/mercurial file structure 05:46:10 ==> Reading reports 05:46:10 + ./coverage.out bytes=130526 05:46:10 ==> Appending adjustments 05:46:10 https://docs.codecov.io/docs/fixing-reports 05:46:10 + Found adjustments 05:46:10 ==> Gzipping contents 05:46:10 24K /tmp/codecov.JVQTXO.gz 05:46:10 ==> Uploading reports 05:46:10 url: https://codecov.io 05:46:10 query: branch=PR-710&commit=e0d0a96e3e310c273e1c8f98aeacde55ee940b3a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-710%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=710&job=&cmd_args= 05:46:10 -> Pinging Codecov 05:46:10 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-710&commit=e0d0a96e3e310c273e1c8f98aeacde55ee940b3a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-710%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=710&job=&cmd_args= 05:46:11 -> Uploading to 05:46:11 https://storage.googleapis.com/codecov/v4/raw/2020-12-31/7E55EF52A471D76F132DFD9A03CDDE97/e0d0a96e3e310c273e1c8f98aeacde55ee940b3a/a7d043d3-7ace-474a-b2fb-4c697c985557.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201231%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201231T054610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1becc2a6a51351f979b8d5933bee9a4cecc61b68ab10590f97f45bda3a5e04c9 05:46:11 % Total % Received % Xferd Average Speed Time Time Time Current 05:46:11 Dload Upload Total Spent Left Speed 05:46:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21278 0 0 100 21278 0 42539 --:--:-- --:--:-- --:--:-- 42556 05:46:11 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e0d0a96e3e310c273e1c8f98aeacde55ee940b3a [Pipeline] } 05:46:11 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 05:46:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:46:15 ---> package-listing.sh 05:46:15 ++ facter osfamily 05:46:15 ++ tr '[:upper:]' '[:lower:]' 05:46:15 + OS_FAMILY=redhat 05:46:15 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-710 05:46:15 + START_PACKAGES=/tmp/packages_start.txt 05:46:15 + END_PACKAGES=/tmp/packages_end.txt 05:46:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:46:15 + PACKAGES=/tmp/packages_start.txt 05:46:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-710 ']' 05:46:15 + PACKAGES=/tmp/packages_end.txt 05:46:15 + case "${OS_FAMILY}" in 05:46:15 + rpm -qa 05:46:15 + sort 05:46:20 + '[' -f /tmp/packages_start.txt ']' 05:46:20 + '[' -f /tmp/packages_end.txt ']' 05:46:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:46:20 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-710 ']' 05:46:20 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-710/archives/ 05:46:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-710/archives/ [Pipeline] echo 05:46:20 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-710/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:46:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:46:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:46:21 05:46:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:46:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:46:21 alpine: Pulling from edgex-lftools-log-publisher 05:46:21 df20fa9351a1: Pulling fs layer 05:46:21 36b3adc4ff6f: Pulling fs layer 05:46:21 8ad3a11d3b57: Pulling fs layer 05:46:21 46f8f816bc3b: Pulling fs layer 05:46:21 93b61091891f: Pulling fs layer 05:46:21 93b9cdb0e59b: Pulling fs layer 05:46:21 5e14af77c1be: Pulling fs layer 05:46:21 01666e4c0597: Pulling fs layer 05:46:21 aa168da1d23b: Pulling fs layer 05:46:21 46f8f816bc3b: Waiting 05:46:21 93b61091891f: Waiting 05:46:21 93b9cdb0e59b: Waiting 05:46:21 5e14af77c1be: Waiting 05:46:21 01666e4c0597: Waiting 05:46:21 aa168da1d23b: Waiting 05:46:21 36b3adc4ff6f: Verifying Checksum 05:46:21 36b3adc4ff6f: Download complete 05:46:21 46f8f816bc3b: Download complete 05:46:22 df20fa9351a1: Download complete 05:46:22 93b9cdb0e59b: Download complete 05:46:22 93b61091891f: Download complete 05:46:22 5e14af77c1be: Verifying Checksum 05:46:22 5e14af77c1be: Download complete 05:46:22 01666e4c0597: Verifying Checksum 05:46:22 01666e4c0597: Download complete 05:46:22 df20fa9351a1: Pull complete 05:46:22 36b3adc4ff6f: Pull complete 05:46:22 8ad3a11d3b57: Verifying Checksum 05:46:22 8ad3a11d3b57: Download complete 05:46:23 8ad3a11d3b57: Pull complete 05:46:23 46f8f816bc3b: Pull complete 05:46:23 93b61091891f: Pull complete 05:46:24 93b9cdb0e59b: Pull complete 05:46:24 aa168da1d23b: Verifying Checksum 05:46:24 aa168da1d23b: Download complete 05:46:25 5e14af77c1be: Pull complete 05:46:25 01666e4c0597: Pull complete 05:46:31 aa168da1d23b: Pull complete 05:46:31 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:46:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:46:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:46:31 prd-centos7-docker-4c-2g-17870 does not seem to be running inside a container 05:46:32 $ 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-710/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-710 -v /w/workspace/dgexfoundry_device-sdk-go_PR-710:/w/workspace/dgexfoundry_device-sdk-go_PR-710:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-710@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:10003/edgex-lftools-log-publisher:alpine cat 05:46:35 $ docker top 9ed40768538a808eebe6032081b77e2a309d155feda1efec11bb15662a893a4a -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:36 + touch /tmp/pre-build-complete [Pipeline] sh 05:46:36 + mkdir -p /var/log/sa [Pipeline] sh 05:46:37 + ls /var/log/sa-host 05:46:37 + sadf -c /var/log/sa-host/sa23 05:46:37 file_magic: OK 05:46:37 HZ: Using current value: 100 05:46:37 file_header: OK 05:46:37 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 05:46:37 Statistics: 05:46:37 Hnuu...uuuununununu... 05:46:37 File successfully converted to sysstat format version 12.2.1 05:46:37 + sadf -c /var/log/sa-host/sa31 05:46:37 file_magic: OK 05:46:37 HZ: Using current value: 100 05:46:37 file_header: OK 05:46:37 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 05:46:37 Statistics: 05:46:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:46:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:46:37 provisioning config files... 05:46:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-710@tmp/config3365471285225334892tmp [Pipeline] { [Pipeline] echo 05:46:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:46:37 ---> create-netrc.sh [Pipeline] } 05:46:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:46:37 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:46:38 ---> python-tools-install.sh [Pipeline] echo 05:46:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:46:38 ---> sudo-logs.sh 05:46:38 Archiving 'sudo' log.. [Pipeline] echo 05:46:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:46:39 ---> job-cost.sh 05:46:39 lf-activate-venv: SKIPPING 05:46:39 INFO: No Stack... 05:46:39 INFO: Retrieving Pricing Info for: v1-standard-2 05:46:40 INFO: Archiving Costs [Pipeline] echo 05:46:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:46:40 ---> logs-deploy.sh 05:46:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-710/1 05:46:40 INFO: archiving workspace using pattern(s): 05:46:43 Archives upload complete. 05:46:43 INFO: archiving logs to Nexus