Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8d18a21b742dd7d0af97623468fbe1cfdaa370fb+70dff52b8df9807f5114cad14836e8310fd11d9c (a1995c2b9a174bf2d37df21f6b737cd26e64dbb2) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3338’ is offline Running on prd-centos7-docker-4c-2g-3342 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [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-887 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 8d18a21b742dd7d0af97623468fbe1cfdaa370fb Merge succeeded, producing da658261ccbdba54da4498e1179171f4f4f17bc4 Checking out Revision da658261ccbdba54da4498e1179171f4f4f17bc4 (PR-887) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # 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 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da658261ccbdba54da4498e1179171f4f4f17bc4 # timeout=10 Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" > git rev-list --no-walk 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:42:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:42:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:42:53 ========================================================= 22:42:53 EdgeX Global Pipelines Version Info 22:42:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:42:55 ------------------- 22:42:55 stable info: 22:42:55 ------------------- 22:42:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:55 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 22:42:55 Message: update stable to v1.0.191 22:42:56 ------------------- 22:42:56 experimental info: 22:42:56 ------------------- 22:42:56 Commited By: **** collab-it+edgex@linuxfoundation.org 22:42:56 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 22:42:56 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:42:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:42:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 22:42:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:42:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:42:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:42:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:42:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-887 [Pipeline] echo 22:42:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-887 [Pipeline] echo 22:42:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-887 [Pipeline] echo 22:42:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da658261ccbdba54da4498e1179171f4f4f17bc4 [Pipeline] echo 22:42:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da65826 [Pipeline] echo 22:42:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:42:57 provisioning config files... 22:42:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config6143930751141757448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:57 ---> docker-login.sh 22:42:57 nexus3.edgexfoundry.org:10001 22:42:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:58 Configure a credential helper to remove this warning. See 22:42:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:58 22:42:58 Login Succeeded 22:42:58 nexus3.edgexfoundry.org:10002 22:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:58 Configure a credential helper to remove this warning. See 22:42:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:58 22:42:58 Login Succeeded 22:42:58 nexus3.edgexfoundry.org:10003 22:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:58 Configure a credential helper to remove this warning. See 22:42:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:58 22:42:58 Login Succeeded 22:42:58 nexus3.edgexfoundry.org:10004 22:42:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:59 Configure a credential helper to remove this warning. See 22:42:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:59 22:42:59 Login Succeeded 22:42:59 docker.io 22:42:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:59 Configure a credential helper to remove this warning. See 22:42:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:59 22:42:59 Login Succeeded 22:42:59 ---> docker-login.sh ends [Pipeline] } 22:42:59 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 22:42:59 + git log --format=format:%s -1 da658261ccbdba54da4498e1179171f4f4f17bc4 [Pipeline] echo 22:42:59 GIT_COMMIT: da658261ccbdba54da4498e1179171f4f4f17bc4, Commit Message: Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD [Pipeline] echo 22:42:59 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:43:00 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:43:00 22:43:00 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:43:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:43:00 latest: Pulling from edgex-devops/git-semver 22:43:00 31603596830f: Pulling fs layer 22:43:00 54011a49482f: Pulling fs layer 22:43:00 a6820b24f6d8: Pulling fs layer 22:43:00 f581987b2513: Pulling fs layer 22:43:00 f581987b2513: Waiting 22:43:00 54011a49482f: Verifying Checksum 22:43:00 54011a49482f: Download complete 22:43:00 31603596830f: Download complete 22:43:00 a6820b24f6d8: Download complete 22:43:00 f581987b2513: Verifying Checksum 22:43:00 f581987b2513: Download complete 22:43:01 31603596830f: Pull complete 22:43:01 54011a49482f: Pull complete 22:43:02 a6820b24f6d8: Pull complete 22:43:02 f581987b2513: Pull complete 22:43:02 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 22:43:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:43:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:43:03 prd-centos7-docker-4c-2g-3342 does not seem to be running inside a container 22:43:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@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 22:43:05 $ docker top 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:43:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:43:05 [ssh-agent] Looking for ssh-agent implementation... 22:43:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:43:06 $ docker exec 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 ssh-agent 22:43:06 SSH_AUTH_SOCK=/tmp/ssh-n90TmrD0JbHg/agent.12 22:43:06 SSH_AGENT_PID=17 22:43:06 Running ssh-add (command line suppressed) 22:43:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_7085481149574508801.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_7085481149574508801.key) 22:43:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:43:07 + git tag --points-at HEAD [Pipeline] } 22:43:07 $ docker exec --env ******** --env ******** 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 ssh-agent -k 22:43:07 unset SSH_AUTH_SOCK; 22:43:07 unset SSH_AGENT_PID; 22:43:07 echo Agent pid 17 killed; 22:43:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:43:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:43:07 [ssh-agent] Looking for ssh-agent implementation... 22:43:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:43:07 $ docker exec 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 ssh-agent 22:43:07 SSH_AUTH_SOCK=/tmp/ssh-dqAICx5tAfLo/agent.47 22:43:07 SSH_AGENT_PID=52 22:43:07 Running ssh-add (command line suppressed) 22:43:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_2564370572878013282.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_2564370572878013282.key) 22:43:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:43:08 + git semver init 22:43:08 # -> Open(): unable to determine branch for HEAD 22:43:08 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.git 22:43:08 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-887 22:43:08 # $SEMVER_REMOTE_NAME = origin 22:43:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:43:08 # $SEMVER_USER_NAME = edgex-jenkins 22:43:08 # $SEMVER_BRANCH = PR-887 22:43:08 # $SEMVER_TEMP = /tmp/semver-882862227 22:43:08 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:43:09 # '/tmp/semver-882862227' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver' 22:43:09 # -> Force: false 22:43:09 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver [Pipeline] } 22:43:09 $ docker exec --env ******** --env ******** 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 ssh-agent -k 22:43:10 unset SSH_AUTH_SOCK; 22:43:10 unset SSH_AGENT_PID; 22:43:10 echo Agent pid 52 killed; 22:43:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:43:10 + git semver [Pipeline] } 22:43:10 $ docker stop --time=1 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 22:43:12 $ docker rm -f 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 [Pipeline] // withDockerContainer [Pipeline] sh 22:43:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:43:13 Stashed 1 file(s) [Pipeline] echo 22:43:13 [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 22:43:28 Still waiting to schedule task 22:43:28 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:43:28 Still waiting to schedule task 22:43:28 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:45:05 Running on prd-centos7-docker-4c-2g-3349 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws 22:45:05 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 22:45:15 using credential edgex-jenkins-ssh 22:45:15 Cloning the remote Git repository 22:45:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:45:15 > git init /w/workspace/device-sdk-go/7 # timeout=10 22:45:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:15 > git --version # timeout=10 22:45:15 > git --version # 'git version 2.24.3' 22:45:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:45:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:45:16 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:45:17 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 8d18a21b742dd7d0af97623468fbe1cfdaa370fb 22:45:17 Merge succeeded, producing 0589d3e5bab86b95e1f8f75c1a914325743c6039 22:45:17 Checking out Revision 0589d3e5bab86b95e1f8f75c1a914325743c6039 (PR-887) 22:45:17 > git config core.sparsecheckout # timeout=10 22:45:17 > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 22:45:17 > git remote # timeout=10 22:45:17 > git config --get remote.origin.url # timeout=10 22:45:17 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:17 > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 22:45:17 > git rev-parse HEAD^{commit} # timeout=10 22:45:17 > git config core.sparsecheckout # timeout=10 22:45:17 > git checkout -f 0589d3e5bab86b95e1f8f75c1a914325743c6039 # timeout=10 22:45:22 Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" 22:45:22 > git rev-list --no-walk 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:45:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:45:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:45:24 + sudo service docker restart 22:45:24 + true 22:45:24 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:45:26 provisioning config files... 22:45:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config2161005959559582795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:26 ---> docker-login.sh 22:45:26 nexus3.edgexfoundry.org:10001 22:45:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:27 Configure a credential helper to remove this warning. See 22:45:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:27 22:45:27 Login Succeeded 22:45:27 nexus3.edgexfoundry.org:10002 22:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:28 Configure a credential helper to remove this warning. See 22:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:28 22:45:28 Login Succeeded 22:45:28 nexus3.edgexfoundry.org:10003 22:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:28 Configure a credential helper to remove this warning. See 22:45:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:28 22:45:28 Login Succeeded 22:45:28 nexus3.edgexfoundry.org:10004 22:45:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:29 Configure a credential helper to remove this warning. See 22:45:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:29 22:45:29 Login Succeeded 22:45:29 docker.io 22:45:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:29 Configure a credential helper to remove this warning. See 22:45:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:29 22:45:29 Login Succeeded 22:45:29 ---> docker-login.sh ends [Pipeline] } 22:45:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:29 ========================================================= 22:45:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:45:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:45:30 + 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 . 22:45:30 Sending build context to Docker daemon 2.474MB 22:45:30 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:45:30 Step 2/8 : FROM ${BASE} 22:45:30 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:45:30 540db60ca938: Pulling fs layer 22:45:30 adcc1eea9eea: Pulling fs layer 22:45:30 4c4ab2625f07: Pulling fs layer 22:45:30 0510c868ecb4: Pulling fs layer 22:45:30 afea3b2eda06: Pulling fs layer 22:45:30 7809a108b3ef: Pulling fs layer 22:45:30 f706445af74f: Pulling fs layer 22:45:30 0510c868ecb4: Waiting 22:45:30 afea3b2eda06: Waiting 22:45:30 7809a108b3ef: Waiting 22:45:30 f706445af74f: Waiting 22:45:30 4c4ab2625f07: Verifying Checksum 22:45:30 4c4ab2625f07: Download complete 22:45:30 adcc1eea9eea: Verifying Checksum 22:45:30 adcc1eea9eea: Download complete 22:45:30 afea3b2eda06: Verifying Checksum 22:45:30 afea3b2eda06: Download complete 22:45:30 7809a108b3ef: Verifying Checksum 22:45:30 7809a108b3ef: Download complete 22:45:30 540db60ca938: Verifying Checksum 22:45:30 540db60ca938: Download complete 22:45:31 540db60ca938: Pull complete 22:45:32 adcc1eea9eea: Pull complete 22:45:32 4c4ab2625f07: Pull complete 22:45:35 f706445af74f: Verifying Checksum 22:45:35 f706445af74f: Download complete 22:45:36 0510c868ecb4: Verifying Checksum 22:45:36 0510c868ecb4: Download complete 22:45:49 0510c868ecb4: Pull complete 22:45:49 afea3b2eda06: Pull complete 22:45:49 7809a108b3ef: Pull complete 22:45:53 f706445af74f: Pull complete 22:45:53 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 22:45:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:45:53 ---> b068be0155e3 22:45:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:45:54 ---> Running in 68fa0a7d9aa7 22:45:54 Removing intermediate container 68fa0a7d9aa7 22:45:54 ---> 6c297af35391 22:45:54 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:54 ---> Running in c88962dc326e 22:45:56 Removing intermediate container c88962dc326e 22:45:56 ---> 8f0bb4fdc1cd 22:45:56 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:45:56 ---> Running in 5a638a56e74f 22:45:58 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:45:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:46:00 (1/6) Installing libc-dev (0.7.2-r3) 22:46:00 (2/6) Installing libsodium (1.0.18-r0) 22:46:00 (3/6) Installing pkgconf (1.7.3-r0) 22:46:00 (4/6) Installing libsodium-dev (1.0.18-r0) 22:46:00 (5/6) Installing libzmq (4.3.3-r1) 22:46:01 (6/6) Installing zeromq-dev (4.3.3-r1) 22:46:01 Executing busybox-1.32.1-r6.trigger 22:46:01 OK: 150 MiB in 46 packages 22:46:01 Removing intermediate container 5a638a56e74f 22:46:01 ---> cd6ebfe78504 22:46:01 Step 6/8 : WORKDIR /device-sdk-go 22:46:02 ---> Running in 36a323ce6c37 22:46:02 Removing intermediate container 36a323ce6c37 22:46:02 ---> 57960ada0d08 22:46:02 Step 7/8 : COPY . . 22:46:04 ---> 9a95c0485887 22:46:04 Step 8/8 : RUN go mod download 22:46:04 ---> Running in fe85be8f0e2c 22:46:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3353 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws 22:46:24 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 22:46:30 using credential edgex-jenkins-ssh 22:46:30 Cloning the remote Git repository 22:46:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:46:30 > git init /w/workspace/device-sdk-go/7 # timeout=10 22:46:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:46:30 > git --version # timeout=10 22:46:30 > git --version # 'git version 2.17.1' 22:46:30 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:33 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 8d18a21b742dd7d0af97623468fbe1cfdaa370fb 22:46:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:46:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:46:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:46:32 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:46:33 > git config core.sparsecheckout # timeout=10 22:46:33 > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 22:46:33 Merge succeeded, producing e2d50aa7b425e94391476edf4a29b70a3995cae3 22:46:33 Checking out Revision e2d50aa7b425e94391476edf4a29b70a3995cae3 (PR-887) 22:46:33 > git remote # timeout=10 22:46:33 > git config --get remote.origin.url # timeout=10 22:46:33 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:33 > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 22:46:33 > git rev-parse HEAD^{commit} # timeout=10 22:46:33 > git config core.sparsecheckout # timeout=10 22:46:33 > git checkout -f e2d50aa7b425e94391476edf4a29b70a3995cae3 # timeout=10 22:46:37 Removing intermediate container fe85be8f0e2c 22:46:37 ---> dce9cc7102e3 22:46:37 Successfully built dce9cc7102e3 22:46:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:46:38 + docker inspect -f . ci-base-image-x86_64 22:46:38 Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" 22:46:38 > git rev-list --no-walk 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:38 . [Pipeline] withDockerContainer 22:46:39 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 22:46:39 prd-centos7-docker-4c-2g-3349 does not seem to be running inside a container 22:46:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 22:46:42 $ docker top ad192bcafbc67c914f99f8e364cde29cab765d0388537b65196f59fdee4ac42f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 22:46:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:46:43 + sudo service docker restart 22:46:43 + true 22:46:43 + go version 22:46:43 go version go1.16.3 linux/amd64 [Pipeline] } 22:46:43 $ docker stop --time=1 ad192bcafbc67c914f99f8e364cde29cab765d0388537b65196f59fdee4ac42f 22:46:45 $ docker rm -f ad192bcafbc67c914f99f8e364cde29cab765d0388537b65196f59fdee4ac42f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] wrap 22:46:45 provisioning config files... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 22:46:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config6727351216870010214tmp [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:46 + docker inspect -f . ci-base-image-x86_64 22:46:46 . [Pipeline] withDockerContainer 22:46:46 ---> docker-login.sh 22:46:46 nexus3.edgexfoundry.org:10001 22:46:46 prd-centos7-docker-4c-2g-3349 does not seem to be running inside a container 22:46:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 22:46:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:47 Configure a credential helper to remove this warning. See 22:46:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:47 22:46:47 Login Succeeded 22:46:47 nexus3.edgexfoundry.org:10002 22:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:48 Configure a credential helper to remove this warning. See 22:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:48 22:46:48 Login Succeeded 22:46:48 nexus3.edgexfoundry.org:10003 22:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:48 Configure a credential helper to remove this warning. See 22:46:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:48 22:46:48 Login Succeeded 22:46:48 nexus3.edgexfoundry.org:10004 22:46:48 $ docker top 592603e92ed3ebe0e24fdf47aa511f4d2b237f5809ee87a4d34eede7a260eb9c -eo pid,comm 22:46:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:49 Configure a credential helper to remove this warning. See 22:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:49 22:46:49 Login Succeeded 22:46:49 docker.io 22:46:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] sh 22:46:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:49 Configure a credential helper to remove this warning. See 22:46:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:49 22:46:49 Login Succeeded 22:46:49 ---> docker-login.sh ends [Pipeline] } 22:46:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:46:50 ========================================================= 22:46:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:46:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:46:50 + 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 . 22:46:50 Sending build context to Docker daemon 2.47MB 22:46:50 + go mod tidy 22:46:50 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:46:50 Step 2/8 : FROM ${BASE} 22:46:50 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:46:50 595b0fe564bb: Pulling fs layer 22:46:50 7186ed65a4f7: Pulling fs layer 22:46:50 316046926c0a: Pulling fs layer 22:46:50 4ebd0625c992: Pulling fs layer 22:46:50 207e8628e3a3: Pulling fs layer 22:46:50 c791037a9be2: Pulling fs layer 22:46:50 ffd874e62e21: Pulling fs layer 22:46:50 4ebd0625c992: Waiting 22:46:50 207e8628e3a3: Waiting 22:46:50 c791037a9be2: Waiting 22:46:50 316046926c0a: Verifying Checksum 22:46:50 7186ed65a4f7: Verifying Checksum 22:46:50 7186ed65a4f7: Download complete 22:46:50 207e8628e3a3: Verifying Checksum 22:46:50 207e8628e3a3: Download complete 22:46:50 c791037a9be2: Verifying Checksum 22:46:50 c791037a9be2: Download complete 22:46:50 595b0fe564bb: Verifying Checksum 22:46:50 595b0fe564bb: Download complete 22:46:51 595b0fe564bb: Pull complete 22:46:52 7186ed65a4f7: Pull complete [Pipeline] sh 22:46:52 316046926c0a: Pull complete 22:46:52 + make test 22:46:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:46:53 ffd874e62e21: Download complete 22:46:54 4ebd0625c992: Verifying Checksum 22:46:54 4ebd0625c992: Download complete 22:47:04 4ebd0625c992: Pull complete 22:47:04 207e8628e3a3: Pull complete 22:47:04 c791037a9be2: Pull complete 22:47:08 ffd874e62e21: Pull complete 22:47:08 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 22:47:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:47:08 ---> cfc18b08335c 22:47:08 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:47:11 ---> Running in ed3323a3029f 22:47:11 Removing intermediate container ed3323a3029f 22:47:11 ---> 2a9cdd3ffbac 22:47:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:11 ---> Running in 593fedf51f5b 22:47:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:47:14 Removing intermediate container 593fedf51f5b 22:47:14 ---> 16500fa73156 22:47:14 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 22:47:14 ---> Running in 81bf1dd8aa06 22:47:15 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:47:16 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:47:16 (1/6) Installing libc-dev (0.7.2-r3) 22:47:16 (2/6) Installing libsodium (1.0.18-r0) 22:47:16 (3/6) Installing pkgconf (1.7.3-r0) 22:47:16 (4/6) Installing libsodium-dev (1.0.18-r0) 22:47:16 (5/6) Installing libzmq (4.3.3-r1) 22:47:17 (6/6) Installing zeromq-dev (4.3.3-r1) 22:47:17 Executing busybox-1.32.1-r6.trigger 22:47:17 OK: 139 MiB in 46 packages 22:47:18 Removing intermediate container 81bf1dd8aa06 22:47:18 ---> a13f92ecc8c4 22:47:18 Step 6/8 : WORKDIR /device-sdk-go 22:47:18 ---> Running in a549e115e0ba 22:47:19 Removing intermediate container a549e115e0ba 22:47:19 ---> aae04c4faa5b 22:47:19 Step 7/8 : COPY . . 22:47:20 ---> c61b17b7ff84 22:47:20 Step 8/8 : RUN go mod download 22:47:20 ---> Running in 1e2e57f2d820 22:47:47 Removing intermediate container 1e2e57f2d820 22:47:47 ---> d40abb2ee768 22:47:47 Successfully built d40abb2ee768 22:47:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:47:47 + docker inspect -f . ci-base-image-arm64 22:47:47 . [Pipeline] withDockerContainer 22:47:48 prd-ubuntu18.04-docker-arm64-4c-16g-3353 does not seem to be running inside a container 22:47:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 22:47:49 $ docker top f326d7a950bd641866ccd8b1af5a8ce2a6014e5c3891a8ce28605aa865f923b2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:50 + go version 22:47:50 go version go1.16.3 linux/arm64 [Pipeline] } 22:47:50 $ docker stop --time=1 f326d7a950bd641866ccd8b1af5a8ce2a6014e5c3891a8ce28605aa865f923b2 22:47:52 $ docker rm -f f326d7a950bd641866ccd8b1af5a8ce2a6014e5c3891a8ce28605aa865f923b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:47:53 + docker inspect -f . ci-base-image-arm64 22:47:53 . [Pipeline] withDockerContainer 22:47:53 prd-ubuntu18.04-docker-arm64-4c-16g-3353 does not seem to be running inside a container 22:47:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 22:47:55 $ docker top 4163c3ca22bd3af638886ac6ce0cf881c513b58e963112e5702de207336dd8cd -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:56 + go mod tidy [Pipeline] sh 22:47:57 + make test 22:47:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:48:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:48:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:48:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:48:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:48:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:48:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.084s coverage: 28.1% of statements 22:48:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.106s coverage: 78.9% of statements 22:48:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.205s coverage: 7.8% of statements 22:48:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:48:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:48:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:48:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.315s coverage: 30.2% of statements 22:48:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:48:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:48:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:48:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.351s coverage: 57.2% of statements 22:48:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.107s coverage: 6.6% of statements 22:48:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.088s coverage: 5.0% of statements 22:48:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:48:16 GO111MODULE=on go vet ./... 22:48:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 22:48:56 gofmt -l . 22:48:56 [ "`gofmt -l .`" = "" ] 22:48:56 ./bin/test-attribution-txt.sh 22:48:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:48:58 $ docker stop --time=1 592603e92ed3ebe0e24fdf47aa511f4d2b237f5809ee87a4d34eede7a260eb9c 22:49:00 $ docker rm -f 592603e92ed3ebe0e24fdf47aa511f4d2b237f5809ee87a4d34eede7a260eb9c [Pipeline] // withDockerContainer [Pipeline] sh 22:49:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:49:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:49:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:49:04 + ls -al . 22:49:04 total 188 22:49:04 drwxrwxr-x. 10 jenkins jenkins 4096 May 6 22:48 . 22:49:04 drwxrwxr-x. 4 jenkins jenkins 28 May 6 22:45 .. 22:49:04 drwxrwxr-x. 2 jenkins jenkins 64 May 6 22:45 bin 22:49:04 -rw-r--r--. 1 jenkins jenkins 100321 May 6 22:48 coverage.out 22:49:04 -rw-rw-r--. 1 jenkins jenkins 987 May 6 22:45 Dockerfile.build 22:49:04 -rw-rw-r--. 1 jenkins jenkins 140 May 6 22:45 .dockerignore 22:49:04 drwxrwxr-x. 5 jenkins jenkins 62 May 6 22:45 example 22:49:04 drwxrwxr-x. 8 jenkins jenkins 179 May 6 22:45 .git 22:49:04 drwxrwxr-x. 2 jenkins jenkins 103 May 6 22:45 .github 22:49:04 -rw-rw-r--. 1 jenkins jenkins 138 May 6 22:45 .gitignore 22:49:04 -rw-r--r--. 1 jenkins jenkins 575 May 6 22:48 go.mod 22:49:04 -rw-r--r--. 1 jenkins jenkins 21068 May 6 22:46 go.sum 22:49:04 drwxrwxr-x. 14 jenkins jenkins 207 May 6 22:45 internal 22:49:04 -rw-rw-r--. 1 jenkins jenkins 901 May 6 22:45 Jenkinsfile 22:49:04 -rw-rw-r--. 1 jenkins jenkins 11341 May 6 22:45 LICENSE 22:49:04 -rw-rw-r--. 1 jenkins jenkins 1022 May 6 22:45 Makefile 22:49:04 drwxrwxr-x. 4 jenkins jenkins 26 May 6 22:45 openapi 22:49:04 drwxrwxr-x. 5 jenkins jenkins 50 May 6 22:45 pkg 22:49:04 -rw-rw-r--. 1 jenkins jenkins 7652 May 6 22:45 README.md 22:49:04 -rw-rw-r--. 1 jenkins jenkins 6616 May 6 22:45 RELEASE-NOTES.txt 22:49:04 drwxrwxr-x. 4 jenkins jenkins 54 May 6 22:45 snap 22:49:04 -rw-rw-r--. 1 jenkins jenkins 5 May 6 22:43 VERSION 22:49:04 -rw-rw-r--. 1 jenkins jenkins 222 May 6 22:45 version.go [Pipeline] isUnix [Pipeline] sh 22:49:04 + 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=da658261ccbdba54da4498e1179171f4f4f17bc4 --label arch=amd64 --label version=0.0.0 . 22:49:05 Sending build context to Docker daemon 2.575MB 22:49:05 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:49:05 Step 2/23 : FROM ${BASE} AS builder 22:49:05 ---> dce9cc7102e3 22:49:05 Step 3/23 : WORKDIR /device-sdk-go 22:49:05 ---> Running in 76c6902921e5 22:49:06 Removing intermediate container 76c6902921e5 22:49:06 ---> 622052cbf3ad 22:49:06 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:49:06 ---> Running in f70aa1651faf 22:49:06 Removing intermediate container f70aa1651faf 22:49:06 ---> 9a36122622e8 22:49:06 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:49:06 ---> Running in ecd1ecd6b8fd 22:49:08 Removing intermediate container ecd1ecd6b8fd 22:49:08 ---> 1e4d1d8e0e25 22:49:08 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:49:08 ---> Running in 6e992102d37d 22:49:09 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:49:10 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:49:12 OK: 150 MiB in 46 packages 22:49:12 Removing intermediate container 6e992102d37d 22:49:12 ---> 3642c7a67da5 22:49:12 Step 7/23 : COPY . . 22:49:14 ---> 36b53c46952e 22:49:14 Step 8/23 : RUN go mod download 22:49:14 ---> Running in 931bf45193a3 22:49:17 Removing intermediate container 931bf45193a3 22:49:17 ---> 67b9c8637a41 22:49:17 Step 9/23 : RUN make build 22:49:17 ---> Running in 29064bff533e 22:49:17 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 22:49:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 22:49:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 22:49:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 22:49:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 22:49:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 22:49:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.141s coverage: 28.1% of statements 22:49:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.188s coverage: 78.9% of statements 22:49:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.189s coverage: 7.8% of statements 22:49:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 22:49:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 22:49:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 22:49:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.294s coverage: 30.2% of statements 22:49:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 22:49:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 22:49:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 22:49:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.311s coverage: 57.2% of statements 22:49:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.137s coverage: 6.6% of statements 22:49:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.153s coverage: 5.0% of statements 22:49:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 22:49:41 GO111MODULE=on go vet ./... 22:49:45 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:49:47 Removing intermediate container 29064bff533e 22:49:47 ---> 5e9c25eb40a5 22:49:47 Step 10/23 : FROM alpine:3.12 22:49:47 3.12: Pulling from library/alpine 22:49:47 339de151aab4: Pulling fs layer 22:49:47 339de151aab4: Verifying Checksum 22:49:47 339de151aab4: Download complete 22:49:48 339de151aab4: Pull complete 22:49:48 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:49:48 Status: Downloaded newer image for alpine:3.12 22:49:48 ---> 13621d1b12d4 22:49:48 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:49:48 ---> Running in 2bcb54e14327 22:49:49 Removing intermediate container 2bcb54e14327 22:49:49 ---> 9f7678b42a2b 22:49:49 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:49:49 ---> Running in ca7e50bb78db 22:49:50 Removing intermediate container ca7e50bb78db 22:49:50 ---> 5e2cc7fd632b 22:49:50 Step 13/23 : RUN apk add --update --no-cache zeromq 22:49:51 ---> Running in 6d005be7962d 22:49:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:49:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:49:53 (1/5) Installing libgcc (9.3.0-r2) 22:49:53 (2/5) Installing libsodium (1.0.18-r0) 22:49:53 (3/5) Installing libstdc++ (9.3.0-r2) 22:49:54 (4/5) Installing libzmq (4.3.3-r0) 22:49:54 (5/5) Installing zeromq (4.3.3-r0) 22:49:54 Executing busybox-1.31.1-r20.trigger 22:49:54 OK: 8 MiB in 19 packages 22:49:55 Removing intermediate container 6d005be7962d 22:49:55 ---> 235370f93188 22:49:55 Step 14/23 : WORKDIR / 22:49:55 ---> Running in 9c98db40018e 22:49:55 Removing intermediate container 9c98db40018e 22:49:55 ---> efd262a88c2c 22:49:55 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:49:56 ---> aa003853f748 22:49:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:49:57 ---> 1b262cce4af9 22:49:57 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:49:58 ---> 8624e9e26dd9 22:49:58 Step 18/23 : EXPOSE 49990 22:49:58 ---> Running in 4b5d5e8884cd 22:49:59 Removing intermediate container 4b5d5e8884cd 22:49:59 ---> bff01e337545 22:49:59 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:49:59 ---> Running in b7d7e356546e 22:49:59 Removing intermediate container b7d7e356546e 22:49:59 ---> 218deefed366 22:49:59 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:49:59 ---> Running in 646a0b29a70b 22:50:00 Removing intermediate container 646a0b29a70b 22:50:00 ---> c85ac6f94fe1 22:50:00 Step 21/23 : LABEL arch=amd64 22:50:00 ---> Running in 38e28570f861 22:50:00 Removing intermediate container 38e28570f861 22:50:00 ---> 54f8f897419b 22:50:00 Step 22/23 : LABEL git_sha=da658261ccbdba54da4498e1179171f4f4f17bc4 22:50:00 ---> Running in b11c2465370a 22:50:00 Removing intermediate container b11c2465370a 22:50:00 ---> 238bb81a1ded 22:50:00 Step 23/23 : LABEL version=0.0.0 22:50:00 ---> Running in 4dcaae089431 22:50:01 Removing intermediate container 4dcaae089431 22:50:01 ---> b6199e3e4850 22:50:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:50:01 Successfully built b6199e3e4850 22:50:01 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 22:50:01 ---> job-cost.sh 22:50:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9HBk 22:50:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:50:49 gofmt -l . 22:50:49 [ "`gofmt -l .`" = "" ] 22:50:49 ./bin/test-attribution-txt.sh 22:50:49 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:50:49 $ docker stop --time=1 4163c3ca22bd3af638886ac6ce0cf881c513b58e963112e5702de207336dd8cd 22:50:52 $ docker rm -f 4163c3ca22bd3af638886ac6ce0cf881c513b58e963112e5702de207336dd8cd [Pipeline] // withDockerContainer [Pipeline] sh 22:50:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:50:53 Warning: overwriting stash ‘coverage-report’ 22:50:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:50:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:50:55 + ls -al . 22:50:55 total 224 22:50:55 drwxrwxr-x 10 jenkins jenkins 4096 May 6 22:50 . 22:50:55 drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:46 .. 22:50:55 -rw-rw-r-- 1 jenkins jenkins 140 May 6 22:46 .dockerignore 22:50:55 drwxrwxr-x 8 jenkins jenkins 4096 May 6 22:46 .git 22:50:55 drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:46 .github 22:50:55 -rw-rw-r-- 1 jenkins jenkins 138 May 6 22:46 .gitignore 22:50:55 -rw-rw-r-- 1 jenkins jenkins 987 May 6 22:46 Dockerfile.build 22:50:55 -rw-rw-r-- 1 jenkins jenkins 901 May 6 22:46 Jenkinsfile 22:50:55 -rw-rw-r-- 1 jenkins jenkins 11341 May 6 22:46 LICENSE 22:50:55 -rw-rw-r-- 1 jenkins jenkins 1022 May 6 22:46 Makefile 22:50:55 -rw-rw-r-- 1 jenkins jenkins 7652 May 6 22:46 README.md 22:50:55 -rw-rw-r-- 1 jenkins jenkins 6616 May 6 22:46 RELEASE-NOTES.txt 22:50:55 -rw-rw-r-- 1 jenkins jenkins 5 May 6 22:43 VERSION 22:50:55 drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:46 bin 22:50:55 -rw-r--r-- 1 jenkins jenkins 100320 May 6 22:49 coverage.out 22:50:55 drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:46 example 22:50:55 -rw-r--r-- 1 jenkins jenkins 575 May 6 22:50 go.mod 22:50:55 -rw-r--r-- 1 jenkins jenkins 21068 May 6 22:47 go.sum 22:50:55 drwxrwxr-x 14 jenkins jenkins 4096 May 6 22:46 internal 22:50:55 drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:46 openapi 22:50:55 drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:46 pkg 22:50:55 drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:46 snap 22:50:55 -rw-rw-r-- 1 jenkins jenkins 222 May 6 22:46 version.go [Pipeline] isUnix [Pipeline] sh 22:50:55 + 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=da658261ccbdba54da4498e1179171f4f4f17bc4 --label arch=arm64 --label version=0.0.0 . 22:50:56 Sending build context to Docker daemon 2.571MB 22:50:56 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 22:50:56 Step 2/23 : FROM ${BASE} AS builder 22:50:56 ---> d40abb2ee768 22:50:56 Step 3/23 : WORKDIR /device-sdk-go 22:50:56 ---> Running in fa918ee49efa 22:50:57 Removing intermediate container fa918ee49efa 22:50:57 ---> 7174606c16c1 22:50:57 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:50:57 ---> Running in 611d452de2aa 22:50:57 Removing intermediate container 611d452de2aa 22:50:57 ---> 08b88e303552 22:50:57 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:57 ---> Running in 25147fa4ee0f 22:51:00 Removing intermediate container 25147fa4ee0f 22:51:00 ---> e77b0c9c0565 22:51:00 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 22:51:00 ---> Running in e813665822df 22:51:01 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:51:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:51:03 OK: 139 MiB in 46 packages 22:51:04 Removing intermediate container e813665822df 22:51:04 ---> 06d862aec912 22:51:04 Step 7/23 : COPY . . 22:51:06 ---> a3d6ce9ee99e 22:51:06 Step 8/23 : RUN go mod download 22:51:06 ---> Running in 740876ab1a37 22:51:09 Removing intermediate container 740876ab1a37 22:51:09 ---> 50526829f2bd 22:51:09 Step 9/23 : RUN make build 22:51:09 ---> Running in 1e7109ba38e0 22:51:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:51:17 lf-activate-venv(): INFO: Adding /tmp/venv-9HBk/bin to PATH 22:51:17 INFO: No Stack... 22:51:17 INFO: Retrieving Pricing Info for: v1-standard-2 22:51:17 INFO: Archiving Costs [Pipeline] sh 22:51:17 + cat /w/workspace/device-sdk-go/7/archives/cost.csv 22:51:17 + cut -d, -f6 [Pipeline] lock 22:51:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] 22:51:17 Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] did not exist. Created. 22:51:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:51:18 + echo total: 0.029999999329447746 [Pipeline] stash 22:51:18 Stashed 1 file(s) [Pipeline] } 22:51:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:51:49 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 22:51:50 Removing intermediate container 1e7109ba38e0 22:51:50 ---> 38b9109094bf 22:51:50 Step 10/23 : FROM alpine:3.12 22:51:51 3.12: Pulling from library/alpine 22:51:51 d2f70382dc9a: Pulling fs layer 22:51:51 d2f70382dc9a: Verifying Checksum 22:51:51 d2f70382dc9a: Download complete 22:51:51 d2f70382dc9a: Pull complete 22:51:51 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 22:51:51 Status: Downloaded newer image for alpine:3.12 22:51:51 ---> 9852663dfa18 22:51:51 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:51:52 ---> Running in 433ec0910ec9 22:51:52 Removing intermediate container 433ec0910ec9 22:51:52 ---> f6a8deb095cc 22:51:52 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:52 ---> Running in 502d3229507d 22:51:55 Removing intermediate container 502d3229507d 22:51:55 ---> 973ceb9b7b24 22:51:55 Step 13/23 : RUN apk add --update --no-cache zeromq 22:51:55 ---> Running in 01d3d637b86b 22:51:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:51:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:51:58 (1/5) Installing libgcc (9.3.0-r2) 22:51:58 (2/5) Installing libsodium (1.0.18-r0) 22:51:58 (3/5) Installing libstdc++ (9.3.0-r2) 22:51:58 (4/5) Installing libzmq (4.3.3-r0) 22:51:58 (5/5) Installing zeromq (4.3.3-r0) 22:51:58 Executing busybox-1.31.1-r20.trigger 22:51:58 OK: 8 MiB in 19 packages 22:52:00 Removing intermediate container 01d3d637b86b 22:52:00 ---> a5d694c73792 22:52:00 Step 14/23 : WORKDIR / 22:52:00 ---> Running in d2c72653411f 22:52:00 Removing intermediate container d2c72653411f 22:52:00 ---> 51473d06541c 22:52:00 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 22:52:01 ---> 3cc8dbcc801e 22:52:01 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 22:52:02 ---> 8c82e3c06f11 22:52:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 22:52:03 ---> 91471122fd86 22:52:03 Step 18/23 : EXPOSE 49990 22:52:03 ---> Running in 1409b2f36c4d 22:52:03 Removing intermediate container 1409b2f36c4d 22:52:03 ---> bbc38cc743cd 22:52:03 Step 19/23 : ENTRYPOINT ["/device-simple"] 22:52:03 ---> Running in 5ed69950c746 22:52:04 Removing intermediate container 5ed69950c746 22:52:04 ---> bb2968a4cf11 22:52:04 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:52:04 ---> Running in 8e64e4560464 22:52:05 Removing intermediate container 8e64e4560464 22:52:05 ---> e4ec0e0ac892 22:52:05 Step 21/23 : LABEL arch=arm64 22:52:05 ---> Running in 462ead48be4d 22:52:05 Removing intermediate container 462ead48be4d 22:52:05 ---> 8ece661a0f03 22:52:05 Step 22/23 : LABEL git_sha=da658261ccbdba54da4498e1179171f4f4f17bc4 22:52:05 ---> Running in 8a41fdd4fffe 22:52:06 Removing intermediate container 8a41fdd4fffe 22:52:06 ---> 1c9570d5911a 22:52:06 Step 23/23 : LABEL version=0.0.0 22:52:06 ---> Running in 8813cb46bd5e 22:52:06 Removing intermediate container 8813cb46bd5e 22:52:06 ---> 693d2731118e 22:52:06 [Warning] One or more build-args [ARCH MAKE] were not consumed 22:52:06 Successfully built 693d2731118e 22:52:06 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 22:52:07 ---> job-cost.sh 22:52:07 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LdUm 22:53:03 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:55:25 lf-activate-venv(): INFO: Adding /tmp/venv-LdUm/bin to PATH 22:55:25 INFO: No Stack... 22:55:25 INFO: Retrieving Pricing Info for: lf-standard-4 22:55:25 INFO: Archiving Costs [Pipeline] sh 22:55:26 + cat /w/workspace/device-sdk-go/7/archives/cost.csv 22:55:26 + cut -d, -f6 [Pipeline] lock 22:55:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] 22:55:26 Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] did not exist. Created. 22:55:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:55:26 /w/workspace/device-sdk-go/7@tmp/durable-497367c2/script.sh: 1: /w/workspace/device-sdk-go/7@tmp/durable-497367c2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:55:27 + echo total: 0.20999999344348907 [Pipeline] stash 22:55:27 Warning: overwriting stash ‘stack-cost’ 22:55:27 Stashed 1 file(s) [Pipeline] } 22:55:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-7-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 22:55:27 provisioning config files... 22:55:27 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config4033801835926238872tmp [Pipeline] { [Pipeline] sh 22:55:28 + set +x 22:55:28 + curl -s https://codecov.io/bash 22:55:28 + bash -s -- 22:55:28 22:55:28 _____ _ 22:55:28 / ____| | | 22:55:28 | | ___ __| | ___ ___ _____ __ 22:55:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:55:28 | |___| (_) | (_| | __/ (_| (_) \ V / 22:55:28 \_____\___/ \__,_|\___|\___\___/ \_/ 22:55:28 Bash-1.0.2 22:55:28 22:55:28 22:55:28 ==> git version 2.24.3 found 22:55:28 ==> 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 22:55:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:55:28 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:55:28 ==> Jenkins CI detected. 22:55:28 project root: . 22:55:28 --> token set from env 22:55:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:55:28 ==> Running gcov in . (disable via -X gcov) 22:55:28 ==> Python coveragepy not found 22:55:28 ==> Searching for coverage reports in: 22:55:28 + . 22:55:28 -> Found 1 reports 22:55:28 ==> Detecting git/mercurial file structure 22:55:28 ==> Reading reports 22:55:28 + ./coverage.out bytes=100320 22:55:28 ==> Appending adjustments 22:55:28 https://docs.codecov.io/docs/fixing-reports 22:55:29 + Found adjustments 22:55:29 ==> Gzipping contents 22:55:29 16K /tmp/codecov.uAlltD.gz 22:55:29 ==> Uploading reports 22:55:29 url: https://codecov.io 22:55:29 query: branch=PR-887&commit=da658261ccbdba54da4498e1179171f4f4f17bc4&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= 22:55:29 -> Pinging Codecov 22:55:29 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-887&commit=da658261ccbdba54da4498e1179171f4f4f17bc4&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= 22:55:29 -> Uploading to 22:55:29 https://storage.googleapis.com/codecov/v4/raw/2021-05-06/7E55EF52A471D76F132DFD9A03CDDE97/da658261ccbdba54da4498e1179171f4f4f17bc4/ace44c70-f155-47a8-8da8-3623ac52899c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T225529Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=675547dde94e3355c924e3e2a6de9d2066166a4db35afa33e6a3ff6e48aac8ff 22:55:29 % Total % Received % Xferd Average Speed Time Time Time Current 22:55:29 Dload Upload Total Spent Left Speed 22:55:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13531 0 0 100 13531 0 27119 --:--:-- --:--:-- --:--:-- 27116 22:55:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/da658261ccbdba54da4498e1179171f4f4f17bc4 [Pipeline] } 22:55:29 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 22:55:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:55:31 ---> package-listing.sh 22:55:31 ++ facter osfamily 22:55:31 ++ tr '[:upper:]' '[:lower:]' 22:55:31 + OS_FAMILY=redhat 22:55:31 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-887 22:55:31 + START_PACKAGES=/tmp/packages_start.txt 22:55:31 + END_PACKAGES=/tmp/packages_end.txt 22:55:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:55:31 + PACKAGES=/tmp/packages_start.txt 22:55:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' 22:55:31 + PACKAGES=/tmp/packages_end.txt 22:55:31 + case "${OS_FAMILY}" in 22:55:31 + rpm -qa 22:55:31 + sort 22:55:36 + '[' -f /tmp/packages_start.txt ']' 22:55:36 + '[' -f /tmp/packages_end.txt ']' 22:55:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:55:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' 22:55:36 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ 22:55:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [Pipeline] echo 22:55:36 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-887/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:55:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:55:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:55:37 22:55:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:55:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:55:38 alpine: Pulling from edgex-lftools-log-publisher 22:55:38 df20fa9351a1: Pulling fs layer 22:55:38 36b3adc4ff6f: Pulling fs layer 22:55:38 8ad3a11d3b57: Pulling fs layer 22:55:38 46f8f816bc3b: Pulling fs layer 22:55:38 93b61091891f: Pulling fs layer 22:55:38 93b9cdb0e59b: Pulling fs layer 22:55:38 5e14af77c1be: Pulling fs layer 22:55:38 01666e4c0597: Pulling fs layer 22:55:38 aa168da1d23b: Pulling fs layer 22:55:38 93b61091891f: Waiting 22:55:38 93b9cdb0e59b: Waiting 22:55:38 5e14af77c1be: Waiting 22:55:38 01666e4c0597: Waiting 22:55:38 aa168da1d23b: Waiting 22:55:38 46f8f816bc3b: Waiting 22:55:38 36b3adc4ff6f: Verifying Checksum 22:55:38 36b3adc4ff6f: Download complete 22:55:38 46f8f816bc3b: Verifying Checksum 22:55:38 46f8f816bc3b: Download complete 22:55:38 df20fa9351a1: Verifying Checksum 22:55:38 df20fa9351a1: Download complete 22:55:38 93b9cdb0e59b: Verifying Checksum 22:55:38 93b9cdb0e59b: Download complete 22:55:38 5e14af77c1be: Download complete 22:55:38 01666e4c0597: Verifying Checksum 22:55:38 01666e4c0597: Download complete 22:55:38 93b61091891f: Download complete 22:55:39 8ad3a11d3b57: Verifying Checksum 22:55:39 8ad3a11d3b57: Download complete 22:55:39 df20fa9351a1: Pull complete 22:55:39 36b3adc4ff6f: Pull complete 22:55:41 8ad3a11d3b57: Pull complete 22:55:41 46f8f816bc3b: Pull complete 22:55:42 93b61091891f: Pull complete 22:55:43 93b9cdb0e59b: Pull complete 22:55:43 aa168da1d23b: Verifying Checksum 22:55:43 aa168da1d23b: Download complete 22:55:43 5e14af77c1be: Pull complete 22:55:43 01666e4c0597: Pull complete 22:55:56 aa168da1d23b: Pull complete 22:55:56 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:55:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:55:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:55:56 prd-centos7-docker-4c-2g-3342 does not seem to be running inside a container 22:55:56 $ 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-887/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-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@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 22:56:01 $ docker top e1e997c63f880a195255c6d16e2d2bc03f7e6a4d0684d90221a3cc56af5aee30 -eo pid,comm [Pipeline] { [Pipeline] sh 22:56:02 + touch /tmp/pre-build-complete [Pipeline] sh 22:56:02 + mkdir -p /var/log/sa [Pipeline] sh 22:56:03 + ls /var/log/sa-host 22:56:03 + sadf -c /var/log/sa-host/sa06 22:56:03 file_magic: OK 22:56:03 HZ: Using current value: 100 22:56:03 file_header: OK 22:56:03 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 22:56:03 Statistics: 22:56:03 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...Hnuu...uuuununununu... 22:56:03 File successfully converted to sysstat format version 12.2.1 22:56:03 + sadf -c /var/log/sa-host/sa23 22:56:03 file_magic: OK 22:56:03 HZ: Using current value: 100 22:56:03 file_header: OK 22:56:03 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 22:56:03 Statistics: 22:56:03 Hnuu...uuuununununu... 22:56:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:56:03 provisioning config files... 22:56:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config3118300581557666029tmp [Pipeline] { [Pipeline] echo 22:56:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:56:03 ---> create-netrc.sh [Pipeline] } 22:56:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:56:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:56:04 ---> python-tools-install.sh [Pipeline] echo 22:56:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:56:04 ---> sudo-logs.sh 22:56:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:56:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:56:04 ---> job-cost.sh 22:56:04 lf-activate-venv: SKIPPING 22:56:04 DEBUG: total: 0.20999999344348907 22:56:04 INFO: Retrieving Stack Cost... 22:56:05 INFO: Retrieving Pricing Info for: v1-standard-2 22:56:06 INFO: Archiving Costs [Pipeline] echo 22:56:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:56:07 ---> logs-deploy.sh 22:56:07 lf-activate-venv: SKIPPING 22:56:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-887/7 22:56:07 INFO: archiving workspace using pattern(s): 22:56:09 Archives upload complete. 22:56:09 INFO: archiving logs to Nexus 22:56:11 ---> uname -a: 22:56:11 Linux prd-centos7-docker-4c-2g-3342.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 22:56:11 22:56:11 22:56:11 ---> lscpu: 22:56:11 Architecture: x86_64 22:56:11 CPU op-mode(s): 32-bit, 64-bit 22:56:11 Byte Order: Little Endian 22:56:11 Address sizes: 40 bits physical, 48 bits virtual 22:56:11 CPU(s): 4 22:56:11 On-line CPU(s) list: 0-3 22:56:11 Thread(s) per core: 1 22:56:11 Core(s) per socket: 1 22:56:11 Socket(s): 4 22:56:11 NUMA node(s): 1 22:56:11 Vendor ID: GenuineIntel 22:56:11 CPU family: 6 22:56:11 Model: 44 22:56:11 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 22:56:11 Stepping: 1 22:56:11 CPU MHz: 2933.436 22:56:11 BogoMIPS: 5866.87 22:56:11 Virtualization: VT-x 22:56:11 Hypervisor vendor: KVM 22:56:11 Virtualization type: full 22:56:11 L1d cache: 128 KiB 22:56:11 L1i cache: 128 KiB 22:56:11 L2 cache: 16 MiB 22:56:11 L3 cache: 64 MiB 22:56:11 NUMA node0 CPU(s): 0-3 22:56:11 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 22:56:11 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 22:56:11 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 22:56:11 Vulnerability Meltdown: Mitigation; PTI 22:56:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:56:11 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 22:56:11 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 22:56:11 Vulnerability Srbds: Not affected 22:56:11 Vulnerability Tsx async abort: Not affected 22:56:11 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 22:56:11 22:56:11 22:56:11 ---> nproc: 22:56:11 4 22:56:11 22:56:11 22:56:11 ---> df -h: 22:56:11 Filesystem Size Used Available Use% Mounted on 22:56:11 overlay 50.0G 7.3G 42.7G 15% / 22:56:11 tmpfs 64.0M 0 64.0M 0% /dev 22:56:11 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 22:56:11 shm 64.0M 0 64.0M 0% /dev/shm 22:56:11 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 22:56:11 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 22:56:11 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 22:56:11 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 22:56:11 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 22:56:11 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 22:56:11 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 22:56:11 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 22:56:11 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-887 22:56:11 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp 22:56:11 22:56:11 22:56:11 ---> free -m: 22:56:11 total used free shared buff/cache available 22:56:11 Mem: 1837 697 114 0 1024 1034 22:56:11 Swap: 1023 1 1022 22:56:11 22:56:11 22:56:11 ---> ip addr: 22:56:11 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 22:56:11 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:56:11 inet 127.0.0.1/8 scope host lo 22:56:11 valid_lft forever preferred_lft forever 22:56:11 inet6 ::1/128 scope host 22:56:11 valid_lft forever preferred_lft forever 22:56:11 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 22:56:11 link/ether fa:16:3e:6f:bb:3e brd ff:ff:ff:ff:ff:ff 22:56:11 inet 10.30.122.105/23 brd 10.30.123.255 scope global dynamic eth0 22:56:11 valid_lft 85561sec preferred_lft 85561sec 22:56:11 inet6 fe80::f816:3eff:fe6f:bb3e/64 scope link 22:56:11 valid_lft forever preferred_lft forever 22:56:11 3: docker0: mtu 1500 qdisc noqueue state DOWN 22:56:11 link/ether 02:42:ef:a8:1d:50 brd ff:ff:ff:ff:ff:ff 22:56:11 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 22:56:11 valid_lft forever preferred_lft forever 22:56:11 inet6 fe80::42:efff:fea8:1d50/64 scope link 22:56:11 valid_lft forever preferred_lft forever 22:56:11 22:56:11