Pull request #923 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ca61bd3c33f8609be22f5d90c9999c193e65cb38+759496df5f428c8235f1427b99e1498ca885078c (5ba1883d159b19ae7378267f27bc9a6d7bb581a3) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5059 in /w/workspace/dgexfoundry_device-sdk-go_PR-923 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-923 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 759496df5f428c8235f1427b99e1498ca885078c into PR head commit ca61bd3c33f8609be22f5d90c9999c193e65cb38 Merge succeeded, producing ca61bd3c33f8609be22f5d90c9999c193e65cb38 Checking out Revision ca61bd3c33f8609be22f5d90c9999c193e65cb38 (PR-923) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/923/head:refs/remotes/origin/PR-923 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca61bd3c33f8609be22f5d90c9999c193e65cb38 # 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 759496df5f428c8235f1427b99e1498ca885078c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca61bd3c33f8609be22f5d90c9999c193e65cb38 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1" First time build. Skipping changelog. > git rev-list --no-walk 755ccf0f88b1d27e94309afe20514704e22475f5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:16:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:16:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:16:01 ========================================================= 08:16:01 EdgeX Global Pipelines Version Info 08:16:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:16:04 ------------------- 08:16:04 stable info: 08:16:04 ------------------- 08:16:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:16:04 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 08:16:04 Message: update stable to v1.0.192 08:16:05 ------------------- 08:16:05 experimental info: 08:16:05 ------------------- 08:16:05 Commited By: **** collab-it+edgex@linuxfoundation.org 08:16:05 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 08:16:05 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:16:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:16:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:16:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:16:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:16:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:16:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 08:16:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:16:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 08:16:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:16:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:16:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:16:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:16:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-923 [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-923 [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-923 [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca61bd3c33f8609be22f5d90c9999c193e65cb38 [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca61bd3 [Pipeline] echo 08:16:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:16:06 provisioning config files... 08:16:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/config5646907716008283074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:06 ---> docker-login.sh 08:16:06 nexus3.edgexfoundry.org:10001 08:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:07 Configure a credential helper to remove this warning. See 08:16:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:07 08:16:07 Login Succeeded 08:16:07 nexus3.edgexfoundry.org:10002 08:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:07 Configure a credential helper to remove this warning. See 08:16:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:07 08:16:07 Login Succeeded 08:16:07 nexus3.edgexfoundry.org:10003 08:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:08 Configure a credential helper to remove this warning. See 08:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:08 08:16:08 Login Succeeded 08:16:08 nexus3.edgexfoundry.org:10004 08:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:08 Configure a credential helper to remove this warning. See 08:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:08 08:16:08 Login Succeeded 08:16:08 docker.io 08:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:08 Configure a credential helper to remove this warning. See 08:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:08 08:16:08 Login Succeeded 08:16:08 ---> docker-login.sh ends [Pipeline] } 08:16:08 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 08:16:09 + git log --format=format:%s -1 ca61bd3c33f8609be22f5d90c9999c193e65cb38 [Pipeline] echo 08:16:09 GIT_COMMIT: ca61bd3c33f8609be22f5d90c9999c193e65cb38, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1 [Pipeline] echo 08:16:09 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:16:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:16:10 08:16:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:16:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:16:10 latest: Pulling from edgex-devops/git-semver 08:16:10 31603596830f: Pulling fs layer 08:16:10 54011a49482f: Pulling fs layer 08:16:10 a6820b24f6d8: Pulling fs layer 08:16:10 f581987b2513: Pulling fs layer 08:16:10 f581987b2513: Waiting 08:16:10 54011a49482f: Verifying Checksum 08:16:10 54011a49482f: Download complete 08:16:11 31603596830f: Verifying Checksum 08:16:11 31603596830f: Download complete 08:16:11 f581987b2513: Verifying Checksum 08:16:11 f581987b2513: Download complete 08:16:11 a6820b24f6d8: Verifying Checksum 08:16:11 a6820b24f6d8: Download complete 08:16:11 31603596830f: Pull complete 08:16:12 54011a49482f: Pull complete 08:16:13 a6820b24f6d8: Pull complete 08:16:13 f581987b2513: Pull complete 08:16:13 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 08:16:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:16:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:16:13 prd-centos7-docker-4c-2g-5059 does not seem to be running inside a container 08:16:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-923 -v /w/workspace/dgexfoundry_device-sdk-go_PR-923:/w/workspace/dgexfoundry_device-sdk-go_PR-923:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:16:18 $ docker top 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:16:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:16:18 [ssh-agent] Looking for ssh-agent implementation... 08:16:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:16:19 $ docker exec 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a ssh-agent 08:16:20 SSH_AUTH_SOCK=/tmp/ssh-61K5MJ43Kjyu/agent.12 08:16:20 SSH_AGENT_PID=17 08:16:20 Running ssh-add (command line suppressed) 08:16:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_3731994681505845230.key (/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_3731994681505845230.key) 08:16:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:16:21 + git tag --points-at HEAD [Pipeline] } 08:16:21 $ docker exec --env ******** --env ******** 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a ssh-agent -k 08:16:21 unset SSH_AUTH_SOCK; 08:16:21 unset SSH_AGENT_PID; 08:16:21 echo Agent pid 17 killed; 08:16:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:16:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:16:21 [ssh-agent] Looking for ssh-agent implementation... 08:16:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:16:22 $ docker exec 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a ssh-agent 08:16:22 SSH_AUTH_SOCK=/tmp/ssh-tnTCTf3Lf49k/agent.46 08:16:22 SSH_AGENT_PID=52 08:16:22 Running ssh-add (command line suppressed) 08:16:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_2678886649819325023.key (/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/private_key_2678886649819325023.key) 08:16:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:16:23 + git semver init 08:16:23 # -> Open(): unable to determine branch for HEAD 08:16:23 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-923/.git 08:16:23 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-923 08:16:23 # $SEMVER_REMOTE_NAME = origin 08:16:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:16:23 # $SEMVER_USER_NAME = edgex-jenkins 08:16:23 # $SEMVER_BRANCH = PR-923 08:16:23 # $SEMVER_TEMP = /tmp/semver-491582766 08:16:23 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:16:24 # '/tmp/semver-491582766' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-923/.semver' 08:16:24 # -> Force: false 08:16:24 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-923/.semver [Pipeline] } 08:16:24 $ docker exec --env ******** --env ******** 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a ssh-agent -k 08:16:24 unset SSH_AUTH_SOCK; 08:16:24 unset SSH_AGENT_PID; 08:16:24 echo Agent pid 52 killed; 08:16:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:16:25 + git semver [Pipeline] } 08:16:25 $ docker stop --time=1 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a 08:16:27 $ docker rm -f 0259e5234b23477b17364d42e4e13c62138ff4fef79ae8c4eff4bb276d30293a [Pipeline] // withDockerContainer [Pipeline] sh 08:16:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:16:28 Stashed 1 file(s) [Pipeline] echo 08:16:28 [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 08:16:43 Still waiting to schedule task 08:16:43 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-5064’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ 08:16:43 Still waiting to schedule task 08:16:43 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:18:18 Running on prd-centos7-docker-4c-2g-5067 in /w/workspace/dgexfoundry_device-sdk-go_PR-923 [Pipeline] { [Pipeline] ws 08:18:18 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 08:18:28 using credential edgex-jenkins-ssh 08:18:28 Cloning the remote Git repository 08:18:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:18:28 > git init /w/workspace/device-sdk-go/5 # timeout=10 08:18:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:18:29 > git --version # timeout=10 08:18:29 > git --version # 'git version 2.24.3' 08:18:29 using GIT_SSH to set credentials SSH Credentials for GitHub 08:18:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:18:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:18:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:18:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:18:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:18:30 using GIT_SSH to set credentials SSH Credentials for GitHub 08:18:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/923/head:refs/remotes/origin/PR-923 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:18:31 Merging remotes/origin/master commit 759496df5f428c8235f1427b99e1498ca885078c into PR head commit ca61bd3c33f8609be22f5d90c9999c193e65cb38 08:18:31 Merge succeeded, producing ca61bd3c33f8609be22f5d90c9999c193e65cb38 08:18:31 Checking out Revision ca61bd3c33f8609be22f5d90c9999c193e65cb38 (PR-923) 08:18:31 > git config core.sparsecheckout # timeout=10 08:18:31 > git checkout -f ca61bd3c33f8609be22f5d90c9999c193e65cb38 # timeout=10 08:18:31 > git remote # timeout=10 08:18:31 > git config --get remote.origin.url # timeout=10 08:18:31 using GIT_SSH to set credentials SSH Credentials for GitHub 08:18:31 > git merge 759496df5f428c8235f1427b99e1498ca885078c # timeout=10 08:18:31 > git rev-parse HEAD^{commit} # timeout=10 08:18:31 > git config core.sparsecheckout # timeout=10 08:18:31 > git checkout -f ca61bd3c33f8609be22f5d90c9999c193e65cb38 # timeout=10 08:18:35 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:18:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:18:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:18:38 + sudo service docker restart 08:18:38 + true 08:18:38 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:18:40 provisioning config files... 08:18:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config8798486714041459749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:18:40 ---> docker-login.sh 08:18:40 nexus3.edgexfoundry.org:10001 08:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:41 Configure a credential helper to remove this warning. See 08:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:41 08:18:41 Login Succeeded 08:18:41 nexus3.edgexfoundry.org:10002 08:18:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:42 Configure a credential helper to remove this warning. See 08:18:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:42 08:18:42 Login Succeeded 08:18:42 nexus3.edgexfoundry.org:10003 08:18:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:42 Configure a credential helper to remove this warning. See 08:18:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:42 08:18:42 Login Succeeded 08:18:42 nexus3.edgexfoundry.org:10004 08:18:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:42 Configure a credential helper to remove this warning. See 08:18:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:42 08:18:42 Login Succeeded 08:18:42 docker.io 08:18:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:43 Configure a credential helper to remove this warning. See 08:18:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:43 08:18:43 Login Succeeded 08:18:43 ---> docker-login.sh ends [Pipeline] } 08:18:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:18:43 ========================================================= 08:18:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 08:18:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:18:43 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 08:18:44 Sending build context to Docker daemon 2.564MB 08:18:44 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 08:18:44 Step 2/8 : FROM ${BASE} 08:18:44 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 08:18:44 540db60ca938: Pulling fs layer 08:18:44 adcc1eea9eea: Pulling fs layer 08:18:44 4c4ab2625f07: Pulling fs layer 08:18:44 0510c868ecb4: Pulling fs layer 08:18:44 afea3b2eda06: Pulling fs layer 08:18:44 7809a108b3ef: Pulling fs layer 08:18:44 f706445af74f: Pulling fs layer 08:18:44 afea3b2eda06: Waiting 08:18:44 7809a108b3ef: Waiting 08:18:44 f706445af74f: Waiting 08:18:44 0510c868ecb4: Waiting 08:18:44 4c4ab2625f07: Verifying Checksum 08:18:44 4c4ab2625f07: Download complete 08:18:44 adcc1eea9eea: Verifying Checksum 08:18:44 adcc1eea9eea: Download complete 08:18:44 afea3b2eda06: Verifying Checksum 08:18:44 afea3b2eda06: Download complete 08:18:44 7809a108b3ef: Verifying Checksum 08:18:44 7809a108b3ef: Download complete 08:18:44 540db60ca938: Verifying Checksum 08:18:44 540db60ca938: Download complete 08:18:44 540db60ca938: Pull complete 08:18:44 adcc1eea9eea: Pull complete 08:18:45 4c4ab2625f07: Pull complete 08:18:46 f706445af74f: Verifying Checksum 08:18:46 f706445af74f: Download complete 08:18:47 0510c868ecb4: Verifying Checksum 08:18:47 0510c868ecb4: Download complete 08:19:03 0510c868ecb4: Pull complete 08:19:03 afea3b2eda06: Pull complete 08:19:03 7809a108b3ef: Pull complete 08:19:11 f706445af74f: Pull complete 08:19:11 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 08:19:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 08:19:11 ---> b068be0155e3 08:19:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:19:11 ---> Running in 144c2ccf70ae 08:19:11 Removing intermediate container 144c2ccf70ae 08:19:11 ---> 3612e7c830e8 08:19:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:19:11 ---> Running in 23636ba397bf 08:19:13 Removing intermediate container 23636ba397bf 08:19:13 ---> a0ffd7916538 08:19:13 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:19:13 ---> Running in 96398d04a307 08:19:14 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:19:14 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:19:15 (1/6) Installing libc-dev (0.7.2-r3) 08:19:15 (2/6) Installing libsodium (1.0.18-r0) 08:19:16 (3/6) Installing pkgconf (1.7.3-r0) 08:19:16 (4/6) Installing libsodium-dev (1.0.18-r0) 08:19:16 (5/6) Installing libzmq (4.3.3-r1) 08:19:16 (6/6) Installing zeromq-dev (4.3.3-r1) 08:19:16 Executing busybox-1.32.1-r6.trigger 08:19:16 OK: 150 MiB in 46 packages 08:19:17 Removing intermediate container 96398d04a307 08:19:17 ---> e52bec3aabd4 08:19:17 Step 6/8 : WORKDIR /device-sdk-go 08:19:17 ---> Running in b56cad22b682 08:19:17 Removing intermediate container b56cad22b682 08:19:17 ---> 3a47bbd24830 08:19:17 Step 7/8 : COPY . . 08:19:18 ---> 4095ad3dafda 08:19:18 Step 8/8 : RUN go mod download 08:19:18 ---> Running in 9eb0d854bf6f 08:19:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5073 in /w/workspace/dgexfoundry_device-sdk-go_PR-923 [Pipeline] { [Pipeline] ws 08:19:38 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 08:19:44 using credential edgex-jenkins-ssh 08:19:44 Cloning the remote Git repository 08:19:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:19:44 > git init /w/workspace/device-sdk-go/5 # timeout=10 08:19:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:19:44 > git --version # timeout=10 08:19:44 > git --version # 'git version 2.17.1' 08:19:44 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:19:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:19:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:19:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:19:46 Merging remotes/origin/master commit 759496df5f428c8235f1427b99e1498ca885078c into PR head commit ca61bd3c33f8609be22f5d90c9999c193e65cb38 08:19:46 Merge succeeded, producing ca61bd3c33f8609be22f5d90c9999c193e65cb38 08:19:46 Checking out Revision ca61bd3c33f8609be22f5d90c9999c193e65cb38 (PR-923) 08:19:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:19:46 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/923/head:refs/remotes/origin/PR-923 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:19:46 > git config core.sparsecheckout # timeout=10 08:19:46 > git checkout -f ca61bd3c33f8609be22f5d90c9999c193e65cb38 # timeout=10 08:19:46 > git remote # timeout=10 08:19:46 > git config --get remote.origin.url # timeout=10 08:19:46 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:46 > git merge 759496df5f428c8235f1427b99e1498ca885078c # timeout=10 08:19:46 > git rev-parse HEAD^{commit} # timeout=10 08:19:46 > git config core.sparsecheckout # timeout=10 08:19:46 > git checkout -f ca61bd3c33f8609be22f5d90c9999c193e65cb38 # timeout=10 08:19:51 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:19:52 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:19:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:19:53 + sudo service docker restart 08:19:53 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:19:56 provisioning config files... 08:19:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5783380902712864078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:19:56 ---> docker-login.sh 08:19:56 nexus3.edgexfoundry.org:10001 08:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:57 Configure a credential helper to remove this warning. See 08:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:57 08:19:57 Login Succeeded 08:19:57 nexus3.edgexfoundry.org:10002 08:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:58 Removing intermediate container 9eb0d854bf6f 08:19:58 ---> 818162101937 08:19:58 Successfully built 818162101937 08:19:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:58 Configure a credential helper to remove this warning. See 08:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:58 08:19:58 Login Succeeded 08:19:58 nexus3.edgexfoundry.org:10003 08:19:58 + docker inspect -f . ci-base-image-x86_64 08:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:59 Configure a credential helper to remove this warning. See 08:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:59 08:19:59 Login Succeeded 08:19:59 nexus3.edgexfoundry.org:10004 08:19:59 . [Pipeline] withDockerContainer 08:19:59 prd-centos7-docker-4c-2g-5067 does not seem to be running inside a container 08:19:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:59 Configure a credential helper to remove this warning. See 08:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:59 08:19:59 Login Succeeded 08:19:59 docker.io 08:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:00 $ docker top e3091b4d11cc298e96a7152f1b64ea00897898fe03c160bb06c341af7ac57ce6 -eo pid,comm 08:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:00 Configure a credential helper to remove this warning. See 08:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:00 08:20:00 Login Succeeded 08:20:00 ---> docker-login.sh ends [Pipeline] { [Pipeline] } 08:20:00 Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 08:20:00 + go version 08:20:00 go version go1.16.3 linux/amd64 [Pipeline] } 08:20:00 $ docker stop --time=1 e3091b4d11cc298e96a7152f1b64ea00897898fe03c160bb06c341af7ac57ce6 08:20:02 $ docker rm -f e3091b4d11cc298e96a7152f1b64ea00897898fe03c160bb06c341af7ac57ce6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo 08:20:02 ========================================================= 08:20:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 08:20:02 ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:20:02 + 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 . 08:20:03 + docker inspect -f . ci-base-image-x86_64 08:20:03 . [Pipeline] withDockerContainer 08:20:03 prd-centos7-docker-4c-2g-5067 does not seem to be running inside a container 08:20:03 Sending build context to Docker daemon 2.563MB 08:20:03 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 08:20:03 Step 2/8 : FROM ${BASE} 08:20:03 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:20:03 595b0fe564bb: Pulling fs layer 08:20:03 7186ed65a4f7: Pulling fs layer 08:20:03 316046926c0a: Pulling fs layer 08:20:03 4ebd0625c992: Pulling fs layer 08:20:03 207e8628e3a3: Pulling fs layer 08:20:03 c791037a9be2: Pulling fs layer 08:20:03 ffd874e62e21: Pulling fs layer 08:20:03 207e8628e3a3: Waiting 08:20:03 c791037a9be2: Waiting 08:20:03 ffd874e62e21: Waiting 08:20:03 4ebd0625c992: Waiting 08:20:03 316046926c0a: Verifying Checksum 08:20:03 316046926c0a: Download complete 08:20:03 7186ed65a4f7: Verifying Checksum 08:20:03 7186ed65a4f7: Download complete 08:20:03 207e8628e3a3: Verifying Checksum 08:20:03 c791037a9be2: Verifying Checksum 08:20:03 c791037a9be2: Download complete 08:20:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:20:03 595b0fe564bb: Verifying Checksum 08:20:03 595b0fe564bb: Download complete 08:20:04 595b0fe564bb: Pull complete 08:20:04 $ docker top e6664be1a7dd4b9cfedb321341fca75f19f3f9a2292cc397544d88c870a76195 -eo pid,comm 08:20:04 7186ed65a4f7: Pull complete [Pipeline] { [Pipeline] sh 08:20:05 316046926c0a: Pull complete 08:20:05 + go mod tidy [Pipeline] sh 08:20:06 ffd874e62e21: Verifying Checksum 08:20:06 ffd874e62e21: Download complete 08:20:06 + make test 08:20:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:20:07 4ebd0625c992: Verifying Checksum 08:20:07 4ebd0625c992: Download complete 08:20:17 4ebd0625c992: Pull complete 08:20:17 207e8628e3a3: Pull complete 08:20:18 c791037a9be2: Pull complete 08:20:21 ffd874e62e21: Pull complete 08:20:21 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 08:20:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 08:20:21 ---> cfc18b08335c 08:20:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:20:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:20:24 ---> Running in 799b18f3ae77 08:20:25 Removing intermediate container 799b18f3ae77 08:20:25 ---> ae32a482ec58 08:20:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:20:25 ---> Running in 83265cc6b99d 08:20:27 Removing intermediate container 83265cc6b99d 08:20:27 ---> 5bc371933922 08:20:27 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:20:27 ---> Running in 7063fb54acf1 08:20:28 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:20:29 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:20:30 (1/6) Installing libc-dev (0.7.2-r3) 08:20:30 (2/6) Installing libsodium (1.0.18-r0) 08:20:30 (3/6) Installing pkgconf (1.7.3-r0) 08:20:30 (4/6) Installing libsodium-dev (1.0.18-r0) 08:20:30 (5/6) Installing libzmq (4.3.3-r1) 08:20:31 (6/6) Installing zeromq-dev (4.3.3-r1) 08:20:31 Executing busybox-1.32.1-r6.trigger 08:20:31 OK: 139 MiB in 46 packages 08:20:32 Removing intermediate container 7063fb54acf1 08:20:32 ---> 04e70fcda7ae 08:20:32 Step 6/8 : WORKDIR /device-sdk-go 08:20:32 ---> Running in a1af8318b684 08:20:33 Removing intermediate container a1af8318b684 08:20:33 ---> 0c231918ebca 08:20:33 Step 7/8 : COPY . . 08:20:35 ---> 0a2ab22077d3 08:20:35 Step 8/8 : RUN go mod download 08:20:35 ---> Running in d0a0474c3d23 08:21:01 Removing intermediate container d0a0474c3d23 08:21:01 ---> 5e4d66cda0dc 08:21:01 Successfully built 5e4d66cda0dc 08:21:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:21:02 + docker inspect -f . ci-base-image-arm64 08:21:02 . [Pipeline] withDockerContainer 08:21:02 prd-ubuntu18.04-docker-arm64-4c-16g-5073 does not seem to be running inside a container 08:21:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:21:04 $ docker top 12ca0c43f85c4c59891959d8ae469169399a4c359e6f1baf427602de959554d0 -eo pid,comm [Pipeline] { [Pipeline] sh 08:21:05 + go version 08:21:05 go version go1.16.3 linux/arm64 [Pipeline] } 08:21:05 $ docker stop --time=1 12ca0c43f85c4c59891959d8ae469169399a4c359e6f1baf427602de959554d0 08:21:07 $ docker rm -f 12ca0c43f85c4c59891959d8ae469169399a4c359e6f1baf427602de959554d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:21:08 + docker inspect -f . ci-base-image-arm64 08:21:08 . [Pipeline] withDockerContainer 08:21:08 prd-ubuntu18.04-docker-arm64-4c-16g-5073 does not seem to be running inside a container 08:21:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:21:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:21:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:21:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:21:09 $ docker top fad26c90493fe908db332fa6751bd0e4f9121f9636ed1a8be2a8f475463f8a78 -eo pid,comm [Pipeline] { [Pipeline] sh 08:21:10 + go mod tidy [Pipeline] sh 08:21:12 + make test 08:21:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:21:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.194s coverage: 25.4% of statements 08:21:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:21:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.234s coverage: 28.1% of statements 08:21:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.262s coverage: 78.9% of statements 08:21:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.143s coverage: 10.7% of statements 08:21:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:21:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:21:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:21:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.155s coverage: 30.2% of statements 08:21:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:21:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.132s coverage: 83.3% of statements 08:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:21:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:21:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.152s coverage: 58.4% of statements 08:21:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.403s coverage: 89.2% of statements 08:21:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 08:21:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.117s coverage: 5.0% of statements 08:21:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:21:19 GO111MODULE=on go vet ./... 08:21:39 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:22:08 gofmt -l . 08:22:08 [ "`gofmt -l .`" = "" ] 08:22:08 ./bin/test-attribution-txt.sh 08:22:08 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:22:08 $ docker stop --time=1 e6664be1a7dd4b9cfedb321341fca75f19f3f9a2292cc397544d88c870a76195 08:22:10 $ docker rm -f e6664be1a7dd4b9cfedb321341fca75f19f3f9a2292cc397544d88c870a76195 [Pipeline] // withDockerContainer [Pipeline] sh 08:22:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:22:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:22:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:22:13 + ls -al . 08:22:13 total 212 08:22:13 drwxrwxr-x. 10 jenkins jenkins 4096 May 13 08:22 . 08:22:13 drwxrwxr-x. 4 jenkins jenkins 28 May 13 08:18 .. 08:22:13 drwxrwxr-x. 2 jenkins jenkins 64 May 13 08:18 bin 08:22:13 -rw-r--r--. 1 jenkins jenkins 126002 May 13 08:21 coverage.out 08:22:13 -rw-rw-r--. 1 jenkins jenkins 987 May 13 08:18 Dockerfile.build 08:22:13 -rw-rw-r--. 1 jenkins jenkins 140 May 13 08:18 .dockerignore 08:22:13 drwxrwxr-x. 5 jenkins jenkins 62 May 13 08:18 example 08:22:13 drwxrwxr-x. 8 jenkins jenkins 179 May 13 08:18 .git 08:22:13 drwxrwxr-x. 2 jenkins jenkins 103 May 13 08:18 .github 08:22:13 -rw-rw-r--. 1 jenkins jenkins 138 May 13 08:18 .gitignore 08:22:13 -rw-r--r--. 1 jenkins jenkins 575 May 13 08:22 go.mod 08:22:13 -rw-r--r--. 1 jenkins jenkins 20499 May 13 08:20 go.sum 08:22:13 drwxrwxr-x. 15 jenkins jenkins 224 May 13 08:18 internal 08:22:13 -rw-rw-r--. 1 jenkins jenkins 894 May 13 08:18 Jenkinsfile 08:22:13 -rw-rw-r--. 1 jenkins jenkins 11341 May 13 08:18 LICENSE 08:22:13 -rw-rw-r--. 1 jenkins jenkins 1000 May 13 08:18 Makefile 08:22:13 drwxrwxr-x. 4 jenkins jenkins 26 May 13 08:18 openapi 08:22:13 drwxrwxr-x. 5 jenkins jenkins 50 May 13 08:18 pkg 08:22:13 -rw-rw-r--. 1 jenkins jenkins 7652 May 13 08:18 README.md 08:22:13 -rw-rw-r--. 1 jenkins jenkins 6616 May 13 08:18 RELEASE-NOTES.txt 08:22:13 drwxrwxr-x. 4 jenkins jenkins 54 May 13 08:18 snap 08:22:13 -rw-rw-r--. 1 jenkins jenkins 5 May 13 08:16 VERSION 08:22:13 -rw-rw-r--. 1 jenkins jenkins 222 May 13 08:18 version.go [Pipeline] isUnix [Pipeline] sh 08:22:13 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=ca61bd3c33f8609be22f5d90c9999c193e65cb38 --label arch=amd64 --label version=0.0.0 . 08:22:13 Sending build context to Docker daemon 2.691MB 08:22:13 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 08:22:13 Step 2/23 : FROM ${BASE} AS builder 08:22:13 ---> 818162101937 08:22:13 Step 3/23 : WORKDIR /device-sdk-go 08:22:14 ---> Running in fb1321c9e401 08:22:14 Removing intermediate container fb1321c9e401 08:22:14 ---> 83f86c32c14c 08:22:14 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:22:14 ---> Running in 2fe058b3ae17 08:22:14 Removing intermediate container 2fe058b3ae17 08:22:14 ---> d02c2e4a7510 08:22:14 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:22:14 ---> Running in 5c9b5d9be124 08:22:16 Removing intermediate container 5c9b5d9be124 08:22:16 ---> f18252fa5eec 08:22:16 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:22:16 ---> Running in e475002bd9ae 08:22:16 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:22:17 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:22:17 OK: 150 MiB in 46 packages 08:22:18 Removing intermediate container e475002bd9ae 08:22:18 ---> cc882d51fad1 08:22:18 Step 7/23 : COPY . . 08:22:19 ---> f35b6b4f0342 08:22:19 Step 8/23 : RUN go mod download 08:22:20 ---> Running in 294d1b68d86a 08:22:22 Removing intermediate container 294d1b68d86a 08:22:22 ---> 3a782251a4d0 08:22:22 Step 9/23 : RUN make build 08:22:22 ---> Running in 7698d14a1773 08:22:23 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 08:22:41 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:22:44 Removing intermediate container 7698d14a1773 08:22:44 ---> fb94488e3e90 08:22:44 Step 10/23 : FROM alpine:3.12 08:22:44 3.12: Pulling from library/alpine 08:22:44 339de151aab4: Pulling fs layer 08:22:44 339de151aab4: Download complete 08:22:45 339de151aab4: Pull complete 08:22:45 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 08:22:45 Status: Downloaded newer image for alpine:3.12 08:22:45 ---> 13621d1b12d4 08:22:45 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:22:45 ---> Running in 319ede743185 08:22:45 Removing intermediate container 319ede743185 08:22:45 ---> e62df7578f01 08:22:45 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:22:45 ---> Running in 478947aef0ac 08:22:46 Removing intermediate container 478947aef0ac 08:22:46 ---> a0edf02e10fd 08:22:46 Step 13/23 : RUN apk add --update --no-cache zeromq 08:22:46 ---> Running in e4853374f7fd 08:22:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:22:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:22:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:22:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:22:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:22:48 (1/5) Installing libgcc (9.3.0-r2) 08:22:48 (2/5) Installing libsodium (1.0.18-r0) 08:22:48 (3/5) Installing libstdc++ (9.3.0-r2) 08:22:49 (4/5) Installing libzmq (4.3.3-r0) 08:22:49 (5/5) Installing zeromq (4.3.3-r0) 08:22:49 Executing busybox-1.31.1-r20.trigger 08:22:49 OK: 8 MiB in 19 packages 08:22:50 Removing intermediate container e4853374f7fd 08:22:50 ---> bdbcbd37adcf 08:22:50 Step 14/23 : WORKDIR / 08:22:50 ---> Running in 280d810a5e67 08:22:50 Removing intermediate container 280d810a5e67 08:22:50 ---> 34a26e3d08a9 08:22:50 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:22:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.200s coverage: 25.4% of statements 08:22:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:22:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.138s coverage: 28.1% of statements 08:22:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.170s coverage: 78.9% of statements 08:22:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.136s coverage: 10.7% of statements 08:22:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:22:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:22:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:22:51 ---> a1c2b27d3f4b 08:22:51 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:22:52 ---> afbcca881ad2 08:22:52 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:22:52 ---> 4d0dee80efb7 08:22:52 Step 18/23 : EXPOSE 49990 08:22:52 ---> Running in 5a218d13f29f 08:22:52 Removing intermediate container 5a218d13f29f 08:22:52 ---> cbec4577684c 08:22:52 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:22:52 ---> Running in 3c55d498ef61 08:22:53 Removing intermediate container 3c55d498ef61 08:22:53 ---> a88d92a7d161 08:22:53 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:22:53 ---> Running in 3298befdb383 08:22:53 Removing intermediate container 3298befdb383 08:22:53 ---> 0b01a1328f62 08:22:53 Step 21/23 : LABEL arch=amd64 08:22:53 ---> Running in 9c2494d4b9f0 08:22:54 Removing intermediate container 9c2494d4b9f0 08:22:54 ---> 7d16d84c13ef 08:22:54 Step 22/23 : LABEL git_sha=ca61bd3c33f8609be22f5d90c9999c193e65cb38 08:22:54 ---> Running in 3247aa06825d 08:22:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.218s coverage: 30.2% of statements 08:22:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:22:54 Removing intermediate container 3247aa06825d 08:22:54 ---> 9dac4dfbfd5e 08:22:54 Step 23/23 : LABEL version=0.0.0 08:22:54 ---> Running in f0b55df3c4e5 08:22:54 Removing intermediate container f0b55df3c4e5 08:22:54 ---> cda4f155769a 08:22:54 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:22:54 Successfully built cda4f155769a 08:22:54 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 08:22:55 ---> job-cost.sh 08:22:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sSUT 08:22:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.165s coverage: 83.3% of statements 08:22:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:22:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:22:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.396s coverage: 58.4% of statements 08:22:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.089s coverage: 89.2% of statements 08:22:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 08:22:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.0% of statements 08:22:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:22:58 GO111MODULE=on go vet ./... 08:23:22 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:23:55 gofmt -l . 08:23:55 [ "`gofmt -l .`" = "" ] 08:23:55 ./bin/test-attribution-txt.sh 08:23:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:23:57 $ docker stop --time=1 fad26c90493fe908db332fa6751bd0e4f9121f9636ed1a8be2a8f475463f8a78 08:23:59 $ docker rm -f fad26c90493fe908db332fa6751bd0e4f9121f9636ed1a8be2a8f475463f8a78 [Pipeline] // withDockerContainer [Pipeline] sh 08:24:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:24:01 Warning: overwriting stash ‘coverage-report’ 08:24:01 lf-activate-venv(): INFO: Adding /tmp/venv-sSUT/bin to PATH 08:24:01 INFO: No Stack... 08:24:01 INFO: Retrieving Pricing Info for: v1-standard-2 08:24:01 INFO: Archiving Costs [Pipeline] sh 08:24:01 + cat /w/workspace/device-sdk-go/5/archives/cost.csv 08:24:01 + cut -d, -f6 [Pipeline] lock 08:24:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] 08:24:01 Resource [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] did not exist. Created. 08:24:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:24:02 + echo total: 0.029999999329447746 [Pipeline] stash 08:24:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:24:02 Stashed 1 file(s) [Pipeline] } 08:24:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:24:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:24:03 + ls -al . 08:24:03 total 248 08:24:03 drwxrwxr-x 10 jenkins jenkins 4096 May 13 08:23 . 08:24:03 drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:19 .. 08:24:03 -rw-rw-r-- 1 jenkins jenkins 140 May 13 08:19 .dockerignore 08:24:03 drwxrwxr-x 8 jenkins jenkins 4096 May 13 08:19 .git 08:24:03 drwxrwxr-x 2 jenkins jenkins 4096 May 13 08:19 .github 08:24:03 -rw-rw-r-- 1 jenkins jenkins 138 May 13 08:19 .gitignore 08:24:03 -rw-rw-r-- 1 jenkins jenkins 987 May 13 08:19 Dockerfile.build 08:24:03 -rw-rw-r-- 1 jenkins jenkins 894 May 13 08:19 Jenkinsfile 08:24:03 -rw-rw-r-- 1 jenkins jenkins 11341 May 13 08:19 LICENSE 08:24:03 -rw-rw-r-- 1 jenkins jenkins 1000 May 13 08:19 Makefile 08:24:03 -rw-rw-r-- 1 jenkins jenkins 7652 May 13 08:19 README.md 08:24:03 -rw-rw-r-- 1 jenkins jenkins 6616 May 13 08:19 RELEASE-NOTES.txt 08:24:03 -rw-rw-r-- 1 jenkins jenkins 5 May 13 08:16 VERSION 08:24:03 drwxrwxr-x 2 jenkins jenkins 4096 May 13 08:19 bin 08:24:03 -rw-r--r-- 1 jenkins jenkins 126002 May 13 08:22 coverage.out 08:24:03 drwxrwxr-x 5 jenkins jenkins 4096 May 13 08:19 example 08:24:03 -rw-r--r-- 1 jenkins jenkins 575 May 13 08:23 go.mod 08:24:03 -rw-r--r-- 1 jenkins jenkins 20499 May 13 08:21 go.sum 08:24:03 drwxrwxr-x 15 jenkins jenkins 4096 May 13 08:19 internal 08:24:03 drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:19 openapi 08:24:03 drwxrwxr-x 5 jenkins jenkins 4096 May 13 08:19 pkg 08:24:03 drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:19 snap 08:24:03 -rw-rw-r-- 1 jenkins jenkins 222 May 13 08:19 version.go [Pipeline] isUnix [Pipeline] sh 08:24:03 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ca61bd3c33f8609be22f5d90c9999c193e65cb38 --label arch=arm64 --label version=0.0.0 . 08:24:03 Sending build context to Docker daemon 2.69MB 08:24:03 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 08:24:03 Step 2/23 : FROM ${BASE} AS builder 08:24:03 ---> 5e4d66cda0dc 08:24:03 Step 3/23 : WORKDIR /device-sdk-go 08:24:04 ---> Running in 3620655e084a 08:24:04 Removing intermediate container 3620655e084a 08:24:04 ---> 8ccce0e678e3 08:24:04 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:24:04 ---> Running in e1c1d6f40cf3 08:24:05 Removing intermediate container e1c1d6f40cf3 08:24:05 ---> 635d01129752 08:24:05 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:24:05 ---> Running in 1d2ede10baf7 08:24:07 Removing intermediate container 1d2ede10baf7 08:24:07 ---> aab2dc06e609 08:24:07 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:24:07 ---> Running in d59b1224fc5c 08:24:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:24:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:24:11 OK: 139 MiB in 46 packages 08:24:12 Removing intermediate container d59b1224fc5c 08:24:12 ---> 7f1d47656b41 08:24:12 Step 7/23 : COPY . . 08:24:13 ---> 1c4f08e97d84 08:24:13 Step 8/23 : RUN go mod download 08:24:13 ---> Running in a5b89a16207a 08:24:15 Removing intermediate container a5b89a16207a 08:24:15 ---> 2b40dbd05f1c 08:24:15 Step 9/23 : RUN make build 08:24:16 ---> Running in 6c56b283a0bb 08:24: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 08:24:49 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:24:52 Removing intermediate container 6c56b283a0bb 08:24:52 ---> fb5a222fd538 08:24:52 Step 10/23 : FROM alpine:3.12 08:24:52 3.12: Pulling from library/alpine 08:24:52 d2f70382dc9a: Pulling fs layer 08:24:53 d2f70382dc9a: Download complete 08:24:53 d2f70382dc9a: Pull complete 08:24:53 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 08:24:53 Status: Downloaded newer image for alpine:3.12 08:24:53 ---> 9852663dfa18 08:24:53 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:24:53 ---> Running in 8d2960b9e80b 08:24:54 Removing intermediate container 8d2960b9e80b 08:24:54 ---> 5beb59ac7327 08:24:54 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:24:54 ---> Running in 384df4973ea8 08:24:56 Removing intermediate container 384df4973ea8 08:24:56 ---> 0d39c6dcfcfc 08:24:56 Step 13/23 : RUN apk add --update --no-cache zeromq 08:24:56 ---> Running in 3fd5b8006481 08:24:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:24:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:24:59 (1/5) Installing libgcc (9.3.0-r2) 08:24:59 (2/5) Installing libsodium (1.0.18-r0) 08:24:59 (3/5) Installing libstdc++ (9.3.0-r2) 08:25:00 (4/5) Installing libzmq (4.3.3-r0) 08:25:00 (5/5) Installing zeromq (4.3.3-r0) 08:25:00 Executing busybox-1.31.1-r20.trigger 08:25:00 OK: 8 MiB in 19 packages 08:25:01 Removing intermediate container 3fd5b8006481 08:25:01 ---> 781f9f43aea4 08:25:01 Step 14/23 : WORKDIR / 08:25:01 ---> Running in 569a812e32f3 08:25:02 Removing intermediate container 569a812e32f3 08:25:02 ---> 5b69e36b4a69 08:25:02 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:25:03 ---> bf62ca9244f0 08:25:03 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:25:04 ---> ba8710756674 08:25:04 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:25:05 ---> 84d25bccd14e 08:25:05 Step 18/23 : EXPOSE 49990 08:25:05 ---> Running in 519309169fe8 08:25:05 Removing intermediate container 519309169fe8 08:25:05 ---> 06d0dba2e7ea 08:25:05 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:25:05 ---> Running in 5efcfd54d00d 08:25:06 Removing intermediate container 5efcfd54d00d 08:25:06 ---> 3a1cd9e05602 08:25:06 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:25:06 ---> Running in 11a50c19b1e4 08:25:06 Removing intermediate container 11a50c19b1e4 08:25:06 ---> 1206aeb79a90 08:25:06 Step 21/23 : LABEL arch=arm64 08:25:06 ---> Running in fe0cbb34f4eb 08:25:07 Removing intermediate container fe0cbb34f4eb 08:25:07 ---> 7ace5de0a3b6 08:25:07 Step 22/23 : LABEL git_sha=ca61bd3c33f8609be22f5d90c9999c193e65cb38 08:25:07 ---> Running in 84ee220caba6 08:25:08 Removing intermediate container 84ee220caba6 08:25:08 ---> 61386947453e 08:25:08 Step 23/23 : LABEL version=0.0.0 08:25:08 ---> Running in 6fb367ef4c59 08:25:08 Removing intermediate container 6fb367ef4c59 08:25:08 ---> 3e48c73b6747 08:25:08 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:25:08 Successfully built 3e48c73b6747 08:25:08 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 08:25:09 ---> job-cost.sh 08:25:09 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-XZCG 08:25:48 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:27:24 lf-activate-venv(): INFO: Adding /tmp/venv-XZCG/bin to PATH 08:27:24 INFO: No Stack... 08:27:24 INFO: Retrieving Pricing Info for: lf-standard-4 08:27:24 INFO: Archiving Costs [Pipeline] sh 08:27:25 + cut -d, -f6 08:27:25 + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock 08:27:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] 08:27:25 Resource [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] did not exist. Created. 08:27:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-923-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:27:25 /w/workspace/device-sdk-go/5@tmp/durable-b76283da/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-b76283da/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:27:26 + echo total: 0.20999999344348907 [Pipeline] stash 08:27:26 Warning: overwriting stash ‘stack-cost’ 08:27:26 Stashed 1 file(s) [Pipeline] } 08:27:26 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-923-5-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 08:27:26 provisioning config files... 08:27:27 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/config7200679650097742844tmp [Pipeline] { [Pipeline] sh 08:27:27 + set +x 08:27:27 + curl -s https://codecov.io/bash 08:27:27 + bash -s -- 08:27:27 08:27:27 _____ _ 08:27:27 / ____| | | 08:27:27 | | ___ __| | ___ ___ _____ __ 08:27:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:27:27 | |___| (_) | (_| | __/ (_| (_) \ V / 08:27:27 \_____\___/ \__,_|\___|\___\___/ \_/ 08:27:27 Bash-1.0.2 08:27:27 08:27:27 08:27:27 ==> git version 2.24.3 found 08:27:27 ==> 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 08:27:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:27:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:27:27 ==> Jenkins CI detected. 08:27:27 project root: . 08:27:27 --> token set from env 08:27:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:27:27 ==> Running gcov in . (disable via -X gcov) 08:27:27 ==> Python coveragepy not found 08:27:27 ==> Searching for coverage reports in: 08:27:27 + . 08:27:27 -> Found 1 reports 08:27:27 ==> Detecting git/mercurial file structure 08:27:27 ==> Reading reports 08:27:27 + ./coverage.out bytes=126002 08:27:27 ==> Appending adjustments 08:27:27 https://docs.codecov.io/docs/fixing-reports 08:27:28 + Found adjustments 08:27:28 ==> Gzipping contents 08:27:28 20K /tmp/codecov.iZGwou.gz 08:27:28 ==> Uploading reports 08:27:28 url: https://codecov.io 08:27:28 query: branch=PR-923&commit=ca61bd3c33f8609be22f5d90c9999c193e65cb38&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-923%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=923&job=&cmd_args= 08:27:28 -> Pinging Codecov 08:27:28 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-923&commit=ca61bd3c33f8609be22f5d90c9999c193e65cb38&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-923%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=923&job=&cmd_args= 08:27:28 -> Uploading to 08:27:28 https://storage.googleapis.com/codecov/v4/raw/2021-05-13/7E55EF52A471D76F132DFD9A03CDDE97/ca61bd3c33f8609be22f5d90c9999c193e65cb38/92454a50-12af-463a-a6ff-704f5ccd96d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T082728Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7bc686b223bd5b30165af1055e5cc11dabe74abda3f83d600ea766bbb42e82c3 08:27:28 % Total % Received % Xferd Average Speed Time Time Time Current 08:27:28 Dload Upload Total Spent Left Speed 08:27:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16481 0 0 100 16481 0 29310 --:--:-- --:--:-- --:--:-- 29273 08:27:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ca61bd3c33f8609be22f5d90c9999c193e65cb38 [Pipeline] } 08:27: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 08:27:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:27:31 ---> package-listing.sh 08:27:31 ++ facter osfamily 08:27:31 ++ tr '[:upper:]' '[:lower:]' 08:27:31 + OS_FAMILY=redhat 08:27:31 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-923 08:27:31 + START_PACKAGES=/tmp/packages_start.txt 08:27:31 + END_PACKAGES=/tmp/packages_end.txt 08:27:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:27:31 + PACKAGES=/tmp/packages_start.txt 08:27:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-923 ']' 08:27:31 + PACKAGES=/tmp/packages_end.txt 08:27:31 + case "${OS_FAMILY}" in 08:27:31 + rpm -qa 08:27:31 + sort 08:27:38 + '[' -f /tmp/packages_start.txt ']' 08:27:38 + '[' -f /tmp/packages_end.txt ']' 08:27:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:27:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-923 ']' 08:27:38 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-923/archives/ 08:27:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-923/archives/ [Pipeline] echo 08:27:38 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-923/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:27:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:27:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:27:39 08:27:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:27:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:27:39 alpine: Pulling from edgex-lftools-log-publisher 08:27:39 df20fa9351a1: Pulling fs layer 08:27:39 36b3adc4ff6f: Pulling fs layer 08:27:39 8ad3a11d3b57: Pulling fs layer 08:27:39 46f8f816bc3b: Pulling fs layer 08:27:39 93b61091891f: Pulling fs layer 08:27:39 93b9cdb0e59b: Pulling fs layer 08:27:39 5e14af77c1be: Pulling fs layer 08:27:39 01666e4c0597: Pulling fs layer 08:27:39 aa168da1d23b: Pulling fs layer 08:27:39 46f8f816bc3b: Waiting 08:27:39 5e14af77c1be: Waiting 08:27:39 01666e4c0597: Waiting 08:27:39 aa168da1d23b: Waiting 08:27:39 93b9cdb0e59b: Waiting 08:27:39 36b3adc4ff6f: Verifying Checksum 08:27:39 36b3adc4ff6f: Download complete 08:27:39 46f8f816bc3b: Download complete 08:27:39 93b61091891f: Download complete 08:27:39 df20fa9351a1: Download complete 08:27:39 93b9cdb0e59b: Verifying Checksum 08:27:39 93b9cdb0e59b: Download complete 08:27:39 5e14af77c1be: Verifying Checksum 08:27:39 5e14af77c1be: Download complete 08:27:39 01666e4c0597: Verifying Checksum 08:27:39 01666e4c0597: Download complete 08:27:39 8ad3a11d3b57: Verifying Checksum 08:27:39 8ad3a11d3b57: Download complete 08:27:40 df20fa9351a1: Pull complete 08:27:40 36b3adc4ff6f: Pull complete 08:27:41 8ad3a11d3b57: Pull complete 08:27:41 46f8f816bc3b: Pull complete 08:27:42 aa168da1d23b: Verifying Checksum 08:27:42 aa168da1d23b: Download complete 08:27:42 93b61091891f: Pull complete 08:27:42 93b9cdb0e59b: Pull complete 08:27:42 5e14af77c1be: Pull complete 08:27:42 01666e4c0597: Pull complete 08:27:52 aa168da1d23b: Pull complete 08:27:53 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:27:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:27:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:27:53 prd-centos7-docker-4c-2g-5059 does not seem to be running inside a container 08:27:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-923/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-923 -v /w/workspace/dgexfoundry_device-sdk-go_PR-923:/w/workspace/dgexfoundry_device-sdk-go_PR-923:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:27:57 $ docker top 7f0d7e9b58affd74a539fbee94163ad6936e33704a20472c0819fe90c822f8cf -eo pid,comm [Pipeline] { [Pipeline] sh 08:27:58 + touch /tmp/pre-build-complete [Pipeline] sh 08:27:58 + mkdir -p /var/log/sa [Pipeline] sh 08:27:59 + ls /var/log/sa-host 08:27:59 + sadf -c /var/log/sa-host/sa13 08:27:59 file_magic: OK 08:27:59 HZ: Using current value: 100 08:27:59 file_header: OK 08:27:59 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 08:27:59 Statistics: 08:27:59 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:27:59 File successfully converted to sysstat format version 12.2.1 08:27:59 + sadf -c /var/log/sa-host/sa23 08:27:59 file_magic: OK 08:27:59 HZ: Using current value: 100 08:27:59 file_header: OK 08:27:59 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 08:27:59 Statistics: 08:27:59 Hnuu...uuuununununu... 08:27:59 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:27:59 provisioning config files... 08:27:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-923@tmp/config1275977046603574726tmp [Pipeline] { [Pipeline] echo 08:27:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:28:00 ---> create-netrc.sh [Pipeline] } 08:28:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:28:00 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:28:00 ---> python-tools-install.sh [Pipeline] echo 08:28:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:28:00 ---> sudo-logs.sh 08:28:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:28:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:28:01 ---> job-cost.sh 08:28:01 lf-activate-venv: SKIPPING 08:28:01 DEBUG: total: 0.20999999344348907 08:28:01 INFO: Retrieving Stack Cost... 08:28:02 INFO: Retrieving Pricing Info for: v1-standard-2 08:28:03 INFO: Archiving Costs [Pipeline] echo 08:28:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:28:03 ---> logs-deploy.sh 08:28:03 lf-activate-venv: SKIPPING 08:28:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-923/5 08:28:03 INFO: archiving workspace using pattern(s): 08:28:06 Archives upload complete. 08:28:06 INFO: archiving logs to Nexus