Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c59eaec4927ead084ac23e2dc62563ecf0e6da75 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4017 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 c59eaec4927ead084ac23e2dc62563ecf0e6da75 (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 c59eaec4927ead084ac23e2dc62563ecf0e6da75 # timeout=10 Commit message: "test: add unit tests for SDK (#900)" > git rev-list --no-walk edddd13237ed2f870dfa3fb5fc7d300be4879f06 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:19:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:19:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:19:46 ========================================================= 06:19:46 EdgeX Global Pipelines Version Info 06:19:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:19:49 ------------------- 06:19:49 stable info: 06:19:49 ------------------- 06:19:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:19:49 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 06:19:49 Message: update stable to v1.0.191 06:19:50 ------------------- 06:19:50 experimental info: 06:19:50 ------------------- 06:19:50 Commited By: **** collab-it+edgex@linuxfoundation.org 06:19:50 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 06:19:50 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:19:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:19:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:19:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:19:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:19:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:19:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 06:19:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:19:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 06:19:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:19:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c59eaec4927ead084ac23e2dc62563ecf0e6da75 [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c59eaec [Pipeline] echo 06:19:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:19:51 provisioning config files... 06:19:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config514895724257212270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:52 ---> docker-login.sh 06:19:52 nexus3.edgexfoundry.org:10001 06:19:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:53 Configure a credential helper to remove this warning. See 06:19:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:53 06:19:53 Login Succeeded 06:19:53 nexus3.edgexfoundry.org:10002 06:19:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:53 Configure a credential helper to remove this warning. See 06:19:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:53 06:19:53 Login Succeeded 06:19:53 nexus3.edgexfoundry.org:10003 06:19:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:53 Configure a credential helper to remove this warning. See 06:19:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:53 06:19:53 Login Succeeded 06:19:53 nexus3.edgexfoundry.org:10004 06:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:54 Configure a credential helper to remove this warning. See 06:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:54 06:19:54 Login Succeeded 06:19:54 docker.io 06:19:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:54 Configure a credential helper to remove this warning. See 06:19:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:54 06:19:54 Login Succeeded 06:19:54 ---> docker-login.sh ends [Pipeline] } 06:19:54 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 06:19:55 + git log --format=format:%s -1 c59eaec4927ead084ac23e2dc62563ecf0e6da75 [Pipeline] echo 06:19:55 GIT_COMMIT: c59eaec4927ead084ac23e2dc62563ecf0e6da75, Commit Message: test: add unit tests for SDK (#900) [Pipeline] echo 06:19:55 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:19:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:19:56 06:19:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:19:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:19:56 latest: Pulling from edgex-devops/git-semver 06:19:56 31603596830f: Pulling fs layer 06:19:56 54011a49482f: Pulling fs layer 06:19:56 a6820b24f6d8: Pulling fs layer 06:19:56 f581987b2513: Pulling fs layer 06:19:56 f581987b2513: Waiting 06:19:56 54011a49482f: Verifying Checksum 06:19:56 54011a49482f: Download complete 06:19:57 31603596830f: Verifying Checksum 06:19:57 31603596830f: Download complete 06:19:57 f581987b2513: Verifying Checksum 06:19:57 f581987b2513: Download complete 06:19:57 a6820b24f6d8: Verifying Checksum 06:19:57 a6820b24f6d8: Download complete 06:19:57 31603596830f: Pull complete 06:19:58 54011a49482f: Pull complete 06:19:59 a6820b24f6d8: Pull complete 06:19:59 f581987b2513: Pull complete 06:19:59 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 06:19:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:19:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:20:00 prd-centos7-docker-4c-2g-4017 does not seem to be running inside a container 06:20:00 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:20:02 $ docker top 142c6f93d9ec4b0f3a4900c522a69276e9f7920778982b3d7815dbab7e765e4c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:20:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:02 [ssh-agent] Looking for ssh-agent implementation... 06:20:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:03 $ docker exec 142c6f93d9ec4b0f3a4900c522a69276e9f7920778982b3d7815dbab7e765e4c ssh-agent 06:20:03 SSH_AUTH_SOCK=/tmp/ssh-00JbdIsSU6nH/agent.12 06:20:03 SSH_AGENT_PID=17 06:20:03 Running ssh-add (command line suppressed) 06:20:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9082631639793412500.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9082631639793412500.key) 06:20:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:04 + git tag --points-at HEAD [Pipeline] } 06:20:04 $ docker exec --env ******** --env ******** 142c6f93d9ec4b0f3a4900c522a69276e9f7920778982b3d7815dbab7e765e4c ssh-agent -k 06:20:04 unset SSH_AUTH_SOCK; 06:20:04 unset SSH_AGENT_PID; 06:20:04 echo Agent pid 17 killed; 06:20:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:20:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:04 [ssh-agent] Looking for ssh-agent implementation... 06:20:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:04 $ docker exec 142c6f93d9ec4b0f3a4900c522a69276e9f7920778982b3d7815dbab7e765e4c ssh-agent 06:20:04 SSH_AUTH_SOCK=/tmp/ssh-FCd9A3JbLzc7/agent.48 06:20:04 SSH_AGENT_PID=54 06:20:04 Running ssh-add (command line suppressed) 06:20:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_576437720862315669.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_576437720862315669.key) 06:20:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:05 + git semver init 06:20:05 # -> Open(): unable to determine branch for HEAD 06:20:05 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 06:20:05 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 06:20:05 # $SEMVER_REMOTE_NAME = origin 06:20:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:20:05 # $SEMVER_USER_NAME = edgex-jenkins 06:20:05 # $SEMVER_BRANCH = master 06:20:05 # $SEMVER_TEMP = /tmp/semver-079386903 06:20:05 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:20:07 # '/tmp/semver-079386903' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 06:20:07 # -> Force: false 06:20:07 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 06:20:07 $ docker exec --env ******** --env ******** 142c6f93d9ec4b0f3a4900c522a69276e9f7920778982b3d7815dbab7e765e4c ssh-agent -k 06:20:07 unset SSH_AUTH_SOCK; 06:20:07 unset SSH_AGENT_PID; 06:20:07 echo Agent pid 54 killed; 06:20:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:20:07 + git semver [Pipeline] } 06:20:07 $ docker stop --time=1 142c6f93d9ec4b0f3a4900c522a69276e9f7920778982b3d7815dbab7e765e4c 06:20:09 $ docker rm -f 142c6f93d9ec4b0f3a4900c522a69276e9f7920778982b3d7815dbab7e765e4c [Pipeline] // withDockerContainer [Pipeline] sh 06:20:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:20:10 Stashed 1 file(s) [Pipeline] echo 06:20:10 [edgeXSemver]: initialized semver on version 2.0.0-dev.53 [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 06:20:10 Running on prd-centos7-docker-4c-2g-4018 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 06:20:10 Running in /w/workspace/device-sdk-go/158 [Pipeline] { [Pipeline] checkout 06:20:14 using credential edgex-jenkins-ssh 06:20:14 Cloning the remote Git repository 06:20:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:20:15 > git init /w/workspace/device-sdk-go/158 # timeout=10 06:20:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:20:15 > git --version # timeout=10 06:20:15 > git --version # 'git version 2.24.3' 06:20:15 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:16 Checking out Revision c59eaec4927ead084ac23e2dc62563ecf0e6da75 (master) 06:20:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:20:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:20:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:20:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:20:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:20:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:20:16 > git config core.sparsecheckout # timeout=10 06:20:16 > git checkout -f c59eaec4927ead084ac23e2dc62563ecf0e6da75 # timeout=10 06:20:20 Commit message: "test: add unit tests for SDK (#900)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:21 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:20:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:20:22 + sudo service docker restart 06:20:22 + true 06:20:22 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:20:24 provisioning config files... 06:20:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/158@tmp/config238380358248452458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:24 ---> docker-login.sh 06:20:24 nexus3.edgexfoundry.org:10001 06:20:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:25 Configure a credential helper to remove this warning. See 06:20:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:25 06:20:25 Login Succeeded 06:20:25 nexus3.edgexfoundry.org:10002 06:20:25 Still waiting to schedule task 06:20:25 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:20:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:25 Configure a credential helper to remove this warning. See 06:20:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:25 06:20:25 Login Succeeded 06:20:25 nexus3.edgexfoundry.org:10003 06:20:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:26 Configure a credential helper to remove this warning. See 06:20:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:26 06:20:26 Login Succeeded 06:20:26 nexus3.edgexfoundry.org:10004 06:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:26 Configure a credential helper to remove this warning. See 06:20:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:26 06:20:26 Login Succeeded 06:20:26 docker.io 06:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:20:26 Configure a credential helper to remove this warning. See 06:20:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:20:26 06:20:26 Login Succeeded 06:20:26 ---> docker-login.sh ends [Pipeline] } 06:20:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:20:26 ========================================================= 06:20:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 06:20:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:20:27 + 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 . 06:20:27 Sending build context to Docker daemon 2.526MB 06:20:27 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:20:27 Step 2/8 : FROM ${BASE} 06:20:27 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 06:20:27 540db60ca938: Pulling fs layer 06:20:27 adcc1eea9eea: Pulling fs layer 06:20:27 4c4ab2625f07: Pulling fs layer 06:20:27 0510c868ecb4: Pulling fs layer 06:20:27 afea3b2eda06: Pulling fs layer 06:20:27 7809a108b3ef: Pulling fs layer 06:20:27 f706445af74f: Pulling fs layer 06:20:27 0510c868ecb4: Waiting 06:20:27 afea3b2eda06: Waiting 06:20:27 7809a108b3ef: Waiting 06:20:27 f706445af74f: Waiting 06:20:27 4c4ab2625f07: Verifying Checksum 06:20:27 4c4ab2625f07: Download complete 06:20:27 adcc1eea9eea: Download complete 06:20:27 afea3b2eda06: Verifying Checksum 06:20:27 afea3b2eda06: Download complete 06:20:27 7809a108b3ef: Verifying Checksum 06:20:27 7809a108b3ef: Download complete 06:20:27 540db60ca938: Verifying Checksum 06:20:27 540db60ca938: Download complete 06:20:28 540db60ca938: Pull complete 06:20:28 adcc1eea9eea: Pull complete 06:20:28 4c4ab2625f07: Pull complete 06:20:30 f706445af74f: Verifying Checksum 06:20:30 f706445af74f: Download complete 06:20:32 0510c868ecb4: Verifying Checksum 06:20:32 0510c868ecb4: Download complete 06:20:40 0510c868ecb4: Pull complete 06:20:40 afea3b2eda06: Pull complete 06:20:40 7809a108b3ef: Pull complete 06:20:46 f706445af74f: Pull complete 06:20:46 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 06:20:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 06:20:46 ---> b068be0155e3 06:20:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:20:47 ---> Running in b87cc081c29f 06:20:48 Removing intermediate container b87cc081c29f 06:20:48 ---> 6efaab4ea87a 06:20:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:20:48 ---> Running in 1d071d0afbeb 06:20:49 Removing intermediate container 1d071d0afbeb 06:20:49 ---> eb8312338d9c 06:20:49 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:20:49 ---> Running in 10779ff90658 06:20:50 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:20:52 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 06:20:53 (1/6) Installing libc-dev (0.7.2-r3) 06:20:53 (2/6) Installing libsodium (1.0.18-r0) 06:20:53 (3/6) Installing pkgconf (1.7.3-r0) 06:20:54 (4/6) Installing libsodium-dev (1.0.18-r0) 06:20:54 (5/6) Installing libzmq (4.3.3-r1) 06:20:54 (6/6) Installing zeromq-dev (4.3.3-r1) 06:20:54 Executing busybox-1.32.1-r6.trigger 06:20:54 OK: 150 MiB in 46 packages 06:20:55 Removing intermediate container 10779ff90658 06:20:55 ---> 62bc5db72aaa 06:20:55 Step 6/8 : WORKDIR /device-sdk-go 06:20:55 ---> Running in 4834da8ce8d4 06:20:55 Removing intermediate container 4834da8ce8d4 06:20:55 ---> e09e6892515a 06:20:55 Step 7/8 : COPY . . 06:20:57 ---> 1aefe9f916c6 06:20:57 Step 8/8 : RUN go mod download 06:20:57 ---> Running in b7fc9c5ab603 06:21:24 Removing intermediate container b7fc9c5ab603 06:21:24 ---> e213e84d8157 06:21:24 Successfully built e213e84d8157 06:21:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:21:24 + docker inspect -f . ci-base-image-x86_64 06:21:24 . [Pipeline] withDockerContainer 06:21:24 prd-centos7-docker-4c-2g-4018 does not seem to be running inside a container 06:21:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/158 -v /w/workspace/device-sdk-go/158:/w/workspace/device-sdk-go/158:rw,z -v /w/workspace/device-sdk-go/158@tmp:/w/workspace/device-sdk-go/158@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 ******** ci-base-image-x86_64 cat 06:21:25 $ docker top 53182b27b8be105c95cf6dc22e84517606064f0f1841981ebe81e6a038b61d89 -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:26 + go version 06:21:26 go version go1.16.3 linux/amd64 [Pipeline] } 06:21:26 $ docker stop --time=1 53182b27b8be105c95cf6dc22e84517606064f0f1841981ebe81e6a038b61d89 06:21:27 $ docker rm -f 53182b27b8be105c95cf6dc22e84517606064f0f1841981ebe81e6a038b61d89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:21:28 + docker inspect -f . ci-base-image-x86_64 06:21:28 . [Pipeline] withDockerContainer 06:21:28 prd-centos7-docker-4c-2g-4018 does not seem to be running inside a container 06:21:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/158 -v /w/workspace/device-sdk-go/158:/w/workspace/device-sdk-go/158:rw,z -v /w/workspace/device-sdk-go/158@tmp:/w/workspace/device-sdk-go/158@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 ******** ci-base-image-x86_64 cat 06:21:29 $ docker top bf3ba6e9f99565eecf8af2b4c3e3885a71c749e91879d3609bf88e14e8ec05d3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:29 + go mod tidy [Pipeline] sh 06:21:30 + make test 06:21:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:21:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:22:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:22:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:22:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:22:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.093s coverage: 25.4% of statements 06:22:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:22:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.081s coverage: 28.1% of statements 06:22:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.093s coverage: 78.9% of statements 06:22:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.070s coverage: 10.7% of statements 06:22:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:22:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:22:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:22:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.117s coverage: 30.2% of statements 06:22:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:22:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 06:22:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:22:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:22:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.164s coverage: 58.4% of statements 06:22:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.353s coverage: 89.2% of statements 06:22:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:22:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 5.0% of statements 06:22:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:22:20 GO111MODULE=on go vet ./... 06:22:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4021 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 06:22:42 Running in /w/workspace/device-sdk-go/158 [Pipeline] { [Pipeline] checkout 06:22:47 gofmt -l . 06:22:47 [ "`gofmt -l .`" = "" ] 06:22:47 ./bin/test-attribution-txt.sh 06:22:48 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:22:48 $ docker stop --time=1 bf3ba6e9f99565eecf8af2b4c3e3885a71c749e91879d3609bf88e14e8ec05d3 06:22:48 using credential edgex-jenkins-ssh 06:22:48 Cloning the remote Git repository 06:22:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:22:48 > git init /w/workspace/device-sdk-go/158 # timeout=10 06:22:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:22:48 > git --version # timeout=10 06:22:48 > git --version # 'git version 2.17.1' 06:22:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:22:50 $ docker rm -f bf3ba6e9f99565eecf8af2b4c3e3885a71c749e91879d3609bf88e14e8ec05d3 [Pipeline] // withDockerContainer [Pipeline] sh 06:22:50 Checking out Revision c59eaec4927ead084ac23e2dc62563ecf0e6da75 (master) 06:22:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:22:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:22:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:22:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:22:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:22:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:22:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:22:50 > git config core.sparsecheckout # timeout=10 06:22:50 > git checkout -f c59eaec4927ead084ac23e2dc62563ecf0e6da75 # timeout=10 06:22:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:22:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:22:53 + ls -al . 06:22:53 total 212 06:22:53 drwxrwxr-x. 10 jenkins jenkins 4096 May 10 06:22 . 06:22:53 drwxrwxr-x. 4 jenkins jenkins 32 May 10 06:20 .. 06:22:53 drwxrwxr-x. 2 jenkins jenkins 64 May 10 06:20 bin 06:22:53 -rw-r--r--. 1 jenkins jenkins 124140 May 10 06:22 coverage.out 06:22:53 -rw-rw-r--. 1 jenkins jenkins 987 May 10 06:20 Dockerfile.build 06:22:53 -rw-rw-r--. 1 jenkins jenkins 140 May 10 06:20 .dockerignore 06:22:53 drwxrwxr-x. 5 jenkins jenkins 62 May 10 06:20 example 06:22:53 drwxrwxr-x. 8 jenkins jenkins 162 May 10 06:20 .git 06:22:53 drwxrwxr-x. 2 jenkins jenkins 103 May 10 06:20 .github 06:22:53 -rw-rw-r--. 1 jenkins jenkins 138 May 10 06:20 .gitignore 06:22:53 -rw-r--r--. 1 jenkins jenkins 575 May 10 06:22 go.mod 06:22:53 -rw-r--r--. 1 jenkins jenkins 20904 May 10 06:21 go.sum 06:22:53 drwxrwxr-x. 15 jenkins jenkins 222 May 10 06:20 internal 06:22:53 -rw-rw-r--. 1 jenkins jenkins 901 May 10 06:20 Jenkinsfile 06:22:53 -rw-rw-r--. 1 jenkins jenkins 11341 May 10 06:20 LICENSE 06:22:53 -rw-rw-r--. 1 jenkins jenkins 1022 May 10 06:20 Makefile 06:22:53 drwxrwxr-x. 4 jenkins jenkins 26 May 10 06:20 openapi 06:22:53 drwxrwxr-x. 5 jenkins jenkins 50 May 10 06:20 pkg 06:22:53 -rw-rw-r--. 1 jenkins jenkins 7652 May 10 06:20 README.md 06:22:53 -rw-rw-r--. 1 jenkins jenkins 6616 May 10 06:20 RELEASE-NOTES.txt 06:22:53 drwxrwxr-x. 4 jenkins jenkins 54 May 10 06:20 snap 06:22:53 -rw-rw-r--. 1 jenkins jenkins 12 May 10 06:20 VERSION 06:22:53 -rw-rw-r--. 1 jenkins jenkins 222 May 10 06:20 version.go [Pipeline] isUnix [Pipeline] sh 06:22:53 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c59eaec4927ead084ac23e2dc62563ecf0e6da75 --label arch=amd64 --label version=2.0.0-dev.53 . 06:22:54 Sending build context to Docker daemon 2.651MB 06:22:54 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:22:54 Step 2/23 : FROM ${BASE} AS builder 06:22:54 ---> e213e84d8157 06:22:54 Step 3/23 : WORKDIR /device-sdk-go 06:22:54 ---> Running in fbe6fe017346 06:22:54 Removing intermediate container fbe6fe017346 06:22:54 ---> 68bf8a2cc4dc 06:22:54 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:22:54 Commit message: "test: add unit tests for SDK (#900)" 06:22:54 ---> Running in 9b36383ca79a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 06:22:55 Removing intermediate container 9b36383ca79a 06:22:55 ---> 1b095b8a561a 06:22:55 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:22:55 ---> Running in 5c64e1127bbb [Pipeline] script [Pipeline] { [Pipeline] sh 06:22:56 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:22:56 Removing intermediate container 5c64e1127bbb 06:22:56 ---> 70a02bc92896 06:22:56 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:22:56 ---> Running in 32737be9c7d8 06:22:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:22:57 + + true 06:22:57 sudo service docker restart 06:22:57 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:22:59 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:22:59 provisioning config files... 06:22:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/158@tmp/config8829050861451022134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:23:00 OK: 150 MiB in 46 packages 06:23:00 ---> docker-login.sh 06:23:00 nexus3.edgexfoundry.org:10001 06:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:00 Removing intermediate container 32737be9c7d8 06:23:00 ---> 6665680d7df8 06:23:00 Step 7/23 : COPY . . 06:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:01 Configure a credential helper to remove this warning. See 06:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:01 06:23:01 Login Succeeded 06:23:01 nexus3.edgexfoundry.org:10002 06:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:01 Configure a credential helper to remove this warning. See 06:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:01 06:23:01 Login Succeeded 06:23:01 nexus3.edgexfoundry.org:10003 06:23:01 ---> 3d96f6872bc6 06:23:01 Step 8/23 : RUN go mod download 06:23:01 ---> Running in e7302eaee953 06:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:02 Configure a credential helper to remove this warning. See 06:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:02 06:23:02 Login Succeeded 06:23:02 nexus3.edgexfoundry.org:10004 06:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:03 Configure a credential helper to remove this warning. See 06:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:03 06:23:03 Login Succeeded 06:23:03 docker.io 06:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:23:03 Removing intermediate container e7302eaee953 06:23:03 ---> 111625e5fdc7 06:23:03 Step 9/23 : RUN make build 06:23:03 ---> Running in aaccaa99ddbc 06:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:23:03 Configure a credential helper to remove this warning. See 06:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:23:03 06:23:03 Login Succeeded 06:23:03 ---> docker-login.sh ends [Pipeline] } 06:23:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:23:03 ========================================================= 06:23:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 06:23:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:23:04 + 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 . 06:23:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.53" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:23:04 Sending build context to Docker daemon 2.525MB 06:23:04 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:23:04 Step 2/8 : FROM ${BASE} 06:23:04 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:23:04 595b0fe564bb: Pulling fs layer 06:23:04 7186ed65a4f7: Pulling fs layer 06:23:04 316046926c0a: Pulling fs layer 06:23:04 4ebd0625c992: Pulling fs layer 06:23:04 207e8628e3a3: Pulling fs layer 06:23:04 c791037a9be2: Pulling fs layer 06:23:04 ffd874e62e21: Pulling fs layer 06:23:04 4ebd0625c992: Waiting 06:23:04 207e8628e3a3: Waiting 06:23:04 c791037a9be2: Waiting 06:23:04 ffd874e62e21: Waiting 06:23:04 316046926c0a: Verifying Checksum 06:23:04 316046926c0a: Download complete 06:23:04 7186ed65a4f7: Verifying Checksum 06:23:04 7186ed65a4f7: Download complete 06:23:04 207e8628e3a3: Verifying Checksum 06:23:04 207e8628e3a3: Download complete 06:23:04 c791037a9be2: Download complete 06:23:04 595b0fe564bb: Download complete 06:23:05 595b0fe564bb: Pull complete 06:23:06 7186ed65a4f7: Pull complete 06:23:06 316046926c0a: Pull complete 06:23:06 ffd874e62e21: Verifying Checksum 06:23:06 ffd874e62e21: Download complete 06:23:08 4ebd0625c992: Verifying Checksum 06:23:08 4ebd0625c992: Download complete 06:23:18 4ebd0625c992: Pull complete 06:23:18 207e8628e3a3: Pull complete 06:23:19 c791037a9be2: Pull complete 06:23:22 ffd874e62e21: Pull complete 06:23:22 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 06:23:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 06:23:22 ---> cfc18b08335c 06:23:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:23:22 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:23:22 Removing intermediate container aaccaa99ddbc 06:23:22 ---> 6e05a6e9312a 06:23:22 Step 10/23 : FROM alpine:3.12 06:23:22 3.12: Pulling from library/alpine 06:23:22 339de151aab4: Pulling fs layer 06:23:23 339de151aab4: Verifying Checksum 06:23:23 339de151aab4: Download complete 06:23:23 339de151aab4: Pull complete 06:23:23 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:23:23 Status: Downloaded newer image for alpine:3.12 06:23:23 ---> 13621d1b12d4 06:23:23 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:23:23 ---> Running in d1d07afb7fe8 06:23:24 Removing intermediate container d1d07afb7fe8 06:23:24 ---> f1389b42e943 06:23:24 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:23:24 ---> Running in 949c7f573a4d 06:23:25 ---> Running in 25bf93966c7f 06:23:25 Removing intermediate container 25bf93966c7f 06:23:25 ---> 45a3e902d79f 06:23:25 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:23:25 ---> Running in 91166e43e6ba 06:23:26 Removing intermediate container 949c7f573a4d 06:23:26 ---> 96e6d73406f2 06:23:26 Step 13/23 : RUN apk add --update --no-cache zeromq 06:23:26 ---> Running in fcd9cc06c836 06:23:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:23:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:23:28 Removing intermediate container 91166e43e6ba 06:23:28 ---> 68068cf9871f 06:23:28 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:23:28 ---> Running in 1437d6d57349 06:23:28 (1/5) Installing libgcc (9.3.0-r2) 06:23:28 (2/5) Installing libsodium (1.0.18-r0) 06:23:29 (3/5) Installing libstdc++ (9.3.0-r2) 06:23:29 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:23:30 (4/5) Installing libzmq (4.3.3-r0) 06:23:30 (5/5) Installing zeromq (4.3.3-r0) 06:23:30 Executing busybox-1.31.1-r20.trigger 06:23:30 OK: 8 MiB in 19 packages 06:23:31 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:23:31 Removing intermediate container fcd9cc06c836 06:23:31 ---> dfc5dd8e5304 06:23:31 Step 14/23 : WORKDIR / 06:23:31 ---> Running in 1b11640a2cef 06:23:31 Removing intermediate container 1b11640a2cef 06:23:31 ---> 6128b4d5c2fc 06:23:31 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:23:32 ---> daa9216f3ff3 06:23:32 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:23:32 (1/6) Installing libc-dev (0.7.2-r3) 06:23:32 (2/6) Installing libsodium (1.0.18-r0) 06:23:32 ---> 1460d06038d3 06:23:32 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:23:33 ---> b9ea5f42871b 06:23:33 Step 18/23 : EXPOSE 49990 06:23:33 ---> Running in 8239d0ec226c 06:23:33 (3/6) Installing pkgconf (1.7.3-r0) 06:23:33 (4/6) Installing libsodium-dev (1.0.18-r0) 06:23:33 Removing intermediate container 8239d0ec226c 06:23:33 ---> f3270521270d 06:23:33 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:23:33 ---> Running in 04d72eaa9599 06:23:33 (5/6) Installing libzmq (4.3.3-r1) 06:23:33 (6/6) Installing zeromq-dev (4.3.3-r1) 06:23:34 Executing busybox-1.32.1-r6.trigger 06:23:34 OK: 139 MiB in 46 packages 06:23:34 Removing intermediate container 04d72eaa9599 06:23:34 ---> 81bed1d74eeb 06:23:34 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:23:34 ---> Running in 43827e676400 06:23:35 Removing intermediate container 43827e676400 06:23:35 ---> dcd458f69531 06:23:35 Step 21/23 : LABEL arch=amd64 06:23:35 ---> Running in 72c5f2bffd45 06:23:35 Removing intermediate container 72c5f2bffd45 06:23:35 ---> b3941f8cc506 06:23:35 Step 22/23 : LABEL git_sha=c59eaec4927ead084ac23e2dc62563ecf0e6da75 06:23:35 ---> Running in ee2b61c84ce4 06:23:35 Removing intermediate container ee2b61c84ce4 06:23:35 ---> da95417123a4 06:23:35 Step 23/23 : LABEL version=2.0.0-dev.53 06:23:35 ---> Running in 564a7ae39458 06:23:35 Removing intermediate container 1437d6d57349 06:23:35 ---> b674f5ddee64 06:23:35 Step 6/8 : WORKDIR /device-sdk-go 06:23:35 Removing intermediate container 564a7ae39458 06:23:35 ---> f1cefd35fedc 06:23:35 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:23:35 Successfully built f1cefd35fedc 06:23:35 Successfully tagged docker-device-sdk-simple:latest 06:23:35 ---> Running in 26731be81ba9 [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 06:23:36 Removing intermediate container 26731be81ba9 06:23:36 ---> 90a104ce725a 06:23:36 Step 7/8 : COPY . . 06:23:36 ---> job-cost.sh 06:23:36 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6JTl 06:23:37 ---> 23aa484e7bc8 06:23:37 Step 8/8 : RUN go mod download 06:23:37 ---> Running in 4323ac9832dc 06:23:54 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:24:04 Removing intermediate container 4323ac9832dc 06:24:04 ---> 62a43fa075d0 06:24:04 Successfully built 62a43fa075d0 06:24:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:24:04 + docker inspect -f . ci-base-image-arm64 06:24:04 . [Pipeline] withDockerContainer 06:24:05 prd-ubuntu18.04-docker-arm64-4c-16g-4021 does not seem to be running inside a container 06:24:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/158 -v /w/workspace/device-sdk-go/158:/w/workspace/device-sdk-go/158:rw,z -v /w/workspace/device-sdk-go/158@tmp:/w/workspace/device-sdk-go/158@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 06:24:06 $ docker top 858afde0a407547dbbfbbe4e7bb1dc14837bc8526343e81e2d9472d9856f3725 -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:07 + go version 06:24:07 go version go1.16.3 linux/arm64 [Pipeline] } 06:24:07 $ docker stop --time=1 858afde0a407547dbbfbbe4e7bb1dc14837bc8526343e81e2d9472d9856f3725 06:24:09 $ docker rm -f 858afde0a407547dbbfbbe4e7bb1dc14837bc8526343e81e2d9472d9856f3725 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:24:10 + docker inspect -f . ci-base-image-arm64 06:24:10 . [Pipeline] withDockerContainer 06:24:10 prd-ubuntu18.04-docker-arm64-4c-16g-4021 does not seem to be running inside a container 06:24:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/158 -v /w/workspace/device-sdk-go/158:/w/workspace/device-sdk-go/158:rw,z -v /w/workspace/device-sdk-go/158@tmp:/w/workspace/device-sdk-go/158@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 06:24:12 $ docker top 2de95fc75af47891c498208819bef87b0eb42b1cc00b28713b85af4be780e2dd -eo pid,comm [Pipeline] { [Pipeline] sh 06:24:13 + go mod tidy [Pipeline] sh 06:24:14 + make test 06:24:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:24:27 lf-activate-venv(): INFO: Adding /tmp/venv-6JTl/bin to PATH 06:24:27 INFO: No Stack... 06:24:27 INFO: Retrieving Pricing Info for: v1-standard-2 06:24:27 INFO: Archiving Costs [Pipeline] sh 06:24:27 + cat /w/workspace/device-sdk-go/158/archives/cost.csv 06:24:27 + cut -d, -f6 [Pipeline] lock 06:24:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-158-stack-cost] 06:24:27 Resource [jenkins-edgexfoundry-device-sdk-go-master-158-stack-cost] did not exist. Created. 06:24:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:24:27 + echo total: 0.029999999329447746 [Pipeline] stash 06:24:28 Stashed 1 file(s) [Pipeline] } 06:24:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-158-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:24:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:25:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:25:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:25:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:25:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.178s coverage: 25.4% of statements 06:25:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:25:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.177s coverage: 28.1% of statements 06:25:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.207s coverage: 78.9% of statements 06:25:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.175s coverage: 10.7% of statements 06:25:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:25:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:25:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:25:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.268s coverage: 30.2% of statements 06:25:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:25:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 06:25:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:25:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:25:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.348s coverage: 58.4% of statements 06:26:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.116s coverage: 89.2% of statements 06:26:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:26:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 5.0% of statements 06:26:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:26:01 GO111MODULE=on go vet ./... 06:26:58 gofmt -l . 06:26:58 [ "`gofmt -l .`" = "" ] 06:26:58 ./bin/test-attribution-txt.sh 06:26:58 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:26:58 $ docker stop --time=1 2de95fc75af47891c498208819bef87b0eb42b1cc00b28713b85af4be780e2dd 06:27:00 $ docker rm -f 2de95fc75af47891c498208819bef87b0eb42b1cc00b28713b85af4be780e2dd [Pipeline] // withDockerContainer [Pipeline] sh 06:27:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:27:01 Warning: overwriting stash ‘coverage-report’ 06:27:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:27:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:27:03 + ls -al . 06:27:03 total 248 06:27:03 drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:26 . 06:27:03 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:22 .. 06:27:03 -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:22 .dockerignore 06:27:03 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:22 .git 06:27:03 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:22 .github 06:27:03 -rw-rw-r-- 1 jenkins jenkins 138 May 10 06:22 .gitignore 06:27:03 -rw-rw-r-- 1 jenkins jenkins 987 May 10 06:22 Dockerfile.build 06:27:03 -rw-rw-r-- 1 jenkins jenkins 901 May 10 06:22 Jenkinsfile 06:27:03 -rw-rw-r-- 1 jenkins jenkins 11341 May 10 06:22 LICENSE 06:27:03 -rw-rw-r-- 1 jenkins jenkins 1022 May 10 06:22 Makefile 06:27:03 -rw-rw-r-- 1 jenkins jenkins 7652 May 10 06:22 README.md 06:27:03 -rw-rw-r-- 1 jenkins jenkins 6616 May 10 06:22 RELEASE-NOTES.txt 06:27:03 -rw-rw-r-- 1 jenkins jenkins 12 May 10 06:20 VERSION 06:27:03 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:22 bin 06:27:03 -rw-r--r-- 1 jenkins jenkins 124140 May 10 06:26 coverage.out 06:27:03 drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:22 example 06:27:03 -rw-r--r-- 1 jenkins jenkins 575 May 10 06:26 go.mod 06:27:03 -rw-r--r-- 1 jenkins jenkins 20904 May 10 06:24 go.sum 06:27:03 drwxrwxr-x 15 jenkins jenkins 4096 May 10 06:22 internal 06:27:03 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:22 openapi 06:27:03 drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:22 pkg 06:27:03 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:22 snap 06:27:03 -rw-rw-r-- 1 jenkins jenkins 222 May 10 06:22 version.go [Pipeline] isUnix [Pipeline] sh 06:27:03 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c59eaec4927ead084ac23e2dc62563ecf0e6da75 --label arch=arm64 --label version=2.0.0-dev.53 . 06:27:04 Sending build context to Docker daemon 2.65MB 06:27:04 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:27:04 Step 2/23 : FROM ${BASE} AS builder 06:27:04 ---> 62a43fa075d0 06:27:04 Step 3/23 : WORKDIR /device-sdk-go 06:27:04 ---> Running in 4dc5d47205aa 06:27:04 Removing intermediate container 4dc5d47205aa 06:27:04 ---> 900d8b6ccc0a 06:27:04 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:27:04 ---> Running in f3b1da291f65 06:27:05 Removing intermediate container f3b1da291f65 06:27:05 ---> 37cc671a0bcf 06:27:05 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:27:05 ---> Running in 017eb2091dab 06:27:07 Removing intermediate container 017eb2091dab 06:27:07 ---> 36c396dc8e40 06:27:07 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:27:07 ---> Running in aebd42f17154 06:27:08 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:27:10 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:27:11 OK: 139 MiB in 46 packages 06:27:13 Removing intermediate container aebd42f17154 06:27:13 ---> fae2da47fa51 06:27:13 Step 7/23 : COPY . . 06:27:14 ---> 01df50d77f6f 06:27:14 Step 8/23 : RUN go mod download 06:27:14 ---> Running in c938744f9135 06:27:17 Removing intermediate container c938744f9135 06:27:17 ---> c93368f2bdcd 06:27:17 Step 9/23 : RUN make build 06:27:17 ---> Running in b71f5f77347f 06:27:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.53" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:27:50 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:27:53 Removing intermediate container b71f5f77347f 06:27:53 ---> af05a9cb3509 06:27:53 Step 10/23 : FROM alpine:3.12 06:27:53 3.12: Pulling from library/alpine 06:27:53 d2f70382dc9a: Pulling fs layer 06:27:54 d2f70382dc9a: Verifying Checksum 06:27:54 d2f70382dc9a: Download complete 06:27:54 d2f70382dc9a: Pull complete 06:27:54 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:27:54 Status: Downloaded newer image for alpine:3.12 06:27:54 ---> 9852663dfa18 06:27:54 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:27:54 ---> Running in e375f8a43443 06:27:55 Removing intermediate container e375f8a43443 06:27:55 ---> 76fab454ad92 06:27:55 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:27:55 ---> Running in dcb5ec731423 06:27:57 Removing intermediate container dcb5ec731423 06:27:57 ---> ecdf55d39d52 06:27:57 Step 13/23 : RUN apk add --update --no-cache zeromq 06:27:57 ---> Running in d5ae018d48bc 06:27:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:28:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:28:01 (1/5) Installing libgcc (9.3.0-r2) 06:28:01 (2/5) Installing libsodium (1.0.18-r0) 06:28:01 (3/5) Installing libstdc++ (9.3.0-r2) 06:28:01 (4/5) Installing libzmq (4.3.3-r0) 06:28:02 (5/5) Installing zeromq (4.3.3-r0) 06:28:02 Executing busybox-1.31.1-r20.trigger 06:28:02 OK: 8 MiB in 19 packages 06:28:03 Removing intermediate container d5ae018d48bc 06:28:03 ---> b684cd208ebe 06:28:03 Step 14/23 : WORKDIR / 06:28:03 ---> Running in 8dc49ffc7d8a 06:28:04 Removing intermediate container 8dc49ffc7d8a 06:28:04 ---> 00dac6f8545d 06:28:04 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:28:05 ---> bbfcf823a092 06:28:05 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:28:06 ---> cd83a522bcd9 06:28:06 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:28:07 ---> 3d73a8baf125 06:28:07 Step 18/23 : EXPOSE 49990 06:28:07 ---> Running in d25ac78e321c 06:28:07 Removing intermediate container d25ac78e321c 06:28:07 ---> ec7790215361 06:28:07 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:28:07 ---> Running in 8e7361c7509e 06:28:08 Removing intermediate container 8e7361c7509e 06:28:08 ---> 8b88a622035c 06:28:08 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:28:08 ---> Running in b329663a72ac 06:28:09 Removing intermediate container b329663a72ac 06:28:09 ---> 97a0a5f665ad 06:28:09 Step 21/23 : LABEL arch=arm64 06:28:09 ---> Running in 9d6040ffe235 06:28:09 Removing intermediate container 9d6040ffe235 06:28:09 ---> 14e493aa3da1 06:28:09 Step 22/23 : LABEL git_sha=c59eaec4927ead084ac23e2dc62563ecf0e6da75 06:28:09 ---> Running in 8a7eddd9bdd4 06:28:10 Removing intermediate container 8a7eddd9bdd4 06:28:10 ---> 605e3f2ff5b7 06:28:10 Step 23/23 : LABEL version=2.0.0-dev.53 06:28:10 ---> Running in 478f871eff68 06:28:10 Removing intermediate container 478f871eff68 06:28:10 ---> 0930d0c1f364 06:28:10 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:28:11 Successfully built 0930d0c1f364 06:28:11 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:28:11 ---> job-cost.sh 06:28:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xIXj 06:28:50 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:30:27 lf-activate-venv(): INFO: Adding /tmp/venv-xIXj/bin to PATH 06:30:27 INFO: No Stack... 06:30:27 INFO: Retrieving Pricing Info for: lf-standard-4 06:30:27 INFO: Archiving Costs [Pipeline] sh 06:30:27 + cat /w/workspace/device-sdk-go/158/archives/cost.csv 06:30:27 + cut -d, -f6 [Pipeline] lock 06:30:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-158-stack-cost] 06:30:27 Resource [jenkins-edgexfoundry-device-sdk-go-master-158-stack-cost] did not exist. Created. 06:30:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:30:28 /w/workspace/device-sdk-go/158@tmp/durable-c3576291/script.sh: 1: /w/workspace/device-sdk-go/158@tmp/durable-c3576291/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:30:28 + echo total: 0.20999999344348907 [Pipeline] stash 06:30:28 Warning: overwriting stash ‘stack-cost’ 06:30:28 Stashed 1 file(s) [Pipeline] } 06:30:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-158-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 06:30:29 provisioning config files... 06:30:29 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3347135398619157359tmp [Pipeline] { [Pipeline] sh 06:30:29 + set +x 06:30:29 + curl -s https://codecov.io/bash 06:30:29 + bash -s -- 06:30:30 06:30:30 _____ _ 06:30:30 / ____| | | 06:30:30 | | ___ __| | ___ ___ _____ __ 06:30:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:30:30 | |___| (_) | (_| | __/ (_| (_) \ V / 06:30:30 \_____\___/ \__,_|\___|\___\___/ \_/ 06:30:30 Bash-1.0.2 06:30:30 06:30:30 06:30:30 ==> git version 2.24.3 found 06:30:30 ==> 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 06:30:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:30:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:30:30 ==> Jenkins CI detected. 06:30:30 project root: . 06:30:30 --> token set from env 06:30:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:30:30 ==> Running gcov in . (disable via -X gcov) 06:30:30 ==> Python coveragepy not found 06:30:30 ==> Searching for coverage reports in: 06:30:30 + . 06:30:30 -> Found 1 reports 06:30:30 ==> Detecting git/mercurial file structure 06:30:30 ==> Reading reports 06:30:30 + ./coverage.out bytes=124140 06:30:30 ==> Appending adjustments 06:30:30 https://docs.codecov.io/docs/fixing-reports 06:30:30 + Found adjustments 06:30:30 ==> Gzipping contents 06:30:30 16K /tmp/codecov.bxvGjF.gz 06:30:30 ==> Uploading reports 06:30:30 url: https://codecov.io 06:30:30 query: branch=master&commit=c59eaec4927ead084ac23e2dc62563ecf0e6da75&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:30:30 -> Pinging Codecov 06:30:30 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=c59eaec4927ead084ac23e2dc62563ecf0e6da75&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:30:31 -> Uploading to 06:30:31 https://storage.googleapis.com/codecov/v4/raw/2021-05-10/7E55EF52A471D76F132DFD9A03CDDE97/c59eaec4927ead084ac23e2dc62563ecf0e6da75/dfe2b629-d965-4a31-a5bb-e3eb768032b9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T063031Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8ec12264b4b8ca19d33879db8cd677282b0f8bc319bf95d1cf73f7e1db2302c 06:30:31 % Total % Received % Xferd Average Speed Time Time Time Current 06:30:31 Dload Upload Total Spent Left Speed 06:30:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16190 0 0 100 16190 0 37982 --:--:-- --:--:-- --:--:-- 38094 06:30:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c59eaec4927ead084ac23e2dc62563ecf0e6da75 [Pipeline] } 06:30:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:30:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:30:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:30:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:30:33 06:30:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:30:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:30:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:30:33 188c0c94c7c5: Pulling fs layer 06:30:33 0ef7d3d256c8: Pulling fs layer 06:30:33 de9db76c5a1d: Pulling fs layer 06:30:33 0eba1c9be4d2: Pulling fs layer 06:30:33 0d57e429df01: Pulling fs layer 06:30:33 4e4be7b47b0d: Pulling fs layer 06:30:33 e1f770b5df2f: Pulling fs layer 06:30:33 85a0685a4137: Pulling fs layer 06:30:33 0d57e429df01: Waiting 06:30:33 4e4be7b47b0d: Waiting 06:30:33 e1f770b5df2f: Waiting 06:30:33 85a0685a4137: Waiting 06:30:33 0eba1c9be4d2: Waiting 06:30:33 de9db76c5a1d: Verifying Checksum 06:30:33 de9db76c5a1d: Download complete 06:30:33 0ef7d3d256c8: Verifying Checksum 06:30:33 0ef7d3d256c8: Download complete 06:30:33 0d57e429df01: Verifying Checksum 06:30:33 0d57e429df01: Download complete 06:30:33 4e4be7b47b0d: Verifying Checksum 06:30:33 4e4be7b47b0d: Download complete 06:30:33 188c0c94c7c5: Verifying Checksum 06:30:33 188c0c94c7c5: Download complete 06:30:34 188c0c94c7c5: Pull complete 06:30:34 0ef7d3d256c8: Pull complete 06:30:35 de9db76c5a1d: Pull complete 06:30:35 e1f770b5df2f: Verifying Checksum 06:30:35 e1f770b5df2f: Download complete 06:30:38 0eba1c9be4d2: Verifying Checksum 06:30:38 0eba1c9be4d2: Download complete 06:30:39 85a0685a4137: Verifying Checksum 06:30:39 85a0685a4137: Download complete 06:30:47 0eba1c9be4d2: Pull complete 06:30:47 0d57e429df01: Pull complete 06:30:47 4e4be7b47b0d: Pull complete 06:30:48 e1f770b5df2f: Pull complete 06:30:57 85a0685a4137: Pull complete 06:30:57 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:30:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:30:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:30:57 prd-centos7-docker-4c-2g-4017 does not seem to be running inside a container 06:30:57 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:30:58 $ docker top 88a093e1d5b61bddc7294fb154e35960af3d7610156096cd9d3039da257ab8ae -eo pid,comm [Pipeline] { [Pipeline] echo 06:30:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:30:59 + set -o pipefail 06:30:59 + snyk monitor '--org=edgex-jenkins' 06:31:07 06:31:07 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... 06:31:07 06:31:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/ec2c0e2b-ab45-424c-812a-9cb100cbae41 06:31:07 06:31:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:31:07 06:31:07 [Pipeline] } 06:31:07 $ docker stop --time=1 88a093e1d5b61bddc7294fb154e35960af3d7610156096cd9d3039da257ab8ae 06:31:10 $ docker rm -f 88a093e1d5b61bddc7294fb154e35960af3d7610156096cd9d3039da257ab8ae [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 06:31:11 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:31:11 provisioning config files... 06:31:11 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7727068998172247110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:31:12 --> edgex-publish-swagger.sh 06:31:12 === Publish openapi/v1 API === 06:31:12 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 06:31:12 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] 06:31:12 % Total % Received % Xferd Average Speed Time Time Time Current 06:31:12 Dload Upload Total Spent Left Speed 06:31:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 19691 0:00:01 0:00:01 --:--:-- 19729 100 19947 0 0 100 19947 0 19687 0:00:01 0:00:01 --:--:-- 19710 06:31:12 06:31:12 06:31:12 === Publish openapi/v2 API === 06:31:12 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 06:31:12 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] 06:31:12 % Total % Received % Xferd Average Speed Time Time Time Current 06:31:12 Dload Upload Total Spent Left Speed 06:31:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 73728 --:--:-- --:--:-- --:--:-- 73757 06:31:13 06:31:13 [Pipeline] } 06:31:13 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 06:31:14 + git log --format=format:%s -1 c59eaec4927ead084ac23e2dc62563ecf0e6da75 [Pipeline] isUnix [Pipeline] sh 06:31:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:31:14 . [Pipeline] withDockerContainer 06:31:14 prd-centos7-docker-4c-2g-4017 does not seem to be running inside a container 06:31:14 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:31:15 $ docker top b06f12eb74e25c512ccf1e7839429cc400b297e2c78431f53fc7a33b9e8fb3f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:31:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:15 [ssh-agent] Looking for ssh-agent implementation... 06:31:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:16 $ docker exec b06f12eb74e25c512ccf1e7839429cc400b297e2c78431f53fc7a33b9e8fb3f1 ssh-agent 06:31:16 SSH_AUTH_SOCK=/tmp/ssh-LDjITxrXMIME/agent.11 06:31:16 SSH_AGENT_PID=17 06:31:16 Running ssh-add (command line suppressed) 06:31:16 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9061772372215715528.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9061772372215715528.key) 06:31:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:16 + git semver tag 06:31:16 # -> Open(): unable to determine branch for HEAD 06:31:16 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 06:31:16 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 06:31:16 # $SEMVER_REMOTE_NAME = origin 06:31:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:31:16 # $SEMVER_USER_NAME = edgex-jenkins 06:31:16 # $SEMVER_BRANCH = master 06:31:16 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 06:31:16 # c59eaec4927ead084ac23e2dc62563ecf0e6da75 HEAD 06:31:17 # -> Force: false 06:31:17 # 05d003aa3e74e168077c87361168981910db19c4 refs/tags/v2.0.0-dev.53 [Pipeline] } 06:31:17 $ docker exec --env ******** --env ******** b06f12eb74e25c512ccf1e7839429cc400b297e2c78431f53fc7a33b9e8fb3f1 ssh-agent -k 06:31:17 unset SSH_AUTH_SOCK; 06:31:17 unset SSH_AGENT_PID; 06:31:17 echo Agent pid 17 killed; 06:31:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:31:17 + git semver [Pipeline] } 06:31:17 $ docker stop --time=1 b06f12eb74e25c512ccf1e7839429cc400b297e2c78431f53fc7a33b9e8fb3f1 06:31:19 $ docker rm -f b06f12eb74e25c512ccf1e7839429cc400b297e2c78431f53fc7a33b9e8fb3f1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:31:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:31:19 06:31:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:31:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:31:20 0.23.1-centos7: Pulling from edgex-lftools 06:31:20 ab5ef0e58194: Pulling fs layer 06:31:20 9712f1f96733: Pulling fs layer 06:31:20 63f879dbbcfc: Pulling fs layer 06:31:20 0d9ebad4ef96: Pulling fs layer 06:31:20 e9a5061849ea: Pulling fs layer 06:31:20 d747dcd14b5f: Pulling fs layer 06:31:20 2de7ff778b66: Pulling fs layer 06:31:20 e9a5061849ea: Waiting 06:31:20 0d9ebad4ef96: Waiting 06:31:20 d747dcd14b5f: Waiting 06:31:20 2de7ff778b66: Waiting 06:31:20 9712f1f96733: Verifying Checksum 06:31:20 9712f1f96733: Download complete 06:31:21 63f879dbbcfc: Verifying Checksum 06:31:21 63f879dbbcfc: Download complete 06:31:21 e9a5061849ea: Verifying Checksum 06:31:21 e9a5061849ea: Download complete 06:31:21 d747dcd14b5f: Verifying Checksum 06:31:21 d747dcd14b5f: Download complete 06:31:22 2de7ff778b66: Verifying Checksum 06:31:22 2de7ff778b66: Download complete 06:31:22 0d9ebad4ef96: Verifying Checksum 06:31:22 0d9ebad4ef96: Download complete 06:31:23 ab5ef0e58194: Verifying Checksum 06:31:23 ab5ef0e58194: Download complete 06:31:28 ab5ef0e58194: Pull complete 06:31:28 9712f1f96733: Pull complete 06:31:31 63f879dbbcfc: Pull complete 06:31:40 0d9ebad4ef96: Pull complete 06:31:42 e9a5061849ea: Pull complete 06:31:42 d747dcd14b5f: Pull complete 06:31:45 2de7ff778b66: Pull complete 06:31:45 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:31:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:31:45 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:31:45 prd-centos7-docker-4c-2g-4017 does not seem to be running inside a container 06:31:45 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:31:49 $ docker top d3e1f1cbe91b2231cc37bbb5a5317727308d7bbd65b34806cad70b786172183b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:31:49 provisioning config files... 06:31:49 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2305149472245512657tmp 06:31:49 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1732900279784683431tmp 06:31:49 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5195997721758510889tmp [Pipeline] { [Pipeline] echo 06:31:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:31:50 ---> sigul-configuration.sh 06:31:50 gpg: directory `/root/.gnupg' created 06:31:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:31:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:31:50 gpg: keyring `/root/.gnupg/secring.gpg' created 06:31:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:31:50 gpg: CAST5 encrypted data 06:31:50 gpg: encrypted with 1 passphrase 06:31:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:31:51 + mkdir /home/jenkins 06:31:51 + mkdir /home/jenkins/sigul [Pipeline] sh 06:31:51 + 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 06:31:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:31:52 ---> sigul-install.sh 06:32:05 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 06:32:06 + git tag --list 06:32:06 0.7.1 06:32:06 delhi-tag 06:32:06 v1.0.0 06:32:06 v1.1.0 06:32:06 v1.1.1 06:32:06 v1.1.2 06:32:06 v1.2.0 06:32:06 v1.2.1 06:32:06 v1.2.2 06:32:06 v1.2.3 06:32:06 v1.3.0 06:32:06 v1.4.0 06:32:06 v2.0.0-dev.1 06:32:06 v2.0.0-dev.10 06:32:06 v2.0.0-dev.11 06:32:06 v2.0.0-dev.12 06:32:06 v2.0.0-dev.13 06:32:06 v2.0.0-dev.14 06:32:06 v2.0.0-dev.15 06:32:06 v2.0.0-dev.16 06:32:06 v2.0.0-dev.17 06:32:06 v2.0.0-dev.18 06:32:06 v2.0.0-dev.19 06:32:06 v2.0.0-dev.2 06:32:06 v2.0.0-dev.20 06:32:06 v2.0.0-dev.21 06:32:06 v2.0.0-dev.22 06:32:06 v2.0.0-dev.23 06:32:06 v2.0.0-dev.24 06:32:06 v2.0.0-dev.25 06:32:06 v2.0.0-dev.26 06:32:06 v2.0.0-dev.27 06:32:06 v2.0.0-dev.28 06:32:06 v2.0.0-dev.29 06:32:06 v2.0.0-dev.3 06:32:06 v2.0.0-dev.30 06:32:06 v2.0.0-dev.31 06:32:06 v2.0.0-dev.32 06:32:06 v2.0.0-dev.33 06:32:06 v2.0.0-dev.34 06:32:06 v2.0.0-dev.35 06:32:06 v2.0.0-dev.36 06:32:06 v2.0.0-dev.37 06:32:06 v2.0.0-dev.38 06:32:06 v2.0.0-dev.39 06:32:06 v2.0.0-dev.4 06:32:06 v2.0.0-dev.40 06:32:06 v2.0.0-dev.41 06:32:06 v2.0.0-dev.42 06:32:06 v2.0.0-dev.43 06:32:06 v2.0.0-dev.44 06:32:06 v2.0.0-dev.45 06:32:06 v2.0.0-dev.46 06:32:06 v2.0.0-dev.47 06:32:06 v2.0.0-dev.48 06:32:06 v2.0.0-dev.49 06:32:06 v2.0.0-dev.5 06:32:06 v2.0.0-dev.50 06:32:06 v2.0.0-dev.51 06:32:06 v2.0.0-dev.52 06:32:06 v2.0.0-dev.53 06:32:06 v2.0.0-dev.6 06:32:06 v2.0.0-dev.7 06:32:06 v2.0.0-dev.8 06:32:06 v2.0.0-dev.9 [Pipeline] sh 06:32:06 + lftools sign git-tag v2.0.0-dev.53 06:32:08 Signing Git tag with Sigul... 06:32:08 Signing v2.0.0-dev.53 [Pipeline] echo 06:32:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:32:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:32:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:32:10 $ docker stop --time=1 d3e1f1cbe91b2231cc37bbb5a5317727308d7bbd65b34806cad70b786172183b 06:32:12 $ docker rm -f d3e1f1cbe91b2231cc37bbb5a5317727308d7bbd65b34806cad70b786172183b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 06:32:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:32:14 . [Pipeline] withDockerContainer 06:32:14 prd-centos7-docker-4c-2g-4017 does not seem to be running inside a container 06:32:14 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:32:16 $ docker top b6331a706a61e27aa19d6da2995dc04d1ca98717b8f92e892bf61faac9121a23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:32:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:32:16 [ssh-agent] Looking for ssh-agent implementation... 06:32:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:32:17 $ docker exec b6331a706a61e27aa19d6da2995dc04d1ca98717b8f92e892bf61faac9121a23 ssh-agent 06:32:18 SSH_AUTH_SOCK=/tmp/ssh-oX7LWADT6NJb/agent.11 06:32:18 SSH_AGENT_PID=16 06:32:18 Running ssh-add (command line suppressed) 06:32:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5611147336279459246.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5611147336279459246.key) 06:32:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:32:19 + git semver bump pre 06:32:19 # -> Open(): unable to determine branch for HEAD 06:32:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 06:32:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 06:32:19 # $SEMVER_REMOTE_NAME = origin 06:32:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:32:19 # $SEMVER_USER_NAME = edgex-jenkins 06:32:19 # $SEMVER_BRANCH = master 06:32:19 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 06:32:19 2.0.0-dev.54 [Pipeline] } 06:32:19 $ docker exec --env ******** --env ******** b6331a706a61e27aa19d6da2995dc04d1ca98717b8f92e892bf61faac9121a23 ssh-agent -k 06:32:20 unset SSH_AUTH_SOCK; 06:32:20 unset SSH_AGENT_PID; 06:32:20 echo Agent pid 16 killed; 06:32:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:32:21 + git semver [Pipeline] } 06:32:21 $ docker stop --time=1 b6331a706a61e27aa19d6da2995dc04d1ca98717b8f92e892bf61faac9121a23 06:32:23 $ docker rm -f b6331a706a61e27aa19d6da2995dc04d1ca98717b8f92e892bf61faac9121a23 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 06:32:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:32:23 . [Pipeline] withDockerContainer 06:32:24 prd-centos7-docker-4c-2g-4017 does not seem to be running inside a container 06:32:24 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:32:25 $ docker top 2c7251e879036e2646254b375d06527cf76109039199f56eb0b9a5ae318b71ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:32:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:32:26 [ssh-agent] Looking for ssh-agent implementation... 06:32:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:32:26 $ docker exec 2c7251e879036e2646254b375d06527cf76109039199f56eb0b9a5ae318b71ea ssh-agent 06:32:27 SSH_AUTH_SOCK=/tmp/ssh-JSgRHBCAgk6B/agent.11 06:32:27 SSH_AGENT_PID=16 06:32:27 Running ssh-add (command line suppressed) 06:32:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6789452253481431107.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6789452253481431107.key) 06:32:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:32:28 + git semver push 06:32:28 # -> Open(): unable to determine branch for HEAD 06:32:28 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 06:32:28 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 06:32:28 # $SEMVER_REMOTE_NAME = origin 06:32:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:32:28 # $SEMVER_USER_NAME = edgex-jenkins 06:32:28 # $SEMVER_BRANCH = master 06:32:28 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 06:32:35 $ docker exec --env ******** --env ******** 2c7251e879036e2646254b375d06527cf76109039199f56eb0b9a5ae318b71ea ssh-agent -k 06:32:35 unset SSH_AUTH_SOCK; 06:32:35 unset SSH_AGENT_PID; 06:32:35 echo Agent pid 16 killed; 06:32:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:32:36 + git semver [Pipeline] } 06:32:36 $ docker stop --time=1 2c7251e879036e2646254b375d06527cf76109039199f56eb0b9a5ae318b71ea 06:32:38 $ docker rm -f 2c7251e879036e2646254b375d06527cf76109039199f56eb0b9a5ae318b71ea [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 06:32:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:32:40 ---> package-listing.sh 06:32:40 ++ facter osfamily 06:32:40 ++ tr '[:upper:]' '[:lower:]' 06:32:40 + OS_FAMILY=redhat 06:32:40 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 06:32:40 + START_PACKAGES=/tmp/packages_start.txt 06:32:40 + END_PACKAGES=/tmp/packages_end.txt 06:32:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:32:40 + PACKAGES=/tmp/packages_start.txt 06:32:40 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 06:32:40 + PACKAGES=/tmp/packages_end.txt 06:32:40 + case "${OS_FAMILY}" in 06:32:40 + rpm -qa 06:32:40 + sort 06:32:47 + '[' -f /tmp/packages_start.txt ']' 06:32:47 + '[' -f /tmp/packages_end.txt ']' 06:32:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:32:47 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 06:32:47 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 06:32:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 06:32:47 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 06:32:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:32:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:32:48 06:32:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:32:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:32:49 alpine: Pulling from edgex-lftools-log-publisher 06:32:49 df20fa9351a1: Pulling fs layer 06:32:49 36b3adc4ff6f: Pulling fs layer 06:32:49 8ad3a11d3b57: Pulling fs layer 06:32:49 46f8f816bc3b: Pulling fs layer 06:32:49 93b61091891f: Pulling fs layer 06:32:49 93b9cdb0e59b: Pulling fs layer 06:32:49 5e14af77c1be: Pulling fs layer 06:32:49 01666e4c0597: Pulling fs layer 06:32:49 aa168da1d23b: Pulling fs layer 06:32:49 93b61091891f: Waiting 06:32:49 93b9cdb0e59b: Waiting 06:32:49 5e14af77c1be: Waiting 06:32:49 01666e4c0597: Waiting 06:32:49 aa168da1d23b: Waiting 06:32:49 46f8f816bc3b: Waiting 06:32:49 36b3adc4ff6f: Download complete 06:32:49 46f8f816bc3b: Download complete 06:32:49 df20fa9351a1: Download complete 06:32:49 93b9cdb0e59b: Verifying Checksum 06:32:49 93b9cdb0e59b: Download complete 06:32:49 93b61091891f: Verifying Checksum 06:32:49 93b61091891f: Download complete 06:32:49 5e14af77c1be: Verifying Checksum 06:32:49 5e14af77c1be: Download complete 06:32:49 01666e4c0597: Verifying Checksum 06:32:49 01666e4c0597: Download complete 06:32:50 8ad3a11d3b57: Verifying Checksum 06:32:50 8ad3a11d3b57: Download complete 06:32:50 df20fa9351a1: Pull complete 06:32:51 36b3adc4ff6f: Pull complete 06:32:53 8ad3a11d3b57: Pull complete 06:32:53 46f8f816bc3b: Pull complete 06:32:54 93b61091891f: Pull complete 06:32:54 93b9cdb0e59b: Pull complete 06:32:54 5e14af77c1be: Pull complete 06:32:55 01666e4c0597: Pull complete 06:32:56 aa168da1d23b: Verifying Checksum 06:32:56 aa168da1d23b: Download complete 06:33:09 aa168da1d23b: Pull complete 06:33:09 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:33:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:33:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:33:10 prd-centos7-docker-4c-2g-4017 does not seem to be running inside a container 06:33:10 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:33:13 $ docker top 6c89256c0dd4fe706cfd1e4e3645c0c52588f87c78dd69474b04e9a867a40ea1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:14 + touch /tmp/pre-build-complete [Pipeline] sh 06:33:15 + mkdir -p /var/log/sa [Pipeline] sh 06:33:16 + ls /var/log/sa-host 06:33:16 + sadf -c /var/log/sa-host/sa10 06:33:16 file_magic: OK 06:33:16 HZ: Using current value: 100 06:33:16 file_header: OK 06:33:16 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:33:16 Statistics: 06:33:16 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:33:16 File successfully converted to sysstat format version 12.2.1 06:33:16 + sadf -c /var/log/sa-host/sa23 06:33:16 file_magic: OK 06:33:16 HZ: Using current value: 100 06:33:16 file_header: OK 06:33:16 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:33:16 Statistics: 06:33:16 Hnuu...uuuununununu... 06:33:16 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:33:16 provisioning config files... 06:33:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6610454157093878456tmp [Pipeline] { [Pipeline] echo 06:33:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:33:17 ---> create-netrc.sh [Pipeline] } 06:33:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:33:17 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:33:18 ---> python-tools-install.sh [Pipeline] echo 06:33:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:33:18 ---> sudo-logs.sh 06:33:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:33:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:33:19 ---> job-cost.sh 06:33:19 lf-activate-venv: SKIPPING 06:33:19 DEBUG: total: 0.20999999344348907 06:33:19 INFO: Retrieving Stack Cost... 06:33:19 INFO: Retrieving Pricing Info for: v1-standard-2 06:33:20 INFO: Archiving Costs [Pipeline] echo 06:33:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:33:21 ---> logs-deploy.sh 06:33:21 lf-activate-venv: SKIPPING 06:33:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/158 06:33:21 INFO: archiving workspace using pattern(s): 06:33:23 Archives upload complete. 06:33:24 INFO: archiving logs to Nexus