Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d0df7b9da6961378affa4a44df784d03e7885d3e 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-16037 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 d0df7b9da6961378affa4a44df784d03e7885d3e (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 d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 Commit message: "Merge pull request #686 from weichou1229/issue-685" > git rev-list --no-walk d2188d43b05b3896e876a49d31725ed73587c144 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:37:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:37:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:37:36 ========================================================= 04:37:36 EdgeX Global Pipelines Version Info 04:37:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:37:38 ------------------- 04:37:38 stable info: 04:37:38 ------------------- 04:37:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:37:38 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 04:37:38 Message: update stable to v1.0.172 04:37:39 ------------------- 04:37:39 experimental info: 04:37:39 ------------------- 04:37:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:37:39 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 04:37:39 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:37:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:37:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:37:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:37:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:37:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:37:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 04:37:39 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 04:37:40 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 04:37:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:37:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:37:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:37:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 04:37:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:37:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:37:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:37:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:37:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:37:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:37:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:37:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:37:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:37:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 04:37:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:37:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:37:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:37:42 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 04:37:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 04:37:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 04:37:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 04:37:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0df7b9da6961378affa4a44df784d03e7885d3e [Pipeline] echo 04:37:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0df7b9 [Pipeline] echo 04:37:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:37:42 provisioning config files... 04:37:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config598054154942125304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:43 ---> docker-login.sh 04:37:43 nexus3.edgexfoundry.org:10001 04:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:43 Configure a credential helper to remove this warning. See 04:37:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:43 04:37:43 Login Succeeded 04:37:43 nexus3.edgexfoundry.org:10002 04:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:43 Configure a credential helper to remove this warning. See 04:37:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:43 04:37:43 Login Succeeded 04:37:43 nexus3.edgexfoundry.org:10003 04:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:44 Configure a credential helper to remove this warning. See 04:37:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:44 04:37:44 Login Succeeded 04:37:44 nexus3.edgexfoundry.org:10004 04:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:44 Configure a credential helper to remove this warning. See 04:37:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:44 04:37:44 Login Succeeded 04:37:44 docker.io 04:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:37:44 Configure a credential helper to remove this warning. See 04:37:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:37:44 04:37:44 Login Succeeded 04:37:44 ---> docker-login.sh ends [Pipeline] } 04:37:44 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 04:37:45 + git log --format=format:%s -1 d0df7b9da6961378affa4a44df784d03e7885d3e [Pipeline] echo 04:37:45 GIT_COMMIT: d0df7b9da6961378affa4a44df784d03e7885d3e, Commit Message: Merge pull request #686 from weichou1229/issue-685 [Pipeline] echo 04:37:45 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 04:37:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:37:46 04:37:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:37:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:37:46 latest: Pulling from edgex-devops/git-semver 04:37:46 31603596830f: Pulling fs layer 04:37:46 2a8b12db71e7: Pulling fs layer 04:37:46 6ca5941a6612: Pulling fs layer 04:37:46 ecc8261a40a4: Pulling fs layer 04:37:46 ecc8261a40a4: Waiting 04:37:46 2a8b12db71e7: Verifying Checksum 04:37:46 2a8b12db71e7: Download complete 04:37:47 31603596830f: Download complete 04:37:47 6ca5941a6612: Verifying Checksum 04:37:47 6ca5941a6612: Download complete 04:37:47 ecc8261a40a4: Verifying Checksum 04:37:47 ecc8261a40a4: Download complete 04:37:47 31603596830f: Pull complete 04:37:47 2a8b12db71e7: Pull complete 04:37:48 6ca5941a6612: Pull complete 04:37:48 ecc8261a40a4: Pull complete 04:37:48 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 04:37:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:37:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:37:48 prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container 04:37:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:37:51 $ docker top f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:37:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:37:51 [ssh-agent] Looking for ssh-agent implementation... 04:37:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:37:52 $ docker exec f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 ssh-agent 04:37:52 SSH_AUTH_SOCK=/tmp/ssh-DKUeYKMno9Aa/agent.11 04:37:52 SSH_AGENT_PID=16 04:37:52 Running ssh-add (command line suppressed) 04:37:52 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5755837646619444160.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5755837646619444160.key) 04:37:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:37:52 + git tag --points-at HEAD [Pipeline] } 04:37:52 $ docker exec --env ******** --env ******** f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 ssh-agent -k 04:37:52 unset SSH_AUTH_SOCK; 04:37:52 unset SSH_AGENT_PID; 04:37:52 echo Agent pid 16 killed; 04:37:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:37:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:37:53 [ssh-agent] Looking for ssh-agent implementation... 04:37:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:37:53 $ docker exec f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 ssh-agent 04:37:53 SSH_AUTH_SOCK=/tmp/ssh-5bh7hOBmcDpo/agent.46 04:37:53 SSH_AGENT_PID=51 04:37:53 Running ssh-add (command line suppressed) 04:37:53 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9117881657630908507.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9117881657630908507.key) 04:37:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:37:53 + git semver init 04:37:53 # -> Open(): unable to determine branch for HEAD 04:37:53 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 04:37:53 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 04:37:53 # $SEMVER_REMOTE_NAME = origin 04:37:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:37:53 # $SEMVER_USER_NAME = edgex-jenkins 04:37:53 # $SEMVER_BRANCH = master 04:37:53 # $SEMVER_TEMP = /tmp/semver-539792014 04:37:53 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:37:54 # '/tmp/semver-539792014' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 04:37:54 # -> Force: false 04:37:54 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 04:37:54 $ docker exec --env ******** --env ******** f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 ssh-agent -k 04:37:54 unset SSH_AUTH_SOCK; 04:37:54 unset SSH_AGENT_PID; 04:37:54 echo Agent pid 51 killed; 04:37:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:37:55 + git semver [Pipeline] } 04:37:55 $ docker stop --time=1 f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 04:37:56 $ docker rm -f f99617a321c60fec738add979bd8bbaec41b58b3ec73377b722cdd2048b9a4e7 [Pipeline] // withDockerContainer [Pipeline] sh 04:37:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:37:57 Stashed 1 file(s) [Pipeline] echo 04:37:57 [edgeXSemver]: initialized semver on version 1.3.1-dev.7 [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 04:38:13 Still waiting to schedule task 04:38:13 Executor slot already in use; ‘prd-centos7-builder-2c-1g-16036’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-16039’ is offline 04:38:13 Still waiting to schedule task 04:38:13 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:40:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16042 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 04:40:04 Running in /w/workspace/device-sdk-go/94 [Pipeline] { [Pipeline] checkout 04:40:09 using credential edgex-jenkins-ssh 04:40:09 Cloning the remote Git repository 04:40:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:40:10 > git init /w/workspace/device-sdk-go/94 # timeout=10 04:40:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:40:10 > git --version # timeout=10 04:40:10 > git --version # 'git version 2.17.1' 04:40:10 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:40:11 Checking out Revision d0df7b9da6961378affa4a44df784d03e7885d3e (master) 04:40:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:40:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:40:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:40:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:40:11 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 04:40:12 > git config core.sparsecheckout # timeout=10 04:40:12 > git checkout -f d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 04:40:16 Commit message: "Merge pull request #686 from weichou1229/issue-685" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:40:18 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:40:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:40:18 + sudo service docker restart 04:40:18 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:40:21 provisioning config files... 04:40:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/94@tmp/config3139190646304035542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:22 ---> docker-login.sh 04:40:22 nexus3.edgexfoundry.org:10001 04:40:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:23 Configure a credential helper to remove this warning. See 04:40:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:23 04:40:23 Login Succeeded 04:40:23 nexus3.edgexfoundry.org:10002 04:40:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:24 Configure a credential helper to remove this warning. See 04:40:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:24 04:40:24 Login Succeeded 04:40:24 nexus3.edgexfoundry.org:10003 04:40:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:24 Configure a credential helper to remove this warning. See 04:40:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:24 04:40:24 Login Succeeded 04:40:24 nexus3.edgexfoundry.org:10004 04:40:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:25 Configure a credential helper to remove this warning. See 04:40:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:25 04:40:25 Login Succeeded 04:40:25 docker.io 04:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:26 Configure a credential helper to remove this warning. See 04:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:26 04:40:26 Login Succeeded 04:40:26 ---> docker-login.sh ends [Pipeline] } 04:40:26 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:40:26 ========================================================= 04:40:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:40:26 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:40:27 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 04:40:27 Sending build context to Docker daemon 2.382MB 04:40:27 Step 1/8 : ARG BASE=golang:1.15-alpine 04:40:27 Step 2/8 : FROM ${BASE} 04:40:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:40:27 5f621e34cdf4: Pulling fs layer 04:40:27 a4357932f1b6: Pulling fs layer 04:40:27 18c013af1878: Pulling fs layer 04:40:27 00ac8860ef70: Pulling fs layer 04:40:27 63d7cb157983: Pulling fs layer 04:40:27 b116817d02f9: Pulling fs layer 04:40:27 745a02a5169b: Pulling fs layer 04:40:27 00ac8860ef70: Waiting 04:40:27 63d7cb157983: Waiting 04:40:27 b116817d02f9: Waiting 04:40:27 745a02a5169b: Waiting 04:40:27 18c013af1878: Download complete 04:40:27 a4357932f1b6: Download complete 04:40:27 63d7cb157983: Verifying Checksum 04:40:27 63d7cb157983: Download complete 04:40:28 b116817d02f9: Verifying Checksum 04:40:28 b116817d02f9: Download complete 04:40:28 5f621e34cdf4: Verifying Checksum 04:40:28 5f621e34cdf4: Download complete 04:40:28 5f621e34cdf4: Pull complete 04:40:29 a4357932f1b6: Pull complete 04:40:29 18c013af1878: Pull complete 04:40:30 745a02a5169b: Download complete 04:40:31 00ac8860ef70: Verifying Checksum 04:40:31 00ac8860ef70: Download complete 04:40:37 Running on prd-centos7-docker-4c-2g-16045 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 04:40:37 Running in /w/workspace/device-sdk-go/94 [Pipeline] { [Pipeline] checkout 04:40:40 using credential edgex-jenkins-ssh 04:40:40 Cloning the remote Git repository 04:40:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:40:40 > git init /w/workspace/device-sdk-go/94 # timeout=10 04:40:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:40:40 > git --version # timeout=10 04:40:40 > git --version # 'git version 2.24.3' 04:40:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:40:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:40:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:40:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:40:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:40:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:40:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 04:40:41 Checking out Revision d0df7b9da6961378affa4a44df784d03e7885d3e (master) 04:40:42 00ac8860ef70: Pull complete 04:40:42 63d7cb157983: Pull complete 04:40:42 b116817d02f9: Pull complete 04:40:41 > git config core.sparsecheckout # timeout=10 04:40:41 > git checkout -f d0df7b9da6961378affa4a44df784d03e7885d3e # timeout=10 04:40:45 Commit message: "Merge pull request #686 from weichou1229/issue-685" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:40:46 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:40:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:40:46 745a02a5169b: Pull complete 04:40:46 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:40:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:40:46 ---> b7e6874047d6 04:40:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:40:46 + sudo service docker restart 04:40:46 + true 04:40:46 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:40:48 provisioning config files... 04:40:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/94@tmp/config708612031855006647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:48 ---> docker-login.sh 04:40:48 nexus3.edgexfoundry.org:10001 04:40:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:48 Configure a credential helper to remove this warning. See 04:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:48 04:40:48 Login Succeeded 04:40:48 nexus3.edgexfoundry.org:10002 04:40:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:48 Configure a credential helper to remove this warning. See 04:40:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:48 04:40:48 Login Succeeded 04:40:48 nexus3.edgexfoundry.org:10003 04:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:49 Configure a credential helper to remove this warning. See 04:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:49 04:40:49 Login Succeeded 04:40:49 nexus3.edgexfoundry.org:10004 04:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:49 ---> Running in ae8dcfb57360 04:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:49 Configure a credential helper to remove this warning. See 04:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:49 04:40:49 Login Succeeded 04:40:49 docker.io 04:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:49 Removing intermediate container ae8dcfb57360 04:40:49 ---> e0a7bd282030 04:40:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:49 Configure a credential helper to remove this warning. See 04:40:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:49 04:40:49 Login Succeeded 04:40:49 ---> docker-login.sh ends [Pipeline] } 04:40:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:40:49 ---> Running in 0f533965a3f0 [Pipeline] echo 04:40:50 ========================================================= 04:40:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:40:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:40:50 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 04:40:50 Sending build context to Docker daemon 2.383MB 04:40:50 Step 1/8 : ARG BASE=golang:1.15-alpine 04:40:50 Step 2/8 : FROM ${BASE} 04:40:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:40:50 188c0c94c7c5: Pulling fs layer 04:40:50 0ef7d3d256c8: Pulling fs layer 04:40:50 de9db76c5a1d: Pulling fs layer 04:40:50 bca2f99d35d6: Pulling fs layer 04:40:50 93359f2a8cfa: Pulling fs layer 04:40:50 7c6f9722023f: Pulling fs layer 04:40:50 a35cf1a2eb13: Pulling fs layer 04:40:50 93359f2a8cfa: Waiting 04:40:50 7c6f9722023f: Waiting 04:40:50 a35cf1a2eb13: Waiting 04:40:50 bca2f99d35d6: Waiting 04:40:50 de9db76c5a1d: Verifying Checksum 04:40:50 de9db76c5a1d: Download complete 04:40:50 0ef7d3d256c8: Verifying Checksum 04:40:50 0ef7d3d256c8: Download complete 04:40:50 93359f2a8cfa: Verifying Checksum 04:40:50 93359f2a8cfa: Download complete 04:40:50 188c0c94c7c5: Verifying Checksum 04:40:50 188c0c94c7c5: Download complete 04:40:50 7c6f9722023f: Verifying Checksum 04:40:50 7c6f9722023f: Download complete 04:40:51 188c0c94c7c5: Pull complete 04:40:51 0ef7d3d256c8: Pull complete 04:40:51 de9db76c5a1d: Pull complete 04:40:52 Removing intermediate container 0f533965a3f0 04:40:52 ---> c381fa3aa128 04:40:52 Step 5/8 : RUN apk add --no-cache make git 04:40:52 a35cf1a2eb13: Verifying Checksum 04:40:52 a35cf1a2eb13: Download complete 04:40:52 ---> Running in f2b0ff6c0465 04:40:52 bca2f99d35d6: Verifying Checksum 04:40:52 bca2f99d35d6: Download complete 04:40:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:40:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:40:55 OK: 142 MiB in 39 packages 04:40:56 Removing intermediate container f2b0ff6c0465 04:40:56 ---> d3ffbfac1300 04:40:56 Step 6/8 : WORKDIR /device-sdk-go 04:40:56 ---> Running in 1d350659b934 04:40:57 Removing intermediate container 1d350659b934 04:40:57 ---> 70e6d4edd2fb 04:40:57 Step 7/8 : COPY . . 04:40:58 bca2f99d35d6: Pull complete 04:40:58 93359f2a8cfa: Pull complete 04:40:58 7c6f9722023f: Pull complete 04:40:58 ---> 8e032a4f63b7 04:40:58 Step 8/8 : RUN go mod download 04:40:59 ---> Running in eb858a5809f3 04:41:02 a35cf1a2eb13: Pull complete 04:41:02 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 04:41:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:41:02 ---> a62c8e92a672 04:41:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:41:02 ---> Running in d7cec2201789 04:41:03 Removing intermediate container d7cec2201789 04:41:03 ---> 8f999a0ff2a2 04:41:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:41:03 ---> Running in 2cfe051eef81 04:41:04 Removing intermediate container 2cfe051eef81 04:41:04 ---> 87d79ed8e2d3 04:41:04 Step 5/8 : RUN apk add --no-cache make git 04:41:04 ---> Running in 97a95a112501 04:41:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:41:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:41:06 OK: 166 MiB in 39 packages 04:41:06 Removing intermediate container 97a95a112501 04:41:06 ---> dfd980463bb7 04:41:06 Step 6/8 : WORKDIR /device-sdk-go 04:41:06 ---> Running in 8092630ddb19 04:41:07 Removing intermediate container 8092630ddb19 04:41:07 ---> 5a0f5bda9c8e 04:41:07 Step 7/8 : COPY . . 04:41:08 ---> 7d59bc4013d5 04:41:08 Step 8/8 : RUN go mod download 04:41:08 ---> Running in 70f8cc54f3d2 04:41:21 Removing intermediate container eb858a5809f3 04:41:21 ---> 2fea4124e787 04:41:21 Successfully built 2fea4124e787 04:41:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:41:21 + docker inspect -f . ci-base-image-arm64 04:41:21 . [Pipeline] withDockerContainer 04:41:21 prd-ubuntu18.04-docker-arm64-4c-16g-16042 does not seem to be running inside a container 04:41:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/94 -v /w/workspace/device-sdk-go/94:/w/workspace/device-sdk-go/94:rw,z -v /w/workspace/device-sdk-go/94@tmp:/w/workspace/device-sdk-go/94@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 ******** ci-base-image-arm64 cat 04:41:23 $ docker top 681f5f274b732351a770fbb6dd9fa09a95da258b7d2de92b88f0f9b669d6b3c5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:24 + go version 04:41:24 go version go1.15.5 linux/arm64 [Pipeline] } 04:41:24 $ docker stop --time=1 681f5f274b732351a770fbb6dd9fa09a95da258b7d2de92b88f0f9b669d6b3c5 04:41:26 Removing intermediate container 70f8cc54f3d2 04:41:26 ---> 7d3121ac190b 04:41:26 Successfully built 7d3121ac190b 04:41:26 Successfully tagged ci-base-image-x86_64:latest 04:41:26 $ docker rm -f 681f5f274b732351a770fbb6dd9fa09a95da258b7d2de92b88f0f9b669d6b3c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:41:27 + docker inspect -f . ci-base-image-x86_64 04:41:27 . [Pipeline] withDockerContainer 04:41:27 + docker inspect -f . ci-base-image-arm64 04:41:27 . 04:41:27 prd-centos7-docker-4c-2g-16045 does not seem to be running inside a container 04:41:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/94 -v /w/workspace/device-sdk-go/94:/w/workspace/device-sdk-go/94:rw,z -v /w/workspace/device-sdk-go/94@tmp:/w/workspace/device-sdk-go/94@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 04:41:29 $ docker top 5d2732f877cb4c07884a4052e04c1978dd5c4a045bac70161a07e8c1dba8a4c7 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 04:41:29 prd-ubuntu18.04-docker-arm64-4c-16g-16042 does not seem to be running inside a container 04:41:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/94 -v /w/workspace/device-sdk-go/94:/w/workspace/device-sdk-go/94:rw,z -v /w/workspace/device-sdk-go/94@tmp:/w/workspace/device-sdk-go/94@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 ******** ci-base-image-arm64 cat 04:41:31 $ docker top 30f0edbd98c72709d06b3523128187525d8d96706892fd9441561788e0ae19da -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 04:41:32 + go version 04:41:32 go version go1.15.5 linux/amd64 [Pipeline] } 04:41:32 $ docker stop --time=1 5d2732f877cb4c07884a4052e04c1978dd5c4a045bac70161a07e8c1dba8a4c7 04:41:32 + make test 04:41:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:41:33 $ docker rm -f 5d2732f877cb4c07884a4052e04c1978dd5c4a045bac70161a07e8c1dba8a4c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:41:34 + docker inspect -f . ci-base-image-x86_64 04:41:34 . [Pipeline] withDockerContainer 04:41:34 prd-centos7-docker-4c-2g-16045 does not seem to be running inside a container 04:41:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/94 -v /w/workspace/device-sdk-go/94:/w/workspace/device-sdk-go/94:rw,z -v /w/workspace/device-sdk-go/94@tmp:/w/workspace/device-sdk-go/94@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 04:41:35 $ docker top fbcfd68000b0b6a26c90794f1bb6cbe202051ed401800683a676933a687c7a28 -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:35 + make test 04:41:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:41:42 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:41:54 ? github.com/edgexfoundry/device-sdk-go [no test files] 04:41:57 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:41:57 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:41:57 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:41:57 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.053s coverage: 20.6% of statements 04:41:58 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.639s coverage: 97.1% of statements 04:42:30 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 9.4% of statements 04:42:30 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.9% of statements 04:42:30 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:42:30 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.292s coverage: 42.5% of statements 04:42:30 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:42:30 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.303s coverage: 68.9% of statements 04:42:30 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:42:30 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:42:30 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:42:30 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 04:42:30 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.063s coverage: 53.8% of statements 04:42:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 04:42:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 04:42:30 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 04:42:30 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.242s coverage: 68.9% of statements 04:42:30 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.6% of statements 04:42:30 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:42:30 GO111MODULE=on go vet ./... 04:42:33 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 04:42:33 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 04:42:33 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 04:42:33 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.130s coverage: 20.6% of statements 04:42:37 gofmt -l . 04:42:37 [ "`gofmt -l .`" = "" ] 04:42:37 ./bin/test-attribution-txt.sh 04:42:37 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:42:38 $ docker stop --time=1 fbcfd68000b0b6a26c90794f1bb6cbe202051ed401800683a676933a687c7a28 04:42:39 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.264s coverage: 97.1% of statements 04:42:40 $ docker rm -f fbcfd68000b0b6a26c90794f1bb6cbe202051ed401800683a676933a687c7a28 [Pipeline] // withDockerContainer [Pipeline] sh 04:42:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:42:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:42:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:42:44 + ls -al . 04:42:44 total 208 04:42:44 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 15 04:42 . 04:42:44 drwxrwxr-x. 4 jenkins jenkins 30 Dec 15 04:40 .. 04:42:44 drwxrwxr-x. 2 jenkins jenkins 64 Dec 15 04:40 bin 04:42:44 -rw-r--r--. 1 jenkins jenkins 128829 Dec 15 04:42 coverage.out 04:42:44 -rw-rw-r--. 1 jenkins jenkins 936 Dec 15 04:40 Dockerfile.build 04:42:44 -rw-rw-r--. 1 jenkins jenkins 140 Dec 15 04:40 .dockerignore 04:42:44 drwxrwxr-x. 4 jenkins jenkins 48 Dec 15 04:40 example 04:42:44 drwxrwxr-x. 8 jenkins jenkins 162 Dec 15 04:40 .git 04:42:44 drwxrwxr-x. 2 jenkins jenkins 103 Dec 15 04:40 .github 04:42:44 -rw-rw-r--. 1 jenkins jenkins 138 Dec 15 04:40 .gitignore 04:42:44 -rw-r--r--. 1 jenkins jenkins 488 Dec 15 04:42 go.mod 04:42:44 -rw-r--r--. 1 jenkins jenkins 13631 Dec 15 04:42 go.sum 04:42:44 drwxrwxr-x. 15 jenkins jenkins 211 Dec 15 04:40 internal 04:42:44 -rw-rw-r--. 1 jenkins jenkins 901 Dec 15 04:40 Jenkinsfile 04:42:44 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 15 04:40 LICENSE 04:42:44 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 15 04:40 Makefile 04:42:44 drwxrwxr-x. 4 jenkins jenkins 26 Dec 15 04:40 openapi 04:42:44 drwxrwxr-x. 5 jenkins jenkins 50 Dec 15 04:40 pkg 04:42:44 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 15 04:40 README.md 04:42:44 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 15 04:40 RELEASE-NOTES.txt 04:42:44 drwxrwxr-x. 4 jenkins jenkins 54 Dec 15 04:40 snap 04:42:44 -rw-rw-r--. 1 jenkins jenkins 11 Dec 15 04:37 VERSION 04:42:44 -rw-rw-r--. 1 jenkins jenkins 222 Dec 15 04:40 version.go [Pipeline] isUnix [Pipeline] sh 04:42:44 + 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=d0df7b9da6961378affa4a44df784d03e7885d3e --label arch=amd64 --label version=1.3.1-dev.7 . 04:42:44 Sending build context to Docker daemon 2.513MB 04:42:44 Step 1/24 : ARG BASE=golang:1.15-alpine 04:42:44 Step 2/24 : FROM ${BASE} AS builder 04:42:44 ---> 7d3121ac190b 04:42:44 Step 3/24 : ARG MAKE='make build' 04:42:45 ---> Running in 1e7cfcf031e0 04:42:45 Removing intermediate container 1e7cfcf031e0 04:42:45 ---> f46e313e8688 04:42:45 Step 4/24 : WORKDIR /device-sdk-go 04:42:45 ---> Running in 01925d8e2761 04:42:45 Removing intermediate container 01925d8e2761 04:42:45 ---> 0ad1fce72d53 04:42:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:42:45 ---> Running in 8c5035dfb1ab 04:42:45 Removing intermediate container 8c5035dfb1ab 04:42:45 ---> cb5d6a0a3270 04:42:45 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:42:45 ---> Running in 60949dc1f313 04:42:46 Removing intermediate container 60949dc1f313 04:42:46 ---> dda6f90bdc6a 04:42:46 Step 7/24 : RUN apk add --update --no-cache make git 04:42:46 ---> Running in 4660b60d499b 04:42:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:42:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:42:48 OK: 166 MiB in 39 packages 04:42:49 Removing intermediate container 4660b60d499b 04:42:49 ---> aaf4b361cb2a 04:42:49 Step 8/24 : COPY . . 04:42:50 ---> 2bb127628e2e 04:42:50 Step 9/24 : RUN ${MAKE} 04:42:50 ---> Running in 39204ea18b1e 04:42:50 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:42:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:43:01 Removing intermediate container 39204ea18b1e 04:43:01 ---> 113f34417586 04:43:01 Step 10/24 : FROM scratch 04:43:01 ---> 04:43:01 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:43:01 ---> Running in 333b610fde9f 04:43:01 Removing intermediate container 333b610fde9f 04:43:01 ---> 0793f8f8c18d 04:43:01 Step 12/24 : ENV APP_PORT=49990 04:43:01 ---> Running in e2d78cc828c0 04:43:01 Removing intermediate container e2d78cc828c0 04:43:01 ---> f08f22c8aa46 04:43:01 Step 13/24 : EXPOSE $APP_PORT 04:43:01 ---> Running in 7d111a5d5080 04:43:01 Removing intermediate container 7d111a5d5080 04:43:01 ---> 89ca8aa27220 04:43:01 Step 14/24 : WORKDIR / 04:43:01 ---> Running in 0221719843f3 04:43:01 Removing intermediate container 0221719843f3 04:43:01 ---> cdcfddde7e87 04:43:01 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:43:02 ---> 5784873df837 04:43:02 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:43:02 ---> da973d627bba 04:43:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:43:02 ---> 6af68bddbe75 04:43:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:43:03 ---> 650da4cc1441 04:43:03 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:43:03 ---> f5d82bcf79af 04:43:03 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:43:03 ---> Running in cd0e04569974 04:43:03 Removing intermediate container cd0e04569974 04:43:03 ---> 7ed6f4e170c1 04:43:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:43:03 ---> Running in eb566aeb65b6 04:43:03 Removing intermediate container eb566aeb65b6 04:43:03 ---> 6df3a1dc2c18 04:43:03 Step 22/24 : LABEL arch=amd64 04:43:03 ---> Running in b42a16c8dc3b 04:43:04 Removing intermediate container b42a16c8dc3b 04:43:04 ---> 357d8cbb7825 04:43:04 Step 23/24 : LABEL git_sha=d0df7b9da6961378affa4a44df784d03e7885d3e 04:43:04 ---> Running in d73edff6fba5 04:43:04 Removing intermediate container d73edff6fba5 04:43:04 ---> d8ef967f8486 04:43:04 Step 24/24 : LABEL version=1.3.1-dev.7 04:43:04 ---> Running in 1069a441f9c0 04:43:04 Removing intermediate container 1069a441f9c0 04:43:04 ---> 98f621e31d92 04:43:04 [Warning] One or more build-args [ARCH] were not consumed 04:43:04 Successfully built 98f621e31d92 04:43:04 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:43:05 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.140s coverage: 9.4% of statements 04:43:05 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.132s coverage: 21.9% of statements 04:43:05 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 04:43:05 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.600s coverage: 42.5% of statements 04:43:05 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 04:43:05 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.775s coverage: 68.9% of statements 04:43:05 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 04:43:05 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 04:43:05 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 04:43:05 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 04:43:05 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.190s coverage: 53.8% of statements 04:43:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 04:43:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 04:43:05 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 04:43:05 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.756s coverage: 68.9% of statements 04:43:05 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.6% of statements 04:43:05 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 04:43:05 GO111MODULE=on go vet ./... 04:43:38 gofmt -l . 04:43:38 [ "`gofmt -l .`" = "" ] 04:43:38 ./bin/test-attribution-txt.sh 04:43:38 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:43:38 $ docker stop --time=1 30f0edbd98c72709d06b3523128187525d8d96706892fd9441561788e0ae19da 04:43:40 $ docker rm -f 30f0edbd98c72709d06b3523128187525d8d96706892fd9441561788e0ae19da [Pipeline] // withDockerContainer [Pipeline] sh 04:43:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:43:41 Warning: overwriting stash ‘coverage-report’ 04:43:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:43:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:43:43 + ls -al . 04:43:43 total 244 04:43:43 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 04:43 . 04:43:43 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:40 .. 04:43:43 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 04:40 .dockerignore 04:43:43 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 04:40 .git 04:43:43 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 04:40 .github 04:43:43 -rw-rw-r-- 1 jenkins jenkins 138 Dec 15 04:40 .gitignore 04:43:43 -rw-rw-r-- 1 jenkins jenkins 936 Dec 15 04:40 Dockerfile.build 04:43:43 -rw-rw-r-- 1 jenkins jenkins 901 Dec 15 04:40 Jenkinsfile 04:43:43 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 15 04:40 LICENSE 04:43:43 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 15 04:40 Makefile 04:43:43 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 15 04:40 README.md 04:43:43 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 15 04:40 RELEASE-NOTES.txt 04:43:43 -rw-rw-r-- 1 jenkins jenkins 11 Dec 15 04:37 VERSION 04:43:43 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 04:40 bin 04:43:43 -rw-r--r-- 1 jenkins jenkins 128828 Dec 15 04:43 coverage.out 04:43:43 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:40 example 04:43:43 -rw-r--r-- 1 jenkins jenkins 488 Dec 15 04:43 go.mod 04:43:43 -rw-r--r-- 1 jenkins jenkins 13631 Dec 15 04:43 go.sum 04:43:43 drwxrwxr-x 15 jenkins jenkins 4096 Dec 15 04:40 internal 04:43:43 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:40 openapi 04:43:43 drwxrwxr-x 5 jenkins jenkins 4096 Dec 15 04:40 pkg 04:43:43 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 04:40 snap 04:43:43 -rw-rw-r-- 1 jenkins jenkins 222 Dec 15 04:40 version.go [Pipeline] isUnix [Pipeline] sh 04:43:44 + 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=d0df7b9da6961378affa4a44df784d03e7885d3e --label arch=arm64 --label version=1.3.1-dev.7 . 04:43:44 Sending build context to Docker daemon 2.512MB 04:43:44 Step 1/24 : ARG BASE=golang:1.15-alpine 04:43:44 Step 2/24 : FROM ${BASE} AS builder 04:43:44 ---> 2fea4124e787 04:43:44 Step 3/24 : ARG MAKE='make build' 04:43:45 ---> Running in ea43b81622c4 04:43:45 Removing intermediate container ea43b81622c4 04:43:45 ---> e444888a6dc0 04:43:45 Step 4/24 : WORKDIR /device-sdk-go 04:43:45 ---> Running in 3c1a1951ac32 04:43:46 Removing intermediate container 3c1a1951ac32 04:43:46 ---> ac737af80523 04:43:46 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:43:46 ---> Running in 5a142caa819a 04:43:46 Removing intermediate container 5a142caa819a 04:43:46 ---> 8160b82dd31e 04:43:46 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:43:46 ---> Running in 1868c0316635 04:43:48 Removing intermediate container 1868c0316635 04:43:48 ---> 87d196a2b7fc 04:43:48 Step 7/24 : RUN apk add --update --no-cache make git 04:43:49 ---> Running in 9f6ac692c53b 04:43:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:43:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:43:52 OK: 142 MiB in 39 packages 04:43:53 Removing intermediate container 9f6ac692c53b 04:43:53 ---> 22934022f3e7 04:43:53 Step 8/24 : COPY . . 04:43:54 ---> afeb73071326 04:43:54 Step 9/24 : RUN ${MAKE} 04:43:54 ---> Running in ef87b5e47265 04:43:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:44:22 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:44:23 Removing intermediate container ef87b5e47265 04:44:23 ---> 195219ddfcfc 04:44:23 Step 10/24 : FROM scratch 04:44:23 ---> 04:44:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:44:23 ---> Running in 7d36ac581d77 04:44:23 Removing intermediate container 7d36ac581d77 04:44:23 ---> 6853bc4412eb 04:44:23 Step 12/24 : ENV APP_PORT=49990 04:44:23 ---> Running in d32c4acfaa03 04:44:24 Removing intermediate container d32c4acfaa03 04:44:24 ---> c307d0b2a053 04:44:24 Step 13/24 : EXPOSE $APP_PORT 04:44:24 ---> Running in f7a79cb67281 04:44:24 Removing intermediate container f7a79cb67281 04:44:24 ---> bb47179759fb 04:44:24 Step 14/24 : WORKDIR / 04:44:25 ---> Running in fa327a21cb98 04:44:25 Removing intermediate container fa327a21cb98 04:44:25 ---> 6a6f0c6eccb6 04:44:25 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:44:26 ---> de4dc02a150f 04:44:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:44:27 ---> fdf648aa1d58 04:44:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:44:27 ---> 971d89261bc8 04:44:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:44:28 ---> 959947635912 04:44:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:44:29 ---> 1856e06f1e18 04:44:29 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:44:29 ---> Running in 9425d1242e69 04:44:30 Removing intermediate container 9425d1242e69 04:44:30 ---> 5ad31cb1e73e 04:44:30 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:44:30 ---> Running in c078034d8546 04:44:30 Removing intermediate container c078034d8546 04:44:30 ---> d563f62c46d1 04:44:30 Step 22/24 : LABEL arch=arm64 04:44:30 ---> Running in ac661a8ff4eb 04:44:31 Removing intermediate container ac661a8ff4eb 04:44:31 ---> c85e8e8cb9ed 04:44:31 Step 23/24 : LABEL git_sha=d0df7b9da6961378affa4a44df784d03e7885d3e 04:44:31 ---> Running in 2576c86819da 04:44:31 Removing intermediate container 2576c86819da 04:44:31 ---> 3ee9b33672a5 04:44:31 Step 24/24 : LABEL version=1.3.1-dev.7 04:44:31 ---> Running in ff980f625049 04:44:32 Removing intermediate container ff980f625049 04:44:32 ---> f3518fddec88 04:44:32 [Warning] One or more build-args [ARCH] were not consumed 04:44:32 Successfully built f3518fddec88 04:44:32 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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 04:44:34 provisioning config files... 04:44:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4360796791542730400tmp [Pipeline] { [Pipeline] sh 04:44:34 + set +x 04:44:34 + curl -s https://codecov.io/bash 04:44:34 + bash -s -- 04:44:35 04:44:35 _____ _ 04:44:35 / ____| | | 04:44:35 | | ___ __| | ___ ___ _____ __ 04:44:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:44:35 | |___| (_) | (_| | __/ (_| (_) \ V / 04:44:35 \_____\___/ \__,_|\___|\___\___/ \_/ 04:44:35 Bash-20201130-cc6d3fe 04:44:35 04:44:35 04:44:35 ==> Jenkins CI detected. 04:44:35 project root: . 04:44:35 --> token set from env 04:44:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:44:35 ==> Running gcov in . (disable via -X gcov) 04:44:35 ==> Python coveragepy not found 04:44:35 ==> Searching for coverage reports in: 04:44:35 + . 04:44:35 -> Found 1 reports 04:44:35 ==> Detecting git/mercurial file structure 04:44:35 ==> Reading reports 04:44:35 + ./coverage.out bytes=128828 04:44:35 ==> Appending adjustments 04:44:35 https://docs.codecov.io/docs/fixing-reports 04:44:35 + Found adjustments 04:44:35 ==> Gzipping contents 04:44:35 24K /tmp/codecov.LutUNC.gz 04:44:35 ==> Uploading reports 04:44:35 url: https://codecov.io 04:44:35 query: branch=master&commit=d0df7b9da6961378affa4a44df784d03e7885d3e&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:44:35 -> Pinging Codecov 04:44:35 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=d0df7b9da6961378affa4a44df784d03e7885d3e&build=94&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F94%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:44:35 -> Uploading to 04:44:35 https://storage.googleapis.com/codecov/v4/raw/2020-12-15/7E55EF52A471D76F132DFD9A03CDDE97/d0df7b9da6961378affa4a44df784d03e7885d3e/5d845143-5ff9-4a52-9879-f580453dde0b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201215T044435Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a5ce865e699624c011b354eb40433587ec19a2d25790d382ce2a8c0964355d4 04:44:35 % Total % Received % Xferd Average Speed Time Time Time Current 04:44:35 Dload Upload Total Spent Left Speed 04:44:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21076 0 0 100 21076 0 47433 --:--:-- --:--:-- --:--:-- 47468 04:44:36 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d0df7b9da6961378affa4a44df784d03e7885d3e [Pipeline] } 04:44:36 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:44:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:44:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:44:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:44:37 04:44:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:44:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:44:38 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:44:38 188c0c94c7c5: Pulling fs layer 04:44:38 0ef7d3d256c8: Pulling fs layer 04:44:38 de9db76c5a1d: Pulling fs layer 04:44:38 0eba1c9be4d2: Pulling fs layer 04:44:38 0d57e429df01: Pulling fs layer 04:44:38 4e4be7b47b0d: Pulling fs layer 04:44:38 e1f770b5df2f: Pulling fs layer 04:44:38 85a0685a4137: Pulling fs layer 04:44:38 0d57e429df01: Waiting 04:44:38 4e4be7b47b0d: Waiting 04:44:38 e1f770b5df2f: Waiting 04:44:38 85a0685a4137: Waiting 04:44:38 0eba1c9be4d2: Waiting 04:44:38 de9db76c5a1d: Verifying Checksum 04:44:38 de9db76c5a1d: Download complete 04:44:38 0ef7d3d256c8: Verifying Checksum 04:44:38 0ef7d3d256c8: Download complete 04:44:38 0d57e429df01: Verifying Checksum 04:44:38 0d57e429df01: Download complete 04:44:38 4e4be7b47b0d: Verifying Checksum 04:44:38 4e4be7b47b0d: Download complete 04:44:38 188c0c94c7c5: Download complete 04:44:38 188c0c94c7c5: Pull complete 04:44:39 0ef7d3d256c8: Pull complete 04:44:39 de9db76c5a1d: Pull complete 04:44:39 e1f770b5df2f: Verifying Checksum 04:44:39 e1f770b5df2f: Download complete 04:44:41 0eba1c9be4d2: Verifying Checksum 04:44:41 0eba1c9be4d2: Download complete 04:44:42 85a0685a4137: Verifying Checksum 04:44:42 85a0685a4137: Download complete 04:44:47 0eba1c9be4d2: Pull complete 04:44:47 0d57e429df01: Pull complete 04:44:47 4e4be7b47b0d: Pull complete 04:44:50 e1f770b5df2f: Pull complete 04:44:56 85a0685a4137: Pull complete 04:44:56 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:44:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:44:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:44:56 prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container 04:44:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:44:57 $ docker top 8cd9963d71ef1dc429b6b50ab70f9282f83238f402c6731148ee0bdcf4f3e063 -eo pid,comm [Pipeline] { [Pipeline] echo 04:44:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:44:58 + set -o pipefail 04:44:58 + snyk monitor '--org=edgex-jenkins' 04:45:13 04:45:13 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... 04:45:13 04:45:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/8c2a6cec-72fa-4180-867c-29a7e236537a 04:45:13 04:45:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:45:13 04:45:13 04:45:13 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 04:45:13 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:45:13 $ docker stop --time=1 8cd9963d71ef1dc429b6b50ab70f9282f83238f402c6731148ee0bdcf4f3e063 04:45:15 $ docker rm -f 8cd9963d71ef1dc429b6b50ab70f9282f83238f402c6731148ee0bdcf4f3e063 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 04:45:17 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:45:17 provisioning config files... 04:45:17 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8718931388212625414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:17 --> edgex-publish-swagger.sh 04:45:17 === Publish openapi/v1 API === 04:45:17 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 04:45:17 [publishToSwagger] Publishing API Name [device-sdk] 04:45:17 % Total % Received % Xferd Average Speed Time Time Time Current 04:45:17 Dload Upload Total Spent Left Speed 04:45:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20188 0 0 100 20188 0 24927 --:--:-- --:--:-- --:--:-- 24923 04:45:18 04:45:18 04:45:18 === Publish openapi/v2 API === 04:45:18 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 04:45:18 [publishToSwagger] Publishing API Name [device-sdk] 04:45:18 % Total % Received % Xferd Average Speed Time Time Time Current 04:45:18 Dload Upload Total Spent Left Speed 04:45:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 59400 --:--:-- --:--:-- --:--:-- 59366 100 49274 0 0 100 49274 0 59386 --:--:-- --:--:-- --:--:-- 59366 04:45:19 04:45:19 [Pipeline] } 04:45:19 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 04:45:20 + git log --format=format:%s -1 d0df7b9da6961378affa4a44df784d03e7885d3e [Pipeline] isUnix [Pipeline] sh 04:45:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:45:20 . [Pipeline] withDockerContainer 04:45:20 prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container 04:45:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:45:21 $ docker top 3976e5978ac08f8c14bb83540233dccbfee54acb8c5df48ef9314384571dd0d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:45:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:45:21 [ssh-agent] Looking for ssh-agent implementation... 04:45:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:45:22 $ docker exec 3976e5978ac08f8c14bb83540233dccbfee54acb8c5df48ef9314384571dd0d6 ssh-agent 04:45:22 SSH_AUTH_SOCK=/tmp/ssh-XZ8dxfQno8Cx/agent.11 04:45:22 SSH_AGENT_PID=16 04:45:22 Running ssh-add (command line suppressed) 04:45:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_822831910640586311.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_822831910640586311.key) 04:45:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:45:22 + git semver tag 04:45:22 # -> Open(): unable to determine branch for HEAD 04:45:22 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 04:45:22 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 04:45:22 # $SEMVER_REMOTE_NAME = origin 04:45:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:45:22 # $SEMVER_USER_NAME = edgex-jenkins 04:45:22 # $SEMVER_BRANCH = master 04:45:22 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 04:45:22 # d0df7b9da6961378affa4a44df784d03e7885d3e HEAD 04:45:22 # -> Force: false 04:45:22 # e49dae523c1eca82bf40d1582ca9716553b95bcc refs/tags/v1.3.1-dev.7 [Pipeline] } 04:45:22 $ docker exec --env ******** --env ******** 3976e5978ac08f8c14bb83540233dccbfee54acb8c5df48ef9314384571dd0d6 ssh-agent -k 04:45:23 unset SSH_AUTH_SOCK; 04:45:23 unset SSH_AGENT_PID; 04:45:23 echo Agent pid 16 killed; 04:45:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:45:23 + git semver [Pipeline] } 04:45:23 $ docker stop --time=1 3976e5978ac08f8c14bb83540233dccbfee54acb8c5df48ef9314384571dd0d6 04:45:24 $ docker rm -f 3976e5978ac08f8c14bb83540233dccbfee54acb8c5df48ef9314384571dd0d6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:45:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:45:25 04:45:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:45:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:45:26 0.23.1-centos7: Pulling from edgex-lftools 04:45:26 ab5ef0e58194: Pulling fs layer 04:45:26 9712f1f96733: Pulling fs layer 04:45:26 63f879dbbcfc: Pulling fs layer 04:45:26 0d9ebad4ef96: Pulling fs layer 04:45:26 e9a5061849ea: Pulling fs layer 04:45:26 d747dcd14b5f: Pulling fs layer 04:45:26 2de7ff778b66: Pulling fs layer 04:45:26 0d9ebad4ef96: Waiting 04:45:26 e9a5061849ea: Waiting 04:45:26 d747dcd14b5f: Waiting 04:45:26 2de7ff778b66: Waiting 04:45:26 9712f1f96733: Verifying Checksum 04:45:26 9712f1f96733: Download complete 04:45:28 63f879dbbcfc: Verifying Checksum 04:45:28 63f879dbbcfc: Download complete 04:45:28 e9a5061849ea: Verifying Checksum 04:45:28 e9a5061849ea: Download complete 04:45:28 d747dcd14b5f: Verifying Checksum 04:45:28 d747dcd14b5f: Download complete 04:45:28 ab5ef0e58194: Verifying Checksum 04:45:28 ab5ef0e58194: Download complete 04:45:28 2de7ff778b66: Verifying Checksum 04:45:28 2de7ff778b66: Download complete 04:45:28 0d9ebad4ef96: Verifying Checksum 04:45:28 0d9ebad4ef96: Download complete 04:45:33 ab5ef0e58194: Pull complete 04:45:33 9712f1f96733: Pull complete 04:45:34 63f879dbbcfc: Pull complete 04:45:41 0d9ebad4ef96: Pull complete 04:45:42 e9a5061849ea: Pull complete 04:45:42 d747dcd14b5f: Pull complete 04:45:45 2de7ff778b66: Pull complete 04:45:45 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:45:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:45:45 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:45:45 prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container 04:45: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:45:49 $ docker top 92c9066d447f18b155ef658aaadeaf86da2164db6c3601aa376482a7396343fc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:45:49 provisioning config files... 04:45:49 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5991354210116085747tmp 04:45:49 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2237229196467036832tmp 04:45:49 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6978043993131009064tmp [Pipeline] { [Pipeline] echo 04:45:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:45:50 ---> sigul-configuration.sh 04:45:50 gpg: directory `/root/.gnupg' created 04:45:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:45:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:45:50 gpg: keyring `/root/.gnupg/secring.gpg' created 04:45:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:45:50 gpg: CAST5 encrypted data 04:45:50 gpg: encrypted with 1 passphrase 04:45:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:45:50 + mkdir /home/jenkins 04:45:50 + mkdir /home/jenkins/sigul [Pipeline] sh 04:45: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 04:45:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:45:51 ---> sigul-install.sh 04:45:56 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 04:45:56 + git tag --list 04:45:56 0.7.1 04:45:56 delhi-tag 04:45:56 v1.0.0 04:45:56 v1.1.0 04:45:56 v1.1.1 04:45:56 v1.1.2 04:45:56 v1.2.0 04:45:56 v1.2.1 04:45:56 v1.2.2 04:45:56 v1.2.3 04:45:56 v1.2.4-dev.1 04:45:56 v1.2.4-dev.10 04:45:56 v1.2.4-dev.11 04:45:56 v1.2.4-dev.12 04:45:56 v1.2.4-dev.13 04:45:56 v1.2.4-dev.14 04:45:56 v1.2.4-dev.15 04:45:56 v1.2.4-dev.16 04:45:56 v1.2.4-dev.17 04:45:56 v1.2.4-dev.18 04:45:56 v1.2.4-dev.19 04:45:56 v1.2.4-dev.2 04:45:56 v1.2.4-dev.20 04:45:56 v1.2.4-dev.21 04:45:56 v1.2.4-dev.22 04:45:56 v1.2.4-dev.23 04:45:56 v1.2.4-dev.24 04:45:56 v1.2.4-dev.25 04:45:56 v1.2.4-dev.26 04:45:56 v1.2.4-dev.27 04:45:56 v1.2.4-dev.28 04:45:56 v1.2.4-dev.29 04:45:56 v1.2.4-dev.3 04:45:56 v1.2.4-dev.30 04:45:56 v1.2.4-dev.31 04:45:56 v1.2.4-dev.32 04:45:56 v1.2.4-dev.33 04:45:56 v1.2.4-dev.34 04:45:56 v1.2.4-dev.35 04:45:56 v1.2.4-dev.4 04:45:56 v1.2.4-dev.5 04:45:56 v1.2.4-dev.6 04:45:56 v1.2.4-dev.7 04:45:56 v1.2.4-dev.8 04:45:56 v1.2.4-dev.9 04:45:56 v1.3.0 04:45:56 v1.3.1-dev.1 04:45:56 v1.3.1-dev.2 04:45:56 v1.3.1-dev.3 04:45:56 v1.3.1-dev.4 04:45:56 v1.3.1-dev.5 04:45:56 v1.3.1-dev.6 04:45:56 v1.3.1-dev.7 [Pipeline] sh 04:45:57 + lftools sign git-tag v1.3.1-dev.7 04:45:58 Signing Git tag with Sigul... 04:45:58 Signing v1.3.1-dev.7 [Pipeline] echo 04:45:59 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:45:59 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:45:59 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:46:00 $ docker stop --time=1 92c9066d447f18b155ef658aaadeaf86da2164db6c3601aa376482a7396343fc 04:46:02 $ docker rm -f 92c9066d447f18b155ef658aaadeaf86da2164db6c3601aa376482a7396343fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 04:46:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:46:03 . [Pipeline] withDockerContainer 04:46:03 prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container 04:46:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:46:04 $ docker top 037ce7be3c8626170c6ac45a23a842b0a95e22a60eaeb6e3642643b12e40a868 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:46:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:46:04 [ssh-agent] Looking for ssh-agent implementation... 04:46:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:46:04 $ docker exec 037ce7be3c8626170c6ac45a23a842b0a95e22a60eaeb6e3642643b12e40a868 ssh-agent 04:46:04 SSH_AUTH_SOCK=/tmp/ssh-LBz0lKLHgzxv/agent.11 04:46:04 SSH_AGENT_PID=16 04:46:04 Running ssh-add (command line suppressed) 04:46:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2028741145649978703.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2028741145649978703.key) 04:46:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:46:05 + git semver bump pre 04:46:05 # -> Open(): unable to determine branch for HEAD 04:46:05 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 04:46:05 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 04:46:05 # $SEMVER_REMOTE_NAME = origin 04:46:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:46:05 # $SEMVER_USER_NAME = edgex-jenkins 04:46:05 # $SEMVER_BRANCH = master 04:46:05 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 04:46:05 1.3.1-dev.8 [Pipeline] } 04:46:05 $ docker exec --env ******** --env ******** 037ce7be3c8626170c6ac45a23a842b0a95e22a60eaeb6e3642643b12e40a868 ssh-agent -k 04:46:05 unset SSH_AUTH_SOCK; 04:46:05 unset SSH_AGENT_PID; 04:46:05 echo Agent pid 16 killed; 04:46:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:46:06 + git semver [Pipeline] } 04:46:06 $ docker stop --time=1 037ce7be3c8626170c6ac45a23a842b0a95e22a60eaeb6e3642643b12e40a868 04:46:07 $ docker rm -f 037ce7be3c8626170c6ac45a23a842b0a95e22a60eaeb6e3642643b12e40a868 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 04:46:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:46:08 . [Pipeline] withDockerContainer 04:46:08 prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container 04:46:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:46:08 $ docker top 17ed7ecd545fc388386ebe9366a1b8f1f5b153c1be0d9efa7123120ed1fcf4af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:46:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:46:09 [ssh-agent] Looking for ssh-agent implementation... 04:46:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:46:09 $ docker exec 17ed7ecd545fc388386ebe9366a1b8f1f5b153c1be0d9efa7123120ed1fcf4af ssh-agent 04:46:09 SSH_AUTH_SOCK=/tmp/ssh-zeNmJA54b8mf/agent.12 04:46:09 SSH_AGENT_PID=17 04:46:09 Running ssh-add (command line suppressed) 04:46:09 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2807114656840267713.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2807114656840267713.key) 04:46:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:46:10 + git semver push 04:46:10 # -> Open(): unable to determine branch for HEAD 04:46:10 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 04:46:10 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 04:46:10 # $SEMVER_REMOTE_NAME = origin 04:46:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:46:10 # $SEMVER_USER_NAME = edgex-jenkins 04:46:10 # $SEMVER_BRANCH = master 04:46:10 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 04:46:16 $ docker exec --env ******** --env ******** 17ed7ecd545fc388386ebe9366a1b8f1f5b153c1be0d9efa7123120ed1fcf4af ssh-agent -k 04:46:16 unset SSH_AUTH_SOCK; 04:46:16 unset SSH_AGENT_PID; 04:46:16 echo Agent pid 17 killed; 04:46:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:46:17 + git semver [Pipeline] } 04:46:17 $ docker stop --time=1 17ed7ecd545fc388386ebe9366a1b8f1f5b153c1be0d9efa7123120ed1fcf4af 04:46:18 $ docker rm -f 17ed7ecd545fc388386ebe9366a1b8f1f5b153c1be0d9efa7123120ed1fcf4af [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 04:46:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:46:21 ---> package-listing.sh 04:46:21 ++ facter osfamily 04:46:21 ++ tr '[:upper:]' '[:lower:]' 04:46:21 + OS_FAMILY=redhat 04:46:21 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 04:46:21 + START_PACKAGES=/tmp/packages_start.txt 04:46:21 + END_PACKAGES=/tmp/packages_end.txt 04:46:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:46:21 + PACKAGES=/tmp/packages_start.txt 04:46:21 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 04:46:21 + PACKAGES=/tmp/packages_end.txt 04:46:21 + case "${OS_FAMILY}" in 04:46:21 + rpm -qa 04:46:21 + sort 04:46:26 + '[' -f /tmp/packages_start.txt ']' 04:46:26 + '[' -f /tmp/packages_end.txt ']' 04:46:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:46:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 04:46:26 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 04:46:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 04:46:26 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 04:46:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:46:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:46:27 04:46:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:46:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:46:27 alpine: Pulling from edgex-lftools-log-publisher 04:46:27 df20fa9351a1: Pulling fs layer 04:46:27 36b3adc4ff6f: Pulling fs layer 04:46:27 8ad3a11d3b57: Pulling fs layer 04:46:27 46f8f816bc3b: Pulling fs layer 04:46:27 93b61091891f: Pulling fs layer 04:46:27 93b9cdb0e59b: Pulling fs layer 04:46:27 5e14af77c1be: Pulling fs layer 04:46:27 01666e4c0597: Pulling fs layer 04:46:27 aa168da1d23b: Pulling fs layer 04:46:27 46f8f816bc3b: Waiting 04:46:27 93b9cdb0e59b: Waiting 04:46:27 93b61091891f: Waiting 04:46:27 5e14af77c1be: Waiting 04:46:27 aa168da1d23b: Waiting 04:46:27 01666e4c0597: Waiting 04:46:27 36b3adc4ff6f: Verifying Checksum 04:46:27 36b3adc4ff6f: Download complete 04:46:27 46f8f816bc3b: Download complete 04:46:27 df20fa9351a1: Verifying Checksum 04:46:27 df20fa9351a1: Download complete 04:46:27 93b61091891f: Download complete 04:46:27 93b9cdb0e59b: Verifying Checksum 04:46:27 93b9cdb0e59b: Download complete 04:46:27 5e14af77c1be: Verifying Checksum 04:46:27 5e14af77c1be: Download complete 04:46:27 01666e4c0597: Verifying Checksum 04:46:27 01666e4c0597: Download complete 04:46:28 8ad3a11d3b57: Verifying Checksum 04:46:28 8ad3a11d3b57: Download complete 04:46:28 df20fa9351a1: Pull complete 04:46:28 36b3adc4ff6f: Pull complete 04:46:29 8ad3a11d3b57: Pull complete 04:46:29 46f8f816bc3b: Pull complete 04:46:30 aa168da1d23b: Download complete 04:46:30 93b61091891f: Pull complete 04:46:30 93b9cdb0e59b: Pull complete 04:46:30 5e14af77c1be: Pull complete 04:46:30 01666e4c0597: Pull complete 04:46:38 aa168da1d23b: Pull complete 04:46:38 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:46:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:46:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:46:39 prd-centos7-docker-4c-2g-16037 does not seem to be running inside a container 04:46:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:46:41 $ docker top d3cced3b7641736546de077e56eca4e5d4c8b195519b95ee9c4e982be211a07c -eo pid,comm [Pipeline] { [Pipeline] sh 04:46:42 + touch /tmp/pre-build-complete [Pipeline] sh 04:46:42 + mkdir -p /var/log/sa [Pipeline] sh 04:46:43 + ls /var/log/sa-host 04:46:43 + sadf -c /var/log/sa-host/sa15 04:46:43 file_magic: OK 04:46:43 HZ: Using current value: 100 04:46:43 file_header: OK 04:46:43 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 04:46:43 Statistics: 04:46:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:46:43 File successfully converted to sysstat format version 12.2.1 04:46:43 + sadf -c /var/log/sa-host/sa23 04:46:43 file_magic: OK 04:46:43 HZ: Using current value: 100 04:46:43 file_header: OK 04:46:43 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 04:46:43 Statistics: 04:46:43 Hnuu...uuuununununu... 04:46:43 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:46:43 provisioning config files... 04:46:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4212807007746551002tmp [Pipeline] { [Pipeline] echo 04:46:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:46:43 ---> create-netrc.sh [Pipeline] } 04:46:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:46:43 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:46:44 ---> python-tools-install.sh [Pipeline] echo 04:46:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:46:44 ---> sudo-logs.sh 04:46:44 Archiving 'sudo' log.. [Pipeline] echo 04:46:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:46:44 ---> job-cost.sh 04:46:44 lf-activate-venv: SKIPPING 04:46:44 INFO: No Stack... 04:46:45 INFO: Retrieving Pricing Info for: v1-standard-2 04:46:46 INFO: Archiving Costs [Pipeline] echo 04:46:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:46:46 ---> logs-deploy.sh 04:46:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/94 04:46:46 INFO: archiving workspace using pattern(s): 04:46:48 Archives upload complete. 04:46:48 INFO: archiving logs to Nexus 04:46:49 ---> uname -a: 04:46:49 Linux prd-centos7-docker-4c-2g-16037.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 04:46:49 04:46:49 04:46:49 ---> lscpu: 04:46:49 Architecture: x86_64 04:46:49 CPU op-mode(s): 32-bit, 64-bit 04:46:49 Byte Order: Little Endian 04:46:49 Address sizes: 40 bits physical, 48 bits virtual 04:46:49 CPU(s): 4 04:46:49 On-line CPU(s) list: 0-3 04:46:49 Thread(s) per core: 1 04:46:49 Core(s) per socket: 1 04:46:49 Socket(s): 4 04:46:49 NUMA node(s): 1 04:46:49 Vendor ID: GenuineIntel 04:46:49 CPU family: 6 04:46:49 Model: 44 04:46:49 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 04:46:49 Stepping: 1 04:46:49 CPU MHz: 2933.436 04:46:49 BogoMIPS: 5866.87 04:46:49 Virtualization: VT-x 04:46:49 Hypervisor vendor: KVM 04:46:49 Virtualization type: full 04:46:49 L1d cache: 128 KiB 04:46:49 L1i cache: 128 KiB 04:46:49 L2 cache: 16 MiB 04:46:49 L3 cache: 64 MiB 04:46:49 NUMA node0 CPU(s): 0-3 04:46:49 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 04:46:49 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 04:46:49 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 04:46:49 Vulnerability Meltdown: Mitigation; PTI 04:46:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:46:49 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 04:46:49 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 04:46:49 Vulnerability Srbds: Not affected 04:46:49 Vulnerability Tsx async abort: Not affected 04:46:49 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 04:46:49 04:46:49 04:46:49 ---> nproc: 04:46:49 4 04:46:49 04:46:49 04:46:49 ---> df -h: 04:46:49 Filesystem Size Used Available Use% Mounted on 04:46:49 overlay 50.0G 8.5G 41.4G 17% / 04:46:49 tmpfs 64.0M 0 64.0M 0% /dev 04:46:49 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 04:46:49 shm 64.0M 0 64.0M 0% /dev/shm 04:46:49 /dev/vda1 50.0G 8.5G 41.4G 17% /facter-os 04:46:49 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/resolv.conf 04:46:49 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hostname 04:46:49 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hosts 04:46:49 /dev/vda1 50.0G 8.5G 41.4G 17% /run/cloud-init/result.json 04:46:49 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/dgexfoundry_device-sdk-go_master 04:46:49 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/dgexfoundry_device-sdk-go_master@tmp 04:46:49 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/sa-host 04:46:49 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/secure 04:46:49 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/auth.log 04:46:49 04:46:49 04:46:49 ---> free -m: 04:46:49 total used free shared buff/cache available 04:46:49 Mem: 1837 822 148 0 866 950 04:46:49 Swap: 1023 3 1020 04:46:49 04:46:49 04:46:49 ---> ip addr: 04:46:49 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 04:46:49 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 04:46:49 inet 127.0.0.1/8 scope host lo 04:46:49 valid_lft forever preferred_lft forever 04:46:49 inet6 ::1/128 scope host 04:46:49 valid_lft forever preferred_lft forever 04:46:49 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 04:46:49 link/ether fa:16:3e:81:ab:1b brd ff:ff:ff:ff:ff:ff 04:46:49 inet 10.30.123.228/23 brd 10.30.123.255 scope global dynamic eth0 04:46:49 valid_lft 85813sec preferred_lft 85813sec 04:46:49 inet6 fe80::f816:3eff:fe81:ab1b/64 scope link 04:46:49 valid_lft forever preferred_lft forever 04:46:49 3: docker0: mtu 1500 qdisc noqueue state DOWN 04:46:49 link/ether 02:42:de:be:ae:ba brd ff:ff:ff:ff:ff:ff 04:46:49 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 04:46:49 valid_lft forever preferred_lft forever 04:46:49 inet6 fe80::42:deff:febe:aeba/64 scope link 04:46:49 valid_lft forever preferred_lft forever 04:46:49 04:46:49 04:46:49 ---> sar -b -r -n DEV: 04:46:49 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/15/20 _x86_64_ (4 CPU) 04:46:49 04:46:49 04:36:51 LINUX RESTART (4 CPU) 04:46:49 04:46:49 04:38:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:46:49 04:39:01 3.35 0.00 3.35 0.00 0.00 111.27 0.00 04:46:49 04:40:01 0.58 0.00 0.58 0.00 0.00 7.43 0.00 04:46:49 04:41:01 0.25 0.00 0.25 0.00 0.00 3.75 0.00 04:46:49 04:42:01 0.30 0.00 0.30 0.00 0.00 4.61 0.00 04:46:49 04:43:01 0.22 0.00 0.22 0.00 0.00 3.28 0.00 04:46:49 04:44:01 0.28 0.00 0.28 0.00 0.00 3.48 0.00 04:46:49 04:45:01 229.91 137.99 91.91 0.00 6842.94 33322.90 0.00 04:46:49 04:46:01 246.14 105.11 141.03 0.00 5860.23 34299.80 0.00 04:46:49 Average: 60.16 30.40 29.76 0.00 1588.78 8474.32 0.00 04:46:49 04:46:49 04:38:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:46:49 04:39:01 158236 0 581564 30.91 2620 1139124 1092124 37.27 438264 1085748 16 04:46:49 04:40:01 158848 0 580944 30.88 2620 1139132 1087008 37.10 436100 1087388 12 04:46:49 04:41:01 156664 0 583124 30.99 2620 1139136 1087020 37.10 447028 1078436 8 04:46:49 04:42:01 154736 0 585048 31.09 2620 1139140 1087108 37.10 448456 1079080 8 04:46:49 04:43:01 155464 0 584316 31.06 2620 1139144 1085016 37.03 447292 1079920 16 04:46:49 04:44:01 155368 0 584408 31.06 2620 1139148 1085120 37.03 447384 1080008 8 04:46:49 04:45:01 106980 0 720536 38.29 2596 1051432 1354392 46.22 519580 1001172 816 04:46:49 04:46:01 127812 0 787216 41.84 1496 965020 1302128 44.44 665296 750388 8 04:46:49 Average: 146764 0 625894 33.26 2476 1106410 1147490 39.16 481175 1030268 112 04:46:49 04:46:49 04:38:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:46:49 04:39:01 eth0 6.43 2.71 3.93 0.57 0.00 0.00 0.00 0.00 04:46:49 04:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:40:01 eth0 1.67 0.30 0.39 0.20 0.00 0.00 0.00 0.00 04:46:49 04:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:41:01 eth0 3.16 0.90 0.98 0.60 0.00 0.00 0.00 0.00 04:46:49 04:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:42:01 eth0 2.30 0.82 0.87 0.59 0.00 0.00 0.00 0.00 04:46:49 04:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:43:01 eth0 2.36 0.88 0.81 0.46 0.00 0.00 0.00 0.00 04:46:49 04:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:44:01 eth0 1.02 0.62 0.54 0.43 0.00 0.00 0.00 0.00 04:46:49 04:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:45:01 eth0 436.86 381.23 4094.23 34.55 0.00 0.00 0.00 0.00 04:46:49 04:45:01 vethe00ea0f 14.13 13.60 1.61 12.13 0.00 0.00 0.00 0.00 04:46:49 04:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:45:01 docker0 14.13 13.50 1.42 12.12 0.00 0.00 0.00 0.00 04:46:49 04:46:01 eth0 474.16 404.88 3560.10 95.13 0.00 0.00 0.00 0.00 04:46:49 04:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 04:46:01 docker0 41.38 52.70 2.68 327.32 0.00 0.00 0.00 0.00 04:46:49 Average: eth0 116.06 99.10 958.26 16.57 0.00 0.00 0.00 0.00 04:46:49 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:46:49 Average: docker0 6.94 8.28 0.51 42.46 0.00 0.00 0.00 0.00 04:46:49 04:46:49 04:46:49 ---> sar -P ALL: 04:46:49 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/15/20 _x86_64_ (4 CPU) 04:46:49 04:46:49 04:36:51 LINUX RESTART (4 CPU) 04:46:49 04:46:49 04:38:01 CPU %user %nice %system %iowait %steal %idle 04:46:49 04:39:01 all 0.20 0.00 0.07 0.00 0.00 99.74 04:46:49 04:39:01 0 0.05 0.00 0.08 0.00 0.00 99.87 04:46:49 04:39:01 1 0.47 0.00 0.07 0.00 0.00 99.47 04:46:49 04:39:01 2 0.17 0.00 0.05 0.00 0.00 99.78 04:46:49 04:39:01 3 0.10 0.00 0.07 0.00 0.00 99.83 04:46:49 04:40:01 all 0.16 0.00 0.04 0.00 0.01 99.79 04:46:49 04:40:01 0 0.07 0.00 0.02 0.00 0.00 99.92 04:46:49 04:40:01 1 0.42 0.00 0.03 0.00 0.02 99.53 04:46:49 04:40:01 2 0.05 0.00 0.05 0.00 0.00 99.90 04:46:49 04:40:01 3 0.12 0.00 0.07 0.00 0.02 99.80 04:46:49 04:41:01 all 0.13 0.00 0.10 0.00 0.03 99.74 04:46:49 04:41:01 0 0.30 0.00 0.10 0.00 0.03 99.57 04:46:49 04:41:01 1 0.10 0.00 0.05 0.00 0.02 99.83 04:46:49 04:41:01 2 0.05 0.00 0.07 0.00 0.05 99.83 04:46:49 04:41:01 3 0.07 0.00 0.17 0.00 0.03 99.73 04:46:49 04:42:01 all 0.11 0.00 0.05 0.00 0.01 99.83 04:46:49 04:42:01 0 0.28 0.00 0.03 0.00 0.00 99.68 04:46:49 04:42:01 1 0.07 0.00 0.05 0.00 0.03 99.85 04:46:49 04:42:01 2 0.05 0.00 0.05 0.00 0.00 99.90 04:46:49 04:42:01 3 0.05 0.00 0.05 0.00 0.00 99.90 04:46:49 04:43:01 all 0.18 0.00 0.05 0.00 0.00 99.77 04:46:49 04:43:01 0 0.53 0.00 0.05 0.00 0.00 99.42 04:46:49 04:43:01 1 0.08 0.00 0.05 0.00 0.00 99.87 04:46:49 04:43:01 2 0.05 0.00 0.03 0.00 0.00 99.92 04:46:49 04:43:01 3 0.05 0.00 0.08 0.00 0.00 99.87 04:46:49 04:44:01 all 0.17 0.00 0.04 0.00 0.00 99.79 04:46:49 04:44:01 0 0.55 0.00 0.03 0.00 0.00 99.42 04:46:49 04:44:01 1 0.02 0.00 0.05 0.00 0.00 99.93 04:46:49 04:44:01 2 0.03 0.00 0.03 0.00 0.00 99.93 04:46:49 04:44:01 3 0.07 0.00 0.05 0.00 0.00 99.88 04:46:49 04:45:01 all 8.27 0.00 5.80 1.05 0.06 84.82 04:46:49 04:45:01 0 8.58 0.00 5.37 2.03 0.08 83.93 04:46:49 04:45:01 1 7.76 0.00 5.41 0.87 0.07 85.90 04:46:49 04:45:01 2 9.10 0.00 6.07 0.95 0.05 83.84 04:46:49 04:45:01 3 7.65 0.00 6.33 0.36 0.05 85.61 04:46:49 04:46:01 all 11.57 0.00 8.79 4.05 0.10 75.49 04:46:49 04:46:01 0 10.75 0.00 7.88 2.89 0.15 78.34 04:46:49 04:46:01 1 10.34 0.00 8.04 3.27 0.07 78.29 04:46:49 04:46:01 2 10.31 0.00 10.38 4.76 0.10 74.45 04:46:49 04:46:01 3 14.89 0.00 8.86 5.27 0.09 70.89 04:46:49 Average: all 2.56 0.00 1.84 0.63 0.03 94.95 04:46:49 Average: 0 2.60 0.00 1.67 0.61 0.03 95.09 04:46:49 Average: 1 2.37 0.00 1.69 0.51 0.03 95.40 04:46:49 Average: 2 2.44 0.00 2.06 0.70 0.03 94.77 04:46:49 Average: 3 2.82 0.00 1.93 0.69 0.02 94.54 04:46:49 04:46:49 04:46:49