Pull request #923 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 755ccf0f88b1d27e94309afe20514704e22475f5+8d3d36979320f9fc0ce2797f8744993b6dbca912 (296ccfcab10b5b125744454836ea6018e02471e6) Running in Durability level: PERFORMANCE_OPTIMIZED 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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: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: 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4708 in /w/workspace/dgexfoundry_device-sdk-go_PR-923 [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-923 # 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 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit 755ccf0f88b1d27e94309afe20514704e22475f5 Merge succeeded, producing 755ccf0f88b1d27e94309afe20514704e22475f5 Checking out Revision 755ccf0f88b1d27e94309afe20514704e22475f5 (PR-923) > 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/923/head:refs/remotes/origin/PR-923 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 755ccf0f88b1d27e94309afe20514704e22475f5 # 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 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 755ccf0f88b1d27e94309afe20514704e22475f5 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:47:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:47:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:47:55 ========================================================= 15:47:55 EdgeX Global Pipelines Version Info 15:47:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c9a80948d642452847ce444834f2549de2e54317 # timeout=10 15:47:56 ------------------- 15:47:56 stable info: 15:47:56 ------------------- 15:47:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:47:56 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 15:47:56 Message: update stable to v1.0.192 15:47:57 ------------------- 15:47:57 experimental info: 15:47:57 ------------------- 15:47:57 Commited By: **** collab-it+edgex@linuxfoundation.org 15:47:57 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 15:47:57 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:47:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:47:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:47:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:47:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:47:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:47:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 15:47:57 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:47:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 15:47:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:47:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-923 [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-923 [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-923 [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 755ccf0f88b1d27e94309afe20514704e22475f5 [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 755ccf0 [Pipeline] echo 15:47:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:47:58 provisioning config files... 15:47:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/config7738171745022856817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:47:59 ---> docker-login.sh 15:47:59 nexus3.edgexfoundry.org:10001 15:47:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:59 Configure a credential helper to remove this warning. See 15:47:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:59 15:47:59 Login Succeeded 15:47:59 nexus3.edgexfoundry.org:10002 15:47:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:59 Configure a credential helper to remove this warning. See 15:47:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:59 15:47:59 Login Succeeded 15:47:59 nexus3.edgexfoundry.org:10003 15:47:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:59 Configure a credential helper to remove this warning. See 15:47:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:59 15:47:59 Login Succeeded 15:47:59 nexus3.edgexfoundry.org:10004 15:47:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:47:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:47:59 Configure a credential helper to remove this warning. See 15:47:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:47:59 15:47:59 Login Succeeded 15:47:59 docker.io 15:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:00 Configure a credential helper to remove this warning. See 15:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:00 15:48:00 Login Succeeded 15:48:00 ---> docker-login.sh ends [Pipeline] } 15:48:00 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 15:48:00 + git log --format=format:%s -1 755ccf0f88b1d27e94309afe20514704e22475f5 [Pipeline] echo 15:48:00 GIT_COMMIT: 755ccf0f88b1d27e94309afe20514704e22475f5, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1 [Pipeline] echo 15:48:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:48:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:48:01 15:48:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:48:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:48:01 latest: Pulling from edgex-devops/git-semver 15:48:01 31603596830f: Pulling fs layer 15:48:01 54011a49482f: Pulling fs layer 15:48:01 a6820b24f6d8: Pulling fs layer 15:48:01 f581987b2513: Pulling fs layer 15:48:01 f581987b2513: Waiting 15:48:01 54011a49482f: Verifying Checksum 15:48:01 54011a49482f: Download complete 15:48:01 31603596830f: Download complete 15:48:02 f581987b2513: Download complete 15:48:02 a6820b24f6d8: Verifying Checksum 15:48:02 a6820b24f6d8: Download complete 15:48:02 31603596830f: Pull complete 15:48:02 54011a49482f: Pull complete 15:48:02 a6820b24f6d8: Pull complete 15:48:03 f581987b2513: Pull complete 15:48:03 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 15:48:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:48:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:48:03 prd-centos7-docker-4c-2g-4708 does not seem to be running inside a container 15:48:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-923 -v /w/workspace/dgexfoundry_device-sdk-go_PR-923:/w/workspace/dgexfoundry_device-sdk-go_PR-923:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-923@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 15:48:05 $ docker top b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:48:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:05 [ssh-agent] Looking for ssh-agent implementation... 15:48:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:05 $ docker exec b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 ssh-agent 15:48:05 SSH_AUTH_SOCK=/tmp/ssh-LodeeTCmSLkN/agent.12 15:48:05 SSH_AGENT_PID=17 15:48:05 Running ssh-add (command line suppressed) 15:48:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_8666125831772649039.key (/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_8666125831772649039.key) 15:48:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:05 + git tag --points-at HEAD [Pipeline] } 15:48:05 $ docker exec --env ******** --env ******** b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 ssh-agent -k 15:48:06 unset SSH_AUTH_SOCK; 15:48:06 unset SSH_AGENT_PID; 15:48:06 echo Agent pid 17 killed; 15:48:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:48:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:06 [ssh-agent] Looking for ssh-agent implementation... 15:48:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:06 $ docker exec b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 ssh-agent 15:48:06 SSH_AUTH_SOCK=/tmp/ssh-IqJRAM5lWr7I/agent.46 15:48:06 SSH_AGENT_PID=51 15:48:06 Running ssh-add (command line suppressed) 15:48:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_1081872625904379961.key (/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_1081872625904379961.key) 15:48:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:06 + git semver init 15:48:06 # -> Open(): unable to determine branch for HEAD 15:48:06 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-923/.git 15:48:06 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-923 15:48:06 # $SEMVER_REMOTE_NAME = origin 15:48:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:48:06 # $SEMVER_USER_NAME = edgex-jenkins 15:48:06 # $SEMVER_BRANCH = PR-923 15:48:06 # $SEMVER_TEMP = /tmp/semver-539589594 15:48:06 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:48:09 # '/tmp/semver-539589594' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-923/.semver' 15:48:09 # -> Force: false 15:48:09 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-923/.semver [Pipeline] } 15:48:09 $ docker exec --env ******** --env ******** b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 ssh-agent -k 15:48:09 unset SSH_AUTH_SOCK; 15:48:09 unset SSH_AGENT_PID; 15:48:09 echo Agent pid 51 killed; 15:48:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:48:10 + git semver [Pipeline] } 15:48:10 $ docker stop --time=1 b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 15:48:11 $ docker rm -f b2d703729d68a28ff69acabaeb3300d32bfb0283b2cb0166a8498cf10c124e96 [Pipeline] // withDockerContainer [Pipeline] sh 15:48:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:48:12 Stashed 1 file(s) [Pipeline] echo 15:48:12 [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 15:48:27 Still waiting to schedule task 15:48:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:48:27 Still waiting to schedule task 15:48:27 ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline 15:49:28 Running on prd-centos7-docker-4c-2g-4712 in /w/workspace/dgexfoundry_device-sdk-go_PR-923 [Pipeline] { [Pipeline] ws 15:49:28 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 15:49:31 using credential edgex-jenkins-ssh 15:49:31 Cloning the remote Git repository 15:49:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:49:31 > git init /w/workspace/device-sdk-go/3 # timeout=10 15:49:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:49:31 > git --version # timeout=10 15:49:31 > git --version # 'git version 2.24.3' 15:49:31 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:49:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:49:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:49:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:49:32 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/923/head:refs/remotes/origin/PR-923 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:49:34 Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit 755ccf0f88b1d27e94309afe20514704e22475f5 15:49:34 Merge succeeded, producing 755ccf0f88b1d27e94309afe20514704e22475f5 15:49:34 Checking out Revision 755ccf0f88b1d27e94309afe20514704e22475f5 (PR-923) 15:49:34 > git config core.sparsecheckout # timeout=10 15:49:34 > git checkout -f 755ccf0f88b1d27e94309afe20514704e22475f5 # timeout=10 15:49:34 > git remote # timeout=10 15:49:34 > git config --get remote.origin.url # timeout=10 15:49:34 using GIT_SSH to set credentials SSH Credentials for GitHub 15:49:34 > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 15:49:34 > git rev-parse HEAD^{commit} # timeout=10 15:49:34 > git config core.sparsecheckout # timeout=10 15:49:34 > git checkout -f 755ccf0f88b1d27e94309afe20514704e22475f5 # timeout=10 15:49:37 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:49:38 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 15:49:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:49:39 + true 15:49:39 + sudo service docker restart 15:49:39 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:49:40 provisioning config files... 15:49:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5978287600454232729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:40 ---> docker-login.sh 15:49:40 nexus3.edgexfoundry.org:10001 15:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:41 Configure a credential helper to remove this warning. See 15:49:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:41 15:49:41 Login Succeeded 15:49:41 nexus3.edgexfoundry.org:10002 15:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:41 Configure a credential helper to remove this warning. See 15:49:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:41 15:49:41 Login Succeeded 15:49:41 nexus3.edgexfoundry.org:10003 15:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:41 Configure a credential helper to remove this warning. See 15:49:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:41 15:49:41 Login Succeeded 15:49:41 nexus3.edgexfoundry.org:10004 15:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:42 Configure a credential helper to remove this warning. See 15:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:42 15:49:42 Login Succeeded 15:49:42 docker.io 15:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:42 Configure a credential helper to remove this warning. See 15:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:42 15:49:42 Login Succeeded 15:49:42 ---> docker-login.sh ends [Pipeline] } 15:49:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:49:42 ========================================================= 15:49:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 15:49:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:49:43 + 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 . 15:49:43 Sending build context to Docker daemon 2.559MB 15:49:43 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 15:49:43 Step 2/8 : FROM ${BASE} 15:49:43 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 15:49:43 540db60ca938: Pulling fs layer 15:49:43 adcc1eea9eea: Pulling fs layer 15:49:43 4c4ab2625f07: Pulling fs layer 15:49:43 0510c868ecb4: Pulling fs layer 15:49:43 afea3b2eda06: Pulling fs layer 15:49:43 7809a108b3ef: Pulling fs layer 15:49:43 f706445af74f: Pulling fs layer 15:49:43 afea3b2eda06: Waiting 15:49:43 7809a108b3ef: Waiting 15:49:43 f706445af74f: Waiting 15:49:43 0510c868ecb4: Waiting 15:49:43 4c4ab2625f07: Verifying Checksum 15:49:43 4c4ab2625f07: Download complete 15:49:43 adcc1eea9eea: Verifying Checksum 15:49:43 adcc1eea9eea: Download complete 15:49:43 afea3b2eda06: Download complete 15:49:43 540db60ca938: Verifying Checksum 15:49:43 540db60ca938: Download complete 15:49:43 7809a108b3ef: Verifying Checksum 15:49:43 7809a108b3ef: Download complete 15:49:43 540db60ca938: Pull complete 15:49:43 adcc1eea9eea: Pull complete 15:49:43 4c4ab2625f07: Pull complete 15:49:45 f706445af74f: Verifying Checksum 15:49:45 f706445af74f: Download complete 15:49:45 0510c868ecb4: Verifying Checksum 15:49:45 0510c868ecb4: Download complete 15:49:52 0510c868ecb4: Pull complete 15:49:52 afea3b2eda06: Pull complete 15:49:52 7809a108b3ef: Pull complete 15:49:58 f706445af74f: Pull complete 15:49:58 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 15:49:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 15:49:58 ---> b068be0155e3 15:49:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:49:58 ---> Running in c7da100d7585 15:49:59 Removing intermediate container c7da100d7585 15:49:59 ---> a0936d199a50 15:49:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:49:59 ---> Running in 5ae98017975c 15:50:00 Removing intermediate container 5ae98017975c 15:50:00 ---> 3094f3abab5e 15:50:00 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 15:50:00 ---> Running in b728b20f60c4 15:50:01 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 15:50:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 15:50:03 (1/6) Installing libc-dev (0.7.2-r3) 15:50:03 (2/6) Installing libsodium (1.0.18-r0) 15:50:03 (3/6) Installing pkgconf (1.7.3-r0) 15:50:03 (4/6) Installing libsodium-dev (1.0.18-r0) 15:50:03 (5/6) Installing libzmq (4.3.3-r1) 15:50:03 (6/6) Installing zeromq-dev (4.3.3-r1) 15:50:03 Executing busybox-1.32.1-r6.trigger 15:50:03 OK: 150 MiB in 46 packages 15:50:04 Removing intermediate container b728b20f60c4 15:50:04 ---> 76f1c40ac445 15:50:04 Step 6/8 : WORKDIR /device-sdk-go 15:50:04 ---> Running in 3592771f1af5 15:50:04 Removing intermediate container 3592771f1af5 15:50:04 ---> 16d219922f72 15:50:04 Step 7/8 : COPY . . 15:50:06 ---> 851049faa8f3 15:50:06 Step 8/8 : RUN go mod download 15:50:06 ---> Running in 385f9da7ad50 15:50:28 Removing intermediate container 385f9da7ad50 15:50:28 ---> ed01b28cf8c3 15:50:28 Successfully built ed01b28cf8c3 15:50:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:50:28 + docker inspect -f . ci-base-image-x86_64 15:50:28 . [Pipeline] withDockerContainer 15:50:28 prd-centos7-docker-4c-2g-4712 does not seem to be running inside a container 15:50:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 15:50:29 $ docker top fd5e8474c3b97c82d6add3d520f22789c6a80853a2a62862609f7bd07358d465 -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:29 + go version 15:50:29 go version go1.16.3 linux/amd64 [Pipeline] } 15:50:29 $ docker stop --time=1 fd5e8474c3b97c82d6add3d520f22789c6a80853a2a62862609f7bd07358d465 15:50:31 $ docker rm -f fd5e8474c3b97c82d6add3d520f22789c6a80853a2a62862609f7bd07358d465 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:50:31 + docker inspect -f . ci-base-image-x86_64 15:50:31 . [Pipeline] withDockerContainer 15:50:31 prd-centos7-docker-4c-2g-4712 does not seem to be running inside a container 15:50:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 15:50:32 $ docker top 2cfdbb13719f3d3eb17f5207f1721ac21450f5db44393895fe6192eff37e1cea -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:33 + go mod tidy [Pipeline] sh 15:50:34 + make test 15:50:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:50:42 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:51:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:51:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:51:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:51:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.101s coverage: 25.4% of statements 15:51:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:51:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.101s coverage: 28.1% of statements 15:51:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.083s coverage: 78.9% of statements 15:51:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.073s coverage: 10.7% of statements 15:51:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 15:51:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:51:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:51:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 30.2% of statements 15:51:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:51:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4714 in /w/workspace/dgexfoundry_device-sdk-go_PR-923 [Pipeline] { [Pipeline] ws 15:51:10 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 15:51:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.069s coverage: 83.3% of statements 15:51:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:51:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:51:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.115s coverage: 58.4% of statements 15:51:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.210s coverage: 89.2% of statements 15:51:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:51:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements 15:51:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:51:12 GO111MODULE=on go vet ./... 15:51:16 using credential edgex-jenkins-ssh 15:51:16 Cloning the remote Git repository 15:51:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:51:16 > git init /w/workspace/device-sdk-go/3 # timeout=10 15:51:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:51:16 > git --version # timeout=10 15:51:17 > git --version # 'git version 2.17.1' 15:51:17 using GIT_SSH to set credentials SSH Credentials for GitHub 15:51:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:51:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:51:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:51:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:51:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:51:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:51:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/923/head:refs/remotes/origin/PR-923 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:51:21 Merging remotes/origin/master commit 8d3d36979320f9fc0ce2797f8744993b6dbca912 into PR head commit 755ccf0f88b1d27e94309afe20514704e22475f5 15:51:21 Merge succeeded, producing 755ccf0f88b1d27e94309afe20514704e22475f5 15:51:21 Checking out Revision 755ccf0f88b1d27e94309afe20514704e22475f5 (PR-923) 15:51:21 > git config core.sparsecheckout # timeout=10 15:51:21 > git checkout -f 755ccf0f88b1d27e94309afe20514704e22475f5 # timeout=10 15:51:21 > git remote # timeout=10 15:51:21 > git config --get remote.origin.url # timeout=10 15:51:21 using GIT_SSH to set credentials SSH Credentials for GitHub 15:51:21 > git merge 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 15:51:21 > git rev-parse HEAD^{commit} # timeout=10 15:51:21 > git config core.sparsecheckout # timeout=10 15:51:21 > git checkout -f 755ccf0f88b1d27e94309afe20514704e22475f5 # timeout=10 15:51:26 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:51:27 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 15:51:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:51:28 + sudo service docker restart+ 15:51:28 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:51:30 provisioning config files... 15:51:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5057947867497130940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:51:31 ---> docker-login.sh 15:51:31 nexus3.edgexfoundry.org:10001 15:51:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:32 Configure a credential helper to remove this warning. See 15:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:32 15:51:32 Login Succeeded 15:51:32 nexus3.edgexfoundry.org:10002 15:51:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:33 Configure a credential helper to remove this warning. See 15:51:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:33 15:51:33 Login Succeeded 15:51:33 nexus3.edgexfoundry.org:10003 15:51:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:33 Configure a credential helper to remove this warning. See 15:51:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:33 15:51:33 Login Succeeded 15:51:33 nexus3.edgexfoundry.org:10004 15:51:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:33 Configure a credential helper to remove this warning. See 15:51:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:33 15:51:33 Login Succeeded 15:51:33 docker.io 15:51:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:51:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:51:34 Configure a credential helper to remove this warning. See 15:51:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:51:34 15:51:34 Login Succeeded 15:51:34 ---> docker-login.sh ends [Pipeline] } 15:51:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 15:51:34 gofmt -l . 15:51:34 [ "`gofmt -l .`" = "" ] 15:51:34 ./bin/test-attribution-txt.sh 15:51:34 ./bin/test-go-mod-tidy.sh [Pipeline] echo 15:51:35 ========================================================= 15:51:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 15:51:35 ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] } 15:51:35 $ docker stop --time=1 2cfdbb13719f3d3eb17f5207f1721ac21450f5db44393895fe6192eff37e1cea 15:51:35 + 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 . 15:51:35 Sending build context to Docker daemon 2.558MB 15:51:36 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 15:51:36 Step 2/8 : FROM ${BASE} 15:51:36 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:51:36 595b0fe564bb: Pulling fs layer 15:51:36 7186ed65a4f7: Pulling fs layer 15:51:36 316046926c0a: Pulling fs layer 15:51:36 4ebd0625c992: Pulling fs layer 15:51:36 207e8628e3a3: Pulling fs layer 15:51:36 c791037a9be2: Pulling fs layer 15:51:36 ffd874e62e21: Pulling fs layer 15:51:36 4ebd0625c992: Waiting 15:51:36 207e8628e3a3: Waiting 15:51:36 c791037a9be2: Waiting 15:51:36 ffd874e62e21: Waiting 15:51:36 316046926c0a: Verifying Checksum 15:51:36 316046926c0a: Download complete 15:51:36 7186ed65a4f7: Download complete 15:51:36 207e8628e3a3: Verifying Checksum 15:51:36 207e8628e3a3: Download complete 15:51:36 c791037a9be2: Verifying Checksum 15:51:36 c791037a9be2: Download complete 15:51:36 595b0fe564bb: Download complete 15:51:36 $ docker rm -f 2cfdbb13719f3d3eb17f5207f1721ac21450f5db44393895fe6192eff37e1cea 15:51:37 595b0fe564bb: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh 15:51:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:51:37 7186ed65a4f7: Pull complete 15:51:37 316046926c0a: Pull complete 15:51:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:51:38 ffd874e62e21: Verifying Checksum 15:51:38 ffd874e62e21: Download complete 15:51:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:51:39 + ls -al . 15:51:39 total 212 15:51:39 drwxrwxr-x. 10 jenkins jenkins 4096 May 12 15:51 . 15:51:39 drwxrwxr-x. 4 jenkins jenkins 28 May 12 15:49 .. 15:51:39 drwxrwxr-x. 2 jenkins jenkins 64 May 12 15:49 bin 15:51:39 -rw-r--r--. 1 jenkins jenkins 126002 May 12 15:51 coverage.out 15:51:39 -rw-rw-r--. 1 jenkins jenkins 987 May 12 15:49 Dockerfile.build 15:51:39 -rw-rw-r--. 1 jenkins jenkins 140 May 12 15:49 .dockerignore 15:51:39 drwxrwxr-x. 5 jenkins jenkins 62 May 12 15:49 example 15:51:39 drwxrwxr-x. 8 jenkins jenkins 179 May 12 15:49 .git 15:51:39 drwxrwxr-x. 2 jenkins jenkins 103 May 12 15:49 .github 15:51:39 -rw-rw-r--. 1 jenkins jenkins 138 May 12 15:49 .gitignore 15:51:39 -rw-r--r--. 1 jenkins jenkins 575 May 12 15:51 go.mod 15:51:39 -rw-r--r--. 1 jenkins jenkins 20499 May 12 15:50 go.sum 15:51:39 drwxrwxr-x. 15 jenkins jenkins 224 May 12 15:49 internal 15:51:39 -rw-rw-r--. 1 jenkins jenkins 894 May 12 15:49 Jenkinsfile 15:51:39 -rw-rw-r--. 1 jenkins jenkins 11341 May 12 15:49 LICENSE 15:51:39 -rw-rw-r--. 1 jenkins jenkins 1000 May 12 15:49 Makefile 15:51:39 drwxrwxr-x. 4 jenkins jenkins 26 May 12 15:49 openapi 15:51:39 drwxrwxr-x. 5 jenkins jenkins 50 May 12 15:49 pkg 15:51:39 -rw-rw-r--. 1 jenkins jenkins 7652 May 12 15:49 README.md 15:51:39 -rw-rw-r--. 1 jenkins jenkins 6616 May 12 15:49 RELEASE-NOTES.txt 15:51:39 drwxrwxr-x. 4 jenkins jenkins 54 May 12 15:49 snap 15:51:39 -rw-rw-r--. 1 jenkins jenkins 5 May 12 15:48 VERSION 15:51:39 -rw-rw-r--. 1 jenkins jenkins 222 May 12 15:49 version.go [Pipeline] isUnix [Pipeline] sh 15:51:39 + docker build -t 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=755ccf0f88b1d27e94309afe20514704e22475f5 --label arch=amd64 --label version=0.0.0 . 15:51:39 4ebd0625c992: Verifying Checksum 15:51:39 4ebd0625c992: Download complete 15:51:39 Sending build context to Docker daemon 2.686MB 15:51:39 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 15:51:39 Step 2/23 : FROM ${BASE} AS builder 15:51:39 ---> ed01b28cf8c3 15:51:39 Step 3/23 : WORKDIR /device-sdk-go 15:51:40 ---> Running in 628c2d1f0cea 15:51:40 Removing intermediate container 628c2d1f0cea 15:51:40 ---> 6634e57e0274 15:51:40 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:51:40 ---> Running in 2092ecbba5e6 15:51:41 Removing intermediate container 2092ecbba5e6 15:51:41 ---> 8185180d3505 15:51:41 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:51:41 ---> Running in f12b1a56da0d 15:51:42 Removing intermediate container f12b1a56da0d 15:51:42 ---> 28d66d997ffe 15:51:42 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:51:42 ---> Running in 18787564b296 15:51:42 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 15:51:43 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 15:51:44 OK: 150 MiB in 46 packages 15:51:44 Removing intermediate container 18787564b296 15:51:44 ---> f682926baa13 15:51:44 Step 7/23 : COPY . . 15:51:45 ---> a34c45e19efb 15:51:45 Step 8/23 : RUN go mod download 15:51:45 ---> Running in 4f46f1041301 15:51:47 Removing intermediate container 4f46f1041301 15:51:47 ---> 9ab346f5201f 15:51:47 Step 9/23 : RUN make build 15:51:47 ---> Running in 474507ca2151 15:51:47 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 15:51:50 4ebd0625c992: Pull complete 15:51:50 207e8628e3a3: Pull complete 15:51:50 c791037a9be2: Pull complete 15:51:53 ffd874e62e21: Pull complete 15:51:53 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 15:51:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 15:51:53 ---> cfc18b08335c 15:51:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:51:57 ---> Running in 0e34c7ebc656 15:51:57 Removing intermediate container 0e34c7ebc656 15:51:57 ---> 78c79ff1d911 15:51:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:51:57 ---> Running in 2d09b8122b1c 15:52:00 Removing intermediate container 2d09b8122b1c 15:52:00 ---> d46bfc39d801 15:52:00 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 15:52:00 ---> Running in ea87d6e131c6 15:52:00 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 15:52:01 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 15:52:02 (1/6) Installing libc-dev (0.7.2-r3) 15:52:02 (2/6) Installing libsodium (1.0.18-r0) 15:52:02 (3/6) Installing pkgconf (1.7.3-r0) 15:52:02 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:52:03 (4/6) Installing libsodium-dev (1.0.18-r0) 15:52:03 (5/6) Installing libzmq (4.3.3-r1) 15:52:03 (6/6) Installing zeromq-dev (4.3.3-r1) 15:52:03 Removing intermediate container 474507ca2151 15:52:03 ---> 69ab50bac581 15:52:03 Step 10/23 : FROM alpine:3.12 15:52:03 Executing busybox-1.32.1-r6.trigger 15:52:03 OK: 139 MiB in 46 packages 15:52:03 3.12: Pulling from library/alpine 15:52:03 339de151aab4: Pulling fs layer 15:52:04 339de151aab4: Verifying Checksum 15:52:04 339de151aab4: Download complete 15:52:04 339de151aab4: Pull complete 15:52:04 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 15:52:04 Status: Downloaded newer image for alpine:3.12 15:52:04 ---> 13621d1b12d4 15:52:04 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:52:04 ---> Running in dd62ebfc557e 15:52:04 Removing intermediate container dd62ebfc557e 15:52:04 ---> f86b74fa388d 15:52:04 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:52:04 ---> Running in 9536e379aad4 15:52:04 Removing intermediate container ea87d6e131c6 15:52:04 ---> db6e4e8195cf 15:52:04 Step 6/8 : WORKDIR /device-sdk-go 15:52:04 ---> Running in ca0da03239b8 15:52:05 Removing intermediate container ca0da03239b8 15:52:05 ---> 09f63fa88bcd 15:52:05 Step 7/8 : COPY . . 15:52:06 Removing intermediate container 9536e379aad4 15:52:06 ---> e01fd9df3688 15:52:06 Step 13/23 : RUN apk add --update --no-cache zeromq 15:52:06 ---> Running in fc6b5b2aa16c 15:52:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:52:06 ---> 2d728d727037 15:52:06 Step 8/8 : RUN go mod download 15:52:06 ---> Running in 6663796c8a26 15:52:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:52:07 (1/5) Installing libgcc (9.3.0-r2) 15:52:07 (2/5) Installing libsodium (1.0.18-r0) 15:52:07 (3/5) Installing libstdc++ (9.3.0-r2) 15:52:08 (4/5) Installing libzmq (4.3.3-r0) 15:52:08 (5/5) Installing zeromq (4.3.3-r0) 15:52:08 Executing busybox-1.31.1-r20.trigger 15:52:08 OK: 8 MiB in 19 packages 15:52:08 Removing intermediate container fc6b5b2aa16c 15:52:08 ---> 0176ea09c638 15:52:08 Step 14/23 : WORKDIR / 15:52:09 ---> Running in 42fb67f3bab7 15:52:09 Removing intermediate container 42fb67f3bab7 15:52:09 ---> 6b4ab82c0f72 15:52:09 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:52:09 ---> 662868b24e34 15:52:09 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:52:10 ---> ab98d225904c 15:52:10 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:52:10 ---> 74a2f2d90e9b 15:52:10 Step 18/23 : EXPOSE 49990 15:52:10 ---> Running in fcfcee267742 15:52:10 Removing intermediate container fcfcee267742 15:52:10 ---> 58e144b0578d 15:52:10 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:52:10 ---> Running in 75929ccf347d 15:52:10 Removing intermediate container 75929ccf347d 15:52:10 ---> 0e0b13188c87 15:52:10 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:52:11 ---> Running in 1fa13fec8e7f 15:52:11 Removing intermediate container 1fa13fec8e7f 15:52:11 ---> d7c2e47b9341 15:52:11 Step 21/23 : LABEL arch=amd64 15:52:11 ---> Running in 3bf2049fde47 15:52:11 Removing intermediate container 3bf2049fde47 15:52:11 ---> cb7455f3028b 15:52:11 Step 22/23 : LABEL git_sha=755ccf0f88b1d27e94309afe20514704e22475f5 15:52:11 ---> Running in 31471dd21f7a 15:52:11 Removing intermediate container 31471dd21f7a 15:52:11 ---> 6a9051ddbf1c 15:52:11 Step 23/23 : LABEL version=0.0.0 15:52:11 ---> Running in 81ff0e7f28dc 15:52:11 Removing intermediate container 81ff0e7f28dc 15:52:11 ---> df045a4b2dac 15:52:11 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:52:11 Successfully built df045a4b2dac 15:52:11 Successfully tagged 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 15:52:12 ---> job-cost.sh 15:52:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-28eL 15:52:30 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:52:33 Removing intermediate container 6663796c8a26 15:52:33 ---> 31ee3ae825e1 15:52:33 Successfully built 31ee3ae825e1 15:52:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:52:33 + docker inspect -f . ci-base-image-arm64 15:52:33 . [Pipeline] withDockerContainer 15:52:34 prd-ubuntu18.04-docker-arm64-4c-16g-4714 does not seem to be running inside a container 15:52:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:52:35 $ docker top 2926e3e869059fe0ded31ba68df8574ca1dce0c973ef7a7cb4dadb2b1a217192 -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:36 + go version 15:52:36 go version go1.16.3 linux/arm64 [Pipeline] } 15:52:36 $ docker stop --time=1 2926e3e869059fe0ded31ba68df8574ca1dce0c973ef7a7cb4dadb2b1a217192 15:52:38 $ docker rm -f 2926e3e869059fe0ded31ba68df8574ca1dce0c973ef7a7cb4dadb2b1a217192 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:52:39 + docker inspect -f . ci-base-image-arm64 15:52:39 . [Pipeline] withDockerContainer 15:52:39 prd-ubuntu18.04-docker-arm64-4c-16g-4714 does not seem to be running inside a container 15:52:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:52:41 $ docker top 8ca56771ba5841f76c55f48fbb489b7a446fa50690ff3c9bc84fec503263143d -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:42 + go mod tidy [Pipeline] sh 15:52:43 + make test 15:52:43 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:52:57 lf-activate-venv(): INFO: Adding /tmp/venv-28eL/bin to PATH 15:52:57 INFO: No Stack... 15:52:57 INFO: Retrieving Pricing Info for: v1-standard-2 15:52:57 INFO: Archiving Costs [Pipeline] sh 15:52:57 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 15:52:57 + cut -d, -f6 [Pipeline] lock 15:52:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] 15:52:57 Resource [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] did not exist. Created. 15:52:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:58 + echo total: 0.029999999329447746 [Pipeline] stash 15:52:58 Stashed 1 file(s) [Pipeline] } 15:52:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:53:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:54:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:54:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:54:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:54:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.216s coverage: 25.4% of statements 15:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:54:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 28.1% of statements 15:54:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.235s coverage: 78.9% of statements 15:54:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.203s coverage: 10.7% of statements 15:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 15:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:54:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:54:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.238s coverage: 30.2% of statements 15:54:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:54:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.162s coverage: 83.3% of statements 15:54:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:54:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:54:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.285s coverage: 58.4% of statements 15:54:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.060s coverage: 89.2% of statements 15:54:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:54:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.0% of statements 15:54:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:54:28 GO111MODULE=on go vet ./... 15:55:24 gofmt -l . 15:55:24 [ "`gofmt -l .`" = "" ] 15:55:24 ./bin/test-attribution-txt.sh 15:55:25 ./bin/test-go-mod-tidy.sh [Pipeline] } 15:55:25 $ docker stop --time=1 8ca56771ba5841f76c55f48fbb489b7a446fa50690ff3c9bc84fec503263143d 15:55:27 $ docker rm -f 8ca56771ba5841f76c55f48fbb489b7a446fa50690ff3c9bc84fec503263143d [Pipeline] // withDockerContainer [Pipeline] sh 15:55:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:55:28 Warning: overwriting stash ‘coverage-report’ 15:55:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:55:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:55:31 + ls -al . 15:55:31 total 248 15:55:31 drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:55 . 15:55:31 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:51 .. 15:55:31 -rw-rw-r-- 1 jenkins jenkins 140 May 12 15:51 .dockerignore 15:55:31 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:51 .git 15:55:31 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:51 .github 15:55:31 -rw-rw-r-- 1 jenkins jenkins 138 May 12 15:51 .gitignore 15:55:31 -rw-rw-r-- 1 jenkins jenkins 987 May 12 15:51 Dockerfile.build 15:55:31 -rw-rw-r-- 1 jenkins jenkins 894 May 12 15:51 Jenkinsfile 15:55:31 -rw-rw-r-- 1 jenkins jenkins 11341 May 12 15:51 LICENSE 15:55:31 -rw-rw-r-- 1 jenkins jenkins 1000 May 12 15:51 Makefile 15:55:31 -rw-rw-r-- 1 jenkins jenkins 7652 May 12 15:51 README.md 15:55:31 -rw-rw-r-- 1 jenkins jenkins 6616 May 12 15:51 RELEASE-NOTES.txt 15:55:31 -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:48 VERSION 15:55:31 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:51 bin 15:55:31 -rw-r--r-- 1 jenkins jenkins 126002 May 12 15:54 coverage.out 15:55:31 drwxrwxr-x 5 jenkins jenkins 4096 May 12 15:51 example 15:55:31 -rw-r--r-- 1 jenkins jenkins 575 May 12 15:55 go.mod 15:55:31 -rw-r--r-- 1 jenkins jenkins 20499 May 12 15:52 go.sum 15:55:31 drwxrwxr-x 15 jenkins jenkins 4096 May 12 15:51 internal 15:55:31 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:51 openapi 15:55:31 drwxrwxr-x 5 jenkins jenkins 4096 May 12 15:51 pkg 15:55:31 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:51 snap 15:55:31 -rw-rw-r-- 1 jenkins jenkins 222 May 12 15:51 version.go [Pipeline] isUnix [Pipeline] sh 15:55:31 + docker build -t 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=755ccf0f88b1d27e94309afe20514704e22475f5 --label arch=arm64 --label version=0.0.0 . 15:55:32 Sending build context to Docker daemon 2.685MB 15:55:32 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 15:55:32 Step 2/23 : FROM ${BASE} AS builder 15:55:32 ---> 31ee3ae825e1 15:55:32 Step 3/23 : WORKDIR /device-sdk-go 15:55:32 ---> Running in 913f3c8584ea 15:55:32 Removing intermediate container 913f3c8584ea 15:55:32 ---> 8fc38964d6cc 15:55:32 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:55:32 ---> Running in e6bebccca926 15:55:33 Removing intermediate container e6bebccca926 15:55:33 ---> 91bde41c4d8a 15:55:33 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:55:33 ---> Running in 57236cd04c82 15:55:35 Removing intermediate container 57236cd04c82 15:55:35 ---> 5f64a7868509 15:55:35 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:55:35 ---> Running in 7923daf7d8e3 15:55:36 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 15:55:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 15:55:38 OK: 139 MiB in 46 packages 15:55:39 Removing intermediate container 7923daf7d8e3 15:55:39 ---> f1a3fa40e33f 15:55:39 Step 7/23 : COPY . . 15:55:41 ---> 435eb89c59f8 15:55:41 Step 8/23 : RUN go mod download 15:55:41 ---> Running in 36baead0970b 15:55:44 Removing intermediate container 36baead0970b 15:55:44 ---> d20a0a353691 15:55:44 Step 9/23 : RUN make build 15:55:44 ---> Running in 4675e60437be 15:55:45 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 15:56:17 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:56:20 Removing intermediate container 4675e60437be 15:56:20 ---> d8fe94192734 15:56:20 Step 10/23 : FROM alpine:3.12 15:56:20 3.12: Pulling from library/alpine 15:56:20 d2f70382dc9a: Pulling fs layer 15:56:21 d2f70382dc9a: Pull complete 15:56:21 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 15:56:21 Status: Downloaded newer image for alpine:3.12 15:56:21 ---> 9852663dfa18 15:56:21 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:56:21 ---> Running in 16615aa3ace5 15:56:22 Removing intermediate container 16615aa3ace5 15:56:22 ---> dee8bc8d16a8 15:56:22 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:56:22 ---> Running in 09d7be3cedbf 15:56:25 Removing intermediate container 09d7be3cedbf 15:56:25 ---> d12835ce560f 15:56:25 Step 13/23 : RUN apk add --update --no-cache zeromq 15:56:25 ---> Running in 68d22f705149 15:56:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:56:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:56:27 (1/5) Installing libgcc (9.3.0-r2) 15:56:27 (2/5) Installing libsodium (1.0.18-r0) 15:56:27 (3/5) Installing libstdc++ (9.3.0-r2) 15:56:27 (4/5) Installing libzmq (4.3.3-r0) 15:56:28 (5/5) Installing zeromq (4.3.3-r0) 15:56:28 Executing busybox-1.31.1-r20.trigger 15:56:28 OK: 8 MiB in 19 packages 15:56:29 Removing intermediate container 68d22f705149 15:56:29 ---> 2e5d0851d28a 15:56:29 Step 14/23 : WORKDIR / 15:56:29 ---> Running in f820a9cc211e 15:56:30 Removing intermediate container f820a9cc211e 15:56:30 ---> 0c4cbae38539 15:56:30 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:56:30 ---> a856aa748f45 15:56:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:56:32 ---> 1cc9d16c1bf0 15:56:32 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:56:32 ---> 978a460a8c4b 15:56:32 Step 18/23 : EXPOSE 49990 15:56:33 ---> Running in ca39916caff1 15:56:33 Removing intermediate container ca39916caff1 15:56:33 ---> 919fd12dc77a 15:56:33 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:56:33 ---> Running in 57ff97f9634e 15:56:34 Removing intermediate container 57ff97f9634e 15:56:34 ---> 2ff7f80ba74c 15:56:34 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:56:34 ---> Running in a260d862ee64 15:56:34 Removing intermediate container a260d862ee64 15:56:34 ---> faaead267daf 15:56:34 Step 21/23 : LABEL arch=arm64 15:56:34 ---> Running in 2252f5b5191b 15:56:35 Removing intermediate container 2252f5b5191b 15:56:35 ---> 812c846c8773 15:56:35 Step 22/23 : LABEL git_sha=755ccf0f88b1d27e94309afe20514704e22475f5 15:56:35 ---> Running in bc9a04b8fe69 15:56:35 Removing intermediate container bc9a04b8fe69 15:56:35 ---> e2ee5bd1e137 15:56:35 Step 23/23 : LABEL version=0.0.0 15:56:35 ---> Running in 61e29b077bdf 15:56:36 Removing intermediate container 61e29b077bdf 15:56:36 ---> f0a39a0ab8c7 15:56:36 [Warning] One or more build-args [MAKE ARCH] were not consumed 15:56:36 Successfully built f0a39a0ab8c7 15:56:36 Successfully tagged 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 15:56:36 ---> job-cost.sh 15:56:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3wVs 15:57:15 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:58:37 lf-activate-venv(): INFO: Adding /tmp/venv-3wVs/bin to PATH 15:58:37 INFO: No Stack... 15:58:38 INFO: Retrieving Pricing Info for: lf-standard-4 15:58:39 INFO: Archiving Costs [Pipeline] sh 15:58:39 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 15:58:39 + cut -d, -f6 [Pipeline] lock 15:58:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] 15:58:39 Resource [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] did not exist. Created. 15:58:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-923-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:58:40 /w/workspace/device-sdk-go/3@tmp/durable-c3b08b48/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-c3b08b48/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:58:40 + echo total: 0.20999999344348907 [Pipeline] stash 15:58:40 Warning: overwriting stash ‘stack-cost’ 15:58:40 Stashed 1 file(s) [Pipeline] } 15:58:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-923-3-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 15:58:41 provisioning config files... 15:58:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/config4551007481486018985tmp [Pipeline] { [Pipeline] sh 15:58:41 + set +x 15:58:41 + curl -s https://codecov.io/bash 15:58:41 + bash -s -- 15:58:41 15:58:41 _____ _ 15:58:41 / ____| | | 15:58:41 | | ___ __| | ___ ___ _____ __ 15:58:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:58:41 | |___| (_) | (_| | __/ (_| (_) \ V / 15:58:41 \_____\___/ \__,_|\___|\___\___/ \_/ 15:58:41 Bash-1.0.2 15:58:41 15:58:41 15:58:41 ==> git version 2.24.3 found 15:58:41 ==> 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 15:58:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:58:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:58:41 ==> Jenkins CI detected. 15:58:41 project root: . 15:58:41 --> token set from env 15:58:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:58:41 ==> Running gcov in . (disable via -X gcov) 15:58:41 ==> Python coveragepy not found 15:58:41 ==> Searching for coverage reports in: 15:58:41 + . 15:58:41 -> Found 1 reports 15:58:41 ==> Detecting git/mercurial file structure 15:58:41 ==> Reading reports 15:58:41 + ./coverage.out bytes=126002 15:58:41 ==> Appending adjustments 15:58:41 https://docs.codecov.io/docs/fixing-reports 15:58:41 + Found adjustments 15:58:41 ==> Gzipping contents 15:58:41 20K /tmp/codecov.0Dirzr.gz 15:58:41 ==> Uploading reports 15:58:41 url: https://codecov.io 15:58:41 query: branch=PR-923&commit=755ccf0f88b1d27e94309afe20514704e22475f5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-923%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=923&job=&cmd_args= 15:58:41 -> Pinging Codecov 15:58:41 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-923&commit=755ccf0f88b1d27e94309afe20514704e22475f5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-923%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=923&job=&cmd_args= 15:58:42 -> Uploading to 15:58:42 https://storage.googleapis.com/codecov/v4/raw/2021-05-12/7E55EF52A471D76F132DFD9A03CDDE97/755ccf0f88b1d27e94309afe20514704e22475f5/aeee0bc6-6891-4507-817b-6449fd04108e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210512T155842Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b5fb7f6d3fad9079c76a3489851fa846f232a6c050a4ece0f213295076715ee6 15:58:42 % Total % Received % Xferd Average Speed Time Time Time Current 15:58:42 Dload Upload Total Spent Left Speed 15:58:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16486 0 0 100 16486 0 35623 --:--:-- --:--:-- --:--:-- 35606 100 16486 0 0 100 16486 0 35612 --:--:-- --:--:-- --:--:-- 35606 15:58:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/755ccf0f88b1d27e94309afe20514704e22475f5 [Pipeline] } 15:58:43 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 15:58:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:58:44 ---> package-listing.sh 15:58:44 ++ facter osfamily 15:58:44 ++ tr '[:upper:]' '[:lower:]' 15:58:44 + OS_FAMILY=redhat 15:58:44 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-923 15:58:44 + START_PACKAGES=/tmp/packages_start.txt 15:58:44 + END_PACKAGES=/tmp/packages_end.txt 15:58:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:58:44 + PACKAGES=/tmp/packages_start.txt 15:58:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-923 ']' 15:58:44 + PACKAGES=/tmp/packages_end.txt 15:58:44 + case "${OS_FAMILY}" in 15:58:44 + rpm -qa 15:58:44 + sort 15:58:49 + '[' -f /tmp/packages_start.txt ']' 15:58:49 + '[' -f /tmp/packages_end.txt ']' 15:58:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:58:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-923 ']' 15:58:49 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-923/archives/ 15:58:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-923/archives/ [Pipeline] echo 15:58:49 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-923/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:58:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:58:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:58:50 15:58:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:58:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:58:50 alpine: Pulling from edgex-lftools-log-publisher 15:58:50 df20fa9351a1: Pulling fs layer 15:58:50 36b3adc4ff6f: Pulling fs layer 15:58:50 8ad3a11d3b57: Pulling fs layer 15:58:50 46f8f816bc3b: Pulling fs layer 15:58:50 93b61091891f: Pulling fs layer 15:58:50 93b9cdb0e59b: Pulling fs layer 15:58:50 5e14af77c1be: Pulling fs layer 15:58:50 01666e4c0597: Pulling fs layer 15:58:50 aa168da1d23b: Pulling fs layer 15:58:50 46f8f816bc3b: Waiting 15:58:50 93b61091891f: Waiting 15:58:50 93b9cdb0e59b: Waiting 15:58:50 5e14af77c1be: Waiting 15:58:50 01666e4c0597: Waiting 15:58:50 36b3adc4ff6f: Verifying Checksum 15:58:50 36b3adc4ff6f: Download complete 15:58:50 46f8f816bc3b: Verifying Checksum 15:58:50 46f8f816bc3b: Download complete 15:58:50 df20fa9351a1: Verifying Checksum 15:58:50 df20fa9351a1: Download complete 15:58:50 93b9cdb0e59b: Verifying Checksum 15:58:50 93b9cdb0e59b: Download complete 15:58:50 5e14af77c1be: Download complete 15:58:50 93b61091891f: Verifying Checksum 15:58:50 93b61091891f: Download complete 15:58:50 01666e4c0597: Verifying Checksum 15:58:50 01666e4c0597: Download complete 15:58:50 8ad3a11d3b57: Verifying Checksum 15:58:50 8ad3a11d3b57: Download complete 15:58:51 df20fa9351a1: Pull complete 15:58:51 36b3adc4ff6f: Pull complete 15:58:52 8ad3a11d3b57: Pull complete 15:58:52 46f8f816bc3b: Pull complete 15:58:52 aa168da1d23b: Verifying Checksum 15:58:52 aa168da1d23b: Download complete 15:58:52 93b61091891f: Pull complete 15:58:52 93b9cdb0e59b: Pull complete 15:58:52 5e14af77c1be: Pull complete 15:58:53 01666e4c0597: Pull complete 15:58:59 aa168da1d23b: Pull complete 15:58:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:58:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:58:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:58:59 prd-centos7-docker-4c-2g-4708 does not seem to be running inside a container 15:58:59 $ 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-923/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-923 -v /w/workspace/dgexfoundry_device-sdk-go_PR-923:/w/workspace/dgexfoundry_device-sdk-go_PR-923:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-923@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 15:59:03 $ docker top a1caa9696d1bf35ec4906ffbcbf853bd3bbd566de2ba05b9d388d9fb9d5e4240 -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:04 + touch /tmp/pre-build-complete [Pipeline] sh 15:59:04 + mkdir -p /var/log/sa [Pipeline] sh 15:59:04 + ls /var/log/sa-host 15:59:04 + sadf -c /var/log/sa-host/sa12 15:59:04 file_magic: OK 15:59:04 HZ: Using current value: 100 15:59:04 file_header: OK 15:59:04 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 15:59:04 Statistics: 15:59:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:59:04 File successfully converted to sysstat format version 12.2.1 15:59:04 + sadf -c /var/log/sa-host/sa23 15:59:04 file_magic: OK 15:59:04 HZ: Using current value: 100 15:59:04 file_header: OK 15:59:04 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 15:59:04 Statistics: 15:59:04 Hnuu...uuuununununu... 15:59:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:05 provisioning config files... 15:59:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/config1912168461700922653tmp [Pipeline] { [Pipeline] echo 15:59:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:59:05 ---> create-netrc.sh [Pipeline] } 15:59:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:59:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:59:06 ---> python-tools-install.sh [Pipeline] echo 15:59:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:59:06 ---> sudo-logs.sh 15:59:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:59:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:59:06 ---> job-cost.sh 15:59:06 lf-activate-venv: SKIPPING 15:59:06 DEBUG: total: 0.20999999344348907 15:59:06 INFO: Retrieving Stack Cost... 15:59:08 INFO: Retrieving Pricing Info for: v1-standard-2 15:59:08 INFO: Archiving Costs [Pipeline] echo 15:59:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:59:08 ---> logs-deploy.sh 15:59:08 lf-activate-venv: SKIPPING 15:59:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-923/3 15:59:08 INFO: archiving workspace using pattern(s): 15:59:10 Archives upload complete. 15:59:10 INFO: archiving logs to Nexus