Pull request #892 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b49c517afded470ec08f589981ea555a484c8b78+b1dd491c035f10e3b0b42b335a36e7e39b70da8c (cba3858b01d1578f30b1cc163bb49513645ab16d) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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: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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1433 in /w/workspace/dgexfoundry_device-sdk-go_PR-892 [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-892 # 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 b1dd491c035f10e3b0b42b335a36e7e39b70da8c into PR head commit b49c517afded470ec08f589981ea555a484c8b78 Merge succeeded, producing b49c517afded470ec08f589981ea555a484c8b78 Checking out Revision b49c517afded470ec08f589981ea555a484c8b78 (PR-892) > 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/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b49c517afded470ec08f589981ea555a484c8b78 # 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 b1dd491c035f10e3b0b42b335a36e7e39b70da8c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b49c517afded470ec08f589981ea555a484c8b78 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git rev-list --no-walk d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:02:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:02:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:02:23 ========================================================= 09:02:23 EdgeX Global Pipelines Version Info 09:02:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:02:25 ------------------- 09:02:25 stable info: 09:02:25 ------------------- 09:02:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:02:25 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 09:02:25 Message: update stable to v1.0.186 09:02:26 ------------------- 09:02:26 experimental info: 09:02:26 ------------------- 09:02:26 Commited By: **** collab-it+edgex@linuxfoundation.org 09:02:26 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 09:02:26 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:02:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-892 [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-892 [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-892 [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b49c517afded470ec08f589981ea555a484c8b78 [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b49c517 [Pipeline] echo 09:02:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:02:27 provisioning config files... 09:02:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/config8406231341970227482tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:27 ---> docker-login.sh 09:02:27 nexus3.edgexfoundry.org:10001 09:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:28 Configure a credential helper to remove this warning. See 09:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:28 09:02:28 Login Succeeded 09:02:28 nexus3.edgexfoundry.org:10002 09:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:28 Configure a credential helper to remove this warning. See 09:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:28 09:02:28 Login Succeeded 09:02:28 nexus3.edgexfoundry.org:10003 09:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:28 Configure a credential helper to remove this warning. See 09:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:28 09:02:28 Login Succeeded 09:02:28 nexus3.edgexfoundry.org:10004 09:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:28 Configure a credential helper to remove this warning. See 09:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:28 09:02:28 Login Succeeded 09:02:28 docker.io 09:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:02:29 Configure a credential helper to remove this warning. See 09:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:02:29 09:02:29 Login Succeeded 09:02:29 ---> docker-login.sh ends [Pipeline] } 09:02:29 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 09:02:29 + git log --format=format:%s -1 b49c517afded470ec08f589981ea555a484c8b78 [Pipeline] echo 09:02:29 GIT_COMMIT: b49c517afded470ec08f589981ea555a484c8b78, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 09:02:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:02:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:30 09:02:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:02:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:30 latest: Pulling from edgex-devops/git-semver 09:02:30 31603596830f: Pulling fs layer 09:02:30 2a8b12db71e7: Pulling fs layer 09:02:30 6ca5941a6612: Pulling fs layer 09:02:30 ecc8261a40a4: Pulling fs layer 09:02:30 ecc8261a40a4: Waiting 09:02:30 2a8b12db71e7: Verifying Checksum 09:02:30 2a8b12db71e7: Download complete 09:02:30 31603596830f: Verifying Checksum 09:02:30 31603596830f: Download complete 09:02:30 ecc8261a40a4: Verifying Checksum 09:02:30 ecc8261a40a4: Download complete 09:02:30 6ca5941a6612: Verifying Checksum 09:02:30 6ca5941a6612: Download complete 09:02:31 31603596830f: Pull complete 09:02:31 2a8b12db71e7: Pull complete 09:02:32 6ca5941a6612: Pull complete 09:02:32 ecc8261a40a4: Pull complete 09:02:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:02:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:02:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:02:32 prd-centos7-docker-4c-2g-1433 does not seem to be running inside a container 09:02:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-892 -v /w/workspace/dgexfoundry_device-sdk-go_PR-892:/w/workspace/dgexfoundry_device-sdk-go_PR-892:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-892@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 09:02:34 $ docker top 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:02:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:34 [ssh-agent] Looking for ssh-agent implementation... 09:02:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:34 $ docker exec 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 ssh-agent 09:02:35 SSH_AUTH_SOCK=/tmp/ssh-cKrGsiN84Llu/agent.12 09:02:35 SSH_AGENT_PID=17 09:02:35 Running ssh-add (command line suppressed) 09:02:35 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_3305082492487294440.key (/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_3305082492487294440.key) 09:02:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:35 + git tag --points-at HEAD [Pipeline] } 09:02:35 $ docker exec --env ******** --env ******** 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 ssh-agent -k 09:02:35 unset SSH_AUTH_SOCK; 09:02:35 unset SSH_AGENT_PID; 09:02:35 echo Agent pid 17 killed; 09:02:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:02:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:02:35 [ssh-agent] Looking for ssh-agent implementation... 09:02:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:02:35 $ docker exec 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 ssh-agent 09:02:36 SSH_AUTH_SOCK=/tmp/ssh-HO4OERmvJ3BT/agent.46 09:02:36 SSH_AGENT_PID=51 09:02:36 Running ssh-add (command line suppressed) 09:02:36 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_397522384133001172.key (/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_397522384133001172.key) 09:02:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:02:36 + git semver init 09:02:36 # -> Open(): unable to determine branch for HEAD 09:02:36 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-892/.git 09:02:36 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-892 09:02:36 # $SEMVER_REMOTE_NAME = origin 09:02:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:02:36 # $SEMVER_USER_NAME = edgex-jenkins 09:02:36 # $SEMVER_BRANCH = PR-892 09:02:36 # $SEMVER_TEMP = /tmp/semver-874734663 09:02:36 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:02:37 # '/tmp/semver-874734663' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-892/.semver' 09:02:37 # -> Force: false 09:02:37 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-892/.semver [Pipeline] } 09:02:37 $ docker exec --env ******** --env ******** 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 ssh-agent -k 09:02:37 unset SSH_AUTH_SOCK; 09:02:37 unset SSH_AGENT_PID; 09:02:37 echo Agent pid 51 killed; 09:02:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:02:38 + git semver [Pipeline] } 09:02:38 $ docker stop --time=1 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 09:02:39 $ docker rm -f 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 [Pipeline] // withDockerContainer [Pipeline] sh 09:02:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:02:40 Stashed 1 file(s) [Pipeline] echo 09:02:40 [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 09:02:55 Still waiting to schedule task 09:02:55 Waiting for next available executor on ‘centos7-docker-4c-2g’ 09:02:55 Still waiting to schedule task 09:02:55 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 09:05:09 Running on prd-centos7-docker-4c-2g-1435 in /w/workspace/dgexfoundry_device-sdk-go_PR-892 [Pipeline] { [Pipeline] ws 09:05:09 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 09:05:12 using credential edgex-jenkins-ssh 09:05:12 Cloning the remote Git repository 09:05:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:05:12 > git init /w/workspace/device-sdk-go/3 # timeout=10 09:05:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:05:12 > git --version # timeout=10 09:05:12 > git --version # 'git version 2.24.3' 09:05:12 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:14 Merging remotes/origin/master commit b1dd491c035f10e3b0b42b335a36e7e39b70da8c into PR head commit b49c517afded470ec08f589981ea555a484c8b78 09:05:14 Merge succeeded, producing b49c517afded470ec08f589981ea555a484c8b78 09:05:14 Checking out Revision b49c517afded470ec08f589981ea555a484c8b78 (PR-892) 09:05:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:05:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:05:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:05:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:05:13 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:05:14 > git config core.sparsecheckout # timeout=10 09:05:14 > git checkout -f b49c517afded470ec08f589981ea555a484c8b78 # timeout=10 09:05:14 > git remote # timeout=10 09:05:14 > git config --get remote.origin.url # timeout=10 09:05:14 using GIT_SSH to set credentials SSH Credentials for GitHub 09:05:14 > git merge b1dd491c035f10e3b0b42b335a36e7e39b70da8c # timeout=10 09:05:14 > git rev-parse HEAD^{commit} # timeout=10 09:05:14 > git config core.sparsecheckout # timeout=10 09:05:14 > git checkout -f b49c517afded470ec08f589981ea555a484c8b78 # timeout=10 09:05:17 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:05:19 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:05:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:05:19 + sudo service docker restart 09:05:19 + true 09:05:19 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:05:21 provisioning config files... 09:05:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1600483476413924301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:21 ---> docker-login.sh 09:05:21 nexus3.edgexfoundry.org:10001 09:05:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:22 Configure a credential helper to remove this warning. See 09:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:22 09:05:22 Login Succeeded 09:05:22 nexus3.edgexfoundry.org:10002 09:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:22 Configure a credential helper to remove this warning. See 09:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:22 09:05:22 Login Succeeded 09:05:22 nexus3.edgexfoundry.org:10003 09:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:22 Configure a credential helper to remove this warning. See 09:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:22 09:05:22 Login Succeeded 09:05:22 nexus3.edgexfoundry.org:10004 09:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:22 Configure a credential helper to remove this warning. See 09:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:22 09:05:22 Login Succeeded 09:05:22 docker.io 09:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:05:23 Configure a credential helper to remove this warning. See 09:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:05:23 09:05:23 Login Succeeded 09:05:23 ---> docker-login.sh ends [Pipeline] } 09:05:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:05:23 ========================================================= 09:05:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:05:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:05:23 + 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 . 09:05:23 Sending build context to Docker daemon 2.456MB 09:05:23 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:05:23 Step 2/8 : FROM ${BASE} 09:05:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:05:23 188c0c94c7c5: Pulling fs layer 09:05:23 0ef7d3d256c8: Pulling fs layer 09:05:23 de9db76c5a1d: Pulling fs layer 09:05:23 bca2f99d35d6: Pulling fs layer 09:05:23 93359f2a8cfa: Pulling fs layer 09:05:23 7c6f9722023f: Pulling fs layer 09:05:23 a35cf1a2eb13: Pulling fs layer 09:05:23 7c6f9722023f: Waiting 09:05:23 93359f2a8cfa: Waiting 09:05:23 bca2f99d35d6: Waiting 09:05:23 a35cf1a2eb13: Waiting 09:05:23 de9db76c5a1d: Verifying Checksum 09:05:23 de9db76c5a1d: Download complete 09:05:23 0ef7d3d256c8: Verifying Checksum 09:05:23 0ef7d3d256c8: Download complete 09:05:23 93359f2a8cfa: Verifying Checksum 09:05:23 93359f2a8cfa: Download complete 09:05:23 188c0c94c7c5: Verifying Checksum 09:05:23 188c0c94c7c5: Download complete 09:05:23 7c6f9722023f: Verifying Checksum 09:05:23 7c6f9722023f: Download complete 09:05:24 188c0c94c7c5: Pull complete 09:05:24 0ef7d3d256c8: Pull complete 09:05:24 de9db76c5a1d: Pull complete 09:05:26 a35cf1a2eb13: Verifying Checksum 09:05:26 a35cf1a2eb13: Download complete 09:05:26 bca2f99d35d6: Verifying Checksum 09:05:26 bca2f99d35d6: Download complete 09:05:33 bca2f99d35d6: Pull complete 09:05:33 93359f2a8cfa: Pull complete 09:05:33 7c6f9722023f: Pull complete 09:05:37 a35cf1a2eb13: Pull complete 09:05:37 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:05:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:05:37 ---> a62c8e92a672 09:05:37 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:05:37 ---> Running in 827625178c9e 09:05:38 Removing intermediate container 827625178c9e 09:05:38 ---> 377db816a565 09:05:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:05:38 ---> Running in 2225a3916104 09:05:39 Removing intermediate container 2225a3916104 09:05:39 ---> 171d54f9541b 09:05:39 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 09:05:39 ---> Running in fdf8728d8f2d 09:05:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:05:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:05:41 (1/6) Installing libc-dev (0.7.2-r3) 09:05:41 (2/6) Installing libsodium (1.0.18-r0) 09:05:41 (3/6) Installing pkgconf (1.7.2-r0) 09:05:41 (4/6) Installing libsodium-dev (1.0.18-r0) 09:05:41 (5/6) Installing libzmq (4.3.3-r0) 09:05:41 (6/6) Installing zeromq-dev (4.3.3-r0) 09:05:41 Executing busybox-1.31.1-r19.trigger 09:05:41 OK: 167 MiB in 45 packages 09:05:42 Removing intermediate container fdf8728d8f2d 09:05:42 ---> e3bd6ec7b971 09:05:42 Step 6/8 : WORKDIR /device-sdk-go 09:05:42 ---> Running in 7e1cebb12da5 09:05:42 Removing intermediate container 7e1cebb12da5 09:05:42 ---> 0c63d494bf7f 09:05:42 Step 7/8 : COPY . . 09:05:44 ---> b39ed59c9377 09:05:44 Step 8/8 : RUN go mod download 09:05:44 ---> Running in 2c3babb548ff 09:06:06 Removing intermediate container 2c3babb548ff 09:06:06 ---> 9a3e220ad97c 09:06:06 Successfully built 9a3e220ad97c 09:06:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:06:06 + docker inspect -f . ci-base-image-x86_64 09:06:06 . [Pipeline] withDockerContainer 09:06:06 prd-centos7-docker-4c-2g-1435 does not seem to be running inside a container 09:06:06 $ 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 09:06:07 $ docker top d82ede63a0b4a1593cf89c5b33d173933b023d71fe47d06fcd960acbb5cacaab -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:08 + go version 09:06:08 go version go1.15.5 linux/amd64 [Pipeline] } 09:06:08 $ docker stop --time=1 d82ede63a0b4a1593cf89c5b33d173933b023d71fe47d06fcd960acbb5cacaab 09:06:09 $ docker rm -f d82ede63a0b4a1593cf89c5b33d173933b023d71fe47d06fcd960acbb5cacaab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:06:09 + docker inspect -f . ci-base-image-x86_64 09:06:09 . [Pipeline] withDockerContainer 09:06:10 prd-centos7-docker-4c-2g-1435 does not seem to be running inside a container 09:06:10 $ 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 09:06:10 $ docker top 51d2dcd201447d252e2673e2a2b58a945d017b0773680b151fb701304260e3da -eo pid,comm [Pipeline] { [Pipeline] sh 09:06:11 + make test 09:06:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:06:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:06:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1436 in /w/workspace/dgexfoundry_device-sdk-go_PR-892 [Pipeline] { [Pipeline] ws 09:06:38 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 09:06:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:06:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 09:06:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:06:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 09:06:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:06:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.120s coverage: 28.1% of statements 09:06:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements 09:06:44 using credential edgex-jenkins-ssh 09:06:44 Cloning the remote Git repository 09:06:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.100s coverage: 7.8% of statements 09:06:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 09:06:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 09:06:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:06:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 32.0% of statements 09:06:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:06:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:06:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:06:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:06:44 > git init /w/workspace/device-sdk-go/3 # timeout=10 09:06:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:06:44 > git --version # timeout=10 09:06:44 > git --version # 'git version 2.17.1' 09:06:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:06:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 57.2% of statements 09:06:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.242s coverage: 6.6% of statements 09:06:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:06:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:06:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:06:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:06:45 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:06:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 09:06:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:06:46 Merging remotes/origin/master commit b1dd491c035f10e3b0b42b335a36e7e39b70da8c into PR head commit b49c517afded470ec08f589981ea555a484c8b78 09:06:46 GO111MODULE=on go vet ./... 09:06:46 Merge succeeded, producing b49c517afded470ec08f589981ea555a484c8b78 09:06:46 Checking out Revision b49c517afded470ec08f589981ea555a484c8b78 (PR-892) 09:06:46 > git config core.sparsecheckout # timeout=10 09:06:46 > git checkout -f b49c517afded470ec08f589981ea555a484c8b78 # timeout=10 09:06:46 > git remote # timeout=10 09:06:46 > git config --get remote.origin.url # timeout=10 09:06:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:06:46 > git merge b1dd491c035f10e3b0b42b335a36e7e39b70da8c # timeout=10 09:06:46 > git rev-parse HEAD^{commit} # timeout=10 09:06:46 > git config core.sparsecheckout # timeout=10 09:06:46 > git checkout -f b49c517afded470ec08f589981ea555a484c8b78 # timeout=10 09:06:50 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:06:52 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:06:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:06:53 + sudo service docker restart 09:06:53 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:06:55 provisioning config files... 09:06:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1714905278215430845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:06:55 ---> docker-login.sh 09:06:55 nexus3.edgexfoundry.org:10001 09:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:56 Configure a credential helper to remove this warning. See 09:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:56 09:06:56 Login Succeeded 09:06:56 nexus3.edgexfoundry.org:10002 09:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:57 Configure a credential helper to remove this warning. See 09:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:57 09:06:57 Login Succeeded 09:06:57 nexus3.edgexfoundry.org:10003 09:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:57 Configure a credential helper to remove this warning. See 09:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:57 09:06:57 Login Succeeded 09:06:57 nexus3.edgexfoundry.org:10004 09:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:58 Configure a credential helper to remove this warning. See 09:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:58 09:06:58 Login Succeeded 09:06:58 docker.io 09:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:06:59 Configure a credential helper to remove this warning. See 09:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:06:59 09:06:59 Login Succeeded 09:06:59 ---> docker-login.sh ends [Pipeline] } 09:06:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:06:59 ========================================================= 09:06:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:06:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:07:00 + 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 . 09:07:00 Sending build context to Docker daemon 2.455MB 09:07:00 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:07:00 Step 2/8 : FROM ${BASE} 09:07:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:07:00 5f621e34cdf4: Pulling fs layer 09:07:00 a4357932f1b6: Pulling fs layer 09:07:00 18c013af1878: Pulling fs layer 09:07:00 00ac8860ef70: Pulling fs layer 09:07:00 63d7cb157983: Pulling fs layer 09:07:00 b116817d02f9: Pulling fs layer 09:07:00 745a02a5169b: Pulling fs layer 09:07:00 00ac8860ef70: Waiting 09:07:00 63d7cb157983: Waiting 09:07:00 b116817d02f9: Waiting 09:07:00 745a02a5169b: Waiting 09:07:00 18c013af1878: Verifying Checksum 09:07:00 18c013af1878: Download complete 09:07:00 a4357932f1b6: Verifying Checksum 09:07:00 a4357932f1b6: Download complete 09:07:00 63d7cb157983: Verifying Checksum 09:07:00 63d7cb157983: Download complete 09:07:00 b116817d02f9: Verifying Checksum 09:07:00 b116817d02f9: Download complete 09:07:00 5f621e34cdf4: Verifying Checksum 09:07:00 5f621e34cdf4: Download complete 09:07:01 5f621e34cdf4: Pull complete 09:07:02 a4357932f1b6: Pull complete 09:07:02 18c013af1878: Pull complete 09:07:03 745a02a5169b: Verifying Checksum 09:07:03 745a02a5169b: Download complete 09:07:04 00ac8860ef70: Verifying Checksum 09:07:04 00ac8860ef70: Download complete 09:07:04 gofmt -l . 09:07:04 [ "`gofmt -l .`" = "" ] 09:07:04 ./bin/test-attribution-txt.sh 09:07:04 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:07:04 $ docker stop --time=1 51d2dcd201447d252e2673e2a2b58a945d017b0773680b151fb701304260e3da 09:07:06 $ docker rm -f 51d2dcd201447d252e2673e2a2b58a945d017b0773680b151fb701304260e3da [Pipeline] // withDockerContainer [Pipeline] sh 09:07:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:07:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:07:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:07:08 + ls -al . 09:07:08 total 188 09:07:08 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 22 09:07 . 09:07:08 drwxrwxr-x. 4 jenkins jenkins 28 Apr 22 09:05 .. 09:07:08 drwxrwxr-x. 2 jenkins jenkins 64 Apr 22 09:05 bin 09:07:08 -rw-r--r--. 1 jenkins jenkins 100024 Apr 22 09:06 coverage.out 09:07:08 -rw-rw-r--. 1 jenkins jenkins 987 Apr 22 09:05 Dockerfile.build 09:07:08 -rw-rw-r--. 1 jenkins jenkins 140 Apr 22 09:05 .dockerignore 09:07:08 drwxrwxr-x. 5 jenkins jenkins 62 Apr 22 09:05 example 09:07:08 drwxrwxr-x. 8 jenkins jenkins 179 Apr 22 09:05 .git 09:07:08 drwxrwxr-x. 2 jenkins jenkins 103 Apr 22 09:05 .github 09:07:08 -rw-rw-r--. 1 jenkins jenkins 138 Apr 22 09:05 .gitignore 09:07:08 -rw-r--r--. 1 jenkins jenkins 575 Apr 22 09:07 go.mod 09:07:08 -rw-r--r--. 1 jenkins jenkins 20737 Apr 22 09:07 go.sum 09:07:08 drwxrwxr-x. 14 jenkins jenkins 207 Apr 22 09:05 internal 09:07:08 -rw-rw-r--. 1 jenkins jenkins 901 Apr 22 09:05 Jenkinsfile 09:07:08 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 22 09:05 LICENSE 09:07:08 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 22 09:05 Makefile 09:07:08 drwxrwxr-x. 4 jenkins jenkins 26 Apr 22 09:05 openapi 09:07:08 drwxrwxr-x. 5 jenkins jenkins 50 Apr 22 09:05 pkg 09:07:08 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 22 09:05 README.md 09:07:08 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 22 09:05 RELEASE-NOTES.txt 09:07:08 drwxrwxr-x. 4 jenkins jenkins 54 Apr 22 09:05 snap 09:07:08 -rw-rw-r--. 1 jenkins jenkins 5 Apr 22 09:02 VERSION 09:07:08 -rw-rw-r--. 1 jenkins jenkins 222 Apr 22 09:05 version.go [Pipeline] isUnix [Pipeline] sh 09:07:09 + 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=b49c517afded470ec08f589981ea555a484c8b78 --label arch=amd64 --label version=0.0.0 . 09:07:09 Sending build context to Docker daemon 2.557MB 09:07:09 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 09:07:09 Step 2/23 : FROM ${BASE} AS builder 09:07:09 ---> 9a3e220ad97c 09:07:09 Step 3/23 : WORKDIR /device-sdk-go 09:07:09 ---> Running in 85bc1419e8bd 09:07:10 Removing intermediate container 85bc1419e8bd 09:07:10 ---> 829abff8b810 09:07:10 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:07:10 ---> Running in 22212b3ca769 09:07:10 Removing intermediate container 22212b3ca769 09:07:10 ---> 7409d80806f0 09:07:10 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:10 ---> Running in 38ec24c357f5 09:07:11 Removing intermediate container 38ec24c357f5 09:07:11 ---> 29f2a3574812 09:07:11 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 09:07:11 ---> Running in 5739e210d626 09:07:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:07:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:07:13 OK: 167 MiB in 45 packages 09:07:13 Removing intermediate container 5739e210d626 09:07:13 ---> d3c9972cbb78 09:07:13 Step 7/23 : COPY . . 09:07:14 00ac8860ef70: Pull complete 09:07:14 63d7cb157983: Pull complete 09:07:14 b116817d02f9: Pull complete 09:07:14 ---> cc84a0239c3e 09:07:14 Step 8/23 : RUN go mod download 09:07:14 ---> Running in c03aa782557b 09:07:16 Removing intermediate container c03aa782557b 09:07:16 ---> 9fb849a55403 09:07:16 Step 9/23 : RUN make build 09:07:16 ---> Running in be4d85c02624 09:07:16 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 09:07:18 745a02a5169b: Pull complete 09:07:18 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:07:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:07:18 ---> b7e6874047d6 09:07:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:07:21 ---> Running in b9bcf8dfa695 09:07:21 Removing intermediate container b9bcf8dfa695 09:07:21 ---> af08ed88dd5c 09:07:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:21 ---> Running in 7cd7df23379b 09:07:24 Removing intermediate container 7cd7df23379b 09:07:24 ---> d58c66aacc8b 09:07:24 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 09:07:24 ---> Running in 7fa2089aed9f 09:07:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:07:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:07:26 (1/6) Installing libc-dev (0.7.2-r3) 09:07:26 (2/6) Installing libsodium (1.0.18-r0) 09:07:26 (3/6) Installing pkgconf (1.7.2-r0) 09:07:27 (4/6) Installing libsodium-dev (1.0.18-r0) 09:07:27 (5/6) Installing libzmq (4.3.3-r0) 09:07:27 (6/6) Installing zeromq-dev (4.3.3-r0) 09:07:27 Executing busybox-1.31.1-r19.trigger 09:07:27 OK: 144 MiB in 45 packages 09:07:28 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 09:07:28 Removing intermediate container 7fa2089aed9f 09:07:28 ---> 0a4d604091f7 09:07:28 Step 6/8 : WORKDIR /device-sdk-go 09:07:29 ---> Running in d45d863cab8e 09:07:29 Removing intermediate container d45d863cab8e 09:07:29 ---> 0c0f9606b795 09:07:29 Step 7/8 : COPY . . 09:07:30 Removing intermediate container be4d85c02624 09:07:30 ---> ae246310ad29 09:07:30 Step 10/23 : FROM alpine:3.12 09:07:30 3.12: Pulling from library/alpine 09:07:30 339de151aab4: Pulling fs layer 09:07:30 339de151aab4: Verifying Checksum 09:07:30 339de151aab4: Download complete 09:07:30 ---> da35af51908c 09:07:30 Step 8/8 : RUN go mod download 09:07:30 ---> Running in 7af2a31efbf1 09:07:31 339de151aab4: Pull complete 09:07:31 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 09:07:31 Status: Downloaded newer image for alpine:3.12 09:07:31 ---> 13621d1b12d4 09:07:31 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:07:31 ---> Running in f2b9ffe66275 09:07:32 Removing intermediate container f2b9ffe66275 09:07:32 ---> 7897e785a55c 09:07:32 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:07:32 ---> Running in c9d685c3dda6 09:07:33 Removing intermediate container c9d685c3dda6 09:07:33 ---> 49bc99744f06 09:07:33 Step 13/23 : RUN apk add --update --no-cache zeromq 09:07:33 ---> Running in 900d601217a8 09:07:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:07:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:07:35 (1/5) Installing libgcc (9.3.0-r2) 09:07:35 (2/5) Installing libsodium (1.0.18-r0) 09:07:35 (3/5) Installing libstdc++ (9.3.0-r2) 09:07:36 (4/5) Installing libzmq (4.3.3-r0) 09:07:36 (5/5) Installing zeromq (4.3.3-r0) 09:07:36 Executing busybox-1.31.1-r20.trigger 09:07:36 OK: 8 MiB in 19 packages 09:07:37 Removing intermediate container 900d601217a8 09:07:37 ---> 0322269b3f6f 09:07:37 Step 14/23 : WORKDIR / 09:07:37 ---> Running in baced728ad4a 09:07:37 Removing intermediate container baced728ad4a 09:07:37 ---> 80a0b6b31434 09:07:37 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:07:37 ---> f79f27556ed2 09:07:37 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:07:38 ---> e50f04621a33 09:07:38 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:07:38 ---> c65de7cda8d5 09:07:38 Step 18/23 : EXPOSE 49990 09:07:38 ---> Running in 3b6634b8a664 09:07:38 Removing intermediate container 3b6634b8a664 09:07:38 ---> 1f66a17cf60e 09:07:38 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:07:38 ---> Running in f703729c2ee2 09:07:39 Removing intermediate container f703729c2ee2 09:07:39 ---> 996380c09bcf 09:07:39 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:07:39 ---> Running in b27d8b016150 09:07:39 Removing intermediate container b27d8b016150 09:07:39 ---> 357ec257a587 09:07:39 Step 21/23 : LABEL arch=amd64 09:07:39 ---> Running in de6876acfe45 09:07:39 Removing intermediate container de6876acfe45 09:07:39 ---> 8f5ec7f1a10f 09:07:39 Step 22/23 : LABEL git_sha=b49c517afded470ec08f589981ea555a484c8b78 09:07:39 ---> Running in ab0f41b4a042 09:07:39 Removing intermediate container ab0f41b4a042 09:07:39 ---> 0af84969923f 09:07:39 Step 23/23 : LABEL version=0.0.0 09:07:39 ---> Running in ef31054bdb9f 09:07:39 Removing intermediate container ef31054bdb9f 09:07:39 ---> 3ba7a06f5a7f 09:07:39 [Warning] One or more build-args [MAKE ARCH] were not consumed 09:07:39 Successfully built 3ba7a06f5a7f 09:07:39 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:07:40 ---> job-cost.sh 09:07:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6eeW 09:07:55 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:07:57 Removing intermediate container 7af2a31efbf1 09:07:57 ---> d43b88de0e8c 09:07:57 Successfully built d43b88de0e8c 09:07:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:07:58 + docker inspect -f . ci-base-image-arm64 09:07:58 . [Pipeline] withDockerContainer 09:07:58 prd-ubuntu18.04-docker-arm64-4c-16g-1436 does not seem to be running inside a container 09:07:58 $ 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-arm64 cat 09:08:00 $ docker top 69111d86a717e9024c0b3641c0d72aec5b8fc1e451d58d44967a59bb2fdf92db -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:01 + go version 09:08:01 go version go1.15.5 linux/arm64 [Pipeline] } 09:08:01 $ docker stop --time=1 69111d86a717e9024c0b3641c0d72aec5b8fc1e451d58d44967a59bb2fdf92db 09:08:03 $ docker rm -f 69111d86a717e9024c0b3641c0d72aec5b8fc1e451d58d44967a59bb2fdf92db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:08:04 + docker inspect -f . ci-base-image-arm64 09:08:04 . [Pipeline] withDockerContainer 09:08:05 prd-ubuntu18.04-docker-arm64-4c-16g-1436 does not seem to be running inside a container 09:08:05 $ 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-arm64 cat 09:08:06 $ docker top 6d2324ba6a0d9119e46ab8a7f0039dfcbb652044432076ab358a3e4675949afc -eo pid,comm [Pipeline] { [Pipeline] sh 09:08:07 + make test 09:08:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:08:28 lf-activate-venv(): INFO: Adding /tmp/venv-6eeW/bin to PATH 09:08:28 INFO: No Stack... 09:08:28 INFO: Retrieving Pricing Info for: v1-standard-2 09:08:28 INFO: Archiving Costs [Pipeline] sh 09:08:28 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 09:08:28 + cut -d, -f6 [Pipeline] lock 09:08:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] 09:08:28 Resource [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] did not exist. Created. 09:08:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:08:29 + echo total: 0.029999999329447746 [Pipeline] stash 09:08:29 Stashed 1 file(s) [Pipeline] } 09:08:29 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:08:29 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 09:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 09:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:09:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.156s coverage: 28.1% of statements 09:09:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.233s coverage: 78.9% of statements 09:09:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.136s coverage: 7.8% of statements 09:09:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 09:09:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 09:09:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:09:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.378s coverage: 32.0% of statements 09:09:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:09:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:09:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:09:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.326s coverage: 57.2% of statements 09:09:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.202s coverage: 6.6% of statements 09:09:35 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.147s coverage: 5.0% of statements 09:09:35 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:09:35 GO111MODULE=on go vet ./... 09:10:22 gofmt -l . 09:10:22 [ "`gofmt -l .`" = "" ] 09:10:22 ./bin/test-attribution-txt.sh 09:10:22 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:10:22 $ docker stop --time=1 6d2324ba6a0d9119e46ab8a7f0039dfcbb652044432076ab358a3e4675949afc 09:10:25 $ docker rm -f 6d2324ba6a0d9119e46ab8a7f0039dfcbb652044432076ab358a3e4675949afc [Pipeline] // withDockerContainer [Pipeline] sh 09:10:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:10:26 Warning: overwriting stash ‘coverage-report’ 09:10:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:10:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:10:27 + ls -al . 09:10:27 total 224 09:10:27 drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 09:10 . 09:10:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:06 .. 09:10:27 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 09:06 .dockerignore 09:10:27 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 09:06 .git 09:10:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:06 .github 09:10:27 -rw-rw-r-- 1 jenkins jenkins 138 Apr 22 09:06 .gitignore 09:10:27 -rw-rw-r-- 1 jenkins jenkins 987 Apr 22 09:06 Dockerfile.build 09:10:27 -rw-rw-r-- 1 jenkins jenkins 901 Apr 22 09:06 Jenkinsfile 09:10:27 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 09:06 LICENSE 09:10:27 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 22 09:06 Makefile 09:10:27 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 22 09:06 README.md 09:10:27 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 22 09:06 RELEASE-NOTES.txt 09:10:27 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 09:02 VERSION 09:10:27 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:06 bin 09:10:27 -rw-r--r-- 1 jenkins jenkins 100024 Apr 22 09:09 coverage.out 09:10:27 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 09:06 example 09:10:27 -rw-r--r-- 1 jenkins jenkins 575 Apr 22 09:10 go.mod 09:10:27 -rw-r--r-- 1 jenkins jenkins 20737 Apr 22 09:10 go.sum 09:10:27 drwxrwxr-x 14 jenkins jenkins 4096 Apr 22 09:06 internal 09:10:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:06 openapi 09:10:27 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 09:06 pkg 09:10:27 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:06 snap 09:10:27 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 09:06 version.go [Pipeline] isUnix [Pipeline] sh 09:10:28 + 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=b49c517afded470ec08f589981ea555a484c8b78 --label arch=arm64 --label version=0.0.0 . 09:10:29 Sending build context to Docker daemon 2.556MB 09:10:29 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 09:10:29 Step 2/23 : FROM ${BASE} AS builder 09:10:29 ---> d43b88de0e8c 09:10:29 Step 3/23 : WORKDIR /device-sdk-go 09:10:29 ---> Running in 5dc98746b1d4 09:10:29 Removing intermediate container 5dc98746b1d4 09:10:29 ---> 244fd9b1f3fe 09:10:29 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:10:29 ---> Running in ff034e1a9ba3 09:10:30 Removing intermediate container ff034e1a9ba3 09:10:30 ---> d25d87caae8d 09:10:30 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:10:30 ---> Running in 684894b6e549 09:10:32 Removing intermediate container 684894b6e549 09:10:32 ---> d54e81876390 09:10:32 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 09:10:32 ---> Running in 99f8a92cc505 09:10:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:10:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:10:35 OK: 144 MiB in 45 packages 09:10:36 Removing intermediate container 99f8a92cc505 09:10:36 ---> a1b50a4a9e67 09:10:36 Step 7/23 : COPY . . 09:10:37 ---> 721c41d122af 09:10:37 Step 8/23 : RUN go mod download 09:10:37 ---> Running in 82762865ea8e 09:10:40 Removing intermediate container 82762865ea8e 09:10:40 ---> 20742b1bc701 09:10:40 Step 9/23 : RUN make build 09:10:40 ---> Running in 27a6623d9dd5 09:10:41 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 09:11:13 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 09:11:17 Removing intermediate container 27a6623d9dd5 09:11:17 ---> ddb9324626d6 09:11:17 Step 10/23 : FROM alpine:3.12 09:11:17 3.12: Pulling from library/alpine 09:11:17 d2f70382dc9a: Pulling fs layer 09:11:17 d2f70382dc9a: Download complete 09:11:18 d2f70382dc9a: Pull complete 09:11:18 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 09:11:18 Status: Downloaded newer image for alpine:3.12 09:11:18 ---> 9852663dfa18 09:11:18 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:11:18 ---> Running in 8b173cca1352 09:11:19 Removing intermediate container 8b173cca1352 09:11:19 ---> c34edcbe7a2f 09:11:19 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:11:19 ---> Running in 4389d5047e17 09:11:21 Removing intermediate container 4389d5047e17 09:11:21 ---> 64dfe63e843d 09:11:21 Step 13/23 : RUN apk add --update --no-cache zeromq 09:11:21 ---> Running in 2faf61b022af 09:11:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:11:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:11:23 (1/5) Installing libgcc (9.3.0-r2) 09:11:23 (2/5) Installing libsodium (1.0.18-r0) 09:11:23 (3/5) Installing libstdc++ (9.3.0-r2) 09:11:24 (4/5) Installing libzmq (4.3.3-r0) 09:11:24 (5/5) Installing zeromq (4.3.3-r0) 09:11:24 Executing busybox-1.31.1-r20.trigger 09:11:24 OK: 8 MiB in 19 packages 09:11:25 Removing intermediate container 2faf61b022af 09:11:25 ---> fc4c364ed6bb 09:11:25 Step 14/23 : WORKDIR / 09:11:25 ---> Running in 951475e5d0b6 09:11:26 Removing intermediate container 951475e5d0b6 09:11:26 ---> a35568987648 09:11:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:11:27 ---> a2171524a38a 09:11:27 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:11:27 ---> ce2250282bbe 09:11:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:11:28 ---> 2915c3807178 09:11:28 Step 18/23 : EXPOSE 49990 09:11:28 ---> Running in 1ac7a1a692fe 09:11:29 Removing intermediate container 1ac7a1a692fe 09:11:29 ---> 4e90c91640b8 09:11:29 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:11:29 ---> Running in 66a193f2dcbd 09:11:29 Removing intermediate container 66a193f2dcbd 09:11:29 ---> 19fce6446359 09:11:29 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:11:29 ---> Running in b3b110457e99 09:11:30 Removing intermediate container b3b110457e99 09:11:30 ---> 079862bd589d 09:11:30 Step 21/23 : LABEL arch=arm64 09:11:30 ---> Running in 206ad97bfc50 09:11:31 Removing intermediate container 206ad97bfc50 09:11:31 ---> 48281d31d916 09:11:31 Step 22/23 : LABEL git_sha=b49c517afded470ec08f589981ea555a484c8b78 09:11:31 ---> Running in 36105a8adaec 09:11:31 Removing intermediate container 36105a8adaec 09:11:31 ---> b516b2b8e806 09:11:31 Step 23/23 : LABEL version=0.0.0 09:11:31 ---> Running in 25ef415e0614 09:11:32 Removing intermediate container 25ef415e0614 09:11:32 ---> 846b1875d299 09:11:32 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:11:32 Successfully built 846b1875d299 09:11:32 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 09:11:32 ---> job-cost.sh 09:11:32 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Oo2L 09:12:11 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 09:13:48 lf-activate-venv(): INFO: Adding /tmp/venv-Oo2L/bin to PATH 09:13:48 INFO: No Stack... 09:13:48 INFO: Retrieving Pricing Info for: lf-standard-4 09:13:48 INFO: Archiving Costs [Pipeline] sh 09:13:48 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 09:13:48 + cut -d, -f6 [Pipeline] lock 09:13:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] 09:13:48 Resource [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] did not exist. Created. 09:13:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:13:49 /w/workspace/device-sdk-go/3@tmp/durable-bc1aed66/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-bc1aed66/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 09:13:49 + echo total: 0.20999999344348907 [Pipeline] stash 09:13:49 Warning: overwriting stash ‘stack-cost’ 09:13:49 Stashed 1 file(s) [Pipeline] } 09:13:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-892-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 09:13:50 provisioning config files... 09:13:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/config2745140353974563293tmp [Pipeline] { [Pipeline] sh 09:13:50 + set +x 09:13:50 + curl -s https://codecov.io/bash 09:13:50 + bash -s -- 09:13:51 09:13:51 _____ _ 09:13:51 / ____| | | 09:13:51 | | ___ __| | ___ ___ _____ __ 09:13:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:13:51 | |___| (_) | (_| | __/ (_| (_) \ V / 09:13:51 \_____\___/ \__,_|\___|\___\___/ \_/ 09:13:51 Bash-1.0.2 09:13:51 09:13:51 09:13:51 ==> git version 2.24.3 found 09:13:51 ==> 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 09:13:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:13:51 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:13:51 ==> Jenkins CI detected. 09:13:51 project root: . 09:13:51 --> token set from env 09:13:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:13:51 ==> Running gcov in . (disable via -X gcov) 09:13:51 ==> Python coveragepy not found 09:13:51 ==> Searching for coverage reports in: 09:13:51 + . 09:13:51 -> Found 1 reports 09:13:51 ==> Detecting git/mercurial file structure 09:13:51 ==> Reading reports 09:13:51 + ./coverage.out bytes=100024 09:13:51 ==> Appending adjustments 09:13:51 https://docs.codecov.io/docs/fixing-reports 09:13:51 + Found adjustments 09:13:51 ==> Gzipping contents 09:13:51 16K /tmp/codecov.nFaYLq.gz 09:13:51 ==> Uploading reports 09:13:51 url: https://codecov.io 09:13:51 query: branch=PR-892&commit=b49c517afded470ec08f589981ea555a484c8b78&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-892%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=892&job=&cmd_args= 09:13:51 -> Pinging Codecov 09:13:51 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-892&commit=b49c517afded470ec08f589981ea555a484c8b78&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-892%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=892&job=&cmd_args= 09:13:52 -> Uploading to 09:13:52 https://storage.googleapis.com/codecov/v4/raw/2021-04-22/7E55EF52A471D76F132DFD9A03CDDE97/b49c517afded470ec08f589981ea555a484c8b78/9a47cf61-8881-46ea-b1b8-e7e1469fd508.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210422T091351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92fcadc2a8301626731dd1af524b10613350510f366431723e2788eba15bd38e 09:13:52 % Total % Received % Xferd Average Speed Time Time Time Current 09:13:52 Dload Upload Total Spent Left Speed 09:13:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13523 0 0 100 13523 0 27172 --:--:-- --:--:-- --:--:-- 27209 09:13:52 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b49c517afded470ec08f589981ea555a484c8b78 [Pipeline] } 09:13:52 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 09:13:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:13:54 ---> package-listing.sh 09:13:54 ++ facter osfamily 09:13:54 ++ tr '[:upper:]' '[:lower:]' 09:13:54 + OS_FAMILY=redhat 09:13:54 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-892 09:13:54 + START_PACKAGES=/tmp/packages_start.txt 09:13:54 + END_PACKAGES=/tmp/packages_end.txt 09:13:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:13:54 + PACKAGES=/tmp/packages_start.txt 09:13:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-892 ']' 09:13:54 + PACKAGES=/tmp/packages_end.txt 09:13:54 + case "${OS_FAMILY}" in 09:13:54 + rpm -qa 09:13:54 + sort 09:13:59 + '[' -f /tmp/packages_start.txt ']' 09:13:59 + '[' -f /tmp/packages_end.txt ']' 09:13:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:13:59 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-892 ']' 09:13:59 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-892/archives/ 09:13:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-892/archives/ [Pipeline] echo 09:13:59 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-892/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:13:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:14:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:14:00 09:14:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:14:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:14:00 alpine: Pulling from edgex-lftools-log-publisher 09:14:00 df20fa9351a1: Pulling fs layer 09:14:00 36b3adc4ff6f: Pulling fs layer 09:14:00 8ad3a11d3b57: Pulling fs layer 09:14:00 46f8f816bc3b: Pulling fs layer 09:14:00 93b61091891f: Pulling fs layer 09:14:00 93b9cdb0e59b: Pulling fs layer 09:14:00 5e14af77c1be: Pulling fs layer 09:14:00 01666e4c0597: Pulling fs layer 09:14:00 aa168da1d23b: Pulling fs layer 09:14:00 46f8f816bc3b: Waiting 09:14:00 93b61091891f: Waiting 09:14:00 93b9cdb0e59b: Waiting 09:14:00 5e14af77c1be: Waiting 09:14:00 01666e4c0597: Waiting 09:14:00 aa168da1d23b: Waiting 09:14:00 36b3adc4ff6f: Download complete 09:14:00 46f8f816bc3b: Verifying Checksum 09:14:00 46f8f816bc3b: Download complete 09:14:00 df20fa9351a1: Verifying Checksum 09:14:00 df20fa9351a1: Download complete 09:14:00 93b9cdb0e59b: Verifying Checksum 09:14:00 93b9cdb0e59b: Download complete 09:14:00 5e14af77c1be: Verifying Checksum 09:14:00 5e14af77c1be: Download complete 09:14:00 93b61091891f: Verifying Checksum 09:14:00 93b61091891f: Download complete 09:14:00 01666e4c0597: Verifying Checksum 09:14:00 01666e4c0597: Download complete 09:14:01 8ad3a11d3b57: Verifying Checksum 09:14:01 8ad3a11d3b57: Download complete 09:14:01 df20fa9351a1: Pull complete 09:14:01 36b3adc4ff6f: Pull complete 09:14:02 8ad3a11d3b57: Pull complete 09:14:02 46f8f816bc3b: Pull complete 09:14:03 93b61091891f: Pull complete 09:14:03 aa168da1d23b: Verifying Checksum 09:14:03 aa168da1d23b: Download complete 09:14:03 93b9cdb0e59b: Pull complete 09:14:03 5e14af77c1be: Pull complete 09:14:03 01666e4c0597: Pull complete 09:14:11 aa168da1d23b: Pull complete 09:14:11 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:14:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:14:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:14:12 prd-centos7-docker-4c-2g-1433 does not seem to be running inside a container 09:14:12 $ 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-892/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-892 -v /w/workspace/dgexfoundry_device-sdk-go_PR-892:/w/workspace/dgexfoundry_device-sdk-go_PR-892:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-892@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 09:14:15 $ docker top 7fd51c120620209dd3fa1a321baf7875d6f7ac8036dde62440e6943d0e875221 -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:16 + touch /tmp/pre-build-complete [Pipeline] sh 09:14:16 + mkdir -p /var/log/sa [Pipeline] sh 09:14:16 + ls /var/log/sa-host 09:14:16 + sadf -c /var/log/sa-host/sa22 09:14:16 file_magic: OK 09:14:16 HZ: Using current value: 100 09:14:16 file_header: OK 09:14:16 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:14:16 Statistics: 09:14:16 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:14:16 File successfully converted to sysstat format version 12.2.1 09:14:16 + sadf -c /var/log/sa-host/sa23 09:14:16 file_magic: OK 09:14:16 HZ: Using current value: 100 09:14:16 file_header: OK 09:14:16 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:14:16 Statistics: 09:14:16 Hnuu...uuuununununu... 09:14:16 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:14:17 provisioning config files... 09:14:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/config3100142280713084464tmp [Pipeline] { [Pipeline] echo 09:14:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:14:17 ---> create-netrc.sh [Pipeline] } 09:14:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:14:17 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:14:17 ---> python-tools-install.sh [Pipeline] echo 09:14:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:14:18 ---> sudo-logs.sh 09:14:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:14:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:14:18 ---> job-cost.sh 09:14:18 lf-activate-venv: SKIPPING 09:14:18 DEBUG: total: 0.20999999344348907 09:14:18 INFO: Retrieving Stack Cost... 09:14:19 INFO: Retrieving Pricing Info for: v1-standard-2 09:14:20 INFO: Archiving Costs [Pipeline] echo 09:14:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:14:20 ---> logs-deploy.sh 09:14:20 lf-activate-venv: SKIPPING 09:14:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-892/3 09:14:20 INFO: archiving workspace using pattern(s): 09:14:22 Archives upload complete. 09:14:22 INFO: archiving logs to Nexus 09:14:23 ---> uname -a: 09:14:23 Linux prd-centos7-docker-4c-2g-1433.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 09:14:23 09:14:23