Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 759496df5f428c8235f1427b99e1498ca885078c 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-5057 in /w/workspace/dgexfoundry_device-sdk-go_master [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_master # 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 Checking out Revision 759496df5f428c8235f1427b99e1498ca885078c (master) > 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 759496df5f428c8235f1427b99e1498ca885078c # timeout=10 Commit message: "Merge pull request #928 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.0.0-dev.15" > git rev-list --no-walk 8d3d36979320f9fc0ce2797f8744993b6dbca912 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:14:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:14:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:14:11 ========================================================= 08:14:11 EdgeX Global Pipelines Version Info 08:14:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:14:13 ------------------- 08:14:13 stable info: 08:14:13 ------------------- 08:14:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:14:13 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 08:14:13 Message: update stable to v1.0.192 08:14:14 ------------------- 08:14:14 experimental info: 08:14:14 ------------------- 08:14:14 Commited By: **** collab-it+edgex@linuxfoundation.org 08:14:14 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 08:14:14 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:14:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:14:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:14:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:14:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:14:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 08:14:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 08:14:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 08:14:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 759496df5f428c8235f1427b99e1498ca885078c [Pipeline] echo 08:14:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 759496d [Pipeline] echo 08:14:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:14:15 provisioning config files... 08:14:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7234644162751960772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:14:15 ---> docker-login.sh 08:14:15 nexus3.edgexfoundry.org:10001 08:14:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:16 Configure a credential helper to remove this warning. See 08:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:16 08:14:16 Login Succeeded 08:14:16 nexus3.edgexfoundry.org:10002 08:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:16 Configure a credential helper to remove this warning. See 08:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:16 08:14:16 Login Succeeded 08:14:16 nexus3.edgexfoundry.org:10003 08:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:16 Configure a credential helper to remove this warning. See 08:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:16 08:14:16 Login Succeeded 08:14:16 nexus3.edgexfoundry.org:10004 08:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:16 Configure a credential helper to remove this warning. See 08:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:16 08:14:16 Login Succeeded 08:14:16 docker.io 08:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:14:17 Configure a credential helper to remove this warning. See 08:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:14:17 08:14:17 Login Succeeded 08:14:17 ---> docker-login.sh ends [Pipeline] } 08:14:17 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:14:17 + git log --format=format:%s -1 759496df5f428c8235f1427b99e1498ca885078c [Pipeline] echo 08:14:17 GIT_COMMIT: 759496df5f428c8235f1427b99e1498ca885078c, Commit Message: Merge pull request #928 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.0.0-dev.15 [Pipeline] echo 08:14:17 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:14:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:14:18 08:14:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:14:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:14:19 latest: Pulling from edgex-devops/git-semver 08:14:19 31603596830f: Pulling fs layer 08:14:19 54011a49482f: Pulling fs layer 08:14:19 a6820b24f6d8: Pulling fs layer 08:14:19 f581987b2513: Pulling fs layer 08:14:19 f581987b2513: Waiting 08:14:19 54011a49482f: Verifying Checksum 08:14:19 54011a49482f: Download complete 08:14:19 31603596830f: Verifying Checksum 08:14:19 31603596830f: Download complete 08:14:19 f581987b2513: Verifying Checksum 08:14:19 f581987b2513: Download complete 08:14:19 a6820b24f6d8: Verifying Checksum 08:14:19 a6820b24f6d8: Download complete 08:14:19 31603596830f: Pull complete 08:14:19 54011a49482f: Pull complete 08:14:20 a6820b24f6d8: Pull complete 08:14:21 f581987b2513: Pull complete 08:14:21 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 08:14:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:14:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:14:21 prd-centos7-docker-4c-2g-5057 does not seem to be running inside a container 08:14:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:14:23 $ docker top 596db36209ded04b28c3f5b4c3e95af24513f2399b177ab7021dcb9819c49e12 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:14:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:14:23 [ssh-agent] Looking for ssh-agent implementation... 08:14:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:14:24 $ docker exec 596db36209ded04b28c3f5b4c3e95af24513f2399b177ab7021dcb9819c49e12 ssh-agent 08:14:24 SSH_AUTH_SOCK=/tmp/ssh-U8qHSByPM0Hj/agent.12 08:14:24 SSH_AGENT_PID=17 08:14:24 Running ssh-add (command line suppressed) 08:14:24 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6256807133811965351.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6256807133811965351.key) 08:14:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:14:24 + git tag --points-at HEAD [Pipeline] } 08:14:24 $ docker exec --env ******** --env ******** 596db36209ded04b28c3f5b4c3e95af24513f2399b177ab7021dcb9819c49e12 ssh-agent -k 08:14:25 unset SSH_AUTH_SOCK; 08:14:25 unset SSH_AGENT_PID; 08:14:25 echo Agent pid 17 killed; 08:14:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:14:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:14:25 [ssh-agent] Looking for ssh-agent implementation... 08:14:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:14:25 $ docker exec 596db36209ded04b28c3f5b4c3e95af24513f2399b177ab7021dcb9819c49e12 ssh-agent 08:14:25 SSH_AUTH_SOCK=/tmp/ssh-O2B79eCBJ0JX/agent.45 08:14:25 SSH_AGENT_PID=50 08:14:25 Running ssh-add (command line suppressed) 08:14:25 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9128379940718700502.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9128379940718700502.key) 08:14:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:14:26 + git semver init 08:14:26 # -> Open(): unable to determine branch for HEAD 08:14:26 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 08:14:26 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 08:14:26 # $SEMVER_REMOTE_NAME = origin 08:14:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:14:26 # $SEMVER_USER_NAME = edgex-jenkins 08:14:26 # $SEMVER_BRANCH = master 08:14:26 # $SEMVER_TEMP = /tmp/semver-685382015 08:14:26 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:14:26 # '/tmp/semver-685382015' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 08:14:26 # -> Force: false 08:14:26 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 08:14:27 $ docker exec --env ******** --env ******** 596db36209ded04b28c3f5b4c3e95af24513f2399b177ab7021dcb9819c49e12 ssh-agent -k 08:14:27 unset SSH_AUTH_SOCK; 08:14:27 unset SSH_AGENT_PID; 08:14:27 echo Agent pid 50 killed; 08:14:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:14:27 + git semver [Pipeline] } 08:14:27 $ docker stop --time=1 596db36209ded04b28c3f5b4c3e95af24513f2399b177ab7021dcb9819c49e12 08:14:29 $ docker rm -f 596db36209ded04b28c3f5b4c3e95af24513f2399b177ab7021dcb9819c49e12 [Pipeline] // withDockerContainer [Pipeline] sh 08:14:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:14:30 Stashed 1 file(s) [Pipeline] echo 08:14:30 [edgeXSemver]: initialized semver on version 2.0.0-dev.59 [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:14:45 Still waiting to schedule task 08:14:45 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-5056’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-5058’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ 08:14:45 Still waiting to schedule task 08:14:45 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 08:16:46 Running on prd-centos7-docker-4c-2g-5064 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 08:16:46 Running in /w/workspace/device-sdk-go/164 [Pipeline] { [Pipeline] checkout 08:16:49 using credential edgex-jenkins-ssh 08:16:49 Cloning the remote Git repository 08:16:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:16:49 > git init /w/workspace/device-sdk-go/164 # timeout=10 08:16:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:16:49 > git --version # timeout=10 08:16:49 > git --version # 'git version 2.24.3' 08:16:49 using GIT_SSH to set credentials SSH Credentials for GitHub 08:16:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:16:50 Checking out Revision 759496df5f428c8235f1427b99e1498ca885078c (master) 08:16:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:16:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:16:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:16:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:16:50 using GIT_SSH to set credentials SSH Credentials for GitHub 08:16:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:16:50 > git config core.sparsecheckout # timeout=10 08:16:50 > git checkout -f 759496df5f428c8235f1427b99e1498ca885078c # timeout=10 08:16:54 Commit message: "Merge pull request #928 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.0.0-dev.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:16:55 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:16:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:16:56 + sudo service docker restart 08:16:56 + true 08:16:56 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:16:57 provisioning config files... 08:16:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/164@tmp/config5594592813397355858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:57 ---> docker-login.sh 08:16:57 nexus3.edgexfoundry.org:10001 08:16:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:58 Configure a credential helper to remove this warning. See 08:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:58 08:16:58 Login Succeeded 08:16:58 nexus3.edgexfoundry.org:10002 08:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:58 Configure a credential helper to remove this warning. See 08:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:58 08:16:58 Login Succeeded 08:16:58 nexus3.edgexfoundry.org:10003 08:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:58 Configure a credential helper to remove this warning. See 08:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:58 08:16:58 Login Succeeded 08:16:58 nexus3.edgexfoundry.org:10004 08:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:58 Configure a credential helper to remove this warning. See 08:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:58 08:16:58 Login Succeeded 08:16:58 docker.io 08:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:58 Configure a credential helper to remove this warning. See 08:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:58 08:16:58 Login Succeeded 08:16:58 ---> docker-login.sh ends [Pipeline] } 08:16:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:16:59 ========================================================= 08:16:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 08:16:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:16:59 + 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:16:59 Sending build context to Docker daemon 2.56MB 08:16:59 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 08:16:59 Step 2/8 : FROM ${BASE} 08:16:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 08:16:59 540db60ca938: Pulling fs layer 08:16:59 adcc1eea9eea: Pulling fs layer 08:16:59 4c4ab2625f07: Pulling fs layer 08:16:59 0510c868ecb4: Pulling fs layer 08:16:59 afea3b2eda06: Pulling fs layer 08:16:59 7809a108b3ef: Pulling fs layer 08:16:59 f706445af74f: Pulling fs layer 08:16:59 afea3b2eda06: Waiting 08:16:59 7809a108b3ef: Waiting 08:16:59 f706445af74f: Waiting 08:16:59 0510c868ecb4: Waiting 08:16:59 4c4ab2625f07: Verifying Checksum 08:16:59 4c4ab2625f07: Download complete 08:16:59 adcc1eea9eea: Verifying Checksum 08:16:59 adcc1eea9eea: Download complete 08:16:59 afea3b2eda06: Verifying Checksum 08:16:59 afea3b2eda06: Download complete 08:16:59 7809a108b3ef: Download complete 08:16:59 540db60ca938: Verifying Checksum 08:16:59 540db60ca938: Download complete 08:16:59 540db60ca938: Pull complete 08:17:00 adcc1eea9eea: Pull complete 08:17:00 4c4ab2625f07: Pull complete 08:17:01 f706445af74f: Verifying Checksum 08:17:01 f706445af74f: Download complete 08:17:02 0510c868ecb4: Verifying Checksum 08:17:02 0510c868ecb4: Download complete 08:17:07 0510c868ecb4: Pull complete 08:17:08 afea3b2eda06: Pull complete 08:17:08 7809a108b3ef: Pull complete 08:17:13 f706445af74f: Pull complete 08:17:13 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 08:17:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 08:17:13 ---> b068be0155e3 08:17:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:17:13 ---> Running in 755e1bd9baa5 08:17:13 Removing intermediate container 755e1bd9baa5 08:17:13 ---> c90bd2d93a0b 08:17:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:17:14 ---> Running in 8363764a616f 08:17:15 Removing intermediate container 8363764a616f 08:17:15 ---> 30490f39f843 08:17:15 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:17:15 ---> Running in 715f66eff50b 08:17:15 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:17:16 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:17:18 (1/6) Installing libc-dev (0.7.2-r3) 08:17:19 (2/6) Installing libsodium (1.0.18-r0) 08:17:19 (3/6) Installing pkgconf (1.7.3-r0) 08:17:19 (4/6) Installing libsodium-dev (1.0.18-r0) 08:17:19 (5/6) Installing libzmq (4.3.3-r1) 08:17:20 (6/6) Installing zeromq-dev (4.3.3-r1) 08:17:20 Executing busybox-1.32.1-r6.trigger 08:17:20 OK: 150 MiB in 46 packages 08:17:20 Removing intermediate container 715f66eff50b 08:17:20 ---> c88d21a5db27 08:17:20 Step 6/8 : WORKDIR /device-sdk-go 08:17:20 ---> Running in 5a6427ca15ef 08:17:20 Removing intermediate container 5a6427ca15ef 08:17:20 ---> a843abe38293 08:17:20 Step 7/8 : COPY . . 08:17:22 ---> 7169e60e79b1 08:17:22 Step 8/8 : RUN go mod download 08:17:22 ---> Running in f9a88c08ea37 08:17:49 Removing intermediate container f9a88c08ea37 08:17:49 ---> 8d50928efeca 08:17:49 Successfully built 8d50928efeca 08:17:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:17:49 + docker inspect -f . ci-base-image-x86_64 08:17:49 . [Pipeline] withDockerContainer 08:17:49 prd-centos7-docker-4c-2g-5064 does not seem to be running inside a container 08:17:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/164 -v /w/workspace/device-sdk-go/164:/w/workspace/device-sdk-go/164:rw,z -v /w/workspace/device-sdk-go/164@tmp:/w/workspace/device-sdk-go/164@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 ******** ci-base-image-x86_64 cat 08:17:50 $ docker top dd1b4bade48d064952abdc77e7c31289e5997c119c6bc222eff116fd925ece31 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:50 + go version 08:17:50 go version go1.16.3 linux/amd64 [Pipeline] } 08:17:50 $ docker stop --time=1 dd1b4bade48d064952abdc77e7c31289e5997c119c6bc222eff116fd925ece31 08:17:52 $ docker rm -f dd1b4bade48d064952abdc77e7c31289e5997c119c6bc222eff116fd925ece31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:17:52 + docker inspect -f . ci-base-image-x86_64 08:17:52 . [Pipeline] withDockerContainer 08:17:52 prd-centos7-docker-4c-2g-5064 does not seem to be running inside a container 08:17:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/164 -v /w/workspace/device-sdk-go/164:/w/workspace/device-sdk-go/164:rw,z -v /w/workspace/device-sdk-go/164@tmp:/w/workspace/device-sdk-go/164@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 ******** ci-base-image-x86_64 cat 08:17:53 $ docker top e5900f348bb3c71207f74cea4919a364e59e0c9481e125104485c533582d9611 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:53 + go mod tidy [Pipeline] sh 08:17:54 + make test 08:17:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:18:03 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:18:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5068 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 08:18:16 Running in /w/workspace/device-sdk-go/164 [Pipeline] { [Pipeline] checkout 08:18:23 using credential edgex-jenkins-ssh 08:18:23 Cloning the remote Git repository 08:18:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:18:23 > git init /w/workspace/device-sdk-go/164 # timeout=10 08:18:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:18:23 > git --version # timeout=10 08:18:23 > git --version # 'git version 2.17.1' 08:18:23 using GIT_SSH to set credentials SSH Credentials for GitHub 08:18:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:18:25 Checking out Revision 759496df5f428c8235f1427b99e1498ca885078c (master) 08:18:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:18:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:18:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:18:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:18:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:18:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 08:18:25 > git config core.sparsecheckout # timeout=10 08:18:25 > git checkout -f 759496df5f428c8235f1427b99e1498ca885078c # timeout=10 08:18:29 Commit message: "Merge pull request #928 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.0.0-dev.15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 08:18:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:18:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:18:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:18:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.080s coverage: 25.4% of statements 08:18:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:18:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.089s coverage: 28.1% of statements 08:18:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.085s coverage: 78.9% of statements 08:18:31 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 08:18:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.071s coverage: 10.7% of statements 08:18:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:18:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:18:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [Pipeline] sh 08:18:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 30.2% of statements 08:18:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:18:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:18:32 + sudo service docker restart 08:18:32 + true 08:18:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.086s coverage: 83.3% of statements 08:18:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:18:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:18:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 58.4% of statements 08:18:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.193s coverage: 89.2% of statements 08:18:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 08:18:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 08:18:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:18:34 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:18:34 provisioning config files... 08:18:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/164@tmp/config5596566729087885172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:18:35 ---> docker-login.sh 08:18:35 nexus3.edgexfoundry.org:10001 08:18:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:36 Configure a credential helper to remove this warning. See 08:18:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:36 08:18:36 Login Succeeded 08:18:36 nexus3.edgexfoundry.org:10002 08:18:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:36 Configure a credential helper to remove this warning. See 08:18:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:36 08:18:36 Login Succeeded 08:18:36 nexus3.edgexfoundry.org:10003 08:18:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:37 Configure a credential helper to remove this warning. See 08:18:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:37 08:18:37 Login Succeeded 08:18:37 nexus3.edgexfoundry.org:10004 08:18:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:37 Configure a credential helper to remove this warning. See 08:18:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:37 08:18:37 Login Succeeded 08:18:37 docker.io 08:18:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:18:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:18:38 Configure a credential helper to remove this warning. See 08:18:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:18:38 08:18:38 Login Succeeded 08:18:38 ---> docker-login.sh ends [Pipeline] } 08:18:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:18:39 ========================================================= 08:18:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 08:18:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:18:39 + 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:18:39 Sending build context to Docker daemon 2.559MB 08:18:39 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 08:18:39 Step 2/8 : FROM ${BASE} 08:18:39 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:18:39 595b0fe564bb: Pulling fs layer 08:18:39 7186ed65a4f7: Pulling fs layer 08:18:39 316046926c0a: Pulling fs layer 08:18:39 4ebd0625c992: Pulling fs layer 08:18:39 207e8628e3a3: Pulling fs layer 08:18:39 c791037a9be2: Pulling fs layer 08:18:39 ffd874e62e21: Pulling fs layer 08:18:39 4ebd0625c992: Waiting 08:18:39 207e8628e3a3: Waiting 08:18:39 c791037a9be2: Waiting 08:18:39 ffd874e62e21: Waiting 08:18:39 316046926c0a: Verifying Checksum 08:18:39 316046926c0a: Download complete 08:18:39 7186ed65a4f7: Verifying Checksum 08:18:39 7186ed65a4f7: Download complete 08:18:39 207e8628e3a3: Download complete 08:18:39 595b0fe564bb: Verifying Checksum 08:18:39 c791037a9be2: Verifying Checksum 08:18:39 c791037a9be2: Download complete 08:18:40 595b0fe564bb: Pull complete 08:18:41 7186ed65a4f7: Pull complete 08:18:41 316046926c0a: Pull complete 08:18:42 ffd874e62e21: Verifying Checksum 08:18:42 ffd874e62e21: Download complete 08:18:43 4ebd0625c992: Verifying Checksum 08:18:43 4ebd0625c992: Download complete 08:18:55 4ebd0625c992: Pull complete 08:18:55 207e8628e3a3: Pull complete 08:18:55 c791037a9be2: Pull complete 08:18:56 gofmt -l . 08:18:56 [ "`gofmt -l .`" = "" ] 08:18:56 ./bin/test-attribution-txt.sh 08:18:56 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:18:56 $ docker stop --time=1 e5900f348bb3c71207f74cea4919a364e59e0c9481e125104485c533582d9611 08:18:57 $ docker rm -f e5900f348bb3c71207f74cea4919a364e59e0c9481e125104485c533582d9611 [Pipeline] // withDockerContainer [Pipeline] sh 08:18:58 ffd874e62e21: Pull complete 08:18:58 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 08:18:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 08:18:58 ---> cfc18b08335c 08:18:58 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:18:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:18:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 08:19:01 ---> Running in 5e4b215e1548 [Pipeline] sh 08:19:01 Removing intermediate container 5e4b215e1548 08:19:01 ---> df4f405fce61 08:19:01 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:19:01 ---> Running in af20acac06f8 08:19:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:19:02 + ls -al . 08:19:02 total 208 08:19:02 drwxrwxr-x. 10 jenkins jenkins 4096 May 13 08:18 . 08:19:02 drwxrwxr-x. 4 jenkins jenkins 32 May 13 08:16 .. 08:19:02 drwxrwxr-x. 2 jenkins jenkins 64 May 13 08:16 bin 08:19:02 -rw-r--r--. 1 jenkins jenkins 126002 May 13 08:18 coverage.out 08:19:02 -rw-rw-r--. 1 jenkins jenkins 987 May 13 08:16 Dockerfile.build 08:19:02 -rw-rw-r--. 1 jenkins jenkins 140 May 13 08:16 .dockerignore 08:19:02 drwxrwxr-x. 5 jenkins jenkins 62 May 13 08:16 example 08:19:02 drwxrwxr-x. 8 jenkins jenkins 162 May 13 08:16 .git 08:19:02 drwxrwxr-x. 2 jenkins jenkins 103 May 13 08:16 .github 08:19:02 -rw-rw-r--. 1 jenkins jenkins 138 May 13 08:16 .gitignore 08:19:02 -rw-r--r--. 1 jenkins jenkins 575 May 13 08:18 go.mod 08:19:02 -rw-r--r--. 1 jenkins jenkins 20408 May 13 08:17 go.sum 08:19:02 drwxrwxr-x. 15 jenkins jenkins 224 May 13 08:16 internal 08:19:02 -rw-rw-r--. 1 jenkins jenkins 894 May 13 08:16 Jenkinsfile 08:19:02 -rw-rw-r--. 1 jenkins jenkins 11341 May 13 08:16 LICENSE 08:19:02 -rw-rw-r--. 1 jenkins jenkins 1000 May 13 08:16 Makefile 08:19:02 drwxrwxr-x. 4 jenkins jenkins 26 May 13 08:16 openapi 08:19:02 drwxrwxr-x. 5 jenkins jenkins 50 May 13 08:16 pkg 08:19:02 -rw-rw-r--. 1 jenkins jenkins 7652 May 13 08:16 README.md 08:19:02 -rw-rw-r--. 1 jenkins jenkins 6616 May 13 08:16 RELEASE-NOTES.txt 08:19:02 drwxrwxr-x. 4 jenkins jenkins 54 May 13 08:16 snap 08:19:02 -rw-rw-r--. 1 jenkins jenkins 12 May 13 08:14 VERSION 08:19:02 -rw-rw-r--. 1 jenkins jenkins 222 May 13 08:16 version.go [Pipeline] isUnix [Pipeline] sh 08:19:02 + 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=759496df5f428c8235f1427b99e1498ca885078c --label arch=amd64 --label version=2.0.0-dev.59 . 08:19:02 Sending build context to Docker daemon 2.687MB 08:19:02 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 08:19:02 Step 2/23 : FROM ${BASE} AS builder 08:19:02 ---> 8d50928efeca 08:19:02 Step 3/23 : WORKDIR /device-sdk-go 08:19:03 ---> Running in d66498cea2f7 08:19:03 Removing intermediate container d66498cea2f7 08:19:03 ---> 8f6adc186f3e 08:19:03 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:19:03 ---> Running in 6dcd4ced211a 08:19:03 Removing intermediate container 6dcd4ced211a 08:19:03 ---> 1c1527f9866c 08:19:03 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:19:03 ---> Running in 545231fdc355 08:19:04 Removing intermediate container af20acac06f8 08:19:04 ---> 0be6a9b8a907 08:19:04 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 08:19:04 ---> Running in 8c2a73d7606b 08:19:05 Removing intermediate container 545231fdc355 08:19:05 ---> f987e6a301f7 08:19:05 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:19:05 ---> Running in 33ca122aee95 08:19:05 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:19:05 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:19:06 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:19:06 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:19:06 OK: 150 MiB in 46 packages 08:19:06 (1/6) Installing libc-dev (0.7.2-r3) 08:19:07 (2/6) Installing libsodium (1.0.18-r0) 08:19:07 (3/6) Installing pkgconf (1.7.3-r0) 08:19:07 (4/6) Installing libsodium-dev (1.0.18-r0) 08:19:07 Removing intermediate container 33ca122aee95 08:19:07 ---> 608da0e30801 08:19:07 Step 7/23 : COPY . . 08:19:07 (5/6) Installing libzmq (4.3.3-r1) 08:19:07 (6/6) Installing zeromq-dev (4.3.3-r1) 08:19:07 Executing busybox-1.32.1-r6.trigger 08:19:07 OK: 139 MiB in 46 packages 08:19:09 Removing intermediate container 8c2a73d7606b 08:19:09 ---> 4a39fdc67a07 08:19:09 Step 6/8 : WORKDIR /device-sdk-go 08:19:09 ---> Running in fef296b7f513 08:19:09 ---> 854383f43456 08:19:09 Step 8/23 : RUN go mod download 08:19:09 ---> Running in c60cea0aa7d0 08:19:09 Removing intermediate container fef296b7f513 08:19:09 ---> 70ad31c865c7 08:19:09 Step 7/8 : COPY . . 08:19:10 Removing intermediate container c60cea0aa7d0 08:19:10 ---> 2f093c956968 08:19:10 Step 9/23 : RUN make build 08:19:10 ---> Running in 081749d71c15 08:19:10 ---> 06d80bccd028 08:19:10 Step 8/8 : RUN go mod download 08:19:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.59" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:19:10 ---> Running in ccd171f3e1fc 08:19:23 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:19:23 Removing intermediate container 081749d71c15 08:19:23 ---> 67c430ed8a1a 08:19:23 Step 10/23 : FROM alpine:3.12 08:19:24 3.12: Pulling from library/alpine 08:19:24 339de151aab4: Pulling fs layer 08:19:24 339de151aab4: Download complete 08:19:24 339de151aab4: Pull complete 08:19:24 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 08:19:25 Status: Downloaded newer image for alpine:3.12 08:19:25 ---> 13621d1b12d4 08:19:25 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:19:25 ---> Running in 8fe18c68ae66 08:19:25 Removing intermediate container 8fe18c68ae66 08:19:25 ---> e9bc1435e3f1 08:19:25 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:19:25 ---> Running in 399c2ddda32f 08:19:26 Removing intermediate container 399c2ddda32f 08:19:26 ---> b7539be6a547 08:19:26 Step 13/23 : RUN apk add --update --no-cache zeromq 08:19:26 ---> Running in 4f7bbd89af3c 08:19:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:19:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:19:28 (1/5) Installing libgcc (9.3.0-r2) 08:19:28 (2/5) Installing libsodium (1.0.18-r0) 08:19:28 (3/5) Installing libstdc++ (9.3.0-r2) 08:19:29 (4/5) Installing libzmq (4.3.3-r0) 08:19:29 (5/5) Installing zeromq (4.3.3-r0) 08:19:29 Executing busybox-1.31.1-r20.trigger 08:19:29 OK: 8 MiB in 19 packages 08:19:29 Removing intermediate container 4f7bbd89af3c 08:19:29 ---> 909e8a61fd89 08:19:29 Step 14/23 : WORKDIR / 08:19:29 ---> Running in 02554b806638 08:19:29 Removing intermediate container 02554b806638 08:19:29 ---> a05785790428 08:19:29 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:19:30 ---> 45370f1d48f4 08:19:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:19:30 ---> d40baf6ef825 08:19:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:19:31 ---> 7797a5e83b9e 08:19:31 Step 18/23 : EXPOSE 49990 08:19:31 ---> Running in 342235c48205 08:19:31 Removing intermediate container 342235c48205 08:19:31 ---> cab107b24889 08:19:31 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:19:31 ---> Running in 236b1bd4e8d6 08:19:31 Removing intermediate container 236b1bd4e8d6 08:19:31 ---> dc6d836ca9ce 08:19:31 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:19:31 ---> Running in b2e0776de02b 08:19:31 Removing intermediate container b2e0776de02b 08:19:31 ---> bf628654c33d 08:19:31 Step 21/23 : LABEL arch=amd64 08:19:31 ---> Running in 9773dd2f5b11 08:19:32 Removing intermediate container 9773dd2f5b11 08:19:32 ---> 7f3d040c6f01 08:19:32 Step 22/23 : LABEL git_sha=759496df5f428c8235f1427b99e1498ca885078c 08:19:32 ---> Running in 3cca329a1a16 08:19:32 Removing intermediate container 3cca329a1a16 08:19:32 ---> 2c7c3d0278db 08:19:32 Step 23/23 : LABEL version=2.0.0-dev.59 08:19:32 ---> Running in 19a74b6f19d2 08:19:32 Removing intermediate container 19a74b6f19d2 08:19:32 ---> 4f0f6c20bae0 08:19:32 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:19:32 Successfully built 4f0f6c20bae0 08:19:32 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:19:33 ---> job-cost.sh 08:19:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-t1Z1 08:19:37 Removing intermediate container ccd171f3e1fc 08:19:37 ---> d179d2f4316a 08:19:37 Successfully built d179d2f4316a 08:19:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:19:37 + docker inspect -f . ci-base-image-arm64 08:19:37 . [Pipeline] withDockerContainer 08:19:38 prd-ubuntu18.04-docker-arm64-4c-16g-5068 does not seem to be running inside a container 08:19:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/164 -v /w/workspace/device-sdk-go/164:/w/workspace/device-sdk-go/164:rw,z -v /w/workspace/device-sdk-go/164@tmp:/w/workspace/device-sdk-go/164@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 ******** ci-base-image-arm64 cat 08:19:39 $ docker top 8111ece8b3cae8a5ab4894edbf6058a1ceb3332ff9b19e95b5e3164c7f5ce097 -eo pid,comm [Pipeline] { [Pipeline] sh 08:19:40 + go version 08:19:40 go version go1.16.3 linux/arm64 [Pipeline] } 08:19:40 $ docker stop --time=1 8111ece8b3cae8a5ab4894edbf6058a1ceb3332ff9b19e95b5e3164c7f5ce097 08:19:42 $ docker rm -f 8111ece8b3cae8a5ab4894edbf6058a1ceb3332ff9b19e95b5e3164c7f5ce097 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:19:43 + docker inspect -f . ci-base-image-arm64 08:19:43 . [Pipeline] withDockerContainer 08:19:43 prd-ubuntu18.04-docker-arm64-4c-16g-5068 does not seem to be running inside a container 08:19:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/164 -v /w/workspace/device-sdk-go/164:/w/workspace/device-sdk-go/164:rw,z -v /w/workspace/device-sdk-go/164@tmp:/w/workspace/device-sdk-go/164@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 ******** ci-base-image-arm64 cat 08:19:45 $ docker top 51413f991320e71f13956f79fa25f2b8c71ae87d480094a6ef2e1f9d5ea59217 -eo pid,comm [Pipeline] { [Pipeline] sh 08:19:45 + go mod tidy [Pipeline] sh 08:19:47 + make test 08:19:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:19:48 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:20:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:20:14 lf-activate-venv(): INFO: Adding /tmp/venv-t1Z1/bin to PATH 08:20:14 INFO: No Stack... 08:20:15 INFO: Retrieving Pricing Info for: v1-standard-2 08:20:16 INFO: Archiving Costs [Pipeline] sh 08:20:17 + cat /w/workspace/device-sdk-go/164/archives/cost.csv 08:20:17 + cut -d, -f6 [Pipeline] lock 08:20:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-164-stack-cost] 08:20:17 Resource [jenkins-edgexfoundry-device-sdk-go-master-164-stack-cost] did not exist. Created. 08:20:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:20:17 + echo total: 0.029999999329447746 [Pipeline] stash 08:20:17 Stashed 1 file(s) [Pipeline] } 08:20:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-164-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:21:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:21:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 08:21:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:21:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.333s coverage: 25.4% of statements 08:21:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:21:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.127s coverage: 28.1% of statements 08:21:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.196s coverage: 78.9% of statements 08:21:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.205s coverage: 10.7% of statements 08:21:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 08:21:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 08:21:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:21:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.227s coverage: 30.2% of statements 08:21:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 08:21:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.223s coverage: 83.3% of statements 08:21:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:21:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:21:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.330s coverage: 58.4% of statements 08:21:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.983s coverage: 89.2% of statements 08:21:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 08:21:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.0% of statements 08:21:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:21:34 GO111MODULE=on go vet ./... 08:22:42 gofmt -l . 08:22:42 [ "`gofmt -l .`" = "" ] 08:22:42 ./bin/test-attribution-txt.sh 08:22:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:22:42 $ docker stop --time=1 51413f991320e71f13956f79fa25f2b8c71ae87d480094a6ef2e1f9d5ea59217 08:22:44 $ docker rm -f 51413f991320e71f13956f79fa25f2b8c71ae87d480094a6ef2e1f9d5ea59217 [Pipeline] // withDockerContainer [Pipeline] sh 08:22:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:22:45 Warning: overwriting stash ‘coverage-report’ 08:22:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:22:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:22:47 + ls -al . 08:22:47 total 244 08:22:47 drwxrwxr-x 10 jenkins jenkins 4096 May 13 08:22 . 08:22:47 drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:18 .. 08:22:47 -rw-rw-r-- 1 jenkins jenkins 140 May 13 08:18 .dockerignore 08:22:47 drwxrwxr-x 8 jenkins jenkins 4096 May 13 08:18 .git 08:22:47 drwxrwxr-x 2 jenkins jenkins 4096 May 13 08:18 .github 08:22:47 -rw-rw-r-- 1 jenkins jenkins 138 May 13 08:18 .gitignore 08:22:47 -rw-rw-r-- 1 jenkins jenkins 987 May 13 08:18 Dockerfile.build 08:22:47 -rw-rw-r-- 1 jenkins jenkins 894 May 13 08:18 Jenkinsfile 08:22:47 -rw-rw-r-- 1 jenkins jenkins 11341 May 13 08:18 LICENSE 08:22:47 -rw-rw-r-- 1 jenkins jenkins 1000 May 13 08:18 Makefile 08:22:47 -rw-rw-r-- 1 jenkins jenkins 7652 May 13 08:18 README.md 08:22:47 -rw-rw-r-- 1 jenkins jenkins 6616 May 13 08:18 RELEASE-NOTES.txt 08:22:47 -rw-rw-r-- 1 jenkins jenkins 12 May 13 08:14 VERSION 08:22:47 drwxrwxr-x 2 jenkins jenkins 4096 May 13 08:18 bin 08:22:47 -rw-r--r-- 1 jenkins jenkins 126002 May 13 08:21 coverage.out 08:22:47 drwxrwxr-x 5 jenkins jenkins 4096 May 13 08:18 example 08:22:47 -rw-r--r-- 1 jenkins jenkins 575 May 13 08:22 go.mod 08:22:47 -rw-r--r-- 1 jenkins jenkins 20408 May 13 08:19 go.sum 08:22:47 drwxrwxr-x 15 jenkins jenkins 4096 May 13 08:18 internal 08:22:47 drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:18 openapi 08:22:47 drwxrwxr-x 5 jenkins jenkins 4096 May 13 08:18 pkg 08:22:47 drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:18 snap 08:22:47 -rw-rw-r-- 1 jenkins jenkins 222 May 13 08:18 version.go [Pipeline] isUnix [Pipeline] sh 08:22:47 + 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=759496df5f428c8235f1427b99e1498ca885078c --label arch=arm64 --label version=2.0.0-dev.59 . 08:22:48 Sending build context to Docker daemon 2.686MB 08:22:48 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 08:22:48 Step 2/23 : FROM ${BASE} AS builder 08:22:48 ---> d179d2f4316a 08:22:48 Step 3/23 : WORKDIR /device-sdk-go 08:22:49 ---> Running in 464766773fd1 08:22:49 Removing intermediate container 464766773fd1 08:22:49 ---> 56051a79640c 08:22:49 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:22:49 ---> Running in bf4d42f86790 08:22:49 Removing intermediate container bf4d42f86790 08:22:49 ---> ae9d5d2f7fe0 08:22:49 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:22:50 ---> Running in 0722a647ddb5 08:22:52 Removing intermediate container 0722a647ddb5 08:22:52 ---> 7e9c46b686f8 08:22:52 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:22:52 ---> Running in e7753e65546f 08:22:53 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:22:54 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:22:55 OK: 139 MiB in 46 packages 08:22:56 Removing intermediate container e7753e65546f 08:22:56 ---> ff973aeb6d6b 08:22:56 Step 7/23 : COPY . . 08:22:58 ---> cb2f15ce8a7b 08:22:58 Step 8/23 : RUN go mod download 08:22:58 ---> Running in b60e2ee0c8a0 08:23:00 Removing intermediate container b60e2ee0c8a0 08:23:00 ---> 79287294bf68 08:23:00 Step 9/23 : RUN make build 08:23:00 ---> Running in 0ea0e7e70208 08:23:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.59" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:23:40 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:23:40 Removing intermediate container 0ea0e7e70208 08:23:40 ---> 80b8c8a8f3e8 08:23:40 Step 10/23 : FROM alpine:3.12 08:23:40 3.12: Pulling from library/alpine 08:23:40 d2f70382dc9a: Pulling fs layer 08:23:40 d2f70382dc9a: Verifying Checksum 08:23:40 d2f70382dc9a: Download complete 08:23:40 d2f70382dc9a: Pull complete 08:23:40 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 08:23:40 Status: Downloaded newer image for alpine:3.12 08:23:40 ---> 9852663dfa18 08:23:40 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:23:40 ---> Running in 918b6b698b9f 08:23:40 Removing intermediate container 918b6b698b9f 08:23:40 ---> 328ef179c257 08:23:40 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:23:41 ---> Running in 1a746461cb62 08:23:43 Removing intermediate container 1a746461cb62 08:23:43 ---> e1ae7b93aa89 08:23:43 Step 13/23 : RUN apk add --update --no-cache zeromq 08:23:43 ---> Running in 6a953098fd6f 08:23:44 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:23:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:23:46 (1/5) Installing libgcc (9.3.0-r2) 08:23:46 (2/5) Installing libsodium (1.0.18-r0) 08:23:46 (3/5) Installing libstdc++ (9.3.0-r2) 08:23:47 (4/5) Installing libzmq (4.3.3-r0) 08:23:47 (5/5) Installing zeromq (4.3.3-r0) 08:23:47 Executing busybox-1.31.1-r20.trigger 08:23:47 OK: 8 MiB in 19 packages 08:23:49 Removing intermediate container 6a953098fd6f 08:23:49 ---> 50857a54701f 08:23:49 Step 14/23 : WORKDIR / 08:23:49 ---> Running in d989f226d462 08:23:49 Removing intermediate container d989f226d462 08:23:49 ---> 7d503342bc64 08:23:49 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:23:50 ---> 43da0d24c5ee 08:23:50 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:23:51 ---> 831e9b7499c2 08:23:51 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:23:52 ---> 11204119f52e 08:23:52 Step 18/23 : EXPOSE 49990 08:23:52 ---> Running in 01311e0ffd49 08:23:53 Removing intermediate container 01311e0ffd49 08:23:53 ---> 7b743f3ecce4 08:23:53 Step 19/23 : ENTRYPOINT ["/device-simple"] 08:23:53 ---> Running in eb37b1287731 08:23:53 Removing intermediate container eb37b1287731 08:23:53 ---> 63dcf5bb1c8e 08:23:53 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:23:54 ---> Running in 66990f4f6368 08:23:54 Removing intermediate container 66990f4f6368 08:23:54 ---> 0448da6038b1 08:23:54 Step 21/23 : LABEL arch=arm64 08:23:54 ---> Running in 6633fd28ebb9 08:23:55 Removing intermediate container 6633fd28ebb9 08:23:55 ---> b193cceb1af3 08:23:55 Step 22/23 : LABEL git_sha=759496df5f428c8235f1427b99e1498ca885078c 08:23:55 ---> Running in 4eaf19d8e763 08:23:55 Removing intermediate container 4eaf19d8e763 08:23:55 ---> e0de44153e3b 08:23:55 Step 23/23 : LABEL version=2.0.0-dev.59 08:23:55 ---> Running in b26018d1735b 08:23:56 Removing intermediate container b26018d1735b 08:23:56 ---> 4d998e441798 08:23:56 [Warning] One or more build-args [ARCH MAKE] were not consumed 08:23:56 Successfully built 4d998e441798 08:23:56 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:23:56 ---> job-cost.sh 08:23:56 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zng6 08:24:53 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:26:45 lf-activate-venv(): INFO: Adding /tmp/venv-zng6/bin to PATH 08:26:45 INFO: No Stack... 08:26:45 INFO: Retrieving Pricing Info for: lf-standard-4 08:26:45 INFO: Archiving Costs [Pipeline] sh 08:26:45 + cut -d, -f6 08:26:45 + cat /w/workspace/device-sdk-go/164/archives/cost.csv [Pipeline] lock 08:26:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-164-stack-cost] 08:26:45 Resource [jenkins-edgexfoundry-device-sdk-go-master-164-stack-cost] did not exist. Created. 08:26:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:26:46 /w/workspace/device-sdk-go/164@tmp/durable-bff456ec/script.sh: 1: /w/workspace/device-sdk-go/164@tmp/durable-bff456ec/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 08:26:46 + echo total: 0.20999999344348907 [Pipeline] stash 08:26:46 Warning: overwriting stash ‘stack-cost’ 08:26:46 Stashed 1 file(s) [Pipeline] } 08:26:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-164-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:26:47 provisioning config files... 08:26:47 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3435099687991739143tmp [Pipeline] { [Pipeline] sh 08:26:47 + set +x 08:26:47 + curl -s https://codecov.io/bash 08:26:47 + bash -s -- 08:26:47 08:26:47 _____ _ 08:26:47 / ____| | | 08:26:47 | | ___ __| | ___ ___ _____ __ 08:26:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:26:47 | |___| (_) | (_| | __/ (_| (_) \ V / 08:26:47 \_____\___/ \__,_|\___|\___\___/ \_/ 08:26:47 Bash-1.0.2 08:26:47 08:26:47 08:26:47 ==> git version 2.24.3 found 08:26:47 ==> 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:26:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:26:47 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:26:47 ==> Jenkins CI detected. 08:26:47 project root: . 08:26:47 --> token set from env 08:26:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:26:47 ==> Running gcov in . (disable via -X gcov) 08:26:47 ==> Python coveragepy not found 08:26:47 ==> Searching for coverage reports in: 08:26:47 + . 08:26:47 -> Found 1 reports 08:26:47 ==> Detecting git/mercurial file structure 08:26:47 ==> Reading reports 08:26:47 + ./coverage.out bytes=126002 08:26:47 ==> Appending adjustments 08:26:47 https://docs.codecov.io/docs/fixing-reports 08:26:48 + Found adjustments 08:26:48 ==> Gzipping contents 08:26:48 20K /tmp/codecov.Sc2fAT.gz 08:26:48 ==> Uploading reports 08:26:48 url: https://codecov.io 08:26:48 query: branch=master&commit=759496df5f428c8235f1427b99e1498ca885078c&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:26:48 -> Pinging Codecov 08:26:48 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=759496df5f428c8235f1427b99e1498ca885078c&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 08:26:48 -> Uploading to 08:26:48 https://storage.googleapis.com/codecov/v4/raw/2021-05-13/7E55EF52A471D76F132DFD9A03CDDE97/759496df5f428c8235f1427b99e1498ca885078c/a8992327-377c-47af-b1f0-8f409a85725e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T082648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a3a9875c8e69b9df7a48329e8f1436bd72d2cde8d58360df3807ee06c569ea5d 08:26:48 % Total % Received % Xferd Average Speed Time Time Time Current 08:26:48 Dload Upload Total Spent Left Speed 08:26:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16442 0 0 100 16442 0 27290 --:--:-- --:--:-- --:--:-- 27312 08:26:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/759496df5f428c8235f1427b99e1498ca885078c [Pipeline] } 08:26:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:26:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:26:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:26:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:26:50 08:26:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 08:26:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:26:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 08:26:50 188c0c94c7c5: Pulling fs layer 08:26:50 0ef7d3d256c8: Pulling fs layer 08:26:50 de9db76c5a1d: Pulling fs layer 08:26:50 0eba1c9be4d2: Pulling fs layer 08:26:50 0d57e429df01: Pulling fs layer 08:26:50 4e4be7b47b0d: Pulling fs layer 08:26:50 e1f770b5df2f: Pulling fs layer 08:26:50 85a0685a4137: Pulling fs layer 08:26:50 0eba1c9be4d2: Waiting 08:26:50 0d57e429df01: Waiting 08:26:50 4e4be7b47b0d: Waiting 08:26:50 e1f770b5df2f: Waiting 08:26:50 85a0685a4137: Waiting 08:26:50 de9db76c5a1d: Download complete 08:26:50 0ef7d3d256c8: Download complete 08:26:50 0d57e429df01: Download complete 08:26:50 4e4be7b47b0d: Verifying Checksum 08:26:50 4e4be7b47b0d: Download complete 08:26:50 188c0c94c7c5: Verifying Checksum 08:26:50 188c0c94c7c5: Download complete 08:26:51 188c0c94c7c5: Pull complete 08:26:51 0ef7d3d256c8: Pull complete 08:26:51 de9db76c5a1d: Pull complete 08:26:52 e1f770b5df2f: Verifying Checksum 08:26:52 e1f770b5df2f: Download complete 08:26:54 0eba1c9be4d2: Download complete 08:26:54 85a0685a4137: Verifying Checksum 08:26:54 85a0685a4137: Download complete 08:27:00 0eba1c9be4d2: Pull complete 08:27:00 0d57e429df01: Pull complete 08:27:00 4e4be7b47b0d: Pull complete 08:27:02 e1f770b5df2f: Pull complete 08:27:10 85a0685a4137: Pull complete 08:27:10 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 08:27:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 08:27:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 08:27:10 prd-centos7-docker-4c-2g-5057 does not seem to be running inside a container 08:27:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 08:27:11 $ docker top 876b01beeb4c7b389b28dbf16802189e3cecedceaf64d239d1d72495a62614a5 -eo pid,comm [Pipeline] { [Pipeline] echo 08:27:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 08:27:12 + set -o pipefail 08:27:12 + snyk monitor '--org=edgex-jenkins' 08:27:22 08:27:22 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 08:27:22 08:27:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/dc8eec94-423e-4d09-8794-d54e137fccbd 08:27:22 08:27:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:27:22 08:27:22 [Pipeline] } 08:27:22 $ docker stop --time=1 876b01beeb4c7b389b28dbf16802189e3cecedceaf64d239d1d72495a62614a5 08:27:25 $ docker rm -f 876b01beeb4c7b389b28dbf16802189e3cecedceaf64d239d1d72495a62614a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 08:27:27 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:27:27 provisioning config files... 08:27:27 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1797658752411878883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:27:27 --> edgex-publish-swagger.sh 08:27:27 === Publish openapi/v1 API === 08:27:27 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 08:27:27 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 08:27:27 % Total % Received % Xferd Average Speed Time Time Time Current 08:27:27 Dload Upload Total Spent Left Speed 08:27:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 25615 --:--:-- --:--:-- --:--:-- 25605 100 19947 0 0 100 19947 0 25605 --:--:-- --:--:-- --:--:-- 25605 08:27:28 08:27:28 08:27:28 === Publish openapi/v2 API === 08:27:28 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 08:27:28 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 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 100 51483 0 0 100 51483 0 72662 --:--:-- --:--:-- --:--:-- 72613 100 51483 0 0 100 51483 0 72643 --:--:-- --:--:-- --:--:-- 72613 08:27:28 08:27:28 [Pipeline] } 08:27:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:27:29 + git log --format=format:%s -1 759496df5f428c8235f1427b99e1498ca885078c [Pipeline] isUnix [Pipeline] sh 08:27:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:27:29 . [Pipeline] withDockerContainer 08:27:29 prd-centos7-docker-4c-2g-5057 does not seem to be running inside a container 08:27:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:27:30 $ docker top 12af7631d5bb208025c6d7d455728ccef965539431de173cc34f926004402725 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:27:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:27:30 [ssh-agent] Looking for ssh-agent implementation... 08:27:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:27:31 $ docker exec 12af7631d5bb208025c6d7d455728ccef965539431de173cc34f926004402725 ssh-agent 08:27:31 SSH_AUTH_SOCK=/tmp/ssh-2B0kn3mzkNb0/agent.12 08:27:31 SSH_AGENT_PID=18 08:27:31 Running ssh-add (command line suppressed) 08:27:31 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3157258175498210847.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3157258175498210847.key) 08:27:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:27:31 + git semver tag 08:27:31 # -> Open(): unable to determine branch for HEAD 08:27:31 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 08:27:31 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 08:27:31 # $SEMVER_REMOTE_NAME = origin 08:27:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:27:31 # $SEMVER_USER_NAME = edgex-jenkins 08:27:31 # $SEMVER_BRANCH = master 08:27:31 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 08:27:31 # 759496df5f428c8235f1427b99e1498ca885078c HEAD 08:27:32 # -> Force: false 08:27:32 # ceba1aff7c78e938fb7dfb10819a9bdcfb73b01e refs/tags/v2.0.0-dev.59 [Pipeline] } 08:27:32 $ docker exec --env ******** --env ******** 12af7631d5bb208025c6d7d455728ccef965539431de173cc34f926004402725 ssh-agent -k 08:27:32 unset SSH_AUTH_SOCK; 08:27:32 unset SSH_AGENT_PID; 08:27:32 echo Agent pid 18 killed; 08:27:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:27:32 + git semver [Pipeline] } 08:27:32 $ docker stop --time=1 12af7631d5bb208025c6d7d455728ccef965539431de173cc34f926004402725 08:27:34 $ docker rm -f 12af7631d5bb208025c6d7d455728ccef965539431de173cc34f926004402725 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 08:27:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:27:34 08:27:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 08:27:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:27:34 0.23.1-centos7: Pulling from edgex-lftools 08:27:34 ab5ef0e58194: Pulling fs layer 08:27:34 9712f1f96733: Pulling fs layer 08:27:34 63f879dbbcfc: Pulling fs layer 08:27:34 0d9ebad4ef96: Pulling fs layer 08:27:34 e9a5061849ea: Pulling fs layer 08:27:34 d747dcd14b5f: Pulling fs layer 08:27:34 2de7ff778b66: Pulling fs layer 08:27:34 0d9ebad4ef96: Waiting 08:27:34 d747dcd14b5f: Waiting 08:27:34 2de7ff778b66: Waiting 08:27:34 e9a5061849ea: Waiting 08:27:34 9712f1f96733: Verifying Checksum 08:27:34 9712f1f96733: Download complete 08:27:36 63f879dbbcfc: Verifying Checksum 08:27:36 63f879dbbcfc: Download complete 08:27:36 e9a5061849ea: Verifying Checksum 08:27:36 e9a5061849ea: Download complete 08:27:36 d747dcd14b5f: Verifying Checksum 08:27:36 d747dcd14b5f: Download complete 08:27:37 2de7ff778b66: Verifying Checksum 08:27:37 2de7ff778b66: Download complete 08:27:37 0d9ebad4ef96: Verifying Checksum 08:27:37 0d9ebad4ef96: Download complete 08:27:37 ab5ef0e58194: Verifying Checksum 08:27:37 ab5ef0e58194: Download complete 08:27:43 ab5ef0e58194: Pull complete 08:27:43 9712f1f96733: Pull complete 08:27:46 63f879dbbcfc: Pull complete 08:27:51 0d9ebad4ef96: Pull complete 08:27:53 e9a5061849ea: Pull complete 08:27:53 d747dcd14b5f: Pull complete 08:27:56 2de7ff778b66: Pull complete 08:27:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:27:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:27:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 08:27:56 prd-centos7-docker-4c-2g-5057 does not seem to be running inside a container 08:27:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:28:00 $ docker top e0c33350cefa8944c508d71dbfa2af16a14ac309b2c6a24c424106d79fc2c93d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:28:00 provisioning config files... 08:28:00 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7520979423934942744tmp 08:28:00 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8091375071977821042tmp 08:28:01 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2428039454694189296tmp [Pipeline] { [Pipeline] echo 08:28:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:28:01 ---> sigul-configuration.sh 08:28:01 gpg: directory `/root/.gnupg' created 08:28:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:28:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:28:01 gpg: keyring `/root/.gnupg/secring.gpg' created 08:28:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:28:01 gpg: CAST5 encrypted data 08:28:01 gpg: encrypted with 1 passphrase 08:28:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:28:02 + mkdir /home/jenkins 08:28:02 + mkdir /home/jenkins/sigul [Pipeline] sh 08:28:02 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 08:28:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:28:02 ---> sigul-install.sh 08:28:12 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 08:28:13 + git tag --list 08:28:13 0.7.1 08:28:13 delhi-tag 08:28:13 v1.0.0 08:28:13 v1.1.0 08:28:13 v1.1.1 08:28:13 v1.1.2 08:28:13 v1.2.0 08:28:13 v1.2.1 08:28:13 v1.2.2 08:28:13 v1.2.3 08:28:13 v1.3.0 08:28:13 v1.4.0 08:28:13 v2.0.0-dev.1 08:28:13 v2.0.0-dev.10 08:28:13 v2.0.0-dev.11 08:28:13 v2.0.0-dev.12 08:28:13 v2.0.0-dev.13 08:28:13 v2.0.0-dev.14 08:28:13 v2.0.0-dev.15 08:28:13 v2.0.0-dev.16 08:28:13 v2.0.0-dev.17 08:28:13 v2.0.0-dev.18 08:28:13 v2.0.0-dev.19 08:28:13 v2.0.0-dev.2 08:28:13 v2.0.0-dev.20 08:28:13 v2.0.0-dev.21 08:28:13 v2.0.0-dev.22 08:28:13 v2.0.0-dev.23 08:28:13 v2.0.0-dev.24 08:28:13 v2.0.0-dev.25 08:28:13 v2.0.0-dev.26 08:28:13 v2.0.0-dev.27 08:28:13 v2.0.0-dev.28 08:28:13 v2.0.0-dev.29 08:28:13 v2.0.0-dev.3 08:28:13 v2.0.0-dev.30 08:28:13 v2.0.0-dev.31 08:28:13 v2.0.0-dev.32 08:28:13 v2.0.0-dev.33 08:28:13 v2.0.0-dev.34 08:28:13 v2.0.0-dev.35 08:28:13 v2.0.0-dev.36 08:28:13 v2.0.0-dev.37 08:28:13 v2.0.0-dev.38 08:28:13 v2.0.0-dev.39 08:28:13 v2.0.0-dev.4 08:28:13 v2.0.0-dev.40 08:28:13 v2.0.0-dev.41 08:28:13 v2.0.0-dev.42 08:28:13 v2.0.0-dev.43 08:28:13 v2.0.0-dev.44 08:28:13 v2.0.0-dev.45 08:28:13 v2.0.0-dev.46 08:28:13 v2.0.0-dev.47 08:28:13 v2.0.0-dev.48 08:28:13 v2.0.0-dev.49 08:28:13 v2.0.0-dev.5 08:28:13 v2.0.0-dev.50 08:28:13 v2.0.0-dev.51 08:28:13 v2.0.0-dev.52 08:28:13 v2.0.0-dev.53 08:28:13 v2.0.0-dev.54 08:28:13 v2.0.0-dev.55 08:28:13 v2.0.0-dev.56 08:28:13 v2.0.0-dev.57 08:28:13 v2.0.0-dev.58 08:28:13 v2.0.0-dev.59 08:28:13 v2.0.0-dev.6 08:28:13 v2.0.0-dev.7 08:28:13 v2.0.0-dev.8 08:28:13 v2.0.0-dev.9 [Pipeline] sh 08:28:13 + lftools sign git-tag v2.0.0-dev.59 08:28:14 Signing Git tag with Sigul... 08:28:14 Signing v2.0.0-dev.59 [Pipeline] echo 08:28:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:28:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:28:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:28:16 $ docker stop --time=1 e0c33350cefa8944c508d71dbfa2af16a14ac309b2c6a24c424106d79fc2c93d 08:28:18 $ docker rm -f e0c33350cefa8944c508d71dbfa2af16a14ac309b2c6a24c424106d79fc2c93d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 08:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:28:18 . [Pipeline] withDockerContainer 08:28:18 prd-centos7-docker-4c-2g-5057 does not seem to be running inside a container 08:28:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:28:19 $ docker top 68404b3a4309d0cc7e87c74c219bc11078a93043e402703d6136bf8a196bdc4c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:28:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:28:20 [ssh-agent] Looking for ssh-agent implementation... 08:28:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:28:20 $ docker exec 68404b3a4309d0cc7e87c74c219bc11078a93043e402703d6136bf8a196bdc4c ssh-agent 08:28:20 SSH_AUTH_SOCK=/tmp/ssh-XldN84oL03Yd/agent.11 08:28:20 SSH_AGENT_PID=16 08:28:20 Running ssh-add (command line suppressed) 08:28:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3254296026340742341.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3254296026340742341.key) 08:28:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:28:21 + git semver bump pre 08:28:21 # -> Open(): unable to determine branch for HEAD 08:28:21 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 08:28:21 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 08:28:21 # $SEMVER_REMOTE_NAME = origin 08:28:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:28:21 # $SEMVER_USER_NAME = edgex-jenkins 08:28:21 # $SEMVER_BRANCH = master 08:28:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 08:28:21 2.0.0-dev.60 [Pipeline] } 08:28:21 $ docker exec --env ******** --env ******** 68404b3a4309d0cc7e87c74c219bc11078a93043e402703d6136bf8a196bdc4c ssh-agent -k 08:28:21 unset SSH_AUTH_SOCK; 08:28:21 unset SSH_AGENT_PID; 08:28:21 echo Agent pid 16 killed; 08:28:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:28:21 + git semver [Pipeline] } 08:28:21 $ docker stop --time=1 68404b3a4309d0cc7e87c74c219bc11078a93043e402703d6136bf8a196bdc4c 08:28:22 $ docker rm -f 68404b3a4309d0cc7e87c74c219bc11078a93043e402703d6136bf8a196bdc4c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 08:28:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:28:23 . [Pipeline] withDockerContainer 08:28:23 prd-centos7-docker-4c-2g-5057 does not seem to be running inside a container 08:28:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:28:24 $ docker top ed4846351a226b4f98c12cb3a4e5efaec88dee88366222a7c861148b31723494 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:28:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:28:24 [ssh-agent] Looking for ssh-agent implementation... 08:28:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:28:24 $ docker exec ed4846351a226b4f98c12cb3a4e5efaec88dee88366222a7c861148b31723494 ssh-agent 08:28:24 SSH_AUTH_SOCK=/tmp/ssh-C3x0Q8xMDavx/agent.12 08:28:24 SSH_AGENT_PID=17 08:28:24 Running ssh-add (command line suppressed) 08:28:25 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7173905511574867308.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7173905511574867308.key) 08:28:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:28:25 + git semver push 08:28:25 # -> Open(): unable to determine branch for HEAD 08:28:25 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 08:28:25 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 08:28:25 # $SEMVER_REMOTE_NAME = origin 08:28:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:28:25 # $SEMVER_USER_NAME = edgex-jenkins 08:28:25 # $SEMVER_BRANCH = master 08:28:25 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 08:28:30 $ docker exec --env ******** --env ******** ed4846351a226b4f98c12cb3a4e5efaec88dee88366222a7c861148b31723494 ssh-agent -k 08:28:30 unset SSH_AUTH_SOCK; 08:28:30 unset SSH_AGENT_PID; 08:28:30 echo Agent pid 17 killed; 08:28:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:28:31 + git semver [Pipeline] } 08:28:31 $ docker stop --time=1 ed4846351a226b4f98c12cb3a4e5efaec88dee88366222a7c861148b31723494 08:28:32 $ docker rm -f ed4846351a226b4f98c12cb3a4e5efaec88dee88366222a7c861148b31723494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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:28:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:28:34 ---> package-listing.sh 08:28:34 ++ tr '[:upper:]' '[:lower:]' 08:28:34 ++ facter osfamily 08:28:34 + OS_FAMILY=redhat 08:28:34 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 08:28:34 + START_PACKAGES=/tmp/packages_start.txt 08:28:34 + END_PACKAGES=/tmp/packages_end.txt 08:28:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:28:34 + PACKAGES=/tmp/packages_start.txt 08:28:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 08:28:34 + PACKAGES=/tmp/packages_end.txt 08:28:34 + case "${OS_FAMILY}" in 08:28:34 + rpm -qa 08:28:34 + sort 08:28:39 + '[' -f /tmp/packages_start.txt ']' 08:28:39 + '[' -f /tmp/packages_end.txt ']' 08:28:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:28:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 08:28:39 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 08:28:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 08:28:39 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:28:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:28:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:28:40 08:28:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:28:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:28:40 alpine: Pulling from edgex-lftools-log-publisher 08:28:40 df20fa9351a1: Pulling fs layer 08:28:40 36b3adc4ff6f: Pulling fs layer 08:28:40 8ad3a11d3b57: Pulling fs layer 08:28:40 46f8f816bc3b: Pulling fs layer 08:28:40 93b61091891f: Pulling fs layer 08:28:40 93b9cdb0e59b: Pulling fs layer 08:28:40 5e14af77c1be: Pulling fs layer 08:28:40 01666e4c0597: Pulling fs layer 08:28:40 aa168da1d23b: Pulling fs layer 08:28:40 46f8f816bc3b: Waiting 08:28:40 5e14af77c1be: Waiting 08:28:40 93b61091891f: Waiting 08:28:40 93b9cdb0e59b: Waiting 08:28:40 aa168da1d23b: Waiting 08:28:40 01666e4c0597: Waiting 08:28:40 36b3adc4ff6f: Download complete 08:28:40 46f8f816bc3b: Verifying Checksum 08:28:40 46f8f816bc3b: Download complete 08:28:40 df20fa9351a1: Verifying Checksum 08:28:40 df20fa9351a1: Download complete 08:28:40 93b9cdb0e59b: Verifying Checksum 08:28:40 93b9cdb0e59b: Download complete 08:28:40 5e14af77c1be: Download complete 08:28:40 01666e4c0597: Verifying Checksum 08:28:40 01666e4c0597: Download complete 08:28:40 93b61091891f: Verifying Checksum 08:28:40 93b61091891f: Download complete 08:28:41 df20fa9351a1: Pull complete 08:28:41 8ad3a11d3b57: Verifying Checksum 08:28:41 8ad3a11d3b57: Download complete 08:28:41 36b3adc4ff6f: Pull complete 08:28:42 8ad3a11d3b57: Pull complete 08:28:42 46f8f816bc3b: Pull complete 08:28:43 aa168da1d23b: Verifying Checksum 08:28:43 aa168da1d23b: Download complete 08:28:43 93b61091891f: Pull complete 08:28:44 93b9cdb0e59b: Pull complete 08:28:44 5e14af77c1be: Pull complete 08:28:44 01666e4c0597: Pull complete 08:28:52 aa168da1d23b: Pull complete 08:28:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:28:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:28:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:28:52 prd-centos7-docker-4c-2g-5057 does not seem to be running inside a container 08:28:52 $ 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_master/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_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:28:55 $ docker top a711ab5086da57934367ddbfead5dc9dc77f82070e87f4a4abb9b71a7152280a -eo pid,comm [Pipeline] { [Pipeline] sh 08:28:56 + touch /tmp/pre-build-complete [Pipeline] sh 08:28:56 + mkdir -p /var/log/sa [Pipeline] sh 08:28:56 + ls /var/log/sa-host 08:28:56 + sadf -c /var/log/sa-host/sa13 08:28:56 file_magic: OK 08:28:56 HZ: Using current value: 100 08:28:56 file_header: OK 08:28:56 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:28:56 Statistics: 08:28:56 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...Hnuu...uuuununununu... 08:28:56 File successfully converted to sysstat format version 12.2.1 08:28:56 + sadf -c /var/log/sa-host/sa23 08:28:56 file_magic: OK 08:28:56 HZ: Using current value: 100 08:28:56 file_header: OK 08:28:56 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:28:56 Statistics: 08:28:56 Hnuu...uuuununununu... 08:28:56 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:28:57 provisioning config files... 08:28:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3205901758057972365tmp [Pipeline] { [Pipeline] echo 08:28:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:28:57 ---> create-netrc.sh [Pipeline] } 08:28:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:28:57 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:28:57 ---> python-tools-install.sh [Pipeline] echo 08:28:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:28:58 ---> sudo-logs.sh 08:28:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:28:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:28:58 ---> job-cost.sh 08:28:58 lf-activate-venv: SKIPPING 08:28:58 DEBUG: total: 0.20999999344348907 08:28:58 INFO: Retrieving Stack Cost... 08:28:59 INFO: Retrieving Pricing Info for: v1-standard-2 08:29:00 INFO: Archiving Costs [Pipeline] echo 08:29:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:29:00 ---> logs-deploy.sh 08:29:00 lf-activate-venv: SKIPPING 08:29:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/164 08:29:00 INFO: archiving workspace using pattern(s): 08:29:02 Archives upload complete. 08:29:02 INFO: archiving logs to Nexus